Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2007
    Location
    Los Angeles
    Posts
    545
    Thanks
    81
    Thanked 5 Times in 5 Posts

    include files in a cmd line launched script

    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...
    RalphF
    Business Text Messaging Services
    https://www.MobileTextingService.com

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    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.

  • Users who have thanked Fou-Lu for this post:

    rfresh (09-16-2011)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •