Dear all,
I have written the simple program for file upload, but it cannot work under win98 OS where the apache server and php program have already been installed. Does it require to make configuration setting before the program works? if so, please give me the way. Also how about for the linux OS ?
Thanks Simon
You need three settings in php.ini:
file_uploads = On upload_tmp_dir = d:\tmp upload_max_filesize = 2M
For linux, I guess you'll need upload_tmp_dir set to something like /tmp
HTH
Niels