problems with deployement

  •  07-02-2009, 3:14 PM

    problems with deployement

    Hello CuteSoft Team,
     
    I try before buying your software but already have problem with the deployement procedure.
     
    1) So i copy/paste the folder phpuploader on my website ,  http://www.intranet-hanciaux.be/HollidaysPictures/phpuploader/ 
     
    2) i copy/paste your code on my php page http://www.intranet-hanciaux.be/HollidaysPictures/insertPicAlbum.php  with correction (uploader->Render();    u forgot the $)
     
    1. //Step 1: Register Uploader component to your page   
    2. <?php require_once "phpuploader/include_phpuploader.php" ?>   
    3. <html>   
    4. <body>   
    5.         <form id="form1" method="POST">   
    6.             <?php   
    7.                 //Step 2: Create Uploader object.   
    8.                 $uploader=new PhpUploader();   
    9.                 //Step 3: Set a unique name to Uploader   
    10.                 $uploader->Name="myuploader";    
    11.                 //Step 4: Render Uploader   
    12.                 uploader->Render();   
    13.             ?>   
    14.         </form>   
    15. </body>   
    16. </html>  
    3) When i call the page i have this error :
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/intranet/www/HollidaysPictures/phpuploader/include_phpuploader.php on line 12
    4) on line 12 i have this :
    public $MaxSizeKB=-1;
     
    5) i changed in :
    public $MaxSizeKB=2000;
    but same error
     
    Thanks for helping me, if it works for sure i wil buy your solution ...
View Complete Thread