Re: [PHP] Problems with remote include

2003-11-03 Thread Pablo Zorzoli
On Thu, 2003-10-30 at 17:00, Chris Shiflett wrote: So the server where you're running the PHP script can't connect to the server you specify in your include() call. So, you can now remove PHP from the problem and work on that. [...] Hope that helps. Chris Thank you Chris..i solved the

Re: [PHP] Problems with remote include

2003-10-30 Thread Pablo Zorzoli
On Wed, 2003-10-29 at 17:52, Chris Shiflett wrote: --- Pablo Zorzoli [EMAIL PROTECTED] wrote: ? include('http://www.google.com/'); ? That should basically take Google's HTML and make it your own. The image will obviously not work, but it should otherwise look like Google's

Re: [PHP] Problems with remote include

2003-10-30 Thread Chris Shiflett
--- Pablo Zorzoli [EMAIL PROTECTED] wrote: I've tried with the simlpest example: --- output.php ? echo Hello World!; ? -- test.php htmlheadtitletesing!/title/head body ?php include ('http://***.com/output.php'); ? /body/html -- Actually, I think the simplest example was

Re: [PHP] Problems with remote include

2003-10-30 Thread Pablo Zorzoli
On Thu, 2003-10-30 at 17:00, Chris Shiflett wrote: Maybe it times out? Maybe the server where your PHP script is located cannot access the server at ***.com? Maybe the output that output.php generates isn't what you expect? Basically, because you can include Google's home page successfully,

Re: [PHP] Problems with remote include

2003-10-30 Thread Chris Shiflett
--- Pablo Zorzoli [EMAIL PROTECTED] wrote: That's it i cannot wget it from the webserver i get failed: Connection timed out. i tried to wgetit from another machine and i get the desired output. So the server where you're running the PHP script can't connect to the server you specify in

[PHP] Problems with remote include

2003-10-29 Thread Pablo Zorzoli
Hi all, I'm having trouble while i try to include a php file. the testing code is something loke the sort. html head/head body h1 test:/h1 ?php include ('http://blabla.com/script.php?var1=a'); ? /body /html script.php should echo some text, but i don't get any output. In my php.ini I have

Re: [PHP] Problems with remote include

2003-10-29 Thread Chris Shiflett
--- Pablo Zorzoli [EMAIL PROTECTED] wrote: I'm having trouble while i try to include a php file. [snip] include ('http://blabla.com/script.php?var1=a'); [snip] script.php should echo some text, but i don't get any output. When you visit http://blabla.com/script.php?var1=a and view source, what

Re: [PHP] Problems with remote include

2003-10-29 Thread Pablo Zorzoli
On Wed, 2003-10-29 at 16:00, Chris Shiflett wrote: When you visit http://blabla.com/script.php?var1=a and view source, what do you see? Is it valid PHP? yap, exactly. if i paste th elink i my browser i see the results expected.. pablo -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Problems with remote include

2003-10-29 Thread CPT John W. Holmes
From: Pablo Zorzoli [EMAIL PROTECTED] ?php include ('http://blabla.com/script.php?var1=a'); ? [snip] script.php should echo some text, but i don't get any output. You know you're going to get the OUTPUT of script.php, right? You'll get the same exact result as if you typed the address into

Re: [PHP] Problems with remote include

2003-10-29 Thread Pablo Zorzoli
On Wed, 2003-10-29 at 16:18, CPT John W. Holmes wrote: You know you're going to get the OUTPUT of script.php, right? You'll get the same exact result as if you typed the address into your browser. Is that what you're trying to do? yes John, tht's exactly what i want to get. pablo -- PHP

Re: [PHP] Problems with remote include

2003-10-29 Thread Pablo Zorzoli
On Wed, 2003-10-29 at 16:36, Chris Shiflett wrote: The results you expect might not be right. This doesn't help me help you. Is it valid PHP? Can you show us *exactly* what you see when you view source in your browser? i see one line containing the expected html code.The scrip is a counter

Re: [PHP] Problems with remote include

2003-10-29 Thread Chris Shiflett
--- Pablo Zorzoli [EMAIL PROTECTED] wrote: i see one line containing the expected html code.The scrip is a counter that outputs the img tags to fecth the images: img src=digit4.gifimg src=digit2.gif that's all i get, and all i would like to get with the remote include. That seems right,

Re: [PHP] Problems with remote include

2003-10-29 Thread Pablo Zorzoli
On Wed, 2003-10-29 at 17:17, Chris Shiflett wrote: That seems right, unless I'm missing something obvious. I think you already mentioned that you have configured to allow URL opens. yes that parameter is 'On' So, can you tell us what something like this produces? ?

Re: [PHP] Problems with remote include

2003-10-29 Thread Chris Shiflett
--- Pablo Zorzoli [EMAIL PROTECTED] wrote: ? include('http://www.google.com/'); ? That should basically take Google's HTML and make it your own. The image will obviously not work, but it should otherwise look like Google's home page. yes i get Google's HTML. OK, so this proves

Re: [PHP] Problems with remote include

2003-10-29 Thread Marek Kilimajer
Can you connect from your server to the other server? Pablo Zorzoli wrote: On Wed, 2003-10-29 at 17:17, Chris Shiflett wrote: That seems right, unless I'm missing something obvious. I think you already mentioned that you have configured to allow URL opens. yes that parameter is 'On' So, can

Re: [PHP] Problems with remote include

2003-10-29 Thread Pablo Luis Zorzoli
El mi? 29-10-2003 a las 16:49, Evan Nemerson escribió: Don't be insulted he asked. You'd be amazed at the level of idiocy around here, and you're not known on the list... He meant no disrespect. NOOO..i'm sorry if MY answer seemed ugly..i'm impressed by the amount of help i received. By no

Re: [PHP] Problems with remote include

2003-10-29 Thread Pablo Luis Zorzoli
El mi? 29-10-2003 a las 17:38, Marek Kilimajer escribió: Can you connect from your server to the other server? yes Marek, both files are under the same domain(and server) now. I'm using the remote inclusion, because when it works they'll be on separate domains. Pablo -- PHP General