E
E
emerysh2017-05-24 16:04:47
PHP
emerysh, 2017-05-24 16:04:47

Parsing php sites with php?

Hello, I started to learn php and ran into a problem, everywhere and everywhere information is only about how to parse html. How to parse information if it is not displayed in the source code .. but it is present on the site? as I understand it, it is generated, and the parser takes the code when the necessary data has not yet been generated?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2017-05-24
@emerysh

HTML is the markup data of a web page.
PHP is server scripts
data types are XML(HTML), JSON etc.
The parser parses the required data types and parses them according to the templates.
Server scripts don't play any role: PHP, C#/.NET, Go, Python - it doesn't matter at all.
Dynamic parsing: www.nightmarejs.org

A
Anatoly Medvedev, 2017-05-24
@balamyt92

PHP does not exist on websites, PHP is only on the server :) But usually ZendEngine is busy parsing PHP code :)
But what about the data that is generated by means of php?
in any case, html is generated, and what is not important.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question