Re: [PHP-WIN] Question about directory & file operations

2006-02-01 Thread GT
I'll have a peek at it.. "Stut" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > GT wrote: > >>"Stut" <[EMAIL PROTECTED]> wrote in message >>news:[EMAIL PROTECTED] >> >>>Mike wrote: >>> >>> >If it is called with the right parameters or the "Previous Directory" >link is click

Re: [PHP-WIN] Question about directory & file operations

2006-02-01 Thread Stut
GT wrote: "Stut" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Mike wrote: If it is called with the right parameters or the "Previous Directory" link is clicked too many times, the browser will be outside of the paths that I want them to be in... I would like to be ab

Re: [PHP-WIN] Question about directory & file operations

2006-02-01 Thread GT
I found a much simpler way to handle this problem.. It's not pretty, but it's effective. $path = $_GET["path"]; if( !isset( $path ) || $path == "" ) { $path = "D:/FTPDIR"; } $test = $path; // keep from mangling $path... For some reason, if I did the test below using $pa

[PHP-WIN] Cant write file to server

2006-02-01 Thread Michael Adams
Newbie with Kiwiwebhost and LAMP with PHP 4.XX Trying to iron out my first "file upload" issues. Using "Build your own database driven websites: using PHP and MySQL" and the online manual as main resources. I cannot write out a file to my public_html directory. I have trimmed this down to the ba