Re: Need help calling PHP page from another server.
| From: | Robert Filipovich | Date: | Fri, 19 May 2006 01:56:56 +0000 |
| Subject: | Re: Need help calling PHP page from another server. | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236467@lists.php.net to get a copy of this message | ||
This worked.
Thanks,
Robert
On 5/18/06, Stut <stuttle@gmail.com> wrote:
John Hicks wrote: Robert Filipovich wrote:I see no reason why the trouble would lie with php.ini. I'll bet it has something to do with undefined variables. But these are merely notices, not errors, so they don't explain why you never get to the bottom of the program. Short answer... change the value of error_reporting in php.ini to not report notices. I'm guessing the script isn't working because it's outputting the errors, in which case doing this should fix it. Long answer... ignoring notices leads to sloppy coding and should be avoided where possible. If I were you and I had the opportunity I'd drop this OSS package in favour of something where the developers do not cut corners. -StutLooks like all of these are happening. The description for Event ID ( 2000 ) in Source ( php ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: php[400], PHP Notice: Undefined index: ocode in C:\siupchat\statusimage.php on line 39. The description for Event ID ( 2000 ) in Source ( php ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: php[1812], PHP Notice: Undefined index: ocode in C:\siupchat\statusimage.php on line 39. The description for Event ID ( 2000 ) in Source ( php ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: php[1444], PHP Notice: Undefined index: HTTP_REFERER in C:\siupchat\statusimage.php on line 52. It is on an IIS server. Any ideas what PHP.ini setting is causing this error? Thanks, /Robert