廣告 :

alongkorn.s on February 9th, 2008

$mysql['host'] = "localhost";
$mysql['user'] = "sec"; // MySQL Username
$mysql['password'] = ""; // MySQL Password
$db = "sec"; // Database name
$table = "domain";

// Connect to MySQL
//
mysql_connect($mysql['host'], $mysql['user'], $mysql['password']) or die("Unable to connect to database");
mysql_query("USE $db;");

if (isset($_FILES['photo']))
{
echo 'File uploading..
‘;

$data = file_get_contents($_FILES['photo']['tmp_name']);
$data = addslashes($data);
//$data = mysql_real_escape_string($data);
// Preparing data to be used in MySQL query

$sql = “UPDATE {$table}
SET template= compress(’$data’)
“;
if(mysql_query($sql))

echo ‘Success: template uploaded’;
}
mysql_close();

?>

Template:

Continue reading about SSEC update whole template

廣告 :

alongkorn.s on January 16th, 2008

เดือนนี้กลับมาทำ SSEC อีกครั้ง หลังจากเลิกทำไปประมาณปีนึงได้
คราวนี้กลับมาทำ โดยตั้งใจว่า เอาไว้ทำ Aff ไม่ใช่ Adsense เหมือนตะก่อน
เหตุผลก็คือ Affiliate มั่นคงยั่งยืนมากกว่า เพราะไม่ต้องกลัวโดนแบน
เป็น Quality traffic ที่มีการซื้อขายสินค้ามากกว่า

Start 23/12/50
Cost:
- Monthly fee = $69
- Server dedicate = $71
- Setup & install SSEC = $110
- 500 domains .info = $0 (my old domain)

Total $250
Return $0

CJ Scraper
เป็นเครื่องมือ ที่ใช้ดึง keyword ในสินค้าของ CJ มาแล้วประกบคู่กับ aff link เป็นไฟล์ cvs สำหรับเอาไปยัดใส่ในโดเมนของเราได้ทันที

เท่าที่อ่านมาในบอร์ด เค้าแนะนำว่า 1 domain เราควร install keyword ประมาณไม่เกิน 500 keywords
เพราะถ้ามากกว่านี้อาจะเสี่ยงโดนแบนได้.. ให้บินต่ำๆใต้สัญญาณเรด้า

สำหรับการใช้งานโปรแกรม ต้องไปสมัคร webservicesAPI ก่อนที่ http://webservices.cj.com/getting_started/
จากนั้นให้ไป login ใน cj.com panel แล้วดูที่ account detail หาค่าที่เป็น PID แล้วเอามาใส่ใน script

Continue reading about Simplified SEC

廣告 :

alongkorn.s on January 11th, 2008

下載:
# cd /usr/src
# wget http://bart.eaccelerator.net/source/0.9.5.2/eaccelerator-0.9.5.2.zip
# unzip eaccelerator-0.9.5.2.zip

Install package need
# apt-get install autoconf automake libtool m4

Capture php-config path
# php-config
Usage: /usr/local/bin/php-config [--prefix|--includes|--ldflags|--libs|--extension-dir|--version]

安裝:

# ./configureenable-eaccelerator=sharedwith-php-config=/usr/local/bin/php-config
# make
# make install

Result:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/

Edit php.ini
# pico /usr/local/lib/php.ini

Add this to footer

zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so
eaccelerator.shm_size=16″
eaccelerator.cache_dir=/tmp/eaccelerator
eaccelerator.enable=1″
eaccelerator.optimizer=1″
eaccelerator.check_mtime=1″
eaccelerator.debug=0″
eaccelerator.filter=”"
eaccelerator.shm_max=0″
eaccelerator.shm_ttl=0″
eaccelerator.shm_prune_period=0″
eaccelerator.shm_only=0″
eaccelerator.compress=1″
eaccelerator.compress_level=9″

Create tmp folder
# mkdir /tmp/eaccelerator -m 0777

# /etc/init.d/apache restart

>> All Complete

>> 4+1 way to speed up WordPress with Caching

Ref: http://eaccelerator.net/wiki/InstallFromSource

