#Launch an instance http://docs.aws.amazon.com/AmazonVPC/latest/GettingStartedGuide/GetStarted.html
#Setup EC2
chmod 400 key.pem
ssh -i key.pem ec2-user@YOUR_SERVER_IP
#Launch an instance http://docs.aws.amazon.com/AmazonVPC/latest/GettingStartedGuide/GetStarted.html
#Setup EC2
chmod 400 key.pem
ssh -i key.pem ec2-user@YOUR_SERVER_IP
| class ModelCatalogUpload extends Model { | |
| public function getDataFromFile($file) | |
| {$this->csv2array($file);} | |
| public function selectProduct() | |
| { $this->delProducts(); | |
| $sql = "SELECT * FROM temp_products "; | |
| $query = $this->db->query($sql); |