I have index.php which works perfectly and shows up. Whenever I GET information via a form to test.php it doesn't return the variables.
in index.html :
- Code: Select all
<form method="get" action="test.php">
Search DPI#:<input type="text" name="dpinum" />
<input type="submit" />
</form>
then in test.php:
- Code: Select all
<?php
import_request_variables("g", "var");
echo $vardpinum;
?>
It won't work locally. Test.php shows nothing, the variables are empty, and PHP doesn't even seem to work (attempted to test with print). Soon as I upload it to me hosted webpage it works! Any ideas why it isn't working locally but will work via my web host? Do I have something configured wrong on my end? Thanks!