[PHP] Uploading Image File

2006-05-10 Thread Renzo Clavijo
Morning all. I would like to know if anybody could e-mail an example of code to upload files into a MySQL server using PHP from a form. Thanks a lot. Best Regards, RENZO CLAVIJO

Re: [PHP] Uploading Image File

2006-05-10 Thread gustav
Morning all. I would like to know if anybody could e-mail an example of code to upload files into a MySQL server using PHP from a form. Thanks a lot. Best Regards, RENZO CLAVIJO What exactly do you mean? Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Uploading Image File

2006-05-10 Thread Jochem Maas
Renzo Clavijo wrote: Morning all. I would like to know if anybody could e-mail an example of code to upload files into a MySQL server using PHP from a form. recently a new phenomenon has appeared online, namely search engines:

[PHP] UPLOADING IMAGE

2002-05-25 Thread Dani
What's wrong with my code? ?php if($file) { print(file name :$file_nameP\n); if (copy($file,http://sarjito/img/;)) { print(file uploaded); } unlink($file); } ? Any advise is welcome. Thanks, Dani -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] UPLOADING IMAGE

2002-05-25 Thread 1LT John W. Holmes
Give a destination file name, not just the directory. You don't have to unlink($file), it's done automatically when the script ends. ---John Holmes... - Original Message - From: Dani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 25, 2002 7:58 PM Subject: [PHP] UPLOADING

Re: [PHP] UPLOADING IMAGE

2002-05-25 Thread Dani
I have tried to use the filename but it's still not working. here is the whole code I've got: ** First file called 'upload.php' html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body bgcolor=#FF text=#00 form name=form1

Re: [PHP] UPLOADING IMAGE

2002-05-25 Thread 1LT John W. Holmes
it. ---John Holmes... - Original Message - From: Dani [EMAIL PROTECTED] To: 1LT John W. Holmes [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, May 25, 2002 8:24 PM Subject: Re: [PHP] UPLOADING IMAGE I have tried to use the filename but it's still not working. here is the whole code

Re: [PHP] UPLOADING IMAGE

2002-05-25 Thread Dani
... - Original Message - From: Dani [EMAIL PROTECTED] To: 1LT John W. Holmes [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, May 25, 2002 8:24 PM Subject: Re: [PHP] UPLOADING IMAGE I have tried to use the filename but it's still not working. here is the whole code I've got

Re: [PHP] UPLOADING IMAGE

2002-05-25 Thread Liam MacKenzie
Holmes... - Original Message - From: Dani [EMAIL PROTECTED] To: 1LT John W. Holmes [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, May 25, 2002 8:24 PM Subject: Re: [PHP] UPLOADING IMAGE I have tried to use the filename but it's still not working. here

Re: [PHP] Uploading Image to Database

2001-08-18 Thread Richard Lynch
database ... the script seems to be working, in that its not giving errors You're not asking it to give you error messages :-) ?php if ($submit) { MYSQL_CONNECT(localhost,user,pass); ... or die(Could not connect to database) mysql_select_db(binary_date); ... or die(Could not

[PHP] Uploading Image to Database

2001-08-15 Thread Tim Thorburn
Hi, I'm trying to get a script working that will upload an image to a MySQL database ... the script seems to be working, in that its not giving errors - but it does nothing ... it doesn't add the image to the database at all. Can someone take a look at this script and let me know where I've