Hi friends
I have installed PHP4 as Apache module on win2k named srv3(192.168.1.126).The srv3 can connect to internet through a firewall(when the LAN clients browse the php file below,the fopen always fails!
Hope somebody out there can help me. Thanks in advance!
<?
$open = @fopen(" "r"
if($open) {
$read = @fread($open, 150000);
@fclose($open);
$search = eregi("<!--Weather--begin-->(.*)<!--Weather--end-->", $read, $printing);
echo "$printing[1]<br>";
echo "$printing[2]<br>";
}
else
echo 'cannot open the file!';
?>
Regards! I want to emigrate Canada or Australia. Any relative information you supplied will be appreciated!
zallen@cmmail.com
ICQ:101229409
I have installed PHP4 as Apache module on win2k named srv3(192.168.1.126).The srv3 can connect to internet through a firewall(when the LAN clients browse the php file below,the fopen always fails!
Hope somebody out there can help me. Thanks in advance!
<?
$open = @fopen(" "r"
if($open) {
$read = @fread($open, 150000);
@fclose($open);
$search = eregi("<!--Weather--begin-->(.*)<!--Weather--end-->", $read, $printing);
echo "$printing[1]<br>";
echo "$printing[2]<br>";
}
else
echo 'cannot open the file!';
?>
Regards! I want to emigrate Canada or Australia. Any relative information you supplied will be appreciated!
zallen@cmmail.com
ICQ:101229409