[xiph-commits] r15104 - trunk/oggPusher/Server
nithin at svn.xiph.org
nithin at svn.xiph.org
Mon Jul 7 13:40:39 PDT 2008
Author: nithin
Date: 2008-07-07 13:40:38 -0700 (Mon, 07 Jul 2008)
New Revision: 15104
Added:
trunk/oggPusher/Server/sample_form.html
Modified:
trunk/oggPusher/Server/README
Log:
created upload form for making the testing easy
Modified: trunk/oggPusher/Server/README
===================================================================
--- trunk/oggPusher/Server/README 2008-07-07 00:27:51 UTC (rev 15103)
+++ trunk/oggPusher/Server/README 2008-07-07 20:40:38 UTC (rev 15104)
@@ -3,3 +3,19 @@
the files are supposed to be created in uploads dir in my home directory
+
+8/7/2008 For testing purpose i have added two files
+1)upload.php
+
+please place this in /var/www/ the default dir for apache server.
+Also create one directory uploads in /var/www/
+
+2)sample_form.php
+
+This take a file input and submit the action to upload.php
+so the url is http://localhost/upload.php
+If you have placed upload.php in any public server you can edit sample_form.php to replace
+localhost with the url of your server.
+If the file is uploaded successfully, and message appears
+File is successfully uploaded.
+
Added: trunk/oggPusher/Server/sample_form.html
===================================================================
--- trunk/oggPusher/Server/sample_form.html (rev 0)
+++ trunk/oggPusher/Server/sample_form.html 2008-07-07 20:40:38 UTC (rev 15104)
@@ -0,0 +1,8 @@
+<html>
+
+<form enctype="multipart/form-data" action="http://localhost/upload.php" method="POST">
+ Choose a file to upload: <input name="userfile" type="file"/><br/>
+ <input type="submit" value="Upload File"/>
+</form>
+
+</html>
More information about the commits
mailing list