From: "Dillon, John" <[EMAIL PROTECTED]>

> How do I get rid of the undefined variable errors I get on a new (default)
> set up of Apache 1.3.28/PHP4.3.2 (without re-writing the code).  It works
> the internet on my host providers server but I am running this on
> I also get undefined offset error.

Adjust your error_reporting level in php.ini or use the error_reporting()

---John Holmes...

Hm. Adjusted error_reporting to none.  Why would I still get: 

You don't have permission to access /method="post" on this server.
Apache/1.3.28 Server at Port 80"

same if I use get.

And if I use the address: http://localhost/apics3.php?ID=349 it complains
about undefined variable, ID.

"<b>Notice</b>:  Undefined variable:  ID in <b>c:\program files\apache
group\apache\htdocs\apics3.php</b> on line <b>11</b><br />"

My php.ini contains: 
; This directive tells PHP whether to declare the argv&argc variables (that
; would contain the GET information).  If you don't use these variables, you
; should turn it off for increased performance.
register_argc_argv = On

My Apache httpd file has:
   LoadModule php4_module c:/PHP/php-4.3.2-Win32/sapi/php4apache.dll
   AddModule mod_php4.c
   AddType application/x-httpd-php .php

Sounds like I've adjusted the wrong file.  I have only one php.ini file in
c:\winnt (apart from the one in c:\php\backup), the one in
c:/PHP/php-4.3.2-Win32 is called php.ini-dist and php.ini-recommended.  I
haven't touched these.  Should I?



CONFIDENTIAL: This e-mail, including its contents and attachments, if any,
are confidential. If you are not the named recipient please notify the
sender and immediately delete it. You may not disseminate, distribute, or
forward this e-mail message or disclose its contents to anybody else.
Copyright and any other intellectual property rights in its contents are the
sole property of Cantor Fitzgerald.
     E-mail transmission cannot be guaranteed to be secure or error-free.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission.  If verification is required please request a hard-copy
     Although we routinely screen for viruses, addressees should check this
e-mail and any attachments for viruses. We make no representation or
warranty as to the absence of viruses in this e-mail or any attachments.
Please note that to ensure regulatory compliance and for the protection of
our customers and business, we may monitor and read e-mails sent to and from
our server(s).

For further important information, please read the  Important Legal
Information and Legal Statement at

PHP Database Mailing List (
To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to