> >"and view the source to ensure it contains the token (and maybe php
> session)"
>
> I'm not sure how to do that. I know how to view the source of web
> pages: View>Page source in Firefox, it just displays the PHP as it was
> authored.

That's a problem.  You should NOT see -
<?php
session_start();
$_SESSION['token'] = uniqid(md5(microtime()), true);
?>

when you view source.  That means your server has NOT executed the PHP
code to generate a token, it has just passed a string of characters to
the browser.

Either you need to change your server so that it knows to look for and
execute PHP code within pages with a .html suffix, or you need to give
your page a .php suffix

cheers, Ross K

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to