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

PHP using IF to display error
i have a MySQL query and i want to display 1 thing only if the number of affected rows is >=1

How could I do this?
Ive got a simple lottery game, and am using an sql database to keep track of the numbers bought. But

How to display value in drop down list after form has been reloaded
Please bear with me as I am very new to php and html.

I have a form with several drop down me

PO Release Strategy Issue
Hi Experts,

I am facing an issue related to PO release strategy. The details are-
<

add 20 000 to the rowcnt
Hi ...
I need to add 20 000 to the row count but just cant find a way to do this i am new to php

PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the

This must be easy , pulling the last record of the day, every day, from a txt
I have a txt file logging weather data every minutes (so 1 record per minute). I want to extract the

License Issue - service type user
Hi,

I would like to understand the following issue regarding sap license.
I wish to

apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

Credit card verification
I have a client who wants to process credit card transactions from his web site rather than the goin

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