/    Sign up×
Community /Pin to ProfileBookmark

php-cgi questions

First of all, Ill say thanks to most of you guys…I’ve been looking at this forum for a while, and have discovered some great ideas. I’ve seem to have run into a small problem though.

I’m working on what is essentially my first web production…I’ve been playing with MySQL and PHP for a while, but only for my benefit, I’m now working on a project for work to see if we can’t make our operation a little more efficient.

I’ve got all the scripts down, they’ve all worked well, and pretty much exactly the way I wanted them.

I’m getting this windows error though when I open only one page:
The instruction at ” ” referenced memory at ” “. The memory could not be “read”. + php-cgi.exe

Having not changed any of the code except I did change from storing a few required parameters as cookies to session variables…mostly because they are variables that apply to each session, not to keep a user logged in. If anyone else has seen this problem, and has an idea of where to start to fix it, your input would be greatly appreciated. I’m inclined to think that it is a windows problem and not a problem with the PHP set up.

Thanks!

edit:

I’ve come down to this block of code being common in a couple of pages I made that reproduce the same error:

[code=php]
<? session_start(); ?>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<?
if(isset($_POST[‘button2’])) {

$_SESSION[‘types’] = $_POST[‘types’];;
$_SESSION[‘resstart’] = $_POST[‘resstart’];
$_SESSION[‘resstop’] = $_POST[‘resstop’];

echo “<meta http-equiv=”refresh” content=”.2;url=reschart/reschart2.php5″>n”;
$greeting = “The Resource Chart is being Organized!”;

}
?>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<title>Untitled Document</title>
</head>

<body>
<? echo $greeting; ?>
</body>
</html>
[/code]

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @IP076 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...