cvs: pear /HTTP_Upload/docs upload_example.php
| From: | Thomas V.V.Cox | Date: | Mon, 13 Aug 2001 15:13:27 +0000 |
| Subject: | cvs: pear /HTTP_Upload/docs upload_example.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-492@lists.php.net to get a copy of this message | ||
cox Mon Aug 13 11:13:27 2001 EDT
Modified files:
/pear/HTTP_Upload/docs upload_example.php
Log:
use $HTTP_SERVER_VARS["PHP_SELF"] instead of PHP_SELF
Index: pear/HTTP_Upload/docs/upload_example.php
diff -u pear/HTTP_Upload/docs/upload_example.php:1.2 pear/HTTP_Upload/docs/upload_example.php:1.3
--- pear/HTTP_Upload/docs/upload_example.php:1.2 Sat Aug 11 12:42:12 2001
+++ pear/HTTP_Upload/docs/upload_example.php Mon Aug 13 11:13:27 2001
@@ -1,5 +1,5 @@
<html><body>
-<form action="<?php echo $PHP_SELF;?>?submit=1" method="post"
enctype="multipart/form-data">
+<form action="<?php echo $HTTP_SERVER_VARS['PHP_SELF'];?>?submit=1"
method="post" enctype="multipart/form-data">
Send these files:<br>
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="100000">