Thanks for all ur repliesi have finally got it working. Thanks a lot "grgk2", i
did exactly as u told me, i.e., executed the form like so: http://localhost
/form.html. And it worked. I was earlier trying to access it by double clicking on it.
Once again, thanks for ur help.
grgk2 <[EMAIL P
Each time I open a php page for the first time in a browser window, I
recieve PHP has encountered an Access Violation at 01C973CD. It doesn't keep
me from doing anything, just shows a violation then continues on. Does
anyone have any suggestions on what to do? Everything is running on a Win
2k3 IIS
You haven't closed your form tag which is causing it to all go wrong.
Here is some working code for you:
Your name:
Your age:
action.php:
Hi .You are
window.alert('You must complete both fields');
You would probably find
hi,
Yes this is the contents of the file. I tried to use ur code but it still displays
the entire code and not just the line required.
Any idea wht is wrong.
thanks,
penjo
Luis Moreira <[EMAIL PROTECTED]> wrote:
Is this the contebnt of the PHP file ?
Hi .You are
It can not start by the
hi,
1) The lines in the form are in the correct order.
2)i tried using HTTP_POST['age']; ?> , but it still displays the entire code.
Not quite sure wht u meant by "AUTOGLOBAL ON|OFF setting". If u meant
register_globals in php.ini file, then it is set to on.
3) Regarding action.php:
phpinf
Is this the contebnt of the PHP file ?
Hi .You are
It can not start by the "Hi" word ...
Action.php should be something like
$name = $_POST['name'];
$age = $_POST['age'];
echo "Hi $name. You are $age";
?>
PHP MySQL wrote:
hi list,
i have managed to successfully install php and i am now goi
hi list,
i have managed to successfully install php and i am now going through the manual and
trying a few of the examples given there. The examples i have tried till now are all
working except for one. The example about inputting in the form and then displaying it
through php is not working
Same problem here. I noticed several other people had the same problem and
have been looking for hours to find the answer to the problem in here. Is
this ever answered?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php