The site I'm writing a script for is running php version 4.0.3pl1. I am a rank amateur at php and I'm having a devil of a time getting exec() to return anything. My goal is to use curl to retrieve data from as secure site. My intent is to use exec() to the curl command. As in the example here:
http://www.phpbuilder.com/columns/matt20000305.php3?page=2
However, I'm starting to wonder if exec() is working at all. It does nothing. It returns no data, or generates any errors regardless of the format I use. I hae experimented trying to exec() some other command (such as ls, ping, etc.) but nothing works.
Can someone give me an example of a use of exec() which should return some data? Or do anyting so I at least know it's working?
Thanks,
Michael