You are here: Re: Folder name as a GET? « PHP Programming Language « IT news, forums, messages
Re: Folder name as a GET?

Posted by Jerry Stuckle on 02/27/06 02:44

RedGalaxy UK wrote:
> Hello,
>
> I currently have a website and would like to be able to give my members
> an alias to access their profile. At the moment, people have to go to
> something like www.domain.com/viewmember.php?id=3456, which isn't
> practical unless it's through clicking links.
>
> I'd like to be able to give my members the ability to use something
> like www.domain.com/myname, which would then forward to the correct
> page. The problem I can see is that the server thinks myname is
> actually a folder and returns a 404 error.
>
> Does anyone know of a way to do this?
>
> Thanks,
>
> Paul
>

If you're using Apache, you can use mod_rewrite to do this. Check one
of the Apache newsgroups like alt.apache.configuration.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация