Enterprise PHP

I have 4 followers

Download Source Code (2kb)

Version 1.0 licensed using
"Creative Commons: Public Domain Dedication (CC0 1.0 Universal)"

Description

This function is for getting the HTML page source of any remote URL using curl.

System Requirements

  • PHP4.9+

Installation & Configuration

upload to your server and include it where you want to use it then execute the function

Usage Examples

View Source Code

0 0
please help rate the author by liking / disliking their work

Assigned Tags

Languages: Php

Technologies: Functions

Categories: Misc Php Functions

More Source Codes By Enterprise-PHP

Source Codes By Coders Enterprise-PHP Is Following

Comments

I wasn't expecting you to randomly fake the headers, nice little touch ;) But the bottle neck is still the same IP the requests will likely be from. You may also be better doing this kind of architecture like this: Web Scraper OO Design

It would allow for you to setup a range of differen clients during runtime much easier as well as preset clients using inheritance for ease of use.

Posted 10 Days Ago by VBAssassin reply
Login to subscribe to comments
there are 1 subscribed coders
Please login to post comments or register for free