if php cookie set, show code...


Posted on 16th Feb 2014 07:03 pm by admin

Hi all.. I need to figure out this little snippet right quick.. seems like it should be easy enough to do, but I'm flailing here...

I need to have a blurb that checks to see if a cookie of a specific name is set, and if it is - then show a certain line of code (basic href link).. but if the cookie is NOT set, to show a different line of link code.

HELP!?!!?

50 Like 21 Dislike
Previous php-forum Next php-forum
Other php-forum

Array becomes unset by itself?
Hi,

I have a bit of experience with PHP but not extensive. It seems I cannot store any items

Setting a default timezone?
I have read about how to change the timezone in PHPMYADMIN, but it changes back, it doesn't STAY the

Help with looping
I have a comma separated list of colors taken from a database ($ICo) and a directory of images named

Unique Visitor Tracking
Hello. Currently, I run a voting site where voters are tracked by their IP address and can only vote

How to find OS bit version
How can I tell the person browsing my site is running 32, or 64 bit operating system?

Help with Hyperlink
Hi,

What I am trying to do may be simple, I just can't get it to work. Ok...

I am usin

[function.file]: failed to open stream: No such file or directory
Okay I wrote this little script to upload a csv file that is located on my webhosts server to a mysq

word wrap in emails help needed
Hello, I understand how wordwrap works in php and have used it well before. However when I used wor

Custom list order
Hi there,

I have checked this tutorial and it's great till the point where I want to display

PHP header help!
Hi all I am trying to get this php page to refresh every 5 seconds on my phone which is an aastra 48

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash