N
N
Nurba Nurba2017-05-23 12:15:52
PHP
Nurba Nurba, 2017-05-23 12:15:52

How to pull json object from js functions using php?

there is such data in the script tag. How to pull it out using php or phpquery json object . he wraps the app.setConfig function in js, which is why such a difficulty arose. Can this be done without regular expressions?
app.setConfig({"ns":[],"});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
M-ka, 2017-05-23
@nurba91

maybe you should rethink how it gets there? For example, the filled variables zhs "and transfer to PHP variables and you can immediately fill zhs and have access to variables .....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question