[PHP-DB] file upload security issue

2003-08-14 Thread Chen, Mao
Hi everyone, I try to learn file uploading in PHP. I've successfully uploaded a file onto my server. I use move_uploaded_file("tmp_dir/tmp_filename", "destination_dir/filename") to move the temp file. The thing is that I have to do a "chmod 777 destination_dir" in order to move the file. I

[PHP-DB] using PHP to find out Windows user name?

2003-08-14 Thread Chen, Mao
Hi Everyone, I'm just wondering whether we can use PHP to find out the name of user who is currently logging on to local Windows computer and accessing a particular .php web page. Thanks in advance.

[PHP-DB] problem with email using PHP

2003-08-04 Thread Chen, Mao
Hi everyone, I got a problem with emailing in PHP. Any help is appreciated. Here's the situation: I have a webpage takes some information from user and submit it to database, then it'll sent out an email. When clicking on the submit button, it takes browser at least 10 seconds to fi