Sounds like a rant for the lounge
okay, simple enough:
if (!isset($_POST['userfile']))
{
?>
<div class='common_content'>
You can upload either a BMT or BMTL export from your project.
<form action='engineering.php?p=1&s=1' method='post' enctype='multipart/form-data'>
<table>
<tr>
<td>Upload BMT Export:</td>
<td><input type='file' name='userfile'></td>
</tr>
<tr>
<td colspan='2'>
<button type='submit' name='submit' value='submit'>Submit</button>
<button type='reset'>Reset</button>
</td>
</tr>
</table>
</form>
</div>
<?php
}
$_POST['userfile'] isn't being set...
I have checked my $GLOBALS, and $_POST['submit'] is set correctly.
I don't know what I've missed here, so some help would be appreciated.just smack me with a wet kipper and be done with it...
i think i need to go and fry my brain
submitted files don't travel in POST, do they... They travel in HTTP_POST_FILES!!!**smack** , yup, it happends to the best of us.
okay, simple enough:
if (!isset($_POST['userfile']))
{
?>
<div class='common_content'>
You can upload either a BMT or BMTL export from your project.
<form action='engineering.php?p=1&s=1' method='post' enctype='multipart/form-data'>
<table>
<tr>
<td>Upload BMT Export:</td>
<td><input type='file' name='userfile'></td>
</tr>
<tr>
<td colspan='2'>
<button type='submit' name='submit' value='submit'>Submit</button>
<button type='reset'>Reset</button>
</td>
</tr>
</table>
</form>
</div>
<?php
}
$_POST['userfile'] isn't being set...
I have checked my $GLOBALS, and $_POST['submit'] is set correctly.
I don't know what I've missed here, so some help would be appreciated.just smack me with a wet kipper and be done with it...
i think i need to go and fry my brain
submitted files don't travel in POST, do they... They travel in HTTP_POST_FILES!!!**smack** , yup, it happends to the best of us.