[PHP] File Uploading Security - Urgent please
Hello, I am doing file uploading of only jpg file format, It first copys in tmp directory then I copy it in main well you all know the procedure... neways what I am concerned is how can I check that the file in temp is correct file and is safe for me to copy it in the main folder? Regards Statbat
[PHP] Size of Image
Hello, I have successfully uploaded the image. But now I want to know the size width X height of the pixels of the image. Is this possible to get the size and height of the image by php. Regards Statbat
[PHP] Installing PHP in Windows Me and PWS4
Hello, I am trying to install php in windows Me and PWS4. But I am getting into trouble. I have stated the steps I have performed and the one I am unable to perform. 1. - The easiest way to do it is to copy these DLLs to your SYSTEM (Windows 9x) directory, which is under your Windows directory. The DLLs that need to be copied are MSVCRT.DLL (it was already in that folder) and PHP4TS.DLL. Done. 2. - Copy php.ini file in your windows folder. Done 3. - Edit the enclosed PWS-php4.reg file to reflect the location of your php4isapi.dll. Forward slashes should be escaped, for example: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map] ".php"="C:\\Program Files\\PHP\\php4isapi.dll" I don't have any enclosed PWS-php4.reg file. Where will i find it. Thanks in advance for the help. Regards Statbat
[PHP] Off The Topic But Please Help....
Hi, I have installed apache for the first time and am using it now for my php and cgi development. But I have two problems, please help although they are off the topic. 1. In my htdocs folder, I am able to access any file which is in the htdocs folder but I am not able to access any file which in the sub folder of htdocs. It says file not found. Lets suppose If I have a test.php file in php folder in htdocs and I access it in http://localhost/php/test.php than it says file not found although it is in php folder in htdocs. 2. How do I configure apache to handle cgi. My cgi is installed in c:\perl\ Where my cgi scripts should be placed in the apache folder. Thanks again Statbat