<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 9/28/12 4:47 AM, Kamal Palei wrote:<br>
</div>
<blockquote
cite="mid:CALO8XuVsHG3sc_H28LCwZX39F9VstP7hUR6=LKy+0mcO=q7Gdg@mail.gmail.com"
type="cite">Hi All<br>
I have a line of code as below.<br>
<br>
<br>
$data[$index]['Resume'] = '<a href="\<a moz-do-not-send="true"
href="http://ncjobs.com">ncjobs.com</a>\sites\default\files\resumes\\'
. $record->uid . '\\' . $record->filename .'" ' .
'target="_blank">' . $record->filename . '</a>';<br>
<br>
I am trying to show a link in one table cell.<br>
<br>
In IE8, this is working fine, I am able to download the file.<br>
<br>
In Firefox 15.0.1, this is not working, gets error "he requested
URL /<a moz-do-not-send="true"
href="http://ncjobs.com/resume_search/skill_based_search/java/1/0/360/00/%5Cncjobs.com%5Csites%5Cdefault%5Cfiles%5Cresumes%5C4%5CChinmay_Pani">ncjobs.com/resume_search/skill_based_search/java/1/0/360/00/\ncjobs.com\sites\default\files\resumes\4\Chinmay_Pani</a>
mod.doc was not found on this server."<br>
<br>
I am wondering from where it is prepending "/<a
moz-do-not-send="true"
href="http://ncjobs.com/resume_search/skill_based_search/java/1/0/360/00/">ncjobs.com/resume_search/skill_based_search/java/1/0/360/00/</a>"
(this is nothing but the current URL, I wanted to access "\<a
moz-do-not-send="true" href="http://ncjobs.com">ncjobs.com</a>\sites\default\files\resumes\4\Chinmay_Pani
mod.doc" URL.<br>
<br>
If you have faced this issue, kindly let me know whats the work
around.<br>
<br>
Thanks<br>
kamal<br>
NECS, Bangalore
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
Why are you using \ as path separators? They are supposed to be /.
IE, being microsoft based might be accepting both, but FireFox is
not, therefor since the URL doesn't begin with a / it is
considedered a relative path, so it gets the current page address
prepended.<br>
<br>
<pre class="moz-signature" cols="72">--
Richard Damon</pre>
</body>
</html>