macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 10:38:27 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Back to
macsat.com
Home
Help
Search
Login
Register
macsat.com OpenWrt and ASUS WL Forum
>
OpenWrt (White Russian)
>
OpenWRT
>
Uploading files in php
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Uploading files in php (Read 969 times)
0 Members and 1 Guest are viewing this topic.
nsn
Newbie
Offline
Posts: 46
Uploading files in php
«
on:
November 08, 2006, 17:48:55 PM »
I like to use a script for uploading files using the post method.
Somehow the temp file is placed in /tmp iso /opt/tmp.
See log:
2006-11-08 15:58:04: (connections.c.1065) denying upload as opening to temp-file for upload failed: /var/tmp/lighttpd-upload-dQgPnt No such file or directory
2006-11-08 16:00:02: (connections.c.1065) denying upload as opening to temp-file for upload failed: /var/tmp/lighttpd-upload-mUq6ZD No such file or directory
2006-11-08 16:07:19: (connections.c.1065) denying upload as opening to temp-file for upload failed: /var/tmp/lighttpd-upload-wjBgWQ No such file or directory
I can only upload relative small files. The temp files should go to /opt/tmp.
Some of the settings in php.ini:
post_max_size = 8M
file_uploads = On
upload_tmp_dir = "/opt/www"
upload_max_filesize = 8M
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
Who can help ?
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
ASUS WL 500-g WL-500gx WL-300g and WL-HDD help
-----------------------------
=> Misc. Talk
=> Talk about macsat.com
-----------------------------
Oleg's Firmware
-----------------------------
=> Oleg's Firmware
=> Tutorials
-----------------------------
OpenWrt (White Russian)
-----------------------------
=> OpenWRT
=> DD-WRT
=> Tutorials
-----------------------------
OpenWrt Kamikaze
-----------------------------
=> Firmware
=> Tutorials
-----------------------------
SMC EZ Connect Storage (SMCWAPS-G), Micronica MGB100 Wi-Fi Hard Disk, Level One WAP-0007 and compatible
-----------------------------
=> Firmware
Loading...