Exforsys
+ Reply to Thread
Results 1 to 2 of 2

Help me test photograph contents in PHP

This is a discussion on Help me test photograph contents in PHP within the PHP forums, part of the Programming Talk category; How to in order to detects 1 file PHP rename paries file Image?...

  1. #1
    chuongdong is offline Junior Member Array
    Join Date
    Oct 2011
    Answers
    1

    Help me test photograph contents in PHP

    How to in order to detects 1 file PHP rename paries file Image?


  2. #2
    lokeshm is offline Member Array
    Join Date
    Apr 2005
    Answers
    83
    To detect if the file of a valid type, you need to get the MIME type of the file using $_FILES['FileName']['type'], and thereupon you can make use of php rename() function to rename the file.


Latest Article

Network Security Risk Assessment and Measurement

Read More...