On Sun, 5 May 2002 [EMAIL PROTECTED] wrote:
> 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

1) Try include $_GET['file'];

2) Let me know where your server is so I can go to



PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to