Re: [PHP] Asuming query without the ?

2004-06-04 Thread Robert Winter
I can't make it work. Because I'm new to .htaccess I tried some examples from apache.org: 1) Contents of .htaccess in http://mysite.com/path RewriteEngine On RewriteRule ^oldstuff\.html$ newstuff.html THIS EXAMPLE WORK, but the next one doesn't, nor the rule you told me: 2) RewriteEngine On

[PHP] Asuming query without the ?

2004-06-03 Thread Robert Winter
Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a path like this: www.myserver.com/path/154-- assumes www.myserver.com/path/index.php?code=154 The only thing I could do is avoid writing index.php but I still have to write the ?:

Re: [PHP] Asuming query without the ?

2004-06-03 Thread John Nichel
Robert Winter wrote: Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a path like this: www.myserver.com/path/154-- assumes www.myserver.com/path/index.php?code=154 The only thing I could do is avoid writing index.php but I still have to write the ?:

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Marek Kilimajer
Robert Winter wrote: Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a path like this: www.myserver.com/path/154-- assumes www.myserver.com/path/index.php?code=154 The only thing I could do is avoid writing index.php but I still have to write the ?:

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Robert Winter
Where and how do I set this? I'm to Unix and PHP. Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Robert Winter wrote: Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a path like this: www.myserver.com/path/154

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Robert Winter
Where and how do I set this? I'm to Unix and PHP. John Nichel [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Robert Winter wrote: Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a path like this: www.myserver.com/path/154--

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Daniel Clark
I think it's in the Apache config file. Where and how do I set this? I'm to Unix and PHP. Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Robert Winter wrote: Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a

RE: [PHP] Asuming query without the ?

2004-06-03 Thread Chris W. Parker
Robert Winter mailto:[EMAIL PROTECTED] on Thursday, June 03, 2004 4:31 PM said: Where and how do I set this? I'm to Unix and PHP. just look up mod_rewrite and you'll get some answers. http://www.engelschall.com/pw/apache/rewriteguide/ chris. p.s. please don't respond to two different

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Marek Kilimajer
Robert Winter wrote: Where and how do I set this? I'm to Unix and PHP. in .htaccess file RewriteRule ^/path/([0-9]+)$/path/index.php?code=$1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php