Ask a Question related to PHP Development, Design and Development.
-
Police Trainee #1
Include(remote HTML file) doesn't work since upgrade
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
[url]http://sitebuilder.yahoo.com[/url]
Police Trainee Guest
-
Strange Include problems: Repeat regions will Not workwith include file
I have a strange problem. I have an Index.asp page and on that page I have a poll that is displays. This poll is located in a sub folder, so to call... -
proper way to include constants; as module or include file?
I am developing a new perl module that uses constants with regular expressions. What is the proper way to offer this file? For example, my perl... -
HTML + <input type=file> constraint doesnt work
Hi I'm trying to input image file using this synax. <input type=file name="tx_file" accept="image/*" class=boxText> But when open file dialouge... -
cant get #include to work in .asp file.
I'm new to html and web coding, this is a simple one - appreciate your help! I'm attempting to get my browser bar links to reside in a single... -
INSERTing HTML-File won't work
Hi there, How do I write an HTML-File to the SQL-Server. (I want to place e-mail in a Table) I created a column HTMLbody with text as DataType.... -
Curt Zirzow #2
Re: [PHP] Include(remote HTML file) doesn't work since upgrade
* Thus wrote Police Trainee (policetrainee@yahoo.com):
Was --disable-url-fopen-wrapper compiled in php?> 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!
You can check your phpinfo() output in that.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
Curt Zirzow Guest
-
Police Trainee #3
Re: [PHP] Include(remote HTML file) doesn't work since upgrade
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 <curt@zirzow.dyndns.org> wrote:> * Thus wrote Police Trainee
> (policetrainee@yahoo.com):> I> > When the server upgraded to php 4.3.1 from 4.2.x,> settings> > was no longer able to include remote html files.
> > allow_url_fopen is still enabled and no other> html> > have changed. Running Apache 1.3.27 on Linux.
> >
> >
> > This is one line that I use to call the remote> have> > 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> quotes, no> > tried adding a trailing slash, using single> help!> > quotes, etc. Nothing apparently works. Please
>
> 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 ([url]http://www.php.net/[/url])
> To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[url]http://sitebuilder.yahoo.com[/url]
Police Trainee Guest
-
Comex #4
Re: [PHP] Include(remote HTML file) doesn't work since upgrade
<20030725065308.91009.qmail@web11704.mail.yahoo.co m>
Police Trainee:What happens when you try to include it? Is there an error?> 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?
Comex Guest
-
Police Trainee #5
Re: [PHP] Include(remote HTML file) doesn't work since upgrade
Warning: main([url]http://143.43.222.103/sga[/url])
[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 ([url]http://www.php.net/[/url])
> To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[url]http://sitebuilder.yahoo.com[/url]
Police Trainee Guest
-
Rob Adams #6
Re: [PHP] Include(remote HTML file) doesn't work since upgrade
"Police Trainee" <policetrainee@yahoo.com> wrote in message
news:20030725143730.49499.qmail@web11702.mail.yaho o.com...> Warning: main([url]http://143.43.222.103/sga[/url])
> [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 ([url]http://www.php.net/[/url])
> > To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
> >
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> [url]http://sitebuilder.yahoo.com[/url]
Rob Adams Guest



Reply With Quote

