473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

include ('url') VS readfile('url')

Hi all!

On my webhost this line

include ('http://www.google.com');

always worked with no problem until monday.
But now I get this message

Warning: main(): Failed opening 'http://www.google.com' for inclusion
(include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\gng\pegi.php on
line 4

Likewise, I can no longer to upload any file.

Any idea?

Many thanks.

Gius.

Oct 18 '07 #1
1 2770
On Thu, 18 Oct 2007 16:54:48 +0200, JyGius <g.********@gmail.comwrote:
On my webhost this line

include ('http://www.google.com');

always worked with no problem until monday.
But now I get this message

Warning: main(): Failed opening 'http://www.google.com' for inclusion
(include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\gng\pegi.php on
line 4

Likewise, I can no longer to upload any file.

Any idea?
Contact your host and ask them what they changed. For the first, the
settings allow_url_fopen & allow_url_include or of importance, for the
second one file_uploads, upload_max_filesize, upload_tmp_dir and
post_max_size. You can examine the current settings for those with either
ini_get() or phpinfo().
--
Rik Wasmus
Oct 18 '07 #2

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

Similar topics

14
by: Recoura Tim | last post by:
Hello, I'm writing a shoppingcart program in PHP. The website of our suplliers webpage i written in ASP. He has very detailed info about his products, that I want to include in my PHP page, I...
5
by: Aeon Twilight | last post by:
REFERENCE: http://us4.php.net/manual/en/function.include.php Example 16-7. include() through HTTP Example 16-10. include() and the return() statement -------------------- return.php...
4
by: Rafal Zawadzki | last post by:
Hello, I am using php5 and I've got this piece of code: include ('http://something.somewhere/file.php?a=act') PHP instead of including file five me: PHP Fatal error: Unknown: Security...
5
by: mdawg414 | last post by:
Hey guys, please bear with me cause I am a major newbie at php. I am building a website and have it so that the content in the middle of the page changes but the banner on top and the panels on the...
5
by: Mario T. Lanza | last post by:
If you're a web designer, you have undoubtedly used cascading style sheets in order to improve your sites separation of form and content. You probably also use Server-side include files to include...
5
by: Viken Karaguesian | last post by:
Hello all, I've used the SSI Include command successfully in the past to include frequently used files that are based within my own site. However, what if I was to use a file located in a...
1
by: Matt White | last post by:
I've been running a XAMPP server for some time now, but I just tried to add an include, and it says: Warning: include() : URL file-access is disabled in the server configuration in...
2
by: June Lee | last post by:
when include headers in C++ what's different when using < or " " like the following? #include "ne_session.h" #include <ne_uri.h>
2
by: bvdamme | last post by:
Hello, In my httpd error_log file I get following error : PHP Warning: include(http://filuntu/php/includes/header.php? mask_menu1=1111&amp;mask_menu2=111111&amp;terug=/php/hoofdmenu.php) : failed...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
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,...
0
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...

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.