RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting

change backslash to foward slash

Join Date: Jan 2005
Location: Sheffield, UK
Posts: 294
Reputation: zippee is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 6
zippee's Avatar
zippee zippee is offline Offline
Posting Whiz in Training

Re: change backslash to foward slash

  #2  
Sep 5th, 2005
You may want to use addslashes and stripslashes functions.
For example: $file_dir = addsashes($file_dir);
so you will now get symbols (\t is tab, \n is new line etc)

You may try str_replace function to change the direction of the slashes.
.
Ecommerce-Web-Store.com Building Your e-Business.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:47 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC