can someone tell me whats wrong with this php code?

  • Thread starter Thread starter candy 6
  • Start date Start date
C

candy 6

Guest
can someone tell me whats wrong with this code?
<?php
$pt=( fopen("http://www.somesite.com", "r") or die (" some code");
?>
when this code executes ,i just get blank page.
if i give any file name instead of URL it gives RESOURCE ID #3
what does this mean, is this an error or what?
 
Back
Top