index.php 643 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. use fec\helpers\CRequest;
  10. ?>
  11. <div class="loginForm">
  12. <form action="http://demo.fancyecommerce.com/fecadmin/test/index" method="post">
  13. <?php echo CRequest::getCsrfInputHtml(); ?>
  14. <input type="text" name="login[username]" />
  15. <input type="text" name="login[password]" />
  16. <input type="text" name="login[captcha]" />
  17. <input type="submit" />
  18. </form>
  19. </div>
  20. <?php
  21. foreach($_COOKIE as $key=>$v){
  22. echo $key."=>";
  23. var_dump($v);
  24. echo "<br>";
  25. }
  26. ?>