could you tell me the $full_url_to_same_server's value when it run? fopen($full_url_to_same_server, "rb") if you used http protocol, you can test the target server via "telnet" telnet host port check port 80 ------------------ ååéä ------------------ åää: "mamunbdctg"<mamunbdctg@xxxxxxxxx>; åéæé: 2011å4æ9æ(ææå) äå5:01 æää: "php-objects"<php-objects@xxxxxxxxxxxxxxx>; äé: Re: PHP fopen($full_url_to_same_server, "rb") not working need help Thanks for reply ping www.mydomain.com showing request time out but www.mydomain.com is opening when i type it in browser. then what else i have to check for fopen($full_url_to_same_server, "rb") problem waiting for reply Thanks --- In php-objects@xxxxxxxxxxxxxxx, "éæå" <lgg860911@...> wrote: > > you can test the connection by shell command: > "ping" and "telnet" > confirm the connection is OK > > ------------------ Original ------------------ > From: "mamunbdctg"<mamunbdctg@...>; > Date: Sat, Apr 9, 2011 01:36 PM > To: "php-objects"<php-objects@xxxxxxxxxxxxxxx>; > > Subject: PHP fopen($full_url_to_same_server, "rb") not working need help > > > > i have already used Printer Friendly Pages Generator PHP Class 1.3(http://stefangabos.blogspot.com/2008/04/php-printer-friendly-pages-generator.html) many of my project in different server. > > but now it is not working with PHP Version 5.2.17 showing following warning > > failed to open stream: Connection timed out > > some of my server php value like follows > > allow_url_fopen On > safe_mode Off > > but this fopen function is working for other server page > > Please help me to fix this problem > > > > > > [Non-text portions of this message have been removed] > [Non-text portions of this message have been removed]