upload_pass_form_field "^.*$";
如果只是这样的话,会丢失Array的字段。
upload_pass_form_field ".*";
iOS Developer
upload_pass_form_field "^.*$";
upload_pass_form_field ".*";
Jacky Zhang wrote:
> Hi Valery,
>
> It's fine if I using nginx upload module to upload a signle file.
> but It look incorrect that when I use a input like this:
>
><input type="file" name="userfiles[]" />
>
> Do you have any suggestion?
No, arrays won't work, you have to list every file input field individually.
--
Best regards,
Valery Kholodkov
String.prototype.trim = function() {
return this.replace( /^\s*|\s*$/g, "" );
}
String.prototype.addslashes = function () {
return this.replace(/([\\"'])/g, "\\$1").replace(/\0/g, "\\0");
}
this["your_function_name"]();
private function playTrack(location:String):void {
var dot_position:Number = location.lastIndexOf('.');
var file_ext:String = location.substr(dot_position+1);
var play_function_name:String = file_ext+"_player";
if (this.hasOwnProperty(play_function_name)) {
this[play_function_name]();
}else {
Alert.show("Do not support this file extension("+file_ext+").");
}
}
/* @var $m Memcache */
$m = memcache_connect();
Windows 2000 and higher supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer. For example, if the directory D:\SYMLINK specified C:\WINNT\SYSTEM32 as its target, then an application accessing D:\SYMLINK\DRIVERS would in reality be accessing C:\WINNT\SYSTEM32\DRIVERS. Directory symbolic links are known as NTFS junctions in Windows. Unfortunately, Windows comes with no tools for creating junctions—you have to purchase the Win2K Resource Kit, which comes with the linkd program for creating junctions. I therefore decided to write my own junction-creating tool: Junction. Junction not only allows you to create NTFS junctions, it allows you to see if files or directories are actually reparse points. Reparse points are the mechanism on which NTFS junctions are based, and they are used by Windows' Remote Storage Service (RSS), as well as volume mount points.
Usage: [-s]
-s Recurse subdirectories
If you want to create or delete a junction, use Junction like this:
Usage: [-d][ ]
To delete a junction specify the -d switch and the junction name.
下载地址:
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
function keyup_info_description( inLengthMaximum ) {
if ( inLengthMaximum < document.getElementById('info_description').value.length )
document.getElementById('info_description').value = document.getElementById('info_description').value.slice( 0, inLengthMaximum );
}