ID: 44724 Updated by: [EMAIL PROTECTED] Reported By: carlwenrich at yahoo dot com -Status: Open +Status: Bogus Bug Type: URL related Operating System: Windows or Linux PHP Version: 5.2.5 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Can't reproduce Previous Comments: ------------------------------------------------------------------------ [2008-04-14 16:43:20] carlwenrich at yahoo dot com Description: ------------ PROBLEM: The file_get_contents() function returns the wrong url. OVERVIEW: If you point your browser to "http://finance.yahoo.com/q/op?s=A" you will get the first set of options (in this case April 2008) for Agilent. If you point it to "http://finance.yahoo.com/q/op?s=A&m=2008-05" you will get the second set (in this case May 2008). HOWEVER: If you use the file_get_contents() function you will get the first set regardless of which url you use. It ignores the "&m=2008-05". Reproduce code: --------------- $url = "http://finance.yahoo.com/q/op?s=A&m=2008-05"; $content = file_get_contents($url); Expected result: ---------------- I expected the May 2008 options page. Actual result: -------------- I got the April 2008 options page. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44724&edit=1
