voxforge.org
VoxForge Dev

Changeset 2306

Show
Ignore:
Timestamp:
10/01/07 01:15:05 (1 year ago)
Author:
kmaclean
Message:

fix to speech audio file upload problem in WebGUI; see tickets #198 and #216 (see also #208)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Trunk/SpeechSubmission/VFSpeechSubmission/server/endpage.html

    r2283 r2306  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
    21<HTML> 
    3 <HEAD> 
    4         <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> 
    5         <TITLE>Applet test</TITLE> 
    6         <META NAME="GENERATOR" CONTENT="OpenOffice.org 2.0  (Linux)"> 
    7         <META NAME="CREATED" CONTENT="20070711;15215500"> 
    8         <META NAME="CHANGED" CONTENT="20070711;15221800"> 
    9         <STYLE> 
    10         <!-- 
    11                 @page { size: 8.5in 11in } 
    12         --> 
    13         </STYLE> 
    14 </HEAD> 
    15 <BODY LANG="en-US" DIR="LTR"> 
    16 <P>Thanks for the upload</P> 
     2<P>Thank you for the upload</P> 
    173<P><BR><BR> 
    184</P> 
    19 </BODY> 
    205</HTML> 
  • Trunk/SpeechSubmission/VFSpeechSubmission/server/javaUploadServer.php

    r2283 r2306  
    2424// or "c:\php\uploads\" 
    2525// Note, this MUST have the trailing slash. 
    26 $uploaddir = '/home/kmaclean/httpd/audiosubmissions/'; 
     26$uploaddir = 'public/'; 
    2727// Whether or not to allow the upload of specific files 
    28 $allow_or_deny = false; 
     28$allow_or_deny = true; 
    2929// If the above is true, then this states whether the array of files is a list of 
    3030// extensions to ALLOW, or DENY