HighDots Forums  

error when uploading file

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss error when uploading file in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Deon H
 
Posts: n/a

Default error when uploading file - 02-14-2009 , 06:30 AM






Hi there and thanx so long for your help.

DW CS3, PHP & mySql.

I am busy building a file from where I can upload photos which will
together with some other info, be inserted in a mySql db.

I have a confirmation page from where vistors can double check info
before inserting the record.
When testing on my machine, I get this error message:

Notice: Undefined index: photo2 in C:\EasyPHP\www\trollipestates\admin
\addconfirm.php on line 256

This is line 256:
<td><label><?php echo $_POST['photo2']; ?></label></td>

What I have done was to make a binding with a form variable and bind
this to the text I have selected.

I will really appreciate your advice with this. Everything else is OK.

Regards,
Deon

Reply With Quote
  #2  
Old   
Deon H
 
Posts: n/a

Default Re: error when uploading file - 02-14-2009 , 12:11 PM






Thanx David.

For me a someon who knows nothing about PHP, your reply means nothing;
sorry.

I have searched for a tutorial on how to upload files with DW, and
couldn'nt find anything. I have used the "File Field" under forms and I
think this error also has something to do with this.

Question 1:
Is it possible to "confirm" data which also have a "file field" which
should have the address of the file oyu want to upload.

Question 2:
Where can I find totorials with the file upload feature in DW?

Thanx again.
Deon


David Powers <david (AT) example (DOT) com> wrote in news:gn6hm0$bt5$1
@forums.macromedia.com:

Quote:
Deon H wrote:
When testing on my machine, I get this error message:

Notice: Undefined index: photo2 in C:\EasyPHP\www\trollipestates
\admin
\addconfirm.php on line 256

What it means is that $_POST['photo2'] doesn't exist.



Reply With Quote
  #3  
Old   
Deon H
 
Posts: n/a

Default Re: error when uploading file - 02-16-2009 , 02:27 PM



Thanx David, I will check out the commercial extensions.

Deon

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.