When it comes to parsing web pages in PHP, you need to look no further than Simple HTML DOM Parser. This DOM parser is an easy to implement library for parsing / scraping web pages. Letâ€™s see you how we can use this library for our scraping needs.
Written in PHP and using cURL, this script imports the names and email addresses from your gmail account. When used with our Newsletter Script you can Create and Send an HTML Email Using FreeWebScriptz Import Contact Script easily!
An HTML form is often used in email marketing to generate a greater response from potential customers.
This tutorial introduces some OOP concepts in PHP, and explains how to access and download tweets from a protected or public Twitter account, and how to create a quick-n-dirty cache for holding these tweets and protecting against the Twitter API limit. Includes sample code and an example implementation.
Learn to use curl with php to query remote webservers for data. This can be done to automate form submission, process credit cards, and more. Topics covered include SSL, proxies, cookie handling, and more.
PHP includes an easy to use interface for the cURL library. This means you can easily communicate with other servers using a variety of protocols. It is commonly used to access web service APIs such as Twitter. This tutorial will explain the basics and show some usage examples.
This tutorial explains how to use Curl and SimpleXML SimpleXML is a php5 extension used to parse XML data. Topics covered include loading XML documents, parsing nodes & attributes, and filtering data with XPath statements.
This script first tries to find the meta tags including the description, title and keywords of a web page and if it does not get any, it will extract the content using the Curl library and the iconv function which takes into consideration the different charset.
There is a live demo.
For the most of the PHP scripter which are using preg_match or preg_replace frequently is the function preg_match_all a smaller advantage, but for all others it’s maybe hard to understand. The biggest difference between preg_match_all and the regular preg_match is that all matched values are stored inside a multi-dimensional array to store an unlimited number of matches.
Most scripts written for getting a google pagerank connect to the google servers everytime someone views a page where the script is called. Depending on how busy your site is this can mean that you connect to google thousands of times each day to get exactly the same information.
This script uses a cache to prevent this from happening. The first time someone visits your site the script connects to google and then after that the pagerank value is fetched from a cache. This is far faster (my tests suggested about 30 times faster) and requires less bandwidth.
Beyond the benefits in time it is also easy to use and can be used to either fetch a value for the pagerank or generate html code to display an image representing the pagerank
Using freely available php classes I show how it is possible to download the contact list from Gmail and/or the MSN messenger service (given a username and password) and return this to the user. The user can then select or deselect the contacts they wish to send an email to before submitting the form and sending emails to all their chosen contacts.
This is quite a nice method to 'turbocharge' the basic 'tell-a-friend' style script. Rather than contacting one friend it is quick and simple to contact fifty or a hundred contacts which means more likely visitors to your site.
Sponsoring your listing gives significantly better visibility for your listing in Hot Scripts. Typically sponsored listing receives considerably more clicks than free listings. We strongly recommend you sponsor your listings. Sponsoring one listing now costs only USD 29 per month.
If you want to make listing to your favorites, then you need to login into hostscripts. Click on login and proceed.