> as cold fusion (custom tags), can i made some component to reuse in all my
> script ?

<?custom_tag()?>

> is a function visible every where in PHP ?

Yes

> can i developp a script with a name, and call this script by an include
> function and passing parameters ?

You don't need to pass parameters since included files share the same
symbol table as the file they were included from.  You simply define you
variable, then do the include and inside the include file you can access
the variable.

eg.

$a = 123;
include 'something.php';

Inside something.php you can then access $a

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to