How does php Execute phantomjs to output the obtained html content to the php variable? PS: currently, php runs phantomjs through system to output the obtained html content to the txt file! Php can get html content by reading files, but can't output txt... php Execute phantomjs. How can I output the obtained html content to php variables?
PS: currently, php runs phantomjs through system to output the obtained html content to the txt file!
Php can get html content by reading files, but can it directly get the variable without outputting a txt file?
Reply content:
How does php Execute phantomjs to output the obtained html content to the php variable?
PS: currently, php runs phantomjs through system to output the obtained html content to the txt file!
Php can get html content by reading files, but can it directly get the variable without outputting a txt file?
As far as I know, there will be some places to get the records of use and output through command line execution. It's okay to read the file in php.
Help. Is there anyone to help you!
Can I send http requests in phantomjs? Post to PHP, or use a file pipeline.
Try: getPageSource ()
Useexec()
Function substitutionsystem()
Function,exec()
The second parameter$output
Is an array that can accept the return value of the command. Each row has one element.