I’ve been working on some areas of PHP that I’m not quite as familiar with lately, getting ready to take the Zend PHP 5 certification exam.
Today I played around a little with sessions. I was able to use them to avoid the annoying browser history “this page was generated from POST data, do you want to resend the POST data?” problem when you go back to a page where login information had been authenticated.
The trick? I use header("Location: /path/to/logged-in-home.php"); after successful authentication, but otherwise display a page with error messages. It’s a small problem, but it’s nice to do away with it.
Going along with Phil, here are some of the stranger, recent search keywords that have brought people to my site:
- Hairy women
- pirate recipes
- bicycle mod
- recipe for scurvy
- jake valek
- carbide cannon
- fimo terrain
- akiko baldridge
- halcyon inverter
- yay brains
- “in case of zombie attack break glass”
- “there’s a weasel chomping on my privates.”
I have no idea where some of those are coming from. Really!
Who are Jake Valek and Akiko Baldridge? I have no idea. I don’t cook up pots of scurvy for dinner, either. And Hairy Women? That’s the #4 search term for my site this month!
There are no pictures of hairy women on this site! Ewwww! Go away! I recommend a holiday in France. Or Seattle…
I did write about a hairy encounter, once, though.