Greaser9780 Posted March 17, 2007 Share Posted March 17, 2007 I have tried this multiple ways and google searched my but off. I know this can be done. Anyone know how? Link to comment https://forums.phpfreaks.com/topic/43098-solved-how-do-you-connect-to-an-external-site-via-a-php-file/ Share on other sites More sharing options...
Daniel0 Posted March 17, 2007 Share Posted March 17, 2007 fopen could do that, but it requires allow_url_fopen to be on in php.ini Link to comment https://forums.phpfreaks.com/topic/43098-solved-how-do-you-connect-to-an-external-site-via-a-php-file/#findComment-209358 Share on other sites More sharing options...
Greaser9780 Posted March 18, 2007 Author Share Posted March 18, 2007 Possibly. I'm basically looking for an easy way to screen scrape. I tried googling: php screen scrape and found a file I thought would be perfect. A real nice class. The only problem is the login info doesn't get passed properly due to the class. It says it only does logins on sites with basic login procedure. Most sites don't have that. I can't even login to yahoo with it. I understand the concept now but I still have no clue how to pass the login info to the right place via the class. Link to comment https://forums.phpfreaks.com/topic/43098-solved-how-do-you-connect-to-an-external-site-via-a-php-file/#findComment-209783 Share on other sites More sharing options...
fert Posted March 18, 2007 Share Posted March 18, 2007 http://us3.php.net/manual/en/ref.curl.php Link to comment https://forums.phpfreaks.com/topic/43098-solved-how-do-you-connect-to-an-external-site-via-a-php-file/#findComment-209786 Share on other sites More sharing options...
Greaser9780 Posted March 18, 2007 Author Share Posted March 18, 2007 TYVM has definitely pointed me in the right direction. Link to comment https://forums.phpfreaks.com/topic/43098-solved-how-do-you-connect-to-an-external-site-via-a-php-file/#findComment-210136 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.