Help for this page

Select Code to Download


  1. or download this
    sub upload_file {
        $| = 1;   #flush the output buffer
    ...
        
        return $newfile;
    }
    
  2. or download this
    $stmt ="LOAD DATA LOCAL INFILE '../catalog.txt' INTO TABLE catalog 
    LINES TERMINATED BY '\r'IGNORE 1 LINES";