code generator help

admin

Administrator
Staff member
I'm trying to modify a code generator script that (among other things) inserts images into an HTML document by typing in the image name on a form text area.
How do I eliminate the absolute path and change this output

img src=http://www.webdeveloper.com/forum/archive/index.php/"file:///C:/WINDOWS/Desktop/Editor/1.gif" to

img src="1.gif"?
 
Back
Top