I wonder how i can run a piece of php code only if my url is [url]http://mypage.com/[/url] if it is [url]http://mypage.com/2[/url] it should not run and so on.
@Declan1991Aug 17.2010 — #http://mypage.com/2 is completely different to http://mypage.com. The former refers to a specific file, the latter refers to index.something most likely. You can [url=http://www.invision-graphics.com/HTML_Guide-16.html]change the default file[/url] too.