Re: Re: PHP Memory Error

From: Date: Thu, 29 Nov 2001 11:43:03 +0000
Subject: Re: Re: PHP Memory Error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76022@lists.php.net to get a copy of this message
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" <monfort@engineering.sdsu.edu> wrote in message > >news:Pine.GSO.4.31.0111290256530.4336-100000@kahuna.engineering.sdsu.edu... > > > > 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 0x00000000. 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) faeton@xemichat.com www.xemichat.com > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#76022) next »