My blog
About me
CV page
Scripts & resources
Ask a question
Search
Topic Title
Topic Body
Both
MegaVideo Premium Link Scraper [PHP Classes] Aug 26, 2010
This class will allow you to scrape MegaVideo Premium Links to share or use for your own.
Please note that you need to follow these steps:
1) Login into your account at MegaVideo (or MegaUpload).
2) View your cookies that you got from whichever site you loged into.
3) Replace USERNUMBER and SESSIONID with your user number and session id from the cookies in the attached file: megavideoCookie.txt.
If you do this excessively, MegaVideo will ban your IP, so you will have to renew your IP every now and then (depending on how heavy the load is).
Enjoy. Let me know if you have any problems.
0 replies
Content Extraction using Preg match [PHP Classes] May 08, 2010
This tiny class allows you to easily extract data from various website. It uses the fileOpen class I created, but can easily be changed if you need it to.
The implementation file shows you how easily it can be implemented, you basically need 3 lines of code to do the extraction and a for loop to show the data. It enables you to remove duplicate results as well.
0 replies
File open class [PHP Classes] May 08, 2010
This class basically encapsulates the following four built in functions: fopen, file_get_contents, filesockopen, and curl.
The only reason I created this class is because sometime some of my work will work on some hosting and some will not because of the file open method I use. This will enable me to easily ask people to switch functions without having to implement much coding on their side.
The class allows users to add headers to file_get_contents, filesockopen, and curl (including referrals, cookies, field inputs, etc..).
0 replies
2 Important Updates for Simple Blog Script [PHP] Feb 16, 2010
Two fixes to update the Simple Blog.
Update One (admin/pages/posts.php)
--------------------------------------------
Line 196 after
<?php
Add
if($_POST['topicID'] != NULL)
{
Then after line 213, add another bracket to become:
<?php } }?>
Update Two (pages/showdates.php)
--------------------------------------------
Replace Line 40:
while(true)
To become:
while($startYear <= $endYear)
That is it.
0 replies
Email Scraper [PHP Classes] Sep 04, 2009
Here is the promised Email scraper class. In 4 hours, I was able to retrieve over 1000 emails!
0 replies
Working on an email extractor [PHP] Sep 04, 2009
Many have seen my old
email extractor
class and maybe actually gave it a run. Personally, I never liked that piece of work that I did.
As you might guess, I am working on a new email extractor which stores the info in a database table. It is much more general than the previous one and checks for duplicates before entry. This will help enable forking of child processes without being afraid of data collisions.
I am in the testing phase.
0 replies
Hello everyone and welcome.. [General] Sep 03, 2009
Welcome to my website. Here, I try to help myself first and then others to become efficient PHP programmers. I am open to questions, which I hope I can answer to my best of knowledge. I will also be posting scripts and applications under GPL License.
Aziz S. Hussain
0 replies
Categories
General
(1)
PHP
(2)
MySQL
(0)
PHP Classes
(4)
Dates
[2009]
»
September
»
October
»
November
»
December
[2010]
»
January
»
February
»
March
»
April
»
May
»
June
»
July
»
August
All rights reserved © Aziz S. Hussain 2009 -
Contact Me
-
Privacy Policy
-
TOS