Re: [PHP-WIN] Re: Newbie Q

2003-07-19 Thread Gabriel_k
Yeah that worked fine :) Thank you all! /Gabbah "Mike Jenck" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > try > $_SERVER["PHP_SELF"] > > > > Mike > > "Gabriel_k" <[EMAIL PROTECTED]> wrote in message > news

Re: [PHP-WIN] Re: Newbie Q

2003-07-18 Thread Gabriel_k
{ > $viewcode = explode('/', $PATH_INFO); >$num = count($viewcode); >if($num % 2 == 0) { >$viewcode[] = ''; >$num++; >} >for($i = 1; $i < $num; $i += 2) { > > $$viewcode[$i] = $vi

Re: [PHP-WIN] Re: Newbie Q

2003-07-17 Thread Gabriel_k
> > This will set $title to > /files/uploads/here > > $title = getcwd(); > ?> > > This will set $title to > D:\wwwroot\files\uploads\here > > Depends on what value you actually want to use. > > (V) > > - Original Message - > From: "Gabri

Re: [PHP-WIN] Re: Newbie Q

2003-07-16 Thread Gabriel_k
; What is the purpose for knowing the directory name? Maybe there is > something else you can tell us that will get you the answer you're looking > for. > > (V) > > - Original Message - > From: "Gabriel_k" <[EMAIL PROTECTED]> > > What if there

[PHP-WIN] Re: Newbie Q

2003-07-16 Thread Gabriel_k
What if there is no file? /Gabbah "Heyz" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > It's simple. > > dirname(__FILE__) > > > "Gabriel_k" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > H

[PHP-WIN] Newbie Q

2003-07-15 Thread Gabriel_k
How can I find out (as a string) in what dir my php script is run? /Gabbah -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php