Forums

PHP

This topic is locked

Upload from file field to dbase

Posted 18 Jun 2004 20:30:48
1
has voted
18 Jun 2004 20:30:48 Greg LeBreck posted:
PHP with mysql dbase:

I have a form that uploads a name filed and has a file field which should upload the file name. I am using php upload extension. Everything works except the file name from the file field does not get inserted into the dbase. I have checked my insert function and it is right.
Any ideas?

Replies

Replied 18 Jun 2004 22:26:58
18 Jun 2004 22:26:58 Greg LeBreck replied:
Found the answer. It is actually a problem with PHP upload and DW 2004 MX.
Solution: Change all $_POST into $HTTP_POST_VARS
www.dmxzone.com/forum/topic.asp?TOPIC_ID=26093&FORUM_ID=788&CAT_ID=260&Topic_Title=%22Column+%27name%27+cannot+be+null%22&Forum_Title=General

Reply to this topic