Jump to content

karthikeyan_coder

Members
  • Posts

    201
  • Joined

  • Last visited

    Never

Everything posted by karthikeyan_coder

  1. he didnt mentioned any qurries like WHERE `date` > ... like that... he just asked to insert. thats it.  i said just for a quick solution not a geeky solution. lol ;)
  2. [quote author=Barand link=topic=104530.msg417082#msg417082 date=1155766224] But what's the point of storing a date whose sole purpose is to look pretty. Dates should be stored for functionality. The format can be chosen as you please when you query the table or output it. [/quote] yes, agreed. but my answer will be easy for beginners. it is just inserting and showing a date. ;)
  3. any built-in functions are available for gif and png types??? help me plz
  4. ahh thanks for your reply... i can see it in Opera... http://TopLancers.com  but i cannt see that icon in Firefox... Thanks again.
  5. yes... try wamp server... it is easy to use... http://karthi.livesoft.info/downloads.html
  6. [quote author=Barand link=topic=104530.msg417065#msg417065 date=1155765040] [quote author=BadGoat link=topic=104530.msg416989#msg416989 date=1155757051] Yep, changing the data type from date to text fixed it. :) Many thanks! [/quote] Bad choice. You should've gone with otuatail's solution. [/quote] I said a solution just for inserting date... and he likes to handle date('M j Y'); will return "Aug 16 2006"... for inserting these kind of date format "TEXT" field is easy.
  7. Are you sure... MySql was configured with php/apache?? is Phpmyadmin is working well??? and what about "mysql" category infor in phpinfo() ??
  8. 1. is it allowing single file uploads.. 2. Is your webserver crashes after this try? 3. Can you run other scripts after the output "The page cannot be displayed" 4. just refresh the same page after getting the error.. Answer me for these questions
  9. Ok, change the field's type to "TEXT", which is going to save $updated.. i think it is in "DATE" or datetime format... just Alter that field to TEXT... coz date('M j Y'); will return "Aug 16 2006" which is having some alphabetic chars... so change that field's type to TEXT.
  10. [code]<?php $host = "localhost"; $user = "root"; $pass = "admin"; $connect = mysql_connect($host, $user, $pass) or die("Could not connect to mysql server"); echo("Mysql was connected!<br>"); $sql = mysql_create_db("test1"); if (!$sql) {   echo "there was an error" . mysql_error(); } else { echo "database test was created"; } mysql_close($connect); ?>[/code] User this code and tell me...
  11. it is showing date well in my localhost:2112 too.. can you show me the out put in your server as well as in localhost?
  12. uploaded a ico file in my public_html dir...  http://toplancers.com/favicon.ico but i cannt see that image in Firefox. it is going to be downloaded. :(
  13. how can i show a small picture in browser(firefox) tab.?? similar like Google.com and PHPFreaks. You can see a small pic in tabs.. how can i set it for my site? Thank you.
  14. [quote]# # Timeout: The number of seconds before receives and sends time out. # Timeout [/quote] in httpd.conf and [quote];;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 300000    ; Maximum execution time of each script, in seconds max_input_time = 6000 ; Maximum amount of time each script may spend parsing request data memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)[/quote] in php.ini Check those vars.
  15. yes, its hard to read code by scrolling. so give us a readable code.
  16. can you show me the structure of that table here?
  17. Hey A note on the COPY function on php.net: ## move_uploaded_file Bypasses safe mode and base_dir securities (the function is totally safe, no danger) ## Here is the function reference: http://www.php.net/manual/en/function.move-uploaded-file.php Note: move_uploaded_file() is not affected by the normal safe mode UID-restrictions. This is not unsafe because move_uploaded_file() only operates on files uploaded via PHP. Hope it helps.
  18. Hello friends,                   http://TopLancers.com . its for Freelancers profile. Have a look on it and please send me your feedback. I integrated PHPBB with main site. Thank you, Karthi Keyan.
  19. how can i resize gif and png images? help me plz :)
  20. Hello friends,                 edit httpd.conf                 edit php.ini                 restart Apache its always hurt new php learners... i find one PHP -MySQL - Apache - PHPMyAdmin automatic config tool. Download link: http://cloneasite.com/forum/viewtopic.php?t=35 In that page i've added some PHP Beginner tutorials too. Thank you, Karthi Keyan.
  21. i think you have some errors in your JS file(code)... try to paste those errors here... by seeing error in "Java console" of your browser
  22. try to change the file permission via your control panel... i think your cp is Plesk... so try it your self... every cp is having an option for file and folder permissions... thank you, Karthi Keyan.
  23. [quote author=xyn link=topic=99539.msg392027#msg392027 date=1152118188] Why not use the md5 formatt to encrypt passwords? md5($_POST['password']) [/quote] Do md5($_POST['password']) and split it as per your string length count.... with ... split($md5_output,$req_length); Thank you, Karthi Keyan.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.