Re: [PHP] Creating User Friendly URLS [SOLVED]

2006-08-19 Thread Dave M G
PHP List, Thank you to everyone who helped out. I'm happy to report that the issue is solved, mainly with the help of my local LUG. I am getting nice friendly URLs, so mod_rewrite seems to be working. The solution was almost entirely to do with getting Apache working. Once I had the URLs co

Re: [PHP] Creating User Friendly URLS

2006-08-18 Thread Richard Lynch
As a general rule, if you want to see everything useful that is available to you in your script: http://php.net/phpinfo In particular, this will show you the PATH_INFO if it's there, and the REQUEST_URI if that's there, and... If neither of those are available, I don't think you'll be able to do

RE: [PHP] Creating User Friendly URLS

2006-08-17 Thread Chris W. Parker
tedd on Thursday, August 17, 2006 8:29 AM said: >> And then stripping out the "index.php", and using the remainder for >> both the URL and the database lookup. > > Why not just place all your pages inside folders with the names you > want and then link to the folde

Re: [PHP] Creating User Friendly URLS

2006-08-17 Thread Jochem Maas
1. assign a 'page' a 'friendly url' - this is probably done in your CMS 2. write a routine that will generate a 'friendly url' for a given 'page' in your cms; this allows you to stick the 'friendly urls' in a menu for instance. 3. write a routine for taking any given url and trying to match i

Re: [PHP] Creating User Friendly URLS

2006-08-17 Thread tedd
At 11:43 PM +0900 8/17/06, Dave M G wrote: PHP List, My goal is to create user and search engine friendly URLs like: mysite.com/my_web_page_title Instead of: mysite.com/index.php?pageID=1 The "?" doesn't cut it for SE's. I thought I could do this by simply making my link into: My Web Page T

Re: [PHP] Creating User Friendly URLS

2006-08-17 Thread Ray Hauge
On Thursday 17 August 2006 09:43, Dave M G wrote: > PHP List, > > My goal is to create user and search engine friendly URLs like: > mysite.com/my_web_page_title > > Instead of: > mysite.com/index.php?pageID=1 > > I asked about this before: > http://marc.theaimsgroup.com/?l=php-general&m=11359798802