Re: Undefined variable



My guess is that they "work" out on the net because your host has error
reporting disabled. They "don't work" on your localhost because you
have error reporting enabled. All the errors are only "notices," which
aren't critical enough to prevent execution of the script -- so the
script will run in exactly the same way whether or not error reporting
is enabled. You just happen to be seeing them.

The error reporting level can be set either in php.ini or at runtime.
Check this out for more detailed info:

<http://www.php.net/manual/en/ref.errorfunc.php#ini.error-reporting>

.



Relevant Pages

  • Re: VB Script Error
    ... You can run the script after you have logged in. ... Dim objNetwork ... Set objFileSys = CreateObject ... On Error Resume Next '// disable error reporting (e.g., ...
    (microsoft.public.scripting.vbscript)
  • Re: filtype() Problems
    ... But it gets stranger. ... At first I thought it was a problem with my for loop. ... Set your error reporting for the script to report all errors to try an ... the script and your filesystem. ...
    (comp.lang.php)
  • Re: VB Script Error
    ... Is there a way I can have the script run as a domain admin? ... Dim objNetwork ... Set objFileSys = CreateObject ... On Error Resume Next '// disable error reporting (e.g., ...
    (microsoft.public.scripting.vbscript)
  • Re: VB Script Error
    ... You can run the script after you have logged in. ... Dim objNetwork ... Set objFileSys = CreateObject ... On Error Resume Next '// disable error reporting (e.g., ...
    (microsoft.public.scripting.vbscript)
  • Re: Unidentified Index Problem on some servers
    ... Turn down error reporting. ... Also make sure you don't have something like this in your script ... Oh yeah also for post variables I just like to use ... > empty. ...
    (comp.lang.php)