Defining PHP varibles from URL
| From: | webmaster at tececo dot com | Date: | Sun, 05 May 2002 07:09:55 +0000 |
| Subject: | Defining PHP varibles from URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96121@lists.php.net to get a copy of this message | ||
I 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