Quote:
i want to test if a cookie exists...
|
What kind of string does $HTTP_COOKIE contain? A cookie_ID, like "1618210828" ?
And what does a line in the file $hulp look like? Does it have a field that has the cookie_ID you want to check for?
Please provide this info, it's not very clear what you would like to test.
Quote:
cat $hulp | while [ IFS=: read a1 a2 a3 ] && [ ! -f $HTTP_COOKIE ]
|
This part: "[ IFS=: read a1 a2 a3 ]" is still not correct. Remove the '[' and ']'.
Dacht ik al :-) vanwege "hulp".