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

Coefficient of a Restitution Hints
Hello. I was wondering if anyone can give me hints on how to write this program...

The coeffi

Multi dimensional arrays
If I put in this code:

1
2
3
4
5
6
7
8
9
10
11
12
13<

help retrieiving results and doing pagination
Having some trouble trying to get the results to show on more than just one page.

What is ha

close site for maintenance
i get a tutorial, saying the following code can put our site offline, and only the developer can vie

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

Extending Exception to contain method name
I was wondering, if there's a way to extend Exception in such a way, that it would contain name of a

Schedule editor
Hi,

I have a question related to Schedule editor.
If we schedule a BLS for every 30

update sql when refresh - php
hi
I have made a table (attachement)

the users can update the sql database using + or x bu

remove trailing slash from array
I have the following array which contains trailing slashes I need to remove. What is the best way to

Prevention Help
How can I use PHP or any other language (feel free to move this thread) to prevent users doing scree

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