URLencode and Netscape...why the + instead of %20?
In my ASP code I have this
picLink=server.URLEncode(stripfilename(oThisFolder))
%>
<?php
">
=picLink
?><?php
=stripfilename(oThisfolder)
?>
when oThisFolder = "WT Park"
picLink = "WT+Park"
why does it not use the %20???
When it tries to locate the JPG, it cannot...because of the +
(ps - stripfilename just takes the path out of the string)
Thanks!
"I'm a singer, not a programmer!"
[url]www.keithlubrant.com[/url]
Peter J. Boettcher posted this at 16:10 — 15th August 2001.
They have: 812 posts
Joined: Feb 2000
Actually, it should probably be doing that (inserting +) with IE to.
Try using Server.URLPathEncode instead, let me know how it goes!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.