ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

  แสดงกระทู้
หน้า: 1 2 [3] 4 5 ... 8
41  ความรู้ทั่วไป / Amazon / Re: มีวิธีป้องกัน บอทคลิก amazon ไม๊ครับ เมื่อ: 13 กันยายน 2012, 19:41:09
อยากได้เหมือนกัน อะ Embarrassed บอทคลิกเพียบ Embarrassed
42  พัฒนาเว็บไซต์ / Programming / Re: แนวทางเขียนระบบ Affiliate (ตัวแทนขาย) สไตล์ 9wong เมื่อ: 13 กันยายน 2012, 19:25:24
วันนี้ผมจะมาแบ่งปันเทคนิคเล็กๆน้อย php ครับ

นั้นคือ ระบบ  Affiliate (ตัวแทนขาย)

บางท่านคงสงสัยว่า  Affiliate นั้นต้องเริ่มเขียนโค๊ดอย่างไร  Shocked

สำหรับผมนั้นใช้หลักการง่ายๆครับ

เกี่ยวกับเรื่อง COOKIE หรือ SESSION ครับ

แต่ในที่นี้ผมขอพูดถึงเรื่อง COOKIE

แนวคิดคือ  Url >> เก็บ cookie จาก url >> นำ cookie มาใช้งาน

โค๊ดโดยคราวๆที่ผมเขียนคือ


โค๊ด:
$aff_user = $_GET["aff"]; //รับค่าจาก url
$c_name = "aff"; //ชื่อ cookie
setcookie($c_name,$aff_user, time() + 900); // เพิ่ม cookie โดย 900 = 15 นาที ครับ

แต่ที่ผมทำปัญหาคือหากคลิ๊กหน้าต่อไปแล้วกลับมาหน้าเดิม cookie จะหายผมเลยเพิ่มมาว่า

โค๊ด:
if($_COOKIE["aff"]==null)
{
$aff_user = $_GET["aff"]; //รับค่าจาก url
$c_name = "aff"; //ชื่อ cookie
setcookie($c_name,$aff_user, time() + 900); // เพิ่ม cookie โดย 900 = 15 นาที ครับ
}
wanwan020

เวลาใช้ก็  ชื่อไฟล์.php?aff=___

เท่านี้ครับ เวลาจะเรียกใช้ก็เรียก $_COOKIE["aff"] มาใช้ได้เลยครับ

ปล.บทความนี้เหมาะกับผู้ที่สนใจศึกษา php เบื้องต้น วิธีผมอาจไม่เหมือนเทพคนไหนก็ขออภัยมา ณ ที่นี้ครับ  wanwan017 wanwan003


กำลังสนใจเลยค่ะ แล้ว wp ทำได้ไหม Embarrassed
43  ความรู้ทั่วไป / Amazon / Re: WordPress.com ค่ายนี้ใครเคยลองขาย amazon บ้างครับ เมื่อ: 13 กันยายน 2012, 06:38:32
เคยใช้แต่ ฟรี  Embarrassed
44  พัฒนาเว็บไซต์ / วิจารณ์เว็บไซต์ / อยากทำเว็บตัวแทนขาย แนะนำหน่อย เมื่อ: 12 กันยายน 2012, 18:54:37
อยากทำเว็บแนวแบบเว็บพ่วง หรือมีเว็บลูกเยอะๆ ต้องทำยังไง มีโปรแกรมช่วยไหม wanwan017
45  ความรู้ทั่วไป / Amazon / Re: อยากลองทำ Amazon จะเริ่มยังไงดีครับ เมื่อ: 12 กันยายน 2012, 18:44:32
ลงมือทำค่ะ ตัวเองก็มือใหม่ ทำไปศึกษาไปเครื่องมือในนี้เพียบค่ะ ลุย............ Embarrassed Tongue
46  ความรู้ทั่วไป / Amazon / Re: เพิ่งเริ่มทำ Amazon บน blogger แบบสายปั้น ขอคำชี้แนะด้วยครับ เมื่อ: 12 กันยายน 2012, 18:38:45
ผม Manual ยังโดนเลย แล้วสายปั่น..ทำใจลำบากหน่อยครับ  Lips Sealed

ใช่ๆ เห็นด้วย Embarrassed
47  ความรู้ทั่วไป / Amazon / Re: เปิดตัว Affiliate WordPress Theme : ธีมสำหรับ Review Amazon เมื่อ: 12 กันยายน 2012, 18:33:31
ขอบคุณมากจ้า wanwan017
48  ความรู้ทั่วไป / Amazon / Re: บอกหน่อยได้ไหม สินค้าอะไร ที่ amazon ห้ามเราเอามาขาย เมื่อ: 12 กันยายน 2012, 18:25:08
ลองอ่านในกฎดูครับ พวกfreshไรสักอย่างนี่แหละมั้งครับ จำไม่ได้แล้วอะ ลองหาดูนะ แต่มันมีจริงๆที่ห้ามขายอะ

จากกฎข้อ1นะครับ
1. Description of the Program
The purpose of the Program is to permit you to advertise Products on your site and to earn advertising fees for Qualifying Purchases (defined in Section 7) made by your end users. A “Product” is any item sold on the Amazon Site, other than any product that is listed on this page (collectively, “Excluded Products”). Product may also include certain services, if any, expressly included on the Associates Program Advertising Fee Schedule. In order to facilitate your advertisement of Products, we may make available to you data, images, text, link formats, widgets, links, and other linking tools, and other information in connection with the Program ("Content"). Content specifically excludes any data, images, text, or other information or content relating to products offered on any site other than the Amazon Site.

