Re: [PHP] custom CAD directory/file browser

2005-12-01 Thread Marlin Unruh
Jay Blanchard wrote: [snip] 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. [/snip] Following is my code as it is. I wrote something similar in Python but it creates static html pages

RE: [PHP] custom CAD directory/file browser

2005-12-01 Thread Jay Blanchard
[snip] > You can include information in the query string of the URL > > Click Here > > 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

Re: [PHP] custom CAD directory/file browser

2005-11-30 Thread Marlin Unruh
Jay Blanchard wrote: [snip] Can I use an anchor element to pass info back to the self same php script? If so how? I can't seem to find my way though this aspect of the project. [/snip] You can include information in the query string of the URL Click Here The information would be available i

RE: [PHP] custom CAD directory/file browser

2005-11-30 Thread Jay Blanchard
[snip] Can I use an anchor element to pass info back to the self same php script? If so how? I can't seem to find my way though this aspect of the project. [/snip] You can include information in the query string of the URL Click Here The information would be available in the $_GET array as $_G

Re: [PHP] custom CAD directory/file browser

2005-11-30 Thread Leonard Burton
Greetings, >I think what I need is for the > php script to call itself and pass the name of the new directory so the > new directory can be queried and displayed. Let me see if I got this right. You have Dir x, y, z, w. In each dir you have files 1 through n. What you want to do is loop throug