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!?!!?

No comments posted yet

Your Answer:

Login to answer
50 Like 21 Dislike
Previous forums Next forums
Other forums

Header is not working in IE
Hi ! header function is not working in IE but it works in FF, Safari, Chrome. any help please. :

How to separate records and ORDER BY
Let say i have 100 records and displayed in one page, then i want to get the records from 50-100 and

DB2 for z/OS, LUW, iSeries
Hello, In this forum a lot of threads related to other members of the DB2 family than DB2 for z/OS

Can we convert non uni code system into unicode
Hi All,

Presently i am using non-unicode system and the sap version is 4.7.
Can i c

need help with this contact form
I made this form and I need it to read the data and write the data to a table and its not working ca

Which practice of iteration through containers is preferred
In the "real world" what kind of loop do most people use to iterate through a container like a vecto

Unable to retreve the values from Mysql Query
Hi,

Here is the php code that I have, Query is running properly in phpmyadmin and is resu

Problem in String replace program's output
Hi all,
I was trying to make a program which accepts a string and replaces it with another stri

cookie problem
I hv a website url
In this site main menu functionality based on cookie when user click on parti

IIS on 2003 anon access disabled issue
I have an IIS server that belongs to a domain, and anonymous access is turned off for all my sites.

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