Hi. I have the current form for uploading a file to the server:
However, when I submit, and check what's in $_POST, I notice that it's empty. It all works fine on my test-environment (Win98), but it just doesn't seem to upload anything to the real server (which is a Linux, I think, I don't know). Is there perhaps a setting in php.ini that I need to know about, or has it something to do with the webserver? Any hints?
--------------------------------------
It's not the monsters under your bed, it is the men next door.
That make you fear, make you cry. Make you cry for the Child.
All the wars are fought amongst those lonely men. Unharmed, unscarred.
Code:
<FORM action="addpic.php" method="POST" enctype="multipart/form-data">
<input type="hidden" name="cid" value=<?php echo "\"$cid\""; ?>>
<TABLE BORDER="0">
<TR><TD><font class="text">Upload File:</font><TD><input type="file" class="textbox" name="userfile">
<TR><TD><font class="text">File Title:</FONT><TD><input type="title" class="textbox" name="title"><br>
<TR><TD COLSPAN="2"><input class="textbox" type="submit" name="Submit" value="Submit"></TD>
</TABLE>
</FORM>
However, when I submit, and check what's in $_POST, I notice that it's empty. It all works fine on my test-environment (Win98), but it just doesn't seem to upload anything to the real server (which is a Linux, I think, I don't know). Is there perhaps a setting in php.ini that I need to know about, or has it something to do with the webserver? Any hints?
--------------------------------------
It's not the monsters under your bed, it is the men next door.
That make you fear, make you cry. Make you cry for the Child.
All the wars are fought amongst those lonely men. Unharmed, unscarred.