[Typo3] Start page has ids 0 and 1?

Michael Stucki michael at typo3.org
Fri Jul 1 10:40:56 CEST 2005


Hi Vlatko,

> Stefan Beylen wrote:
>> try id=8787sdhgfgh345 and you also get to the startpage...
> 
> Not quite so, for url:
> http://www.pvc-stolarija.hr/index.php?id=8787sdhgfgh345
> I get the following response:
> Error!
> The requested page does not exist!

True.

if(t3lib_div::_GP('id')) return true : false;

...will be true for your random string but false for 0. If the string is
false (= same as not specified), the usual action is to display the start
page.

Do you really have a problem with this?!

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-english mailing list