I have having some problems running some PHP scripts from BAT files.

If I execute the script directly from the browser it works fine, but when I have it running from a BAT file I can use certain functions like CURL or iMAP.

Anyone have a fix?