Quote:
Originally posted by Nathan
odin:
simple, do the following:
the external page should look something like this:
PHP Code:
<? echo "<?"; ?>
$var = "eek";
$foo = "bar";
$somemore = 1;
<? echo "?>"; ?>
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 <? ?> 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.