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:
http://www.google.com/search?num=100&q=php+upload+image+example+my
> 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.
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
; > braces when you hit enter and upload a file over 10k that has blue and
> > yellow within it but not part of the border
> >
> > Info, man...provide it.
> >
> > ---John Holmes...
> >
> > - Original Message -
> > From: "Dani" <[EMAIL
Info, man...provide 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:
.
---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 bu
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'
Untitled Document
File
**second file called 'uploadfile.php'
\n";
copy($file,"D:/graphic_practise/
y 25, 2002 7:58 PM
Subject: [PHP] UPLOADING IMAGE
> What's wrong with my code?
>
> if($file)
> {
> print("file name :$file_name\n");
> if (copy($file,"http://sarjito/img/";))
>{
>print("file uploaded");
>}
> unlink($file);
What's wrong with my code?
\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: http://www.php.net/unsub.php
> database ... the script seems to be working, in that its not giving errors
You're not asking it to give you error messages :-)
>
> if ($submit) {
>
> MYSQL_CONNECT("localhost","user","pass");
... or die("Could not connect to database")
> mysql_select_db("binary_date");
... or die
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 go
11 matches
Mail list logo