Advertisement
PSP Emulator - Run PSP games on PC
The PlayStation Portable, PSP for short, is a handheld game console created by SONY and released at December 12, 2004 (Japan).
The PSP’s goal is to be a complete entertainment platform since it is able to run video games, play video content, digital audio and display digital photos stored in memory sticks or UMD disks.

Now we can run PSP Games on our PC by using an excellent emulator named “Potemkin”.
Read the rest of this entry »
Google as Calculator
While reading articles on different blog, I came to find out that Google has its own calculator, which can convert currency, do mathematical calculation and other calculations.
I began to search on Google about how do we use this calculator, and I found this :
“To use Google’s built-in calculator function, simply enter the calculation you’d like done into the search box and hit the Enter key or click on the Google Search button. The calculator can solve math problems involving basic arithmetic, more complicated math, units of measure and conversions, and physical constants. Try one of the sample expressions below, or refer to our complete instructions for help in building your own.”
Read the rest of this entry »
Writing to file using PHP Form - Step 3: PHP Codes
Step 3: PHP Codes
Now that we have completed making the form page, we now need PHP coding to write the data to text file.
To do this, again open form.php On the top of everything, write this code:
PHP Code:
if (isset($_POST['submit'])) {
// Do something
}
?>
This means if $_POST['submit'] is set, where ’submit’ is the “name” of the submit button, then do something.
We used here $_POST[] because we used form method=”POST”, if we had used method=”GET “, then we would have used $_GET[] here.
Now we need it to do something if the submit button is set.
So, to do this, we will add some code on our current code.
We will add everything we need, after or by replacing “// Do something“.
Before we make the script write to file, we need to make sure of following things:
If on Linux, file must have writing permission , that is, CHMOD 777
Now start writing code !
Read the rest of this entry »
Writing to file using PHP Form - Step 2: CSS Codes
Step 2: CSS Codes
Now we will use CSS to add borders around our form fields and padding between text and borders, and we will also set the colour of our text using CSS.
To do this, Make a new document, and write this code:
CSS Code:
input { Read the rest of this entry »
border: 1px solid #a4bf37;
padding: 5px;
color : #2d2d2d;
}
Writing to file using PHP Form - Step 1: HTML Codes
Today I will teach you how to make a data collection form using PHP.
Actually this was requested by one of my MSN contacts.
In this tutorial you will learn following functions of PHP:
- if()
- isset()
- fopen()
- fwrite()
- fclose()
And following HTML/XHTML codes :
- <form></form>
- <input />
And some CSS codes to make our form look better.
Now in this tutorial our form will collect all the information using HTML and will process it using PHP.
I thought I should teach you how to use MySQL to store information, but just as I said above,
someone requested the tutorial to write information to a text file… so I am teaching you how to write to text file,
But dont worry, I will teach you how to store information in MySQL database too, but later.
So, now, lets get started.
What you need :
- Some Basic HTML knowledge.
- Basic PHP coding knowledge like <?php ?>
- Some spare time..
So, assuming you meet all the above requirements, we proceed to Step 1.
Read the rest of this entry »
Redirecting users according to their country TLD
Today, I am going to teach you how to redirect users to their country TLD using simple PHP.
for example:
If visitor is from UK:
http://example.com/members/usercp/avatars.php –> http://example.co.uk/members/usercp/avatars.php
And if visior is from a country whose TLD is .com :
Dont redirect anywhere.
To get started, you must have a GEO-Location script to determine the Location of visitor and their country TLD.
For example:
Canada –> .ca
USA –> .us
Australia –> .au
United Kingdom –> .co.uk
Some country –> .com
Suppose your script assigns the TLD to a variable called $tld.
Now we are supposing that the visitor is from United Kingdom, so the value of $tld is .co.uk here.
Read the rest of this entry »
Macromedia and Adobe Flash Tutorials
Pegor.com offers rich collection of Macromedia and Adobe Flash Tutorials. Among our free Flash tutorials you can find the exact flash effect or technique you’re looking for to create professional animations for your websites.
3d Studio Max Tutorials
Our free tutorials for 3D Studio Max will help you learn just about any version of 3D Studio Max. Learn how to master the software with our 3D Studio Max tutorials
XHTML and CSS Stylesheets Tutorials
HTML and CSS Stylesheets Tutorials. Pegor.com provides you the easiest tutorials, through which you can learn XHTML and CSS coding.
Windows XP tips and Tricks
We provide you a handful of handy tips for using and customizing Windows XP Professional.Use these tips and tricks to save time, solve problems, and have more fun with Windows XP