Am Freitag, 4. Mai 2007 09:22 schrieb Mark Smith:
> Hello all,
> Is there a way to allow the passing of variables to included scripts

See it another way: The includED script will be part of the includING script. 

---------------includeme.inc-----------------
<?php
        $message="Hello!\n";
?>
---------------includer.php------------------
<?php
        include('includeme.inc');
        echo $message;
?>
-------------------------------------------------

Will be the same as
---------------dont_like_inclusions.php-------------------
<?php
        $message="Hello\n";
        echo $message;
?>
---------------------------------------------------------------


Regards,

Oliver

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

Reply via email to