sanlove Posted March 8, 2009 Share Posted March 8, 2009 if i submit a url address how to get <embed> tag string in that URL address. for eg. if i submit www.google.com code must return <embed src=""> if embed tag is there please help Link to comment https://forums.phpfreaks.com/topic/148447-search-inside-a-url/ Share on other sites More sharing options...
trq Posted March 8, 2009 Share Posted March 8, 2009 You need to be alot clearer with your question. Your post makes little sense and is also in the wrong board. Moving. Link to comment https://forums.phpfreaks.com/topic/148447-search-inside-a-url/#findComment-779367 Share on other sites More sharing options...
sanlove Posted March 8, 2009 Author Share Posted March 8, 2009 i want to read a html page using php code and print content inside <embed>tag of the html page Link to comment https://forums.phpfreaks.com/topic/148447-search-inside-a-url/#findComment-779412 Share on other sites More sharing options...
trq Posted March 8, 2009 Share Posted March 8, 2009 Then you will need to look at file_get_contents and preg_match. Link to comment https://forums.phpfreaks.com/topic/148447-search-inside-a-url/#findComment-779421 Share on other sites More sharing options...
sanlove Posted March 8, 2009 Author Share Posted March 8, 2009 <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 <img src="/test.jpg" width="640" height="480" alt="test" /> please help Link to comment https://forums.phpfreaks.com/topic/148447-search-inside-a-url/#findComment-779435 Share on other sites More sharing options...
sanlove Posted March 8, 2009 Author Share Posted March 8, 2009 Iam a fresher in PHP . i tried but cant get output.. please help Link to comment https://forums.phpfreaks.com/topic/148447-search-inside-a-url/#findComment-779457 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.