How is it that I can use include to obtain variables from another site. I tryed this but I did not work.
script on
http://www.site1.com/vars.php
PHP Code:
<?php
$VAR = "this is a test";
?>
script on
http://www.site2.com/getvars.php
PHP Code:
<?php
include 'http://www.site1.com/vars.php';
echo $VAR;
?>
I just have no clue..I looked on php.net but there was no real hlp as of how to do this.
Thanks
- Neon