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 wel

[PHP] Link problem - newbie question

2007-09-09 Thread Suvarna Damodaran
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 welcome message and the Logout

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 inde

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

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]> wro

[PHP] link problem

2006-07-31 Thread Ross
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, however if I om in the

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

2005-04-03 Thread BAO RuiXian
germ germ wrote: In my HTML file the HREF tag is: google.com 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 reads http://10.10.1.5/test-a/ref. Pl

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

2005-04-03 Thread Burhan Khalid
germ germ wrote: In my HTML file the HREF tag is: google.com 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 related to php or apache. -- PHP General Mai

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

2005-03-31 Thread John Nichel
germ germ wrote: In my HTML file the HREF tag is: google.com 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? -Aaron It's not a 'problem' of either

[PHP] link problem - Apache or PHP?

2005-03-31 Thread germ germ
In my HTML file the HREF tag is: google.com 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? -Aaron ___

Re: [PHP] Link problem

2001-10-26 Thread Richard Baskett
I do believe you need to use the full path for the file Rick > I want to know how to open an Excel file from a link in an web pages > I did try this but an error box appears telling me the following : > > warehouse_credits.xls is not accessible > The computer or share name could not be found...

[PHP] Link problem

2001-10-26 Thread De Necker Henri
I want to know how to open an Excel file from a link in an web pages I did try this but an error box appears telling me the following : warehouse_credits.xls is not accessible The computer or share name could not be found This is my link: href="file://warehouse_credits.xls" File sharing on