Hi!
I want to send some parameters to an included php script.
include('file.php?cod=5');
And gives me an error, that file.php?cod=5 not found.
What to do?
Thanks.
Hi!
I want to send some parameters to an included php script.
include('file.php?cod=5');
And gives me an error, that file.php?cod=5 not found.
What to do?
Thanks.
include accepts a file name... and file.php?cod=5 is not a valid filename.
but all global variables are accessible in an included file.
file.php
<?php
\\.............
$cod = 5;
\\.............
?>
*.php
include('file.php');