Project

General

Profile

Bug #406

How to use PHP eval function on javascript code?

Added by Bradley Nichols over 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/17/2021
Due date:
% Done:

0%

Estimated time:

Description

I am trying to access a javascript LocalStorage value in PHP. I first used the basic method i.e:

echo "<script>document.official website
But it did not work as it showed the code as value. I want to use the eval function on this code to get the value. Is there any way to do it?

#1

Updated by Kentaro Hayashi 11 months ago

  • Status changed from New to Closed

Also available in: Atom PDF