View Single Post
Old 10-30-2010, 08:36 PM   #1 (permalink)
arsitek
The Visitor
 
Join Date: Oct 2010
Posts: 2
Thanks: 0
arsitek is on a distinguished road
Default How to take only the path?

I using CKFinder to let user browse the files from server to get path location of file direct to input form.

The problem is where the value of input form become like this:
PHP Code:
<p>
    <
img alt="" height="312" src="http://localhost/house/images/images/home-office-3-582x312.jpg" width="582" /></p
What PHP can do to clean that text input so I get only
PHP Code:
http://localhost/house/images/images/home-office-3-582x312.jpg 
to save on database

Thanks for help
arsitek is offline  
Reply With Quote