cvs: presentations / torkey06.xml /slides/intro ajax_upload1.xml ajax_upload2.xml
| From: | Rasmus Lerdorf | Date: | Thu, 14 Sep 2006 06:17:28 +0000 |
| Subject: | cvs: presentations / torkey06.xml /slides/intro ajax_upload1.xml ajax_upload2.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1341@lists.php.net to get a copy of this message | ||
rasmus Thu Sep 14 06:17:28 2006 UTC
Modified files:
/presentations torkey06.xml
/presentations/slides/intro ajax_upload1.xml ajax_upload2.xml
Log:
Minor tweaks
http://cvs.php.net/viewvc.cgi/presentations/torkey06.xml?r1=1.1&r2=1.2&diff_format=u
Index: presentations/torkey06.xml
diff -u presentations/torkey06.xml:1.1 presentations/torkey06.xml:1.2
--- presentations/torkey06.xml:1.1 Wed Sep 13 14:23:24 2006
+++ presentations/torkey06.xml Thu Sep 14 06:17:27 2006
@@ -23,7 +23,6 @@
<slide>slides/intro/xss_common.xml</slide>
<slide>slides/intro/xss_risks.xml</slide>
<slide>slides/intro/xss_charset.xml</slide>
-<slide>slides/intro/the_web_is_broken.xml</slide>
<slide>slides/intro/input_filter2.xml</slide>
<slide>slides/intro/rich.xml</slide>
http://cvs.php.net/viewvc.cgi/presentations/slides/intro/ajax_upload1.xml?r1=1.1&r2=1.2&diff_format=u
Index: presentations/slides/intro/ajax_upload1.xml
diff -u presentations/slides/intro/ajax_upload1.xml:1.1
presentations/slides/intro/ajax_upload1.xml:1.2
--- presentations/slides/intro/ajax_upload1.xml:1.1 Wed Sep 13 14:23:24 2006
+++ presentations/slides/intro/ajax_upload1.xml Thu Sep 14 06:17:28 2006
@@ -53,12 +53,12 @@
<b>EVENT_END</b>: post_bytes_processed=22962</pre>]]></example>
-<example hide="1" result="1" title="cancel_upload
codes"><![CDATA[#define UPLOAD_ERROR_OK 0 /* File upload succesful */
+<example hide="1" result="1" title="cancel_upload
codes"><![CDATA[<pre>#define UPLOAD_ERROR_OK 0 /* File upload succesful */
#define UPLOAD_ERROR_A 1 /* Uploaded file exceeded upload_max_filesize */
#define UPLOAD_ERROR_B 2 /* Uploaded file exceeded MAX_FILE_SIZE */
#define UPLOAD_ERROR_C 3 /* Partially uploaded */
#define UPLOAD_ERROR_D 4 /* No file uploaded */
#define UPLOAD_ERROR_E 6 /* Missing /tmp or similar directory */
#define UPLOAD_ERROR_F 7 /* Failed to write file to disk */
-#define UPLOAD_ERROR_X 8 /* File upload stopped by extension */]]></example>
+#define UPLOAD_ERROR_X 8 /* File upload stopped by extension
*/</pre>]]></example>
</slide>
http://cvs.php.net/viewvc.cgi/presentations/slides/intro/ajax_upload2.xml?r1=1.1&r2=1.2&diff_format=u
Index: presentations/slides/intro/ajax_upload2.xml
diff -u presentations/slides/intro/ajax_upload2.xml:1.1
presentations/slides/intro/ajax_upload2.xml:1.2
--- presentations/slides/intro/ajax_upload2.xml:1.1 Wed Sep 13 14:23:24 2006
+++ presentations/slides/intro/ajax_upload2.xml Thu Sep 14 06:17:28 2006
@@ -13,8 +13,8 @@
document.getElementById('result').innerHTML='<pre>'+o.responseText+'</pre>';
}
var callback = { success:fN, upload:fN }
-function postForm(target,formName,upload) {
- YAHOO.util.Connect.setForm(formName,true,upload);
+function postForm(target,formName,up) {
+ YAHOO.util.Connect.setForm(formName,up);
YAHOO.util.Connect.asyncRequest('POST',target,callback);
}
</script>