James John – Software Engineer

Archives

PHP

Difference Between Sessions & Cookies

The difference between cookies and sessions is that cookies are stored in the user’s browser, and sessions are not. This difference determines what each is best used for.A cookie can keep information in the user’s browser until deleted. If a person has a login and password, this can be set as a cookie in their […]

[PHP/MYSQL TUT] REDIRECT TO THE SAME PAGE AFTER SESSION DESTROY (LOGOUT)

I jst got this trick lst nytNOW LETS STARTin your logout link put it lyk dz

NOW IN UR logout.php

 

[PHP TUT] UPLOADING FILES FROM ANOTHER SERVER TO YOUR DIRECTORY

Hi all, Download files directly to your directory without stress or consumption of Bandwidth, just copy the source code and save then, then run!

[PHP TUT] CAPITALIZING LETTERS USING PHP

Hi all, Setting capital letters automatically without stressing yourself writing it is one of the sweets things I love with PHPWe have four functions here which I listed below: strtoupper() – Make a string all uppercase, as in “HOW ARE YOU”strtolower() – The reverse of strtoupper, removes all capitals.ucwords() – Capitalizes the first letter of […]