Re: [PHP] Include(remote HTML file) doesn't work since upgrade

2003-07-25 Thread Police Trainee
my phpinfo output does not have that particular init
value disable-url-fopen-wrapper. allow_url_fopen
is enabled, safemode is off, and include_path is set
to .:/usr/local/lib/php. further ideas?

--- Curt Zirzow [EMAIL PROTECTED] wrote:
 * Thus wrote Police Trainee
 ([EMAIL PROTECTED]):
  When the server upgraded to php 4.3.1 from 4.2.x,
 I
  was no longer able to include remote html files.
  allow_url_fopen is still enabled and no other
 settings
  have changed. Running Apache 1.3.27 on Linux. 
  
  
  This is one line that I use to call the remote
 html
  file. It also has not changed since the upgrade: 
  
  ?include(http://143.43.222.103/sga;);? 
  
  This line worked before, but no longer does. I
 have
  tried adding a trailing slash, using single
 quotes, no
  quotes, etc. Nothing apparently works. Please
 help!
 
 Was --disable-url-fopen-wrapper  compiled in php?
 
 You can check your phpinfo() output in that.
 
 Curt
 -- 
 I used to think I was indecisive, but now I'm not
 so sure.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Include(remote HTML file) doesn't work since upgrade

2003-07-25 Thread Comex
[EMAIL PROTECTED]
Police Trainee:
 my phpinfo output does not have that particular init
 value disable-url-fopen-wrapper. allow_url_fopen
 is enabled, safemode is off, and include_path is set
 to .:/usr/local/lib/php. further ideas?

What happens when you try to include it?  Is there an error?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Include(remote HTML file) doesn't work since upgrade

2003-07-25 Thread Police Trainee
Warning: main(http://143.43.222.103/sga)
[function.main]: failed to create stream: Invalid
argument in
/hsphere/local/home/domain/mydomain.com/includesite.php
on line 2

Warning: main() [function.main]: Failed opening
'http://143.43.222.103/sga' for inclusion
(include_path='.:/usr/local/lib/php') in
/hsphere/local/home/domain/mydomain.com/includesite.php
on
line 2


 What happens when you try to include it?  Is there
 an error?
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Include(remote HTML file) doesn't work since upgrade

2003-07-25 Thread Rob Adams
Police Trainee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Warning: main(http://143.43.222.103/sga)
 [function.main]: failed to create stream: Invalid
 argument in
 /hsphere/local/home/domain/mydomain.com/includesite.php
 on line 2

 Warning: main() [function.main]: Failed opening
 'http://143.43.222.103/sga' for inclusion
 (include_path='.:/usr/local/lib/php') in
 /hsphere/local/home/domain/mydomain.com/includesite.php
 on
 line 2



Ok - this is kinda weird, but I got it to work on my machine after getting
the same error.
I tried including a page off a different server and it worked just fine.  So
I started messing around and got the following to work for the page you're
trying to include:

  include('http://wiu.edu/SGA/');

Of course, the graphics don't show...
Don't ask me why that works instead, but it does for me.  Give it a shot.

  -- Rob







  What happens when you try to include it?  Is there
  an error?
 
 
 
  -- 
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 


 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Include(remote HTML file) doesn't work since upgrade

2003-07-24 Thread Police Trainee
When the server upgraded to php 4.3.1 from 4.2.x, I
was no longer able to include remote html files.
allow_url_fopen is still enabled and no other settings
have changed. Running Apache 1.3.27 on Linux. 


This is one line that I use to call the remote html
file. It also has not changed since the upgrade: 

?include(http://143.43.222.103/sga;);? 

This line worked before, but no longer does. I have
tried adding a trailing slash, using single quotes, no
quotes, etc. Nothing apparently works. Please help!

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Include(remote HTML file) doesn't work since upgrade

2003-07-24 Thread Curt Zirzow
* Thus wrote Police Trainee ([EMAIL PROTECTED]):
 When the server upgraded to php 4.3.1 from 4.2.x, I
 was no longer able to include remote html files.
 allow_url_fopen is still enabled and no other settings
 have changed. Running Apache 1.3.27 on Linux. 
 
 
 This is one line that I use to call the remote html
 file. It also has not changed since the upgrade: 
 
 ?include(http://143.43.222.103/sga;);? 
 
 This line worked before, but no longer does. I have
 tried adding a trailing slash, using single quotes, no
 quotes, etc. Nothing apparently works. Please help!

Was --disable-url-fopen-wrapper  compiled in php?

You can check your phpinfo() output in that.

Curt
-- 
I used to think I was indecisive, but now I'm not so sure.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php