cvs: php4 /ext/standard basic_functions.c
| From: | Hartmut Holzgraefe | Date: | Wed, 11 Oct 2000 11:25:13 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1982@lists.php.net to get a copy of this message | ||
hholzgra Wed Oct 11 04:25:13 2000 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
added some missing protos
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.261 php4/ext/standard/basic_functions.c:1.262
--- php4/ext/standard/basic_functions.c:1.261 Tue Sep 19 10:39:43 2000
+++ php4/ext/standard/basic_functions.c Wed Oct 11 04:25:13 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.261 2000/09/19 17:39:43 sas Exp $ */
+/* $Id: basic_functions.c,v 1.262 2000/10/11 11:25:13 hholzgra Exp $ */
#include "php.h"
#include "php_main.h"
@@ -2221,6 +2221,8 @@
}
+/* {{{ proto boolean is_uploaded_file(string path)
+ check if file was created by rfc1867 upload */
PHP_FUNCTION(is_uploaded_file)
{
zval **path;
@@ -2241,8 +2243,11 @@
RETURN_FALSE;
}
}
+/* }}} */
+/* {{{ proto boolean move_uploaded_file(string path, string new_path)
+ move a file if and only if it was created by an upload */
PHP_FUNCTION(move_uploaded_file)
{
zval **path, **new_path;
@@ -2278,6 +2283,7 @@
}
RETURN_BOOL(successful);
}
+/* }}} */
/*