Suvarna Damodaran wrote:
Hi,
I think I am having an unusual problem - don't know where I am going wrong.
This is the code that I use to display the page once the user is logged in.
I want to display a Logout link so the user can logout. But, for some
reason, I am unable to display both the
On Mon, July 31, 2006 4:38 pm, Ross wrote:
I have lots of folders and files some are in the main public_html
folder and
some are in their own foder. I need to find a way to make all the
links
relative to the public_html folder
For example if I am in the 'gallery' folder, the main index file
Try something like
realpath( dirname(__FILE__).../ );
__FILE__ should give you the full path of the file being run,
dirname() will break the directory path from it and ../ will drop it
down one dir ... real path will give you a solid final path.
~Drew
On 7/31/06, Ross [EMAIL PROTECTED] wrote:
Ross wrote:
I have lots of folders and files some are in the main public_html folder and
some are in their own foder. I need to find a way to make all the links
relative to the public_html folder
For example if I am in the 'gallery' folder, the main index file is located
at ../index,
germ germ wrote:
In my HTML file the HREF tag is: A
HREF=www.google.com TARGET=_blankgoogle.com/A
When clicked, the link in then directed to:
http://10.10.1.5/test-a/ref/www.google.com
Basically it seems like it appends the link to the URL
path.
This sounds like a base href problem; nothing
germ germ wrote:
In my HTML file the HREF tag is: A
HREF=www.google.com TARGET=_blankgoogle.com/A
When clicked, the link in then directed to:
http://10.10.1.5/test-a/ref/www.google.com
Basically it seems like it appends the link to the URL
path.
Yes, guess you have a base tag on the page, which
germ germ wrote:
In my HTML file the HREF tag is: A
HREF=www.google.com TARGET=_blankgoogle.com/A
When clicked, the link in then directed to:
http://10.10.1.5/test-a/ref/www.google.com
Basically it seems like it appends the link to the URL
path.
Is this a PHP or Apache problem and how do I fix it?
7 matches
Mail list logo