Thursday, April 16, 2009

Rotisserie Chicken How Long Is It Good

Replace Subversion hosting absolute relative links by parsing with PHP files recursively

had a problem parsing the HTML of a page, the url needed for images, styles and javascript were absolute (to put it in another domain). As a bonus, I saw that they did have some "path" absolute, so I could not do a basic replacement.

racked his brains took this regular expression that I share. Any improvement?
 
$ html = preg_replace (
"# ((src blocked (read mode), you will have to right-click> show info and uncheck "Locked".

If many files and subfolders will not work for an inheritance, so you must run:

when you're in the directory in question.

 

0 comments:

Post a Comment