RE: [PHP] custom CAD directory/file browser
| From: | Jay Blanchard | Date: | Thu, 01 Dec 2005 12:57:32 +0000 |
| Subject: | RE: [PHP] custom CAD directory/file browser | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-226699@lists.php.net to get a copy of this message | ||
[snip]
> You can include information in the query string of the URL
>
> <a href="foo.php?directory=/path/to/may/files/">Click Here</a>
>
> The information would be available in the $_GET array as
$_GET['directory']
>
>
This did the trick but, how do I clear out the $_GET array? As I move
around the directories the 'directory' string gets longer and longer.
I'm not sure if it is an Apache variable or what that I need to clear to
empty the ?directory= string. Below is what builds up in the browser
address window as I go in and out of directories. How do I dump it?
http://localhost/cad.php?directory=c:/suncosys/cyl/../sbr/../act/2d/obsolete
/..
[/snip]
I would have to see your code to see how the $_GET array grows.