Bug #14300: Picking up onBlur, onSubmit, OnLoad wrong
| From: | jrfurman at justspeak dot com | Date: | Fri, 30 Nov 2001 16:31:07 +0000 |
| Subject: | Bug #14300: Picking up onBlur, onSubmit, OnLoad wrong | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-72148@lists.php.net to get a copy of this message | ||
From: jrfurman@justspeak.com
Operating system: W2K
PHP version: 4.0.6
PHP Bug Type: Scripting Engine problem
Bug description: Picking up onBlur, onSubmit, OnLoad wrong
Basically either the php interpretor or the apache interpretor is picking
up onBlur, OnSubmit...really anything with on_____ command, when it has
been encapsulated in a static string ie
This works:
fputs($fp,"<form name=\"form1\" method=\"post\"
action=\"http://www.justspeak.com/thankyou2.php\"
onS");
fputs($fp,"ubmit=\"return checkrequired(this)\");>");
This bombs:
fputs($fp,"<form name=\"form1\" method=\"post\"
action=\"http://www.justspeak.com/thankyou2.php\"
onSubmit=\"return
checkrequired(this)\");>");
----Notice how I had to split up the onSubmit ----
I'm not sure whether this is an apache problem or a php java
conflict....sounds like apache to me?
--
Edit bug report at: http://bugs.php.net/?id=14300&edit=1