Re: [PHP] Editing uploaded file

2002-01-31 Thread Will Hives
It uploads it to: /home/€€/€€/php/ and renames it with the article ID number + the original name eg. 41button.gif should that work??? It does!!! How would you suggest doing it?? in article [EMAIL PROTECTED], Jason Wong at [EMAIL PROTECTED] wrote on 1/31/2002 3:00 AM: > On Thur

Re: [PHP] Editing uploaded file

2002-01-30 Thread Jason Wong
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_i

Re: [PHP] Editing uploaded file

2002-01-30 Thread will hives
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_p

Re: [PHP] Editing uploaded file

2002-01-30 Thread Jason Wong
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 = $path

Re: [PHP] Editing uploaded file

2002-01-30 Thread will hives
Jason, here it all is thanks for this... Cheers Will HTML EDIT UPLOAD PAGE: my contact management system: add a contact "> Name & email information   name: " size=35 maxlength=75> email: " size=35 m

Re: [PHP] Editing uploaded file

2002-01-30 Thread Jason Wong
On Wednesday 30 January 2002 17:10, will hives wrote: > The code attached was just the code which ran the html form there is > another page which contains all the form details, this code just does the > editeing and shows you what it's done. Could you post the code which does the editing and, in

Re: [PHP] Editing uploaded file

2002-01-30 Thread will hives
The code attached was just the code which ran the html form there is another page which contains all the form details, this code just does the editeing and shows you what it's done. Cheers Will in article [EMAIL PROTECTED], Jason Wong at [EMAIL PROTECTED] wrote on 30/1/02 3:20 am: > On Wednesd

Re: [PHP] Editing uploaded file

2002-01-29 Thread Jason Wong
On Wednesday 30 January 2002 05:32, will hives wrote: Please do not use HTML mail, thanks! > I have produced an admin area which allows users to add, edit and delete > stories plus images. Everything has gone great, thanks to all of you who > answered previous postings. > > Just stuck on the ver