[SOLVED] Error
Posted: Sun Aug 29, 2004 12:44 pm
hello i was wondering if some one could spot the error cuz i cant
and this is the error
Code: Select all
<?php
$content = file_get_contents($url);
print "<form><textarea name="source" rows="15" cols="100">$content</textarea></form>";
print "Enter a FULL URL to view the source of:<br><form name="url_submit" action=$PHP_SELF method="post"><input type="textbox" name="url" value="http://"><input type="submit" name="submit" value="Get Source">";
?>All help is appreciated, thanks in advanced.Fatal error: Call to undefined function: file_get_contents() in d:\www\gamehosting\phpform.php on line 2