CVS update: phpweb
| From: | cmv | Date: | Thu, 26 Aug 1999 00:14:36 +0000 |
| Subject: | CVS update: phpweb | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-331@lists.php.net to get a copy of this message | ||
Date: Wednesday August 25, 1999 @ 20:14
Author: cmv
Update of /repository/phpweb
In directory php:/tmp/cvs-serv14070
Modified Files:
FAQ.html
Log Message:
faq now
Index: phpweb/FAQ.html
diff -u phpweb/FAQ.html:1.107 phpweb/FAQ.html:1.108
--- phpweb/FAQ.html:1.107 Fri Aug 20 15:38:55 1999
+++ phpweb/FAQ.html Wed Aug 25 20:14:35 1999
@@ -654,6 +654,7 @@
should check to make sure that the configuration file you are adding the AddType line to is
actually being read. You can put an obvious syntax error into your httpd.conf file or some other
obvious change that will tell you if the file is being read corre
+
ctly.
</UL>
<P>
@@ -907,6 +908,23 @@
or die("Bad query: ".mysql_error());</pre>
<P>
</DD>
+
+ <DT><B>
+ <a name="5.14">5.14</a> I'm trying to use an <INPUT
TYPE="image"> tag, but the <I>$foo.x</I> and
+ <I>$foo.y</I> variables aren't available. Where are they?
+ </B></DT>
+ <DD>
+ When submitting a form, it is possible to use an image instead of the standard submit button
+ with a tag like:<pre>
+ <INPUT TYPE="image" SRC="image.gif"
NAME="foo"></pre>
+ When the user clicks somewhere on the image, the accompanying form will be transmitted to the
+ server with two additional variables: foo.x and foo.y.
+ <P>
+ Because $foo.x and $foo.y are invalid variable names in PHP, they are automagically converted to
+ $foo_x and $foo_y. That is, the periods are replaced with underscores.
+ <P>
+ </DD>
+
</DL>
<HR noshade>
@@ -1211,7 +1229,7 @@
<!-- The website should start chopping again. -->
<SMALL>
-<CODE>$Id: FAQ.html,v 1.107 1999/08/20 19:38:55 cmv Exp $</CODE>
+<CODE>$Id: FAQ.html,v 1.108 1999/08/26 00:14:35 cmv Exp $</CODE>
</SMALL>
</BODY>