-
-
Save leonardop21/7ca7788cd4be60c7f63f3ab95ead11b1 to your computer and use it in GitHub Desktop.
Revisions
-
vyspiansky revised this gist
May 8, 2014 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,4 @@ <?php // Source: http://goo.gl/qyLFbg $html = '<img border="0" src="/images/image.jpg" alt="Image" width="100" height="100" />'; -
vyspiansky renamed this gist
Apr 25, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
vyspiansky renamed this gist
Apr 25, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
vyspiansky renamed this gist
Apr 25, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
vyspiansky created this gist
Apr 25, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ <?php // Source: http://goo.gl/qyLFbg $html = '<img border="0" src="/images/image.jpg" alt="Image" width="100" height="100" />'; preg_match( '@src="([^"]+)"@' , $html, $match ); $src = array_pop($match); // will return /images/image.jpg echo $src;