--- Diana Castillo <[EMAIL PROTECTED]> wrote: > http://www.anysite.com\page.htm > > I need to convert this string to > http://www.anysite.com/page.htm but str replace ("\","/",$var) doesnt > work.
$windowsitis_free_var = str_replace('\\', '/', $var); Hope that helps. Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php