Get 4 Free Web Scripts
Join the White Hat Crew mailing list and get four free scripts for your website!- Captcher: PHP powered captcha generator
- AffiliCloak: affiliate link cloaker
- List Mailer GT: viral list building service mailer
- External Pop: display in-page "popups" over external webpages
PHP Telnet 1.1
A freeware script enabling PHP scripts to make telnet connectionsDownload | Requirements | Security | Usage Examples
Requirements:
PHP Telnet requires PHP version 4.3 or higher, with support for fsockopen enabled.
Security:
We strongly recommend that you do not store your username and password in a PHP script unless only people you trust completely have access to your server. Instead, use a form to enter the username and password each time the script is run. Exercise caution with any system that transmits passwords over unencrypted connections.
London Lawyers Demand £600 For One Game
May 9@8:21am: Barence writes "A PC Pro reader has received a demand for a £600 out-of-court settlement from lawyers claiming to have forensic evidence that he illegally downloaded a PC game on BitTorrent. The law firm, Davenport Lyons, is acting on the behalf o... [from Slashdot]
May 9@8:21am: Barence writes "A PC Pro reader has received a demand for a £600 out-of-court settlement from lawyers claiming to have forensic evidence that he illegally downloaded a PC game on BitTorrent. The law firm, Davenport Lyons, is acting on the behalf o... [from Slashdot]
Apple slammed on climate change
May 9@8:16am: Apple is once again being pilloried on the strength of its green credentials, taking last place among computer firms rated within a recent ClimateCounts survey on climate friendliness.Apple achieved just 11 points in the survey, far behind other c... [from InfoWorld RSS Feed]
May 9@8:16am: Apple is once again being pilloried on the strength of its green credentials, taking last place among computer firms rated within a recent ClimateCounts survey on climate friendliness.Apple achieved just 11 points in the survey, far behind other c... [from InfoWorld RSS Feed]
Pirate Bay: MPAA's $15.4 million damage claim a fabrication
May 9@8:15am: The MPAA has asked a Swedish court for $15.4 million in damages from The Pirate Bay. Peter Sunde, the torrent tracker's fearless captain, says that the claims are bogus.Read More... [from Ars Technica]
May 9@8:15am: The MPAA has asked a Swedish court for $15.4 million in damages from The Pirate Bay. Peter Sunde, the torrent tracker's fearless captain, says that the claims are bogus.Read More... [from Ars Technica]
Vista as insecure as Windows 2000
May 9@8:02am: Good news for users of Windows Vista. According to figures compiled by PC Tools, the OS has experienced only slightly more vulnerabilities than Windows 2000, which appeared eight years ago when malware was far less common.Or is that the bad news? ... [from InfoWorld RSS Feed]
May 9@8:02am: Good news for users of Windows Vista. According to figures compiled by PC Tools, the OS has experienced only slightly more vulnerabilities than Windows 2000, which appeared eight years ago when malware was far less common.Or is that the bad news? ... [from InfoWorld RSS Feed]
Windows XP SP3 Creating Havoc
May 9@7:40am: ozmanjusri writes "According to Information Week, within hours of its wide availability Windows XP SP3 had drawn hundreds of complaints from users who claim the update is wreaking havoc on their computers. One user said in a Microsoft newsgroup: '... [from Slashdot]
May 9@7:40am: ozmanjusri writes "According to Information Week, within hours of its wide availability Windows XP SP3 had drawn hundreds of complaints from users who claim the update is wreaking havoc on their computers. One user said in a Microsoft newsgroup: '... [from Slashdot]
Nokia aiming to reinvent itself as an "Internet company"
May 9@5:15am: It's not good enough to be the clear leader in a mature market sector like cell phones. To stay youthfully vibrant, Nokia is embracing a new set of competitors and is repackaging itself as an "Internet company."Read More... [from Ars Technica]
May 9@5:15am: It's not good enough to be the clear leader in a mature market sector like cell phones. To stay youthfully vibrant, Nokia is embracing a new set of competitors and is repackaging itself as an "Internet company."Read More... [from Ars Technica]
Speak to Me: Natural Language and CRM Applications
May 9@5:00am: If you could clone your best agent hundreds or thousands of times over, you could ensure that each and every customer calling your contact center receives the same high-quality, friendly and informed response. In reality, natural language speech s... [from E-Commerce Times]
May 9@5:00am: If you could clone your best agent hundreds or thousands of times over, you could ensure that each and every customer calling your contact center receives the same high-quality, friendly and informed response. In reality, natural language speech s... [from E-Commerce Times]
B2B in a Web 2.0 World, Part 1: Digital Media Relations
May 9@5:00am: Attention! We're listening! Seeking competitive advantage and profitability through good relations with the social media, the B2B world has energetically embraced the grand online colloquy known as the two-way talk-back "conversation." Online soc... [from E-Commerce Times]
May 9@5:00am: Attention! We're listening! Seeking competitive advantage and profitability through good relations with the social media, the B2B world has energetically embraced the grand online colloquy known as the two-way talk-back "conversation." Online soc... [from E-Commerce Times]
“Net Pulse News” - Videos, News, Etc. Based On Hot Search Trends
Apr 8@4:03pm: I’ve just posted a new page on Chordata called “Net Pulse News“. It pulls the hottest search trends from Google Trends, and displays news, blog and video search results based on those keywords. Google Trends identifies the hottest trends in search... [from Alpha Gecko : Atom/RSS]
Apr 8@4:03pm: I’ve just posted a new page on Chordata called “Net Pulse News“. It pulls the hottest search trends from Google Trends, and displays news, blog and video search results based on those keywords. Google Trends identifies the hottest trends in search... [from Alpha Gecko : Atom/RSS]
Chordata.info Aggregates “Top Feeds” In Each Category In RSS Format
Mar 13@6:10pm: I just launched a new service on Chordata called “Top Feeds” that generates RSS feeds from the content of the top feeds in each category on the site. Go to any category and click the subscription button near the upper-right corner of the page to ... [from Alpha Gecko : Atom/RSS]
Mar 13@6:10pm: I just launched a new service on Chordata called “Top Feeds” that generates RSS feeds from the content of the top feeds in each category on the site. Go to any category and click the subscription button near the upper-right corner of the page to ... [from Alpha Gecko : Atom/RSS]
Google Authority Listing For GeckoTribe.com
Feb 27@3:55pm: I happened to notice this morning that GeckoTribe.com has gotten an “authority listing” from Google for the search terms (don’t be too shocked) “gecko tribe”. I’m not bragging — it’s not like those are very common search terms. But it’s nice to se... [from Alpha Gecko : Web Design]
Feb 27@3:55pm: I happened to notice this morning that GeckoTribe.com has gotten an “authority listing” from Google for the search terms (don’t be too shocked) “gecko tribe”. I’m not bragging — it’s not like those are very common search terms. But it’s nice to se... [from Alpha Gecko : Web Design]
Google Penalty Removed From FastJV.com
Feb 1@10:01pm: Last June, I launched a product named Fast JV. Until a day or two ago, it had never shown up in Google. My first thought way back when was that it had simply been sandboxed, but when I registered it in Google’s Webmaster Tools, they said that no p... [from Alpha Gecko : Web Design]
Feb 1@10:01pm: Last June, I launched a product named Fast JV. Until a day or two ago, it had never shown up in Google. My first thought way back when was that it had simply been sandboxed, but when I registered it in Google’s Webmaster Tools, they said that no p... [from Alpha Gecko : Web Design]
Usage Examples:
Basic usage
NOTE: With PHP Telnet versions before 1.1, the following code will not display error messages for certain types of connection failures. If you are using an older version, either upgrade to the current version or use the next code example.
<?php
require_once "PHPTelnet.php";
$telnet = new PHPTelnet();
// if the first argument to Connect is blank,
// PHPTelnet will connect to the local host via 127.0.0.1
$result = $telnet->Connect('www.somewhere.com','login name','password');
if ($result == 0) {
$telnet->DoCommand('enter command here', $result);
// NOTE: $result may contain newlines
echo $result;
$telnet->DoCommand('another command', $result);
echo $result;
// say Disconnect(0); to break the connection without explicitly logging out
$telnet->Disconnect();
}
?>
Display your own error messages
NOTE: With PHP Telnet versions before 1.1, the show_connect_error option was not supported. If you are using an older version, either upgrade to the current version, or delete the line that sets show_connect_error.
<?php
require_once "PHPTelnet.php";
$telnet = new PHPTelnet();
$telnet->show_connect_error=0;
// if the first argument to Connect is blank,
// PHPTelnet will connect to the local host via 127.0.0.1
$result = $telnet->Connect('www.somewhere.com','login name','password');
switch ($result) {
case 0:
$telnet->DoCommand('enter command here', $result);
// NOTE: $result may contain newlines
echo $result;
$telnet->DoCommand('another command', $result);
echo $result;
// say Disconnect(0); to break the connection without explicitly logging out
$telnet->Disconnect();
break;
case 1:
echo '[PHP Telnet] Connect failed: Unable to open network connection';
break;
case 2:
echo '[PHP Telnet] Connect failed: Unknown host';
break;
case 3:
echo '[PHP Telnet] Connect failed: Login failed';
break;
case 4:
echo '[PHP Telnet] Connect failed: Your PHP version does not support PHP Telnet';
break;
}
?>