View Single Post
Old 08-21-2003, 12:36 AM  
Odin88
Confirmed User
 
Join Date: Jul 2003
Location: au
Posts: 3,267
Quote:
Originally posted by Nathan
odin:

simple, do the following:

the external page should look something like this:

PHP Code:
&lt;? echo "<?"; ?&gt;
$var = "eek";
$foo = "bar";
$somemore = 1;
&lt;? echo "?>"; ?&gt;
Lets pretend that page would be http://www.fuckyoutoo.com/some.php

you would simply do:
include("http://www.fuckyoutoo.com/some.php"); in your main file that needs the vars.

You can of course also not use those strange echos and print the &lt;? ?&gt; directly in the file, but you have to make sure that the server that file is on will not parse it for php since it'll of course be empty for the include() then.
You do not quite understand what I am trying to do, but that is my fault I suppose. "Retrieving dynamic pages with variables" can be interpreted many ways. What I am trying to do is actually to fetch the output of dynamic pages such as http://www.google.com/search?hl=en&i...=Google+Search

I appreciate your time and effort though.
Odin88 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote