Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: Understanding: Client side and grabbing information

$
0
0

 

array_key_exists('Token', $_POST) && $_POST['Token']!=")

After the not equal operator, it's two single quote, not a double quote ;-)

[quote]Is the 'tokenfield' the div on index.php which will show the token information?[/quote]
TokenField is the ID of the hidden form field Token

[quote]Is this the information that makes the token, or is it the javascript makes the token?[/quote]
Here, it's the JS who make the token. The Token is just a piece of text, in my example, something like "ExportXYZ123456" (the number is a Unix Timestamp).
This text go to the server within the form data, php catch it, and make a cookie with this text and send it to the browser.


Viewing all articles
Browse latest Browse all 2707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>