karthikeyan_coder
Members-
Posts
201 -
Joined
-
Last visited
Never
Everything posted by karthikeyan_coder
-
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 ;)
-
[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. ;)
-
how to resize gif and png images?
karthikeyan_coder replied to karthikeyan_coder's topic in PHP Coding Help
any built-in functions are available for gif and png types??? help me plz -
yes... try wamp server... it is easy to use... http://karthi.livesoft.info/downloads.html
-
[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.
-
Are you sure... MySql was configured with php/apache?? is Phpmyadmin is working well??? and what about "mysql" category infor in phpinfo() ??
-
ok fine :) http://TopLancers.com
-
upload more than two files at a time via HTTP/HTML form?
karthikeyan_coder replied to pakenney38's topic in PHP Coding Help
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 -
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.
-
[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...
-
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?
-
upload more than two files at a time via HTTP/HTML form?
karthikeyan_coder replied to pakenney38's topic in PHP Coding Help
[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. -
yes, its hard to read code by scrolling. so give us a readable code.
-
[Solve] Updating sql table not working
karthikeyan_coder replied to WhiteBlade's topic in PHP Coding Help
can you show me the structure of that table here? -
Cant upload to directory owned by Apache
karthikeyan_coder replied to Mortier's topic in PHP Coding Help
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. -
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.
-
how can i resize gif and png images? help me plz :)
-
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.
-
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
-
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.
-
[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.