| Making PHP and cURL work in Windows® If you choose to use cURL on a Windows® platform, follow these steps to complete your PHP installation. 1. Open the file php.ini located in the winnt folder in a text editor such as Notepad. Remove the semicolon from this line: extension=php_cURL.dll 2. Copy php_cURL.dll into c:php. 3. Verify that cURL works in PHP by doing the following: a. Open a text editor such as notepad. b. Copy and paste this script into the file: // script phpinfo() ?> 4. Save the file in your local web directory as phpinfo.php. 5. Using your web browser, type in the following URL: http://localhost/phpinfo.php. 6. Look for the word cURL on the page displayed. เดี๋ยวต่อไปจะเขียนวิธี การใช้งาน CURL มาลงนะครับ จะได้รู้ว่า php ทำหน้าที่ เป็น Client ก็ได้ มันเป็นอย่างไรคอยติดตามกันได้ครับ ที่มา จาก linkpoint.com
|
เขียนโดย mindphp วันอังคารที่ 23 กันยายน 2008 เวลา 22:08 น.
, phpBB3, SMF, Joomla, Wordpress, CMS CRM
, JavaScript & Jquery Ajax
, SQL - Database
, ถาม - ตอบ คอมพิวเตอร์
, PHP Knowledge
, PHP News
, HTML CSS
, Free PHP Code Download script
, Web Hosting Review - Free Host Share Host VPS