Reply to Re: [PHP] Newbie Help

Your name:

Reply:


Posted by Andre Dubuc on 05/02/05 06:05

On Sunday 01 May 2005 10:39 pm, Thomas Bonham wrote:
> Hello All,
>
> First of I'm new to this a hop I'm doing this right.
>
> If some one can help me with my web site page. I'm trying to make it
> call a page and I get a error line 42. Error:
> http://bonhamlinux.org/idex.php?page=links/index.php
>
> The code that I'm trying to do this is the following:
> <?php
> if(isset($_GET ['page']))
> {include($_GET ['page'].".php");}
> else
> {echo("Page Not Set.");}
> ?>
>
> My site is: http://bonhamlinux.org
> My email is: freeswimfreak@yahoo.com
>
> Thanks for all the help.
> Thomas


I spot perhaps a typo in http://bonhamlinux.org/idex.php?page=links/index.php

Might that be 'index' instead?

Hth,
Andre
^^

[Back to original 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

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