Defining PHP varibles from URL
| From: | webmaster at tececo dot com | Date: | Mon, 06 May 2002 09:28:31 +0000 |
| Subject: | Defining PHP varibles from URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96219@lists.php.net to get a copy of this message | ||
I don't mean to be a pain but could someone send me a working example?
I am what you would probably call a 'newbie'
For those who don't know here is my previous message
can't seem to define a varible from the url entered into a browser.
I wish to use the following code or something like it.
<script language="php">
$file = "";
//the above is defined from the url
include "$file";
</script>
It could be what I was typing in the url bar.
file.php?file=foobar.inc
Thanks,
JJ Harrison
webmaster@tececo.com
www.tececo.com