On 13 Sep 2004, at 19:11, Ed Lazor wrote:
Why use SSI? PHP's include directive allows you to bring separate pages
together for creating an overall page. You can include .html files. Also,
PHP programming isn't *required* in a file with the php extension.
I had wondered about that but I must be using it wrong because when I include a section of code it doesn't include the source it includes the output - if that makes sense.
In other words suppose I had a file which contained the interfeace HTML and took an argument like this file1.php?id=value
now suppose the actual PHP code which took that id=value and did some processing with it was in another file, file2.php, in order to get the value to file2.php file1 would have to include the following:
$id = $_REQUEST['id']; include 'file1.php?id=$value';
In other words the arguments have to be passed accross twice. What am I doing wrong?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php