On Thursday 31 January 2002 05:13, will hives wrote:
> I have this version when I add the image on the add article page, and that
> works fine...
>
>
>
> if ($picture != 'none') {
>
> $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);
>
>
> it's just when it comes to editing the image???

Honestly, I don't see how this code will work. Are you saying that after 
uploading your image, the above code will copy the uploaded image into 
/home/xxx/xxx/php/new_pic_name?


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

/*
Newlan's Truism:
        An "acceptable" level of unemployment means that the 
        government economist to whom it is acceptable still has a job.
*/

-- 
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