Search found 4 matches
Aprelium Forum Index
Author Message
  Topic: Connection timeout problems with fopen()
GoroUnreal

Replies: 6
Views: 12093

PostForum: PHP   Posted: Sun Nov 26, 2006 9:11 am   Subject: Connection timeout problems with fopen()
It could be the firewall disallowing PHP access to the internet. Temporaly disable it and try again. If not, then try another version of PHP, try version 4.

Disabling firewall didn't help =/ and I ...
  Topic: Connection timeout problems with fopen()
GoroUnreal

Replies: 6
Views: 12093

PostForum: PHP   Posted: Sun Nov 26, 2006 12:37 am   Subject: Connection timeout problems with fopen()
Nope =/ I changed your code to:


<?
$url="http://myip:port/index.php";
$check = file_get_contents($url);

if($check)
{
print "Server online&qu ...
  Topic: Connection timeout problems with fopen()
GoroUnreal

Replies: 6
Views: 12093

PostForum: PHP   Posted: Sun Nov 26, 2006 12:19 am   Subject: Connection timeout problems with fopen()
Try using readfile(), you might have better results.

Is that the exact code you are using? If so it looks like you have a syntax error.

if (!fopen("http://myipaddress:portnu ...
  Topic: Connection timeout problems with fopen()
GoroUnreal

Replies: 6
Views: 12093

PostForum: PHP   Posted: Sat Nov 25, 2006 11:54 pm   Subject: Connection timeout problems with fopen()
I'm using the following code in a php file on another server (outside my network), i'm using it to see if the index.php file exists (which would mean the server is online) and if it is print "ser ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB phpBB Group