Simple Post Scanner in PHP. ...
Wednesday, December 21, 2011
Anti-DDoS PHP Script
Create a directory anti_ddos and throw all the scripts there:
index.php (DDOS attacks detection module):
anti_ddos.php (module redemption DDOS attacks):
PHP Code:
Also, for the script will need 4 files check.txt, white_ip.txt, black_ip.txt all_ip.txt and create them in the same directory and all the rights set 666 (read and write).
It is also desirable during the attack lists of IP addresses the attackers machine, the file transfer black_ip.txt gradually. Htaccess file and...
Saturday, October 8, 2011
Speeding up MySQL Queries for faster performance using MySQL Cache
MySQL Queries Can Really Kill Your Web Server. Yes its true that writing buggy SQL queries can result in a lot of server cpu usage. Many webmasters face this problem and they think that their service provider is not good and blah blah.
Best Example is of wapsites using sea 8.1 Script.
if you are in one of them or your server is getting overloaded because of MySQL then i will suggest you to look at below method of caching can help...
Cpanel Error from park wrapper: Using nameservers with the following IPs
When i tried add a domain into cpanel addon it shows
Error from park wrapper: Using nameservers with the following IPs: , Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers
associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ip.remotedns and make the proper A entries on that remote nameserver.
It's mean, My domain ex: testing.com is not using the cpanel/whm DNS or nameservers.
This can...
In
BASH,
CentOS | Fedora,
Debian,
FreeBSD,
HP-UX,
Kubuntu,
Linux Servers,
Linux Tutorials,
OpenBSD,
OpenSUSE,
RHEL,
Slackware,
ssh,
Trustix,
Ubuntu,
Unix Servers,
Unix Tutorials
by Unknown
//
11:13 PM
//
Leave a Comment
Using Screen for Linux Session Management
What is Screen ?
GNU Screen can be thought of as a text version of graphical window managers, or as a way of putting virtual terminals into any login session. It is a wrapper that allows multiple text programs to run at the same time, and provides features that allow the user to use the programs within a single interface productively.
Persistence
Similar to VNC, GNU Screen allows the user to start applications...
In
CentOS | Fedora,
Debian,
FreeBSD,
HP-UX,
Kubuntu,
Linux Servers,
Linux Tutorials,
OpenBSD,
OpenSUSE,
RHEL,
Slackware,
ssh,
Trustix,
Ubuntu,
Unix Servers,
Unix Tutorials,
Wget
by Unknown
//
11:13 PM
//
Leave a Comment
How To Using Wget to Download All Files and Directory
This is a short tutorial to download all files and directory.
Example :
i have a files and directory in remote server and want to transfer all files and directory to local client.
here is a simple command to download it using wget instead of ftp.
#wget -r ftp://username:password@domain.com/
From the command above it will download everything in / directory of domain.com into your computer / local clien...
OpenVZ web interface with WebVZ
What is WebVZ ?
WebVZ is a light web based control panel (~ 300KB) for OpenVZ. It is a free and open source under GPL GNU licence. WebVZ has its own webserver and databases engine which means there is almost no configurations needed.
WebVZ lets you manage the containers from the web browser which makes the life of the system administartors much easier than using the command line tools.
WebVZ Features
1. Create containers.
2. Start, Stop, Restart, and Destroy containers.
3. Migrate containers from Host Node to another...
Tuesday, October 4, 2011
Captcha image verification
A good way to avoid automatic form submissions when creating a web form is to add some kind of verification. One of the best ways is to use an image verification, called also captcha. What it does is to dynamically create an image with a random string displayed on it. Then visitor is asked to type that string in a text field and once the form is submitted it checks if the string on the image matches the one inputted by the user. Because there is no easy way to read a text from an image (image recognition) this...
Sunday, October 2, 2011
Pascal PHP Class
Name: Pascal
Base name: pascal
Description: Generate the triangle of Pascal with given rows
Version: 1.0
Required PHP version: 3.0
License: Freeware
...
Friday, September 30, 2011
dbORM - Generate classes to access MySQL tables as objects
Name: dbORM
Base name: dborm
Description: Generate classes to access MySQL tables as objects
Version: -
Required PHP version: 5
License: GNU General Public License (GPL)
Download The File From Here: http://down-w3tools.elementfx.com/dborm(w3tools.info).z...
Thursday, September 29, 2011
SCache simple data caching class
Name: SCache simple data caching class
Base name: scache
Description: Cache content data strings in files
Version: 1.2
Required PHP version: 5.0
License: GNU General Public License (GPL)...
Wednesday, September 28, 2011
W3c Validator
Name:
my_validator
Base name:
my_validator
Description
Validate HTML pages with the W3C service
Version:
-
Required PHP version:
5.0
License:
Proprietary License with Source
...
PHP Handyman
Name:
PHP Handyman
Base name:
php-handyman
Description:
Dynamically add functions to an object
Version:
0.3
Required PHP version:
5.0
License:
GNU General Public License (GPL)
Download Here...
Tuesday, September 27, 2011
How To Enable Facebook Timeline Feature Easily
Hi Guys . As you all know that facebook has launched its new feature FACEBOOK TIME LINE which has been discussed in previous post.. so here i will tell all of you that how can u enable that feature easily on facebook step by step
During the f8 conference 2 days before, Mark Zuckerberg and his team announced a new feature called the Timeline - which is a visual representation of your life and the events surrounding it.
The...
Facebook Changes Again: Everything You Need To Know
As we predicted, Mark Zuckerberg’s keynote at the f8 conference in San Francisco Thursday introduced some of the most profound changes seen on Facebook since its inception. So many changes, in fact, that it can be hard to keep track. So here’s a handy-dandy guide.
1. You’re going to get a Timeline — a scrapbook of your life. In a complete overhaul of its ever-evolving profile page, Facebook is introducing Timeline. This is a stream of information about you — the photos you’ve posted, all your...
Sunday, September 25, 2011
Facebook's New Timeline is A New Gift For Hackers

