On Wednesday 30 January 2002 19:27, will hives wrote:

> THIS IS THE DOING EDIT SCRIPT:

[snip]

> if ($picture) {
>
> $path = "/home/€€€€€€€€€€/€€€€€€€€€€/php/";
> $path1 = "http://www.€€€€€€€€€€.net/php/";;
> $b_id = mysql_insert_id();
> $new_pic_name = "$b_id$picture_name";
> $imageFile = $path1.$new_pic_name;
>
> copy($picture,$path . $new_pic_name);
>
>
> }

IIRC we've been through this before. Please read the manual. You *need* to 
understand how to handle uploaded files (by reading the manual). The above 
code simply would not work.


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
Would you care to drift aimlessly in my direction?
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to