Hi all. I've got the following small snippet of code:
<?php
$fp = fopen("phone_list.inc.php","r");
echo get_resource_type($fp)."\n";
?>
which should theoretically print "file" to the screen.
However, all it gives me is:
Fatal error: Call to undefined function: get_resource_type() in /home/gossep/public_html/unbcvirtroot/csam/test.php on line 3
Anyone know why this is happening?
Thanks in advance,
Pablo