Continue reading about Install eAccelerator

廣告 :

alongkorn.s on December 29th, 2007

หลังจากที่สึกออกมาจากความเป็นพระ ที่ไปบวชได้ราวๆ 4 เดือน
ก็ถึงเวลาที่ต้องกลับมาใช้ชีวิตแบบชาวบ้านๆ ต้องใช้เงิน ต้องหาสตางค์
จากตอนก่อนจะไปบวช ที่มีรายได้ราวๆ $5,xxx ต่อเดือน
ตอนนี้ก็ไม่มีแล้ว Adsense ที่เคยทำก็โดนแบนไป

After I ending of the monk period (7月 - November 2007)
It ’s time to live with normal life that want money to pay for goods and food.
Befor I gone to monk, I have income about $5xxx/month from adsense
but now It’s zero, all adsense account was baned.

ที่นี้ก่อนจะเริ่ม ผมเล่าให้ฟังก่อนดีกว่า ว่าก่อนหน้านี้ผมทำอะไรบ้าง เกี่ยวกับ Internet MKT
ก่อนที่จะบวช ผมได้เขียนโปรแกรมเกี่ยวกับการสร้างเว็บปั่นขึ้นมา โดยมีชื่อว่า KDir
ซึ่งได้ไอเดียมาจาก Iamnewbie ที่บอร์ด Thaiseoboard หลังจากนั้น ก็มาหาวิธีการของตัวเอง
เขียนโปรแกรมเองทั้งหมด จนมันทำงานได้อย่างสมบูรณ์ คือ เพียง register domain (ในราคา $.99 แบบ .info)
จากนั้นก็เข้าไป config ใน Control Panel จากนั้นมันก็จะทำการหา Keyword ที่เกี่ยวข้องมาให้ในจำนวนประมาณ 5-20k keyword จากนั้นก็จะทำการ ping ไปที่ pingomatic ทุกๆวัน จนหมด โดยใช้เวลาประมาณ 7 วัน ประมาณวันละ 3 domains/ip ซึ่งตอนนั้นมีประมาณ 26 ips ซึ่งแปลว่าใน 7 วันจะใช้โดเมนป้อนเข้าไปประมาณ 26×3 = 78 domain เสร็จแล้วเราก็จะไม่สนใจโดเมนนั้นอีก แล้วทำการหาโดเมนใหม่มาป้อนต่อไปเรื่อยๆ

Continue reading about เริ่มจากศูนย์Start from 0″

廣告 :

alongkorn.s on November 28th, 2006

หลังจากลงโปรแกรม SSIC รุ่น 1.4 ใน reseller account ของ powerVPS
ปรากฎว่าพี่ท่านทำการ terminate account เราซะ โดยบอกว่า php ทำงานหนักเกินไป
และกระทบต่อผู้ใช้คนอื่นๆ

ฮ่วยย นี่แค่ลงไปโดเมนเดียวเองนะ อิห่านน
แล้วนี่ก็พยายาม refund เอาเงินคืนอยู่ มันยังไม่ได้ตอบเลย เซ็งจิต
ตอนสมัครนี่เร็วมากๆ แต่ตอน cancel นี่ช้านะเมิง

แต่จริงๆที่ powervps ก็ดีอย่าง มัน support ให้เราเร็วมากๆ
ไม่ว่าจะกลางวันกลางคืน

สรุป: อย่าใช้ SSIC กับ Reseller account เด็ดขาดดด

Continue reading about account โดน terminate

廣告 :

alongkorn.s on November 23rd, 2006

SSEC Snapshot

ใช้เวลาหลายชั่วโมง กว่าจะทำ template ได้ขนาดนี้

Continue reading about ตัวอย่างเว็บที่ gen ด้วย SSIC

Page copy protected against web site content infringement by Copyscape

所有產品名稱均為其各自companies.Every努力,以確保內容的完整性. 使用本網站的信息在你自己的風險. 在博客提供的信息是從不同地點收集. 此博客不承載任何其服務器上的文件. 請報告任何斷開的鏈接的評論. . 聯繫我們 alongkorn.s(在)gmail.com