Hi Guys Here I am With a blasting news of facebook. According to Facebook CEO Mark Zuckerberg, Timeline is “the story of your life,” But According To me Facebook’s New Timeline Is A New Gift For Hackers
Facebook’s new Timeline will make it even easier for criminals and others to mine the social network for personal information they can use to launch malicious attacks and steal passwords, a researcher said today.
Timeline,...
In
Database Connection,
Learning Web,
localhost,
mysql,
PHP,
PHP Tutorials,
Web Development
by Unknown
//
11:06 AM
//
Leave a Comment
Database Connection With PHP
This tutorial will help you make connection to your database with PHP. It’s very simple process but I know how difficult can be for someone who is only starting to learn PHP. To test this example you should download and install Apache server, MySQL database server and PHP. You can find detailed guide and all mentioned components here.
Creating config.php
If you want to use a database in your application, you have to make config.php file which will contain basic database data. Here we will declare database path, username,...
Saturday, September 24, 2011
Searching for files/text using SSH
In some cases you would need to find the location of a given file or to search for a certain text in all files under a directory. SSH provides two different commands, which can be used to accomplish this.
In order to search for a file location you can use the find command. Find is a very powerful tool and accepts various arguments allowing you to specify the exact search term (i.e search by name, by type or even by modified time).For example, to search for a file called myFile.txt under the current folder (and all...
Move and copy files using SSH
Often you will need to move one or more files/folders or copy them to a different location. You can do so easily using an SSH connection. The commands which you would need to use are mv (short from move) and cp (short from copy).The mv command syntax looks like this:mv configuration.php-dist configuration.phpBy issuing the above command we will move (rename) the file configuration.php-dist to configuration.php. You can also use...
How To Recover root password under linux with single user mode
It happens sometime that you can't remember root password. On Linux, recovering root password can be done by booting Linux under a specific mode: single user mode.
This tutorial will show how to boot Linux in single user mode when using GRUB and finally how to change root password.
During normal usage, a Linux OS runs under runlevels between 2 and 5 which corresponds to various multi-user modes. Booting Linux under runlevel 1 will allow one to enter into a specific mode, single user mode. Under such a level, you directly...
How to edit a file via ssh

To edit a file via ssh we have the following editors:
nano / pico
vim
vi
touch
Suppose we want to edit a file /home/w3tools/index.html using vim editor.
To edit this file use the following steps:
1. Log in to server via ssh using any client (recommended: Putty)
2. Run the following commands.
vim /home/w3tools/index.html 3. Now...
How to change root password via ssh.
To change the root password via ssh, use the following steps:
1. Log in to ssh by using any client(recommended: Putty).
2. Run these commands after it
su - root
passwd 3. Enter your new password for root. Confirm your password by re-entering it.
DONE...!! YOUR PASSWORD FOR ROOT IS NOW UPDATED....
PHP - lame encoder mp3 conversion
Uses PHP - lame to change ID3 tags and convert bitrate of a mp3 file.
You can change album,artist,trackno,genre,year,comment,artist,art and bitrate.
Link to lame encoder : Click here
Enjoy guys !
Source: TechnosL...
How to add tags/labels to bloggers posts via Gdata api
Get The Code From Here: http://pastebin.com/8qCeJsNN
Dependency: http://framework.zend.com/download/gdata
Source: TechnosLa...
In
htaccess style authentication via php,
PHP,
php http authentication,
projects
by Unknown
//
8:49 PM
//
Leave a Comment
HTTP authentication via PHP
Here's a small snippet that let's you implement htaccess style http authentication in your PHP scripts. Just define user and password and you are ready to go !
Go Here To download the code: http://pastebin.com/9Xu02jLD
Make sure that this code block is present in topmost of your scripts or it'll give errors and authentication will be messed up....
In
bypass,
leech,
tf,
timer,
torrent,
torrific,
torrific limit,
torrific.com,
tpb
by Unknown
//
7:20 PM
//
Leave a Comment
Bypass torrific.com download timer
Torrific.com is a great tool for fetching torrents and downloading them over http through our favorite download manager. From last week, they have imposed a timer on download page that limits us from downloading a fetched torrent instantly. Now we can either pay them to gain premium access to their services or we can find a work around. While I suggest you to go for premium membership, I also give you a work around.
On the...
How to Change The Default SSH Port.
To force or change the default SSH to run on a non standard port, use the following steps: 1. Open /etc/ssh/sshd_config in your favorite text editor:
2. Look for the below lines:
# Port 22
3. Uncomment and edit this line to change the default port.
For example you can set it to:
Port 99
4. Save the file, and restart the SSH.
/etc/init.d/ssh restart
NOTE: Removing the # will uncomment and you will need to remove this for any change in the por...
How to force remove a dead node from solusvm.
This command will help you in removing a dead node from solusvm master. Since the node is dead therefore we cannot remove it using the available option in the master.Login to SSH in the master server and run below command.
php /usr/local/solusvm/scripts/deletenode.php --level=force --comm=delete --id=
The node id can be found in the VPS Control Panel. Click on node list and note down the ID of the node you want to remove.
Example: Suppose you want to remove a node having ID = 5
Then the command will be like:
php /usr/local/solusvm/scripts/deletenode.php...