rajuvk@satyam.net.in wrote:[color=blue]
> Does the PHP and HTML behave differently when it comes to paths ?.[/color]
If[color=blue]
> I give /user/userlogged.php as the address of a page in the <a></a>
> tag, it will always loads the userlogged.php page from the /user
> folder, from the document root of the web-site. (That is
>
http://mysite.com/user/userlogged.php). I wish to repeat this[/color]
behaviour[color=blue]
> in PHP include(). Irrespectice of the location of the file calling[/color]
the[color=blue]
> include function, the page userlogged.php shall be included. What is
> the best way to achieve this ?[/color]
I'm afraid, it is very hard to help you here--you seem to lack the
basic idea of filesystems. You definitely have to look at file system
basics and HTTP basics.
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog:
http://rajeshanbiah.blogspot.com/