> but, if i want to send a user to a website along 
> with a variable like...
> $temp = "website.php?var=".$var;
> include($temp);
> ...this doesn't work.  


  $var = 'foo';
  include 'somefile.php';

somefile.php now has access to $var.  This is 
talked about in the manual too:


In your case above, $var will already be available 
to website.php if you simply include it.

Philip Olson

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to