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
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
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
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
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
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
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
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
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
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
___
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...
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
12 matches
Mail list logo