PHP Include
| From: | drbworld drbworld | Date: | Thu, 04 Jul 2002 05:22:15 +0000 |
| Subject: | PHP Include | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7613@lists.php.net to get a copy of this message | ||
My site is ...
http://drbworld.d2g.com/drbworld/default.php
I'm using the code
<?php if(!is_file($id)){ $id="contactus.htm";} include($id); ?></div>
in my default.php file. When I go to
http://drbworld.d2g.com/drbworld/default.php?id=contactus.htm or
http://drbworld.d2g.com/drbworld/default.php
it's okay, but when i go to
http://drbworld.d2g.com/drbworld/default.php?id=download.htm
it's the same page as contactus.htm
Please contact me soon. Thank YOu
Saiyan Life
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com