Re: [PHP] Re: create htaccess.

2004-12-06 Thread Richard Lynch
adwinwijaya wrote: > www.mysite.com/article/file/19911/year/2004 > means: www.mysite.com/article.php?file=19911&year=2004 right ? > :) > > and i have to put this script on my article.php, is it right ? > > $pi = $_SERVER['PATH_INFO']; // Grab PATH_INFO > $pi = substr($pi, 1);// Remove t

Re: [PHP] Re: create htaccess.

2004-12-06 Thread Matthew Weier O'Phinney
* Jason Wong <[EMAIL PROTECTED]>: > On Monday 06 December 2004 20:11, Matthew Weier O'Phinney wrote: > > > 'article.php' will have to become just 'article' for the above to work > > (unless you can do rewriting, but you indicated that you don't have > > access to your httpd.conf file). The directio

Re: [PHP] Re: create htaccess.

2004-12-06 Thread Jason Wong
On Monday 06 December 2004 20:11, Matthew Weier O'Phinney wrote: > 'article.php' will have to become just 'article' for the above to work > (unless you can do rewriting, but you indicated that you don't have > access to your httpd.conf file). The directions for doing that are > above; just substit

Re: [PHP] Re: create htaccess.

2004-12-06 Thread Matthew Weier O'Phinney
* Adwinwijaya <[EMAIL PROTECTED]>: > Monday, December 6, 2004, 11:33:28 AM, you wrote: > > MWOP> In you .htaccess: > > MWOP> > MWOP> ForceType application/x-httpd-php > MWOP> > MWOP> DirectoryIndex index > > MWOP> Then, in your script, you'll need to access the PATH_INFO envir

Re: [PHP] Re: create htaccess.

2004-12-05 Thread adwinwijaya
Hello Matthew, Monday, December 6, 2004, 11:33:28 AM, you wrote: MWOP> In you .htaccess: MWOP> MWOP> ForceType application/x-httpd-php MWOP> MWOP> DirectoryIndex index MWOP> Then, in your script, you'll need to access the PATH_INFO environment MWOP> variable via the $_SERVE