gopgally Posted February 12, 2008 Share Posted February 12, 2008 hi to all thanks for spending your time for reading this msg, i have a problem, that i need to extract the string from a web page using php can u suggest an idea or link for this....... its urgent thanks in advance bye take care Quote Link to comment https://forums.phpfreaks.com/topic/90637-how-to-extract-strings-on-a-web-page-using-php/ Share on other sites More sharing options...
naveenbj Posted February 12, 2008 Share Posted February 12, 2008 Place your code here:) Quote Link to comment https://forums.phpfreaks.com/topic/90637-how-to-extract-strings-on-a-web-page-using-php/#findComment-464646 Share on other sites More sharing options...
gardan06 Posted February 12, 2008 Share Posted February 12, 2008 if you want to return a text value from your webpage, then simply use either $_GET['variable_name'] or $_POST['variable_name'] depending on what your form method is. if you want to return a text value from someone else's webpage, then that would be borderline hacking. Quote Link to comment https://forums.phpfreaks.com/topic/90637-how-to-extract-strings-on-a-web-page-using-php/#findComment-464654 Share on other sites More sharing options...
nethnet Posted February 12, 2008 Share Posted February 12, 2008 i have a problem, that i need to extract the string from a web page using php Can you clarify what exactly you are trying to extract? Quote Link to comment https://forums.phpfreaks.com/topic/90637-how-to-extract-strings-on-a-web-page-using-php/#findComment-464658 Share on other sites More sharing options...
tippy_102 Posted February 12, 2008 Share Posted February 12, 2008 For extracting a string out of another webpage, use RegEx: http://www.phpfreaks.com/forums/index.php/board,43.0.html Quote Link to comment https://forums.phpfreaks.com/topic/90637-how-to-extract-strings-on-a-web-page-using-php/#findComment-464659 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.