Re: [PHP] Link problem - newbie question

2007-09-09 Thread brian
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

Re: [PHP] link problem

2006-08-03 Thread Richard Lynch
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

Re: [PHP] link problem

2006-07-31 Thread Drew Butler
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:

Re: [PHP] link problem

2006-07-31 Thread Jochem Maas
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,

Re: [PHP] link problem - Apache or PHP?

2005-04-03 Thread Burhan Khalid
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

Re: [PHP] link problem - Apache or PHP?

2005-04-03 Thread BAO RuiXian
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

Re: [PHP] link problem - Apache or PHP?

2005-03-31 Thread John Nichel
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?