Welcome to WebmasterWorld Guest from 220.127.116.11
However when I upload it to a live web server which is running under BSD it DOES work as expected.
I presume there is something wrong with my set up
can anyone help as this is a part of an application that HAS to run on the desktop.
print "<img src=\"dscn4727.jpg\">";
<form method="post" action="">
<input name="entry" type="text" maxlength="90" class="textbox"
size="30" value="<?php echo $entry;?>" >
<input type="Submit" name="submitj" value="Enter Information">
A setting of 'on' would allowed $submitj to be available directly, and not just through the $_POST array.
If this is the case, which I suspect it is, it's a poor choice by your web host. Globals on, especially on a live site, is a dangerous security issue; update your scripts accordingly.
Now, stepping down from the pulpit... if for some reason you absolutely cannot rewrite the script, you can get it running by turning register_globals on by putting this in a .htaccess
php_flag register_globals On