I've tried to get a PHP cookie to work in php game, no luck.
I've tried to get a JS cookie to work. NO luck.
I can't even get a response in the php forum, so gave up!
I've posted 6 or 7 times and NO REPLY!
Am I tired? yes! All I wish is the stupid code for cookies to do something!
What do I want it to do? Save the page exactly how the user left it, so they can come back and finish the jigsaw puzzle at a later time.
What happens? I get a new puzzle.
So, where in the code needs to be changed so that the cookie will work?
I don't know. No one will even look at the silly program to let me know if the php code is preventing all cookies from working! It doesn't help that the file uses another file to 'chop' the images up. Thus, I have 2 php files that might be causing the issue.
To make matters worse, NO TUTORIAL even tells me whether I need to put the cookie on the frame page, the PHP page, or where on the php page, if thats the correct page.
Will a JS cookie overcome all coding issues with the php program to make the thing save the game in its current state of undoneness?
OR am I wasting my time, and should find a forum that only deals with PHP and nothing else ever.
Sorry for my frustration, but I've been asking since March 5th! (9 days ago).
Link to php.txt file to view code and what I've tried:
PHP TXT
Link to chop.txt file to view code:
CHOP TXT
Link to HTML file that pulls everything together:
HTML
ALL help is greatly and hugely appreciated! I do NOT understand cookies, even though I did read the tutorials. Sorry for my ignorance, but I'm just a little dense yet.
THANKS!