473,573 Members | 2,789 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

fopen failed to open remote URL

Hi,

Im trying to integrate a rss feed into my page but struggle to fetch the
dynamic generation of the rss feed

If I type this into the browser as a result the xml file is shown as
expected
http://svnweb.tuxfamily.org/rss.php?...0&sc=0&isdir=1

If I use it with a php-script which opens the url with fopen etc.
it just gives me
Warning:
fopen(http://svnweb.tuxfamily.org/rss.php?...sc=0&isdir=1):
failed to open stream: HTTP request failed! HTTP/1.0 503 Service
Unavailable in
/data/web/b6/c9/b1/proaudio.tuxfam ily.org/htdocs/wiki/extensions/rss.php
on line 5
you can call it here:
http://proaudio.tuxfamily.org/wiki/extensions/rss.php

the whole script is for now just:

<?php

$url =
'http://svnweb.tuxfamil y.org/rss.php?repname =proaudio+%28ck pp%29&path=%2F& rev=0&sc=0&isdi r=1';

$fp = fopen($url, 'r');

?>

Whats going wrong?

-----------------------------------------------------------------------
my php-configuration:

PHP Version 4.3.10-16

System Linux tequila 2.6.17.7-grsec #1 SMP Thu Jul 27 04:40:10 CEST
2006 i686
Build Date Aug 24 2005 20:10:18
Configure Command '../configure' '--prefix=/usr'
'--enable-discard-path' '--enable-fastcgi'
'--with-config-file-path=/etc/php4/cgi' '--enable-memory-limit'
'--disable-debug' '--with-regex=php' '--disable-rpath'
'--disable-static' '--with-pic' '--with-layout=GNU'
'--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars'
'--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype'
'--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro'
'--enable-ftp' '--with-gettext' '--enable-mbstring'
'--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets'
'--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc'
'--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr'
'--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx'
'--with-mime-magic=/usr/share/misc/file/magic.mime'
'--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql'
'--without-sybase-ct'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php4/cgi/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2,
compress.zlib
-----------------------------------------------------------------------
thx for any input

Greetings Frieder
Sep 6 '06 #1
6 14603
Frieder Bürzele wrote:
Hi,

Im trying to integrate a rss feed into my page but struggle to fetch the
dynamic generation of the rss feed

If I type this into the browser as a result the xml file is shown as
expected
http://svnweb.tuxfamily.org/rss.php?...0&sc=0&isdir=1
If I use it with a php-script which opens the url with fopen etc.
it just gives me
Warning:
fopen(http://svnweb.tuxfamily.org/rss.php?...sc=0&isdir=1):
failed to open stream: HTTP request failed! HTTP/1.0 503 Service
Unavailable in
/data/web/b6/c9/b1/proaudio.tuxfam ily.org/htdocs/wiki/extensions/rss.php
on line 5
you can call it here:
http://proaudio.tuxfamily.org/wiki/extensions/rss.php

the whole script is for now just:

<?php

$url =
'http://svnweb.tuxfamil y.org/rss.php?repname =proaudio+%28ck pp%29&path=%2F& rev=0&sc=0&isdi r=1';
$fp = fopen($url, 'r');

?>

Whats going wrong?

-----------------------------------------------------------------------
my php-configuration:

PHP Version 4.3.10-16

System Linux tequila 2.6.17.7-grsec #1 SMP Thu Jul 27 04:40:10 CEST
2006 i686
Build Date Aug 24 2005 20:10:18
Configure Command '../configure' '--prefix=/usr'
'--enable-discard-path' '--enable-fastcgi'
'--with-config-file-path=/etc/php4/cgi' '--enable-memory-limit'
'--disable-debug' '--with-regex=php' '--disable-rpath'
'--disable-static' '--with-pic' '--with-layout=GNU'
'--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars'
'--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype'
'--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro'
'--enable-ftp' '--with-gettext' '--enable-mbstring'
'--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets'
'--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc'
'--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr'
'--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx'
'--with-mime-magic=/usr/share/misc/file/magic.mime'
'--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql'
'--without-sybase-ct'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php4/cgi/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2,
compress.zlib
-----------------------------------------------------------------------
thx for any input

Greetings Frieder
Works fine here.

503 is generally a temporary error. It could just mean the server was
overloaded.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Sep 6 '06 #2
Jerry Stuckle wrote:
Frieder Bürzele wrote:
>Hi,

Im trying to integrate a rss feed into my page but struggle to fetch
the dynamic generation of the rss feed

If I type this into the browser as a result the xml file is shown as
expected
http://svnweb.tuxfamily.org/rss.php?...0&sc=0&isdir=1
If I use it with a php-script which opens the url with fopen etc.
it just gives me
Warning:
fopen(http://svnweb.tuxfamily.org/rss.php?...sc=0&isdir=1):
failed to open stream: HTTP request failed! HTTP/1.0 503 Service
Unavailable in
/data/web/b6/c9/b1/proaudio.tuxfam ily.org/htdocs/wiki/extensions/rss.php
on line 5
you can call it here:
http://proaudio.tuxfamily.org/wiki/extensions/rss.php

the whole script is for now just:

<?php

$url =
'http://svnweb.tuxfamil y.org/rss.php?repname =proaudio+%28ck pp%29&path=%2F& rev=0&sc=0&isdi r=1';
$fp = fopen($url, 'r');

?>

Whats going wrong?

-----------------------------------------------------------------------
my php-configuration:

PHP Version 4.3.10-16

System Linux tequila 2.6.17.7-grsec #1 SMP Thu Jul 27 04:40:10
CEST 2006 i686
Build Date Aug 24 2005 20:10:18
Configure Command '../configure' '--prefix=/usr'
'--enable-discard-path' '--enable-fastcgi'
'--with-config-file-path=/etc/php4/cgi' '--enable-memory-limit'
'--disable-debug' '--with-regex=php' '--disable-rpath'
'--disable-static' '--with-pic' '--with-layout=GNU'
'--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars'
'--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype'
'--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro'
'--enable-ftp' '--with-gettext' '--enable-mbstring'
'--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets'
'--enable-wddx' '--disable-xml' '--with-expat-dir=/usr'
'--with-xmlrpc' '--enable-yp' '--with-zlib' '--without-pgsql'
'--with-kerberos=/usr' '--with-openssl=/usr' '--with-zip=/usr'
'--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime'
'--with-exec-dir=/usr/lib/php4/libexec' '--without-mm'
'--without-mysql' '--without-sybase-ct'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuratio n File (php.ini) Path /etc/php4/cgi/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps,
compress.bzip2 , compress.zlib
-----------------------------------------------------------------------
thx for any input

Greetings Frieder

Works fine here.

503 is generally a temporary error. It could just mean the server was
overloaded.

does this link work for you?
http://proaudio.tuxfamily.org/wiki/extensions/rss.php

I still get the same. Browser works fine but using fopen still gives me 503

thx
Sep 6 '06 #3
Frieder Bürzele wrote:
Jerry Stuckle wrote:
>Frieder Bürzele wrote:
>>Hi,

Im trying to integrate a rss feed into my page but struggle to fetch
the dynamic generation of the rss feed

If I type this into the browser as a result the xml file is shown as
expected
http://svnweb.tuxfamily.org/rss.php?...0&sc=0&isdir=1
If I use it with a php-script which opens the url with fopen etc.
it just gives me
Warning:
fopen(http://svnweb.tuxfamily.org/rss.php?...sc=0&isdir=1):
failed to open stream: HTTP request failed! HTTP/1.0 503 Service
Unavailable in
/data/web/b6/c9/b1/proaudio.tuxfam ily.org/htdocs/wiki/extensions/rss.php
on line 5
you can call it here:
http://proaudio.tuxfamily.org/wiki/extensions/rss.php

the whole script is for now just:

<?php

$url =
'http://svnweb.tuxfamil y.org/rss.php?repname =proaudio+%28ck pp%29&path=%2F& rev=0&sc=0&isdi r=1';
$fp = fopen($url, 'r');

?>

Whats going wrong?

-----------------------------------------------------------------------
my php-configuration:

PHP Version 4.3.10-16

System Linux tequila 2.6.17.7-grsec #1 SMP Thu Jul 27 04:40:10
CEST 2006 i686
Build Date Aug 24 2005 20:10:18
Configure Command '../configure' '--prefix=/usr'
'--enable-discard-path' '--enable-fastcgi'
'--with-config-file-path=/etc/php4/cgi' '--enable-memory-limit'
'--disable-debug' '--with-regex=php' '--disable-rpath'
'--disable-static' '--with-pic' '--with-layout=GNU'
'--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars'
'--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype'
'--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro'
'--enable-ftp' '--with-gettext' '--enable-mbstring'
'--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets'
'--enable-wddx' '--disable-xml' '--with-expat-dir=/usr'
'--with-xmlrpc' '--enable-yp' '--with-zlib' '--without-pgsql'
'--with-kerberos=/usr' '--with-openssl=/usr' '--with-zip=/usr'
'--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime'
'--with-exec-dir=/usr/lib/php4/libexec' '--without-mm'
'--without-mysql' '--without-sybase-ct'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configurati on File (php.ini) Path /etc/php4/cgi/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps,
compress.bzip 2, compress.zlib
-----------------------------------------------------------------------
thx for any input

Greetings Frieder


Works fine here.

503 is generally a temporary error. It could just mean the server was
overloaded.


does this link work for you?
http://proaudio.tuxfamily.org/wiki/extensions/rss.php

I still get the same. Browser works fine but using fopen still gives me 503

thx
No, but it doesn't work from my browser, either.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Sep 6 '06 #4

Frieder Brzele wrote:
Hi,

Im trying to integrate a rss feed into my page but struggle to fetch the
dynamic generation of the rss feed

If I type this into the browser as a result the xml file is shown as
expected
http://svnweb.tuxfamily.org/rss.php?...0&sc=0&isdir=1

If I use it with a php-script which opens the url with fopen etc.
it just gives me
Warning:
fopen(http://svnweb.tuxfamily.org/rss.php?...sc=0&isdir=1):
failed to open stream: HTTP request failed! HTTP/1.0 503 Service
Unavailable in
/data/web/b6/c9/b1/proaudio.tuxfam ily.org/htdocs/wiki/extensions/rss.php
on line 5
you can call it here:
http://proaudio.tuxfamily.org/wiki/extensions/rss.php

the whole script is for now just:

<?php

$url =
'http://svnweb.tuxfamil y.org/rss.php?repname =proaudio+%28ck pp%29&path=%2F& rev=0&sc=0&isdi r=1';

$fp = fopen($url, 'r');

?>

Whats going wrong?

-----------------------------------------------------------------------
my php-configuration:

PHP Version 4.3.10-16

System Linux tequila 2.6.17.7-grsec #1 SMP Thu Jul 27 04:40:10 CEST
2006 i686
Build Date Aug 24 2005 20:10:18
Configure Command '../configure' '--prefix=/usr'
'--enable-discard-path' '--enable-fastcgi'
'--with-config-file-path=/etc/php4/cgi' '--enable-memory-limit'
'--disable-debug' '--with-regex=php' '--disable-rpath'
'--disable-static' '--with-pic' '--with-layout=GNU'
'--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars'
'--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype'
'--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro'
'--enable-ftp' '--with-gettext' '--enable-mbstring'
'--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets'
'--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc'
'--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr'
'--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx'
'--with-mime-magic=/usr/share/misc/file/magic.mime'
'--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql'
'--without-sybase-ct'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php4/cgi/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2,
compress.zlib
-----------------------------------------------------------------------
thx for any input

Greetings Frieder
Set

allow_url_fopen = On

in your php.ini file and try it again.

Chris

Sep 6 '06 #5
Chris Parker wrote:
Frieder Brzele wrote:
>Hi,

Im trying to integrate a rss feed into my page but struggle to fetch the
dynamic generation of the rss feed

If I type this into the browser as a result the xml file is shown as
expected
http://svnweb.tuxfamily.org/rss.php?...0&sc=0&isdir=1

If I use it with a php-script which opens the url with fopen etc.
it just gives me
Warning:
fopen(http://svnweb.tuxfamily.org/rss.php?...sc=0&isdir=1):
failed to open stream: HTTP request failed! HTTP/1.0 503 Service
Unavailable in
/data/web/b6/c9/b1/proaudio.tuxfam ily.org/htdocs/wiki/extensions/rss.php
on line 5
you can call it here:
http://proaudio.tuxfamily.org/wiki/extensions/rss.php

the whole script is for now just:

<?php

$url =
'http://svnweb.tuxfamil y.org/rss.php?repname =proaudio+%28ck pp%29&path=%2F& rev=0&sc=0&isdi r=1';

$fp = fopen($url, 'r');

?>

Whats going wrong?

-----------------------------------------------------------------------
my php-configuration:

PHP Version 4.3.10-16

System Linux tequila 2.6.17.7-grsec #1 SMP Thu Jul 27 04:40:10 CEST
2006 i686
Build Date Aug 24 2005 20:10:18
Configure Command '../configure' '--prefix=/usr'
'--enable-discard-path' '--enable-fastcgi'
'--with-config-file-path=/etc/php4/cgi' '--enable-memory-limit'
'--disable-debug' '--with-regex=php' '--disable-rpath'
'--disable-static' '--with-pic' '--with-layout=GNU'
'--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars'
'--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype'
'--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro'
'--enable-ftp' '--with-gettext' '--enable-mbstring'
'--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets'
'--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc'
'--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr'
'--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx'
'--with-mime-magic=/usr/share/misc/file/magic.mime'
'--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql'
'--without-sybase-ct'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuratio n File (php.ini) Path /etc/php4/cgi/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2,
compress.zli b
-----------------------------------------------------------------------
thx for any input

Greetings Frieder

Set

allow_url_fopen = On

in your php.ini file and try it again.

Chris
You're right. But I can't change the config file as its not my server
Are there other possibilities to display the content of a url within a
php-script?

thx

Frieder
Sep 7 '06 #6

Frieder Brzele wrote:
Chris Parker wrote:
Frieder Brzele wrote:
Hi,

Im trying to integrate a rss feed into my page but struggle to fetch the
dynamic generation of the rss feed

If I type this into the browser as a result the xml file is shown as
expected
http://svnweb.tuxfamily.org/rss.php?...0&sc=0&isdir=1

If I use it with a php-script which opens the url with fopen etc.
it just gives me
Warning:
fopen(http://svnweb.tuxfamily.org/rss.php?...sc=0&isdir=1):
failed to open stream: HTTP request failed! HTTP/1.0 503 Service
Unavailable in
/data/web/b6/c9/b1/proaudio.tuxfam ily.org/htdocs/wiki/extensions/rss.php
on line 5
you can call it here:
http://proaudio.tuxfamily.org/wiki/extensions/rss.php

the whole script is for now just:

<?php

$url =
'http://svnweb.tuxfamil y.org/rss.php?repname =proaudio+%28ck pp%29&path=%2F& rev=0&sc=0&isdi r=1';

$fp = fopen($url, 'r');

?>

Whats going wrong?

-----------------------------------------------------------------------
my php-configuration:

PHP Version 4.3.10-16

System Linux tequila 2.6.17.7-grsec #1 SMP Thu Jul 27 04:40:10 CEST
2006 i686
Build Date Aug 24 2005 20:10:18
Configure Command '../configure' '--prefix=/usr'
'--enable-discard-path' '--enable-fastcgi'
'--with-config-file-path=/etc/php4/cgi' '--enable-memory-limit'
'--disable-debug' '--with-regex=php' '--disable-rpath'
'--disable-static' '--with-pic' '--with-layout=GNU'
'--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars'
'--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype'
'--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro'
'--enable-ftp' '--with-gettext' '--enable-mbstring'
'--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets'
'--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc'
'--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr'
'--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx'
'--with-mime-magic=/usr/share/misc/file/magic.mime'
'--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql'
'--without-sybase-ct'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php4/cgi/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2,
compress.zlib
-----------------------------------------------------------------------
thx for any input

Greetings Frieder
Set

allow_url_fopen = On

in your php.ini file and try it again.

Chris

You're right. But I can't change the config file as its not my server
Are there other possibilities to display the content of a url within a
php-script?

thx

Frieder
You could try ini_set():

http://www.php.net/manual/en/function.ini-set.php

I am not sure if it will work with fopen.

Chris Parker

Sep 7 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6362
by: Grant | last post by:
Hi, I'm trying to use fopen to open a remote page. I found a page that doesn't work, and it's because the page requires cookies. Is there a way in PHP to pass cookies to a remote host? Here is my source test code: Code:
2
4045
by: Loopy | last post by:
I'm trying to write a script that will connect to an external site so that I can get access referer information in a database on another one of my sites. I got errors, so I tried to write a script that will test the three main forms of connecting externally: fsockopen, fopen and file. I wrote a simple script that connects to my own domain...
3
2577
by: Patrice | last post by:
Hi, I would to call fopen function several time in my application. This application permits to read files which path is registered in a configuration file. For exemple: File 1 = toto.txt File 2 = tot2.txt ....File N = TotoN.txt Then, I read each file (one by one), get adress of the beginning of data and size of data.
10
4756
by: pjlsr | last post by:
It's close to twenty years since I used the C language and at that time I was doing only floating point computational work, nothing with strings or reading files. I tried to use fopen in the following manner. a file name is entered by keyboard , fgets is used to read the name. printf is used to confirm that the name was correctly read. Then...
2
3612
by: Mike | last post by:
Hello, Im doing this in php5, apache Im not sure where the problem lies but I have a file <?php Class CreateXML{ public function xmlDeclaration(){ return $varxmlDec = "<?xml version='1.0'> "; } public function rssDeclaration(){ return $varrssDec = "<rss version='2.0'>";
25
3308
by: subramanian100in | last post by:
Consider the following program: #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv) { if (argc != 2) { printf("Usage: <program-name<text-file>\n");
0
1658
by: milan.topalov | last post by:
I'm having some strange problems using fopen() to fetch website content. It seems I can't open URL shorter then certain lenght. I can open this: http://groups.google.co.uk/groups/dir?lnk=od&h=en&sel=&x=sssssxsssq But if I delete a character from the end, fopen() failes after 20 sec and returns strange error:
7
2416
IT Master2
by: IT Master2 | last post by:
hi every 1: when i use fopen(...) function to get file on remote server i get the following err: Warning: fopen(..) : failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in C:\.... Does any one know what's wrong? Best regards.
2
2368
by: Giorgio Sam | last post by:
Hello there, WEIRD...fopen couldn't open any http file while it's working fine with any local file. I've tried the following: ________________________________________________________ 1. $fp = fopen("D:\Software\\test.txt","r"); while($data = fgets($fp, 400)) echo $data; #--> Result OK
0
7760
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main...
0
7679
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7996
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8191
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8049
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6392
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3724
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2185
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1289
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.