web scraping and bot development using PHP

Web scraping is a computer science technique for extracting information and data from web sites. In data mining research scraping and analysing of information is discussed. Practically web scraping is necessary if you want to develop a web application where you want to show customised information from various websites.  For this you’ve to first scrap data from the sites and then apply some logic to filter the information.

Practically you can use different languages to write the program that will automatically search and collect the information. But if you’re PHP experts and want to use PHP for this kind of stuff here I would like to recommend a book web-bots/spider using PHP/Curl

What is web scraping?
I am going to expalin this with the help of an example .Suppose you want to develop an application which collects contents from various websites and thus shows a customised user
specific contents ,for that we use web scrapers .

Say for example ,Suppose you want to develop a web application where you want to show classified information about current news from different newspaper. So that people who are interested on a particular news can get all the newspaper link in your classified category.

How it works ?
The application will retrieve all the news from different websites, then classify and categorised information based on interest, like politics, sports, entertainment etc. The above book and the library(Library ) will help you to make this kind of application.
web-crawlwring

We can use this for any kind of application like Android and mobile applications.On that case your scraping script should be installed in a server where it automatically will collect and classify information and in the smart phone application you just retrieved the data from your server.

Advertisements

LINUX kernel Vulnerability in ubuntu 11.10

I recently loaded Ubuntu 11.10(oneiric ocelot) operating system in my dell Inspiron N4030 laptop,alongside windows 7 .After a few handful of days ,i came to know that my Linux OS is having kernel vulnerability problem ,which was affecting my Linux OS.I Goggled  for it and  came out with a solution…and now I am here to write about it.

Vasilily Kulikov discovered CVE-2011-2094 ,a Linux kernel vulnerability that allows a local attacker to read information on the system leading to loss of privacy ,because taskstats didn’t enforce access restrictions.

The security flaw can be easily fixed if you update your Ubuntu 11.10(oneiric ocelot ) system to Linux image -3.0.0-13 (3.0.0-13.22)  package.Run the Software Update to do that   and don’t forget to reboot your  computer after you upgrade.

How to remove windows activation service pack 1.

on 21st of August ,while i was updating my crashed version of windows 7.as i was not aware of windows service pack ,by mistake updated it .and restarted os as recommended by microsoft.and from then every second when i was connected to internet it was asking me to update my copy.beside these i captured my wallpaper and appears on the screen that”this is a counterfeit copy of windows,

  • i google for the whole day trying hard to remove this activation pack .first of i tried to uninstall it through the control panel .the control panel provides easy uninstallation method.locate the service pack for kb 797932.to uninstall it through select it.we need to confirm our uninstallation and restart the computer .i tried it but  disappeared from control panel but it was still there annoying me..and i remove it from recycle bin also.but then also no use .
  • then i tied regedit option..and anyone can try it the steps are :

1.run regedit

2.find key

             HEY_KEY_MACHINE\SOFTWARE\MICROSOFT\WINDOWS7\CURRENT VERSION\WPA

 3.search the string OOBE timer

4.double click and change all content with this

                                         FFD371D68B6A8D67FDS3393FB

5.right click on wpa events(regedit)and choose permissions.

6.check all deny options…and here u have completed.

  1. And then also any one can  uninstall it through command prompt option.

steps are

1.go to START orb ,then all programms>accessories>

then right-click on the command prompt and select run as administer.

2.use the following command to uninstall the sp 1

wusa.exe/uninstall/kb976932

a confirmation is required be   service pack is uninstalled by windows. 

and then also if anyone finds dif ficulty in uninstall .try to download

REMOVE WAT 2.2.5.RAR from 

any downloading website.rather i would suggest 

www.rapidshare.com

and it really works and tested .

i would like to welcome all feedbacks .so please let me know about feedbacks.

you can mail me at nbneeraj8@gmail.com

thankyou.

  

    

peace..which we lack today

 

Inner peace (or peace of mind) refers to a state of being mentally and spiritually at peace, with enough knowledge and understanding to keep oneself strong in the face of discord or stress. Being “at peace” is considered by many to be healthy homeostasis and the opposite of being stressed or anxious. Peace of mind is generally associated with bliss and happiness.


Peace of mind, serenity, and calmness are descriptions of a disposition free from the effects of stress. In some cultures, inner peace is considered a state of consciousness or enlightenment that may be cultivated by various forms of training, such as prayer, meditation, tai-chi-quan (太极拳, tàijíquán) or yoga, for example. Many spiritual practices refer to this peace as an experience of knowing oneself. Finding inner peace is often associated with traditions such as Buddhism and Hinduism.
Religious beliefs often seek to identify and address the basic problems of human life, including the conflicts between, among, and within persons.
Christians claim Jesus of Nazareth to be the “Prince of Peace”, the Messiah Christ who established a Kingdom of Peace where persons, societies, and all of creation are to be healed of evil. For persons to enter this Kingdom and experience peace, Christians believe that one must develop a personal relationship with Jesus Christ, who stated: “Come to me, all you who labor and are burdened, and I will give you rest. Take my yoke upon you and learn from me, for I am meek and humble of heart; and you will find rest for your souls. For my yoke is easy, and my burden light.”

Buddhists believe that peace can be attained once all suffering ends. To eliminate suffering and achieve this peace, they follow a set of teachings called the Four Noble Truths — a central tenet to their philosophy.
The religion of Islam means the way of life to attain peace. The Arabic word “ISLAM” means peace. The word Muslim means the person who submits to Allah in Peace. The submission to Allah (the Arabic proper noun for “THE GOD”, One and Only) is based on humility and an attitude of humility within one’s own self cannot be accomplished without total rejection of violence and attitude of alliance towards peace.Religious beliefs often seek to identify and address the basic problems of human life, including the conflicts between, among, and within persons.

 

