I have this simple code:
<?php
if(isset($_POST['test'])) {
echo $_POST['test'];
}
?>
<form action="testing.php" method="post">
<table>
<tr><td>Fill Out:</td><td><input type="text" name="test" /></td></tr>
<tr><td colspan="2" align="center"><input type="submit" /></td></tr>
</table>
</form>
Whenever I put "http://www.google.com" and click "submit", I get this error:
Image: i.stack.imgur.com/mCrRb.png
If I put "google.com" and click "submit", it echo's the result perfectly fine:
Image: i.stack.imgur.com/5WakC.png
Now, this only happens on one of my hosting providers. If I put the script on another hosting provider, it works perfectly fine.
I'm wondering if there is anything I can possibly do to fix this problem. I have tried changing the file's permissions to 777, but it still gets the same error.
Could it be a setting in the "php.ini" file that is causing this error?