Question

I would like to interface a php page to the linux command line program ping.

I realize that there are sanitation issues. Is there a builtin library or function that can take care of everything, or will I have to rely on regex parsers?

Was it helpful?

Solution

Do you mean escapeshellcmd and escapeshellarg?

OTHER TIPS

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top