anna’s life………?

11.50 am: Prime Minister Manmohan Singh said he hoped that the impasse over the Lokpal issue would end soon.

Ahead of the debate on the issue in Parliament, the Prime Minister said he hoped to write to Hazare again. On the possibility of the resolution being passed in Parliament today, Singh said, “It was up to Parliament.”

11.20 pm: Sandip Dikshit and Vijay Bahuguna will represent the Congress in the Lokpal debate in Parliament. Sushma Swaraj and Varun Gandhi will speak on behalf of BJP in the Lok Sabha.

10.38 pm: Team Anna and government held another round of talks today to end the deadlock over the Lokpal Bill ahead of the debate on the issue in Parliament.

Team Anna members Prashant Bhushan and Medha Patkar met Law Minister Salman Khurshid and discussed issues which the government could take up in Parliament during the debate.

Medha Patkar to media: “Only thing that has been discussed is what will come up before Parliament…we have already given Anna’s letter to him.”

Patkar said dialogue between both sides is on. She added that Hazare and his team have not gone back on their three key demands — all civil servants should be brought under Lokpal,
a Citizen Charter should be displayed at all government offices and all states should have Lokayuktas.

“We are still on the same three points, which really matters. The government is responding. Now it is not only the government, it is also the opposition parties. All are positive about the process,” she said.

She said every MP is concerned about Anna’s health. The agitation will continue as has been made clear by Anna. There is no question of ending the protest, she added.

10.15 am: I can fast for another three-four days, my protest will continue till Jan Lokpal Bill is passed.

10.05 am: Anna Hazare addresses supporters at Ramlila Maidan. “Your support is giving me energy. I can fast for more days,” Anna tells the crowd.

Hazare, who did not address his supporters since 8 pm on 25 August, emerged on the dais at around 10 am to a loud cheer from supporters who raised slogans of ‘Bharat Mata ki Jai‘,
‘Vande Mataram‘ and ‘Inquilab Zindabad‘.

“I am not doing this for my personal gain. If it was so, I would not have lasted five days. Till Jan Lokpal Bill is passed, my protest will continue,” the Gandhian told his supporters at Ramlila Maidan where he is sitting on a fast.

Hazare said he was surprised at the manner in which the country has responded to his call. “I am surprised that a ‘fakir‘ is getting this support. It is not me who is doing all this. God has pointed fingers at me. He has chosen me to do the work. It is he who is doing all this. I am praised for what I am doing. A ‘fakir‘ should not be praised so much,” he said.

10.00 am: Team Anna in a huddle. Shanti Bhushan, Prashant Bhushan, Kiran Bedi and Arvind Kejriwal meet again. Manish Sisodia and Akhil Gogoi also present at the meet.

9.40 am: Parliamentary Affairs Minister Pawan Kumar Bansal tells CNN-IBN: “I fervently hope Anna ends his fast today. A joint statement will be made by the finance minister shortly. We’ll also have detailed discussions throughout the day. Concerns are being addressed. In fact the Parliament is specially working today.”

9.32 am: Salman Khurshid and Bhayyuji Maharaj to meet at the former’s residence to discuss on the joint statement. Congress’ Pawan Khera and Sandeep Dikshit will also attend the meeting. The joint statement will be approved by Anna.

9.30 am: Supporters at Ramlila Maidan also want Anna to end his fast now. They want a solution now.

9.20 am: Anna Hazare’s BP is low and his samples have been taken for blood test. Anna has also lost weight. Dr Trehan who is monitoring Anna’s health said a final decision whether the Gandhian can continue his fast will be taken this afternoon.

On Anna’s health, Kiran Bedi tweeted: “Dr Trehan has checked him. He looks cheerful and determined. But there are concerns. Wish the Parliament had started the day at 9 Am?”

9.00 am: Congress leaders to meet at Law Minister Salman Khurshid’s residence shortly. A joint statement between the government and Team Anna will be released shortly.

8.45 am: For the first time in 120 years, Mumbai’s famous dhobighat at Mahalaxmi will be shut today in support of Anna Hazare’s cause.

Will Anna Hazare end his fast today? PTI
8.30 am: As Anna Hazare’s fast entered the 12th day today, Ramlila ground witnessed the thinnest crowd since the Gandhian began his agitation for a stronger Lokpal Bill. However, the volunteers said they expected strong numbers as the day progresses. Since its weekend, the number of supporters would increase, they said.

The absence of usual strength of protestors, a familiar scene since Hazare took centrestage at the maidan on 19 August, could be attributed to the wet ground and muggy weather.

Meanwhile, a definite answer to Hazare’s demands of bringing in a strong Lokpal Bill is still to come as the Parliament is expected to have a discussion on various variants of the Bill.

The security has too been strengthened by the police after a group of people clashed with cops in the wee hours of yesterday and created ruckus. The VIP gate, where the incident occurred at around 3 am yesterday, has been secured by a strong posse of police and CRPF personnel. A Delhi police videographer armed with a handycam has also been stationed there.

You can hack reliance gprs

This GPRS hack works with default rcomwap settings. Call Reliance customer care to get the rcomwap settings or click here to set them manually and then follow the method given below.
1.Set rcomwap as the default GPRS settings in your phone.
2.Download and install opera mini 4.2 with ultrasurf .
3.Allow network access to it and use rcomwap as the connection settings.
4.You’re done!

You see, it was damn easy and now you should be able to use Reliance GPRS for free with a better speed for browsing and downloading as well. Keep your balance as minimum as possible and use it.