...

View Full Version : include files in a cmd line launched script



rfresh
09-15-2011, 11:53 PM
I'm launching a script using the cmd function. I have an include line in it but the code is that block isn't executing...do I have to do something special with a cmd line launched script or does it just not support includes?

Thanks...

Fou-Lu
09-16-2011, 12:20 AM
Nope, nothing special.
Check your path though, DOCUMENT_ROOT cannot be used in a CLI environment. Also, GET, POST, COOKIE, etc also have no value, so you have to use argv instead.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum