Jump to content

leonphp

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Posts posted by leonphp

  1. I have this code that used to work.

     

    But it doesnt work no more....  anyone has the answer?

     

    #copy images

    $uploadfolder="/pacotes/";

     

     

    #file1

    $uploadedfile=$_FILES['file1']['tmp_name'];

    $finalfile=$_SERVER['DOCUMENT_ROOT'].$uploadfolder.$id."_big.jpg";

    if(!copy($uploadedfile,$finalfile)) echo "erro no upload do ficheiro 1";

     

    #file2

    $uploadedfile=$_FILES['file2']['tmp_name'];

    $finalfile=$_SERVER['DOCUMENT_ROOT'].$uploadfolder.$id.".jpg";

    if(!copy($uploadedfile,$finalfile)) echo "erro no upload do ficheiro 2";

     

    #file3

    $uploadedfile=$_FILES['file3']['tmp_name'];

    $finalfile=$_SERVER['DOCUMENT_ROOT'].$uploadfolder.$id."_hover.jpg";

    if(!copy($uploadedfile,$finalfile)) echo "erro no upload do ficheiro 3";

  2. This message appeared after my client tried to put another promotion online.

     

    And I dont know why....

     

    Please help me...

     

    //////////////

     

    Internal Server Error

     

    The server encountered an internal error or misconfiguration and was unable to complete your request.

     

    Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

     

    More information about this error may be available in the server error log.

    Apache/2.2 Server at www.praiagolfe.com Port 80

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.