[PHP] Re: PHP Memory Error

2001-11-29 Thread lallous

John,

Question 1,
are you using PHP as ISAPI or CGI?


John Monfort [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

 Hey all,
 Need some help.

 Two questions:

 1)

 =Environment=
 PHP 4.0.5
 Win2k
 Apache 1.3.20
 MySQL ..3.24
 ===

 I created a login page which uses MySQL to verify the username and
 password.

 When I run the script (submit the html form), PHP returns this error:

 The instruction at 0x10091ceb referenced memory at 0x. The memory
 could not be read.

 The script is using basic SQL statments (if/else logic with SELECT), so
 I'm somewhat confused as to why I'm getting a memory error.

 Especially since PHP is able to retrieve all other information from the
 database. It only fails for the login script.  I've double checked the
 db connection, table names, username/password, and other related fields.
 Everything seems fine.

 Has anyone dealt with this error before? Any clues?
 Please help!

 QUESTION 2:

 I reinstalled my apache server, and it's acting a little weird.
 For example, this url

 http://localhost

 opens a Save File Dialog Box, and ask me to save/cancel the file (instead
 of showing the index page).

 What is causing that?

 The DirectoryIndex is configured as

 DirectoryIndex index.html index.php index.cgi index.asp


 Any suggestions?



 -john


 On Thu, 29 Nov 2001, faeton wrote:

  Does anyone know that ? print $val; ? is equal ?=$val?, eh? :)
  Just wanted you to know :)
 
 
  
  Ivan 'Faeton aka xetrix' Danishevsky
  ICQ(240266) [EMAIL PROTECTED] www.xemichat.com
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: PHP Memory Error

2001-11-29 Thread Julio Nobrega Trabalhando

  Used to happen the same here when I was using PhpMyAdmin. On large
consults, it would lock.

  Passing from CGI to module solved all my problems. On the manual you can
see the necessary lines to do such.

--

Julio Nobrega

No matter where you go, this.

Lallous [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 John,

 Question 1,
 are you using PHP as ISAPI or CGI?






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: PHP Memory Error

2001-11-29 Thread John Monfort



I'm using it as CGI.

Note: I've developed these types of pages many times(on the same system).
I've never seem this error before.


__John Monfort_
_+---+_
 P E P I E  D E S I G N S
   www.pepiedesigns.com
The world is waiting, are you ready?
-+___+-

On Thu, 29 Nov 2001, lallous wrote:

 John,

 Question 1,
 are you using PHP as ISAPI or CGI?


 John Monfort [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 
  Hey all,
  Need some help.
 
  Two questions:
 
  1)
 
  =Environment=
  PHP 4.0.5
  Win2k
  Apache 1.3.20
  MySQL ..3.24
  ===
 
  I created a login page which uses MySQL to verify the username and
  password.
 
  When I run the script (submit the html form), PHP returns this error:
 
  The instruction at 0x10091ceb referenced memory at 0x. The memory
  could not be read.
 
  The script is using basic SQL statments (if/else logic with SELECT), so
  I'm somewhat confused as to why I'm getting a memory error.
 
  Especially since PHP is able to retrieve all other information from the
  database. It only fails for the login script.  I've double checked the
  db connection, table names, username/password, and other related fields.
  Everything seems fine.
 
  Has anyone dealt with this error before? Any clues?
  Please help!
 
  QUESTION 2:
 
  I reinstalled my apache server, and it's acting a little weird.
  For example, this url
 
  http://localhost
 
  opens a Save File Dialog Box, and ask me to save/cancel the file (instead
  of showing the index page).
 
  What is causing that?
 
  The DirectoryIndex is configured as
 
  DirectoryIndex index.html index.php index.cgi index.asp
 
 
  Any suggestions?
 
 
 
  -john
 
 
  On Thu, 29 Nov 2001, faeton wrote:
 
   Does anyone know that ? print $val; ? is equal ?=$val?, eh? :)
   Just wanted you to know :)
  
  
   
   Ivan 'Faeton aka xetrix' Danishevsky
   ICQ(240266) [EMAIL PROTECTED] www.xemichat.com
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   To contact the list administrators, e-mail: [EMAIL PROTECTED]
  
 



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]