Results 1 to 2 of 2
I have a web program written in PHP. I am trying to write a script that will strip data out of an HTML page and return formatted data that the ...
- 04-15-2009 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 5
help calling a perl script from php
I have a web program written in PHP. I am trying to write a script that will strip data out of an HTML page and return formatted data that the PHP can use. Because of the complexity of the data extraction, I have written the script in perl.
What I need to do now is upload an HTML file and pass that to the perl script, and use the returned data in the PHP program.
Problem is, I don't know how to pass the file to the script. Can anyone help?
G
- 04-15-2009 #2Linux User
- Join Date
- Aug 2006
- Posts
- 458
PHP has many functions that can deal with HTML, eg strip_tags() , htmlentities , etc etc...plus many string manipulations functions including regex. there is no need to do it in Perl.


Reply With Quote