อยากสอบถามการอัพข้อมูลขึ้นโฮสครับ

เริ่มโดย lovenee, 05 มกราคม 2013, 15:03:15

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

lovenee

อยากสอบถามการอัพข้อมูลขึ้นโฮสครับ

1.เราเขียน php อัพไฟล์หน้า เดสท็อป ขึ้นบนโฮสได้หรือเปล่า 

2. เขียนคำสั่ง interinto บน localhost ให้ไปเพิ่มข้อมูลบนโฮสได้หรือเปล่า

** ปกติพอผมอัพ text ไฟล์ ขึ้นบนโฮสทุกวัน ต้องเปิด FileZilla บางวันตาลายอัพไปผิดโดเมนก็มี

อยาก เขียน php อัพไปบนเว็บตาม path ที่ต้องการเลยครับ เพื่อลดความผิดพลาดในการทำงาน

รบกวนผู้รู้ช่วยชี้แนะด้วย ..

SEO [Aoom]

บริการทำเว็ป viral สร้างรายได้ สายเทา สายดำ ติด ads network พร้อมทำเงิน คลิ้ก!! http://on.fb.me/1eXV2ju
ebook สอนหาเงินจาก Youtube

lovenee

อ้างถึงจาก: SEO [Aoom] ใน 05 มกราคม 2013, 15:16:53
ได้นะครับ   :P :P

รบกวนชี้แนะด้วยครับ พอจะมีแนวทางหรือเปล่า
:wanwan017:

lovenee

อ้างถึงจาก: lovenee ใน 05 มกราคม 2013, 15:03:15
อยากสอบถามการอัพข้อมูลขึ้นโฮสครับ

1.เราเขียน php อัพไฟล์หน้า เดสท็อป ขึ้นบนโฮสได้หรือเปล่า 


<?php

// set up basic connection
$conn_id = ftp_connect($ftp_server,$port);

// login with username and password
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);

// turn passive mode on
ftp_pasv($conn_id, true);

// upload a file
if (ftp_put($conn_id, $remote_file, $file, FTP_ASCII)) {
echo "successfully uploaded $file\n";
} else {
echo "There was a problem while uploading $file\n";
}

// close the connection
ftp_close($conn_id);
?>

ข้อแรกได้แล้ว  :wanwan003:

หาอยู่หลายเดือน

เหลือข้อสอง  :wanwan017:


webbest89

อ้างถึงจาก: lovenee ใน 05 มกราคม 2013, 15:03:15
2. เขียนคำสั่ง interinto บน localhost ให้ไปเพิ่มข้อมูลบนโฮสได้หรือเปล่า
หมายถึง Insert Into ใช่ไหม  :wanwan044: :wanwan044: :wanwan044:
[direct=https://thaipuerariamirifica.blogspot.com]Pueraria Mirifica[/direct]
[direct=https://sardi190puerariamirifica.wordpress.com]Sardi 190[/direct]
[direct=https://sardi190-pueraria-mirifica.blogspot.com]Sardi 190-Pueraria Mirifica[/direct]
[direct=https://thaibuteasuperba.blogspot.com]Butea Superba[/direct]
[direct=https://buteasuperbaextract.blogspot.com]Butea Superba Extract[/direct]

lovenee

อ้างถึงจาก: webbest89 ใน 07 มกราคม 2013, 15:07:31
อ้างถึงจาก: lovenee ใน 05 มกราคม 2013, 15:03:15
2. เขียนคำสั่ง interinto บน localhost ให้ไปเพิ่มข้อมูลบนโฮสได้หรือเปล่า
หมายถึง Insert Into ใช่ไหม  :wanwan044: :wanwan044: :wanwan044:

ใช่ครับ  :wanwan017: