#36335 [Fbk->Opn]: Apache.exe error Memory could not be read

From: Date: Thu, 09 Feb 2006 16:36:15 +0000
Subject: #36335 [Fbk->Opn]: Apache.exe error Memory could not be read
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-93079@lists.php.net to get a copy of this message
ID: 36335 User updated by: kris_rock82 at yahoo dot com Reported By: kris_rock82 at yahoo dot com -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: Windows 2000 PHP Version: 5.1.2 New Comment: I am accepting some variables from a form, then i split them and assign them to each of the mapserver values. Some times the form variables might be empty too. This is a snippet of the code i am including, i didnt include the split function <?php $config = $_POST['config']; $raster = $_POST['raster1']; for ($i=0; $i<30;$i++) { $layercontent[] = $_POST['layer'.($i+1)]; $labelcontent[] = $_POST['label'.($i+1)]; if($layercontent[$i] != "") { $layercount++; } if($labelcontent[$i] != "") { $labelcount++; } } //split the values and run it till layer count and label count ... ?> Thanks for your time ..... Previous Comments: ------------------------------------------------------------------------ [2006-02-09 00:47:05] tony2001@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2006-02-09 00:38:42] kris_rock82 at yahoo dot com Description: ------------ I have apache 2.0.55, php 5.1.2 and mapserver 4.6.2 installed on my machine. I am reading a .sid file from a remote machine on the same domain, generating an image from the sid file and displaying it in the browser. I get am apache.exe "memory could not be read" error every alternate time, its not everytime but every alternate time. I dont know exactly why it is giving me the error alternatively. Thanks for your time ...... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36335&edit=1

« previous php.bugs (#93079) next »