Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

can you call a javascript cookie using php

<script>
document.cookie = 'name=David' ;
</script>
Page: get_cookie.php
<?php
var_dump($_COOKIE['name']);
?>
Source by www.satya-weblog.com #
 
PREVIOUS NEXT
Tagged: #call #javascript #cookie #php
ADD COMMENT
Topic
Name
8+2 =