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

Help With Showing Users On the Index Page
Ive got this code which works just how i want it to.

Code: <?
$timenow=time();

Mouseover to edit (Ajax)
hi friends, can anyone help with the code behind to get this application working, please in VB (new

How to set pass login name from htaccess to php
When the user logs into my members page via htaccess, I'd like to retain the username so that I can

ctype() validation - allowing illegal characters
Hello,
I use ctype() to filter and validate a user form. However, I am trying to allow certain c

simple ping code
been searchin the site/web and found code thats simple but doesnt work.

I have a personal we

COde for a Cc
I'm not receiving $ft as a Cc. Why is that??

$to = "$email";
$headers = "Fr

re calling a function without including file
Hi,
i am new to programming in php, i was just checking the wordpress code and found out in the w

newbie error
what is wrong with this code ?

<html>
<body>

<?

Multidimensional Array into an Html table, help!
Hello all, I am new to HTML/PHP so any help would be great.

I have a multidimensional array f

Getting PHP to ammended the selected in option field
Hey Guys

thanks for everyones help so far. This site and its users are oozing awesomness.

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