Forum Moderators: open

Message Too Old, No Replies

linking to strange files

include html spaces & signs and '

         

WhosAWhata

5:34 pm on Jun 15, 2004 (gmt 0)

10+ Year Member



i have files with names like
061404{~}i hope this works{~}My stupid test file <br>yes, I did upload my file <br>i repeat &quot;GUY'S FILE&quot;!.htm

this filename is converted to data by a PHP file.
if it becomes absolutely necessary, i suppose I can add another file to store the info but i would rather do it this way

the problem is i can't make a working link to
www.site.com/test/files/061404{~}i hope this works{~}My stupid test file <br>yes, I did upload my file <br>i repeat &quot;GUY'S FILE&quot;!.htm

if i enter it in my address bar, it works, a link like

<a href="http://www.site.com/test/files/061404{~}i hope this works{~}My stupid test file <br>yes, I did upload my file <br>i repeat &quot;GUY'S FILE&quot;!.htm">here</a>

does not work

Purple Martin

12:43 am on Jun 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried converting strange characters to URL-encoding form?

space = %20
{ = %7b
} = %7d
~ = %7e
< = %3c
> = %3e
! = %21
" = %22 = &quot;