You are here: Re: PHP query in URL to show as Filename instead. « PHP Programming Language « IT news, forums, messages
Re: PHP query in URL to show as Filename instead.

Posted by Erwin Moller on 08/03/05 13:53

lukedigby@gmail.com wrote:

> Hi there.
>
> Could someone please help me.
>
> Is it possible to show addresses such:
> http://www.spanishinvest.com/list.php?area_id=5
>
> like this instead:
> http://www.spanishinvest.com/area_costa_del_sol.html
>
> Thanks for any advice in advance.
> Luke

Hi Luke,

The first:
http://www.spanishinvest.com/list.php?area_id=5
calls the php-script named list.php.
In this script it is possible to retrieve the passed value for area_id.
Like this
$areaID = $_GET["area_id"];

What the script uses that value for, I cannot say of course.

The second is just a normal URL:
http://www.spanishinvest.com/area_costa_del_sol.html

and has nothing to do with PHP, because it is plain HTML.

What is your problem/question excactly?

Regards,
Erwin Moller

 

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

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