Re: [PHP-DEV] making system calls from a php extension

2011-05-11 Thread Ben Schmidt
On 11/05/11 2:33 PM, Rasmus Lerdorf wrote: On May 10, 2011, at 21:01, Gabriel Sosa wrote: I'm basically using lynx to convert some html into plain text basically replicating the following command: *lynx -pseudo_inlines=off -hiddenlinks=merge -reload -cache=0 -notitle -force_html -dump -nocolo

Re: [PHP-DEV] making system calls from a php extension

2011-05-10 Thread Rasmus Lerdorf
On May 10, 2011, at 21:01, Gabriel Sosa wrote: > I'm basically using lynx to convert some html into plain text > > basically replicating the following command: > > *lynx -pseudo_inlines=off -hiddenlinks=merge -reload -cache=0 -notitle > -force_html -dump -nocolor -stdin* > > I've been looking

Re: [PHP-DEV] making system calls from a php extension

2011-05-10 Thread Gabriel Sosa
I'm basically using lynx to convert some html into plain text basically replicating the following command: *lynx -pseudo_inlines=off -hiddenlinks=merge -reload -cache=0 -notitle -force_html -dump -nocolor -stdin* I've been looking but I didn't find any other library capable to do the same with "

Re: [PHP-DEV] making system calls from a php extension

2011-05-10 Thread Rasmus Lerdorf
On 05/10/2011 08:42 PM, Gabriel Sosa wrote: hello everyone! I'm trying to gain some speed by moving a function from PHP legacy code to C and making an extension. I'm trying to call *lynx* from the command line since their C api isn't something soo nice likely to use it as any other libXX If it

[PHP-DEV] making system calls from a php extension

2011-05-10 Thread Gabriel Sosa
hello everyone! I'm trying to gain some speed by moving a function from PHP legacy code to C and making an extension. I'm trying to call *lynx* from the command line since their C api isn't something soo nice likely to use it as any other libXX Currently in PHP I'm doing a system call by using *p