<html>
<body>
Ah, ha!<br><br>
<b>urlencode</b>()<br><br>
Nevermind.<br><br>
At 10:36 AM 6/21/2005 -0500, you wrote:<br>
<blockquote type=cite class=cite cite>I want to create a page
(direct.php) that can take a url as a parameter like:<br><br>
direct.php?url=http://www.foobar.com/blah.asp?id=5&amp;action=poop<br><br>
but the ? and &amp; characters will cause problems, no?&nbsp; At first, I
thought passing the url parameter through htmlspecialchar() when creating
the link might work...&nbsp; until I actually thought about it.&nbsp;
(Duh.)&nbsp; There must be some other way to do it.<br><br>
Any suggestions?<br><br>
<br>
Scott Phillips<br>
Web Developer<br>
Cowles Library, Drake University<br>
(515) 271-2975 <br>
_______________________________________________<br>
ciapug mailing list<br>
ciapug@cialug.org<br>
<a href="http://cialug.org/mailman/listinfo/ciapug" eudora="autourl">http://cialug.org/mailman/listinfo/ciapug</a></blockquote></body>
</html>