avo Posted December 30, 2007 Share Posted December 30, 2007 Hi All I'm struggling for ideas here on how to do this. A web site is displaying text ( i cant change any code on this site at all i can only load it) what i would like to do is is pass text for this site and display it on a new server. Duno if i can be helped ... Appreciated... Quote Link to comment https://forums.phpfreaks.com/topic/83715-gathering-information/ Share on other sites More sharing options...
papaface Posted December 30, 2007 Share Posted December 30, 2007 You can either use regex or $page = file_get_contents("http://www.url.com"); print_r($page); and then find the key with the info you require in and then strip it down. Quote Link to comment https://forums.phpfreaks.com/topic/83715-gathering-information/#findComment-425969 Share on other sites More sharing options...
anon Posted December 30, 2007 Share Posted December 30, 2007 Like papaface said; you'll probably need to try regex. DO you want to display the site as it was graphically, on another server? Quote Link to comment https://forums.phpfreaks.com/topic/83715-gathering-information/#findComment-426032 Share on other sites More sharing options...
avo Posted December 30, 2007 Author Share Posted December 30, 2007 Hi Thanks for your answer No i'm going to get information from the site and display parts of it on my server. While im replying is there a way that i can select text / data from two markers for example <td>i dont want this </td><br>but i want this but this can be different text every time </br><br>but again i dont want this text or code</br> hope this make sense. Quote Link to comment https://forums.phpfreaks.com/topic/83715-gathering-information/#findComment-426094 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.