Annotation of parser3/src/www/htdocs/auto.p, revision 1.2
1.1 paf 1: @auto[]
2: $LIMITS[
3: $post_max_size(10*0x400*0x400)
4: ]
5: $DEFAULTS[
6: $content-type0[text/html]
7: $content-type[
8: $value[text/html]
9: $charset[windows-1251]
10: ]
1.2 ! paf 11: $connect-string[mysql://user:pass@host:port/database]
1.1 paf 12: ]
13: #for ^file:load[name;user-name;mime-type << autodetection]
1.2 ! paf 14: $MIME-TYPES[^table:set{ext mime-type
1.1 paf 15: zip application/zip
16: doc application/msword
17: xls application/vnd.ms-excel
18: pdf application/pdf
19: ppt application/powerpoint
20: rtf application/rtf
21: gif image/gif
22: jpg image/jpeg
23: png image/png
24: tif image/tiff
25: html text/html
26: htm text/html
27: txt text/plain
28: mts application/metastream
29: mid audio/midi
30: midi audio/midi
31: mp3 audio/mpeg
32: ram audio/x-pn-realaudio
33: rpm audio/x-pn-realaudio-plugin
34: ra audio/x-realaudio
35: wav audio/x-wav
36: au audio/basic
37: mpg video/mpeg
38: avi video/x-msvideo
39: mov video/quicktime
40: swf application/x-shockwave-flash
41: }]
42:
43: @auto_test[]
44: ^BASE.auto_test[]
45: <li>DR
46:
E-mail: