How do I create a link to a doc file.
is the normal "include(file :///c:\aa.doc)" works.
is there any way to do this.
Geeshan
Hyperlink to document
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
like any other link
Code: Select all
<a href="url">text</a>- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
well, there's header('Location: ...') redirection and <meta http-equiv="..."> tag redirection. Both of which should be output, incase the user's agent doesn't support header redirection.
Thanks
I checked the http://php.net/function.header .
It gave me a lot.
But the (Location : ...) concern with the "http:// ". isnt it.
Does it redirect to a word file if we use it like this?
header('Location : c:\aa.doc');
Rgds
Geeshan
I checked the http://php.net/function.header .
It gave me a lot.
But the (Location : ...) concern with the "http:// ". isnt it.
Does it redirect to a word file if we use it like this?
header('Location : c:\aa.doc');
Rgds
Geeshan
the document should be inside of your webservers document root
then
then
Code: Select all
header("Location: http://www.yourdomain.com/path/to/your/file.doc");Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.