แล้วexcluded productsนั้นก็คือ
The following are Excluded Products:

    any product or service sold on a site linked to from the Amazon Site (e.g., a product or service listed through our “Product Ads” program or sold on a site linked to from a banner ad, sponsored link, or other link displayed on the Amazon Site);
    any wireless service plan offered through the Amazon Site and not sold or fulfilled by us;
    any product, including games and other applications, sold through the Amazon Appstore for Android;
    any product sold on fresh.amazon.com;
    any product or service sold on local.amazon.com; or
    any digital Kindle product purchased as a subscription (e.g., Kindle newspaper subscriptions, magazine subscriptions, blog subscriptions, etc.).


โอ้ว ขอบคุณมากๆ จะได้ไม่ต้องนำมาขาย Embarrassed
49  ความรู้ทั่วไป / Amazon Treasure / Re: แจก Stealth Keyword Competition Analyzer2.2.4 ใช้ได้ในปัจจุบัน (11ก.ย.2555) เมื่อ: 11 กันยายน 2012, 11:17:02
ขอบคุณค่ะ Embarrassed Embarrassed
50  ความรู้ทั่วไป / Amazon / Re: บอกหน่อยได้ไหม สินค้าอะไร ที่ amazon ห้ามเราเอามาขาย เมื่อ: 11 กันยายน 2012, 10:57:43
เกรงว่าทำไปไหนจะเหนื่อย แถมขายให้แบบฟรีๆ นี่สินะ ที่ทำอยู่เน้นลงสิรค้าหลายชิ้นประเภทเดียวกัน ไม่เน้นปั่นซับ  Embarrassed
51  Host and Domain / Promotion & Coupon / Re: คูปอง Hostgator ลด50% 10 กย. 55 เมื่อ: 11 กันยายน 2012, 10:41:42
น่าสนแฮะ wanwan017
52  ความรู้ทั่วไป / Search Engine Optimization / Re: >>>>>>>>>>>>>>>>>3120 Backlink ง่ายๆในคลิ๊กเดียว <<<<<<<<<<<<<<<<<< เมื่อ: 11 กันยายน 2012, 10:22:45
ขอบคุณจ้า wanwan017
53  ความรู้ทั่วไป / Amazon / Re: บอกหน่อยได้ไหม สินค้าอะไร ที่ amazon ห้ามเราเอามาขาย เมื่อ: 10 กันยายน 2012, 20:51:22
ที่ถามก็คิดว่าน่าจะมี แต่ถ้าไม่มีก็ยิ่งดีใหญ่  Embarrassed
54  ความรู้ทั่วไป / Amazon / Re: ผมมาถูกทางไหมครับดูไห้ที เป้าหมาย 2000blog+ : 2000+สินค้า เมื่อ: 10 กันยายน 2012, 20:49:27
ขนาดไม่ปั่นนะ ลงสินค้าสองชิ้นยังไปเลย Tongue
55  ความรู้ทั่วไป / Amazon / บอกหน่อยได้ไหม สินค้าอะไร ที่ amazon ห้ามเราเอามาขาย เมื่อ: 10 กันยายน 2012, 19:53:07
ตามหัวข้อเลยค่ะ คืออยากรู้จริงๆ กลัวว่าเอามาขายแล้วจะไม่ได้ค่าคอม อะค่ะ Embarrassed Embarrassed wanwan017
56  ความรู้ทั่วไป / Amazon / Re: ตอนนี้ในเว็ปเราควรมีสินค้ากี่ชิ้นดีครับ เมื่อ: 09 กันยายน 2012, 21:33:35
ส่วนตัวลงไป เว็บละ 300 ขึ้น สินค้าในหมวดเดียวกัน Embarrassed
57  ความรู้ทั่วไป / Search Engine Optimization / Re: ♥♥♥♥♥♥♥ *** แจกสุดยอด*** ***WordPress SEO Plugin*** ♥♥♥♥♥♥♥ เมื่อ: 09 กันยายน 2012, 11:12:30
ขอบคุณ จ้า เดี๋ยวลอง wanwan017
58  ความรู้ทั่วไป / Amazon / Re: เรี่อง Tracking ID เมื่อ: 05 กันยายน 2012, 21:22:57
ใช้ได้แระ ใจร้อนไปเอง ขอบคุณสำหรับคำตอบนะคะ  wanwan017
59  ความรู้ทั่วไป / Amazon / Re: เอาไว้ทดสอบคุณภาพเว็บคล้ายๆ SEOdoctor เมื่อ: 05 กันยายน 2012, 20:12:48
เช็คแระ แต่ยังไม่เข้าใจ ผลน่ะค่ะ แนะนำหน่อย wanwan017
60  ความรู้ทั่วไป / Amazon / Re: เรี่อง Tracking ID เมื่อ: 05 กันยายน 2012, 20:04:07
Tracking ID สร้างเสร็จก็ใช้ได้เลยครับ ที่มัน Fail คงเพราะ Link ท่านผิดรึเปล่า

Link เดียวกัน พอเปลี่ยน id ใหม่ ใช้ได้อะค่ะ wanwan017
หน้า: 1 2 [3] 4 5 ... 8