Jump to content

Search Inside A Url


Guest sanlove
 Share

Recommended Posts

Guest sanlove

<html ><head><title>Test Document</title></head><body><img src="/test.jpg" width="640" height="480" alt="test" /></body></html>after reading html, I want to output as :"<img src="/test.jpg" width="640" height="480" alt="test" />"please helpi searched and find two functions file_get_contents() and preg_match(). Iam a fresher in PHP . i tried but cant get output..

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...