PHP Magic Book – Free PHP Scripts, Tutorials and Downloads, PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips

Archive for the ‘ Cookies ’ Category

Find Screen Resolution With PHP

I think there is no way yet to find out screen resolution with PHP. hehehe.
If I am wrong please correct me.
But yet we can trick it to be happen ;-)
If not then how can we be developers. Right!

With javascript we find out screen resolution of PC. Store it in a cookie and display it with PHP.
Coool…eh! Fine, lets just do it.

(more…)

Tags: , , ,
Posted in: Checks, Cookies, Tricks, Useful Scripts
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Creating And Retrieving Cookies In PHP

Cookies were invented to allow webmaster’s to store information about the user and their visit or other information on the user’s computer. Cookies are not privacy risk. All of the “trustworthy” websites use cookies.

(more…)

Tags: ,
Posted in: Cookies, isset
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Change Color Theme With PHP – CSS Switch

Concept is to change the CSS file of website for user to give website new color look. It is done by creating a cookie in user’s system.
One switch file, other pages and css files are used in this example. Switch file change CSS applied at website, creates a cookie, saves it and after that redirects the page back at URL from where it was triggered.

(more…)

Tags: , , ,
Posted in: Cookies, Switch
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

    


  Subscribe Via RSS
  Subscribe Via Email