SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    AdSpeed.com Son Nguyen's Avatar
    Join Date
    Aug 2000
    Location
    Silicon Valley
    Posts
    2,241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can I pass the $GLOBALS array into the function so I get access to all of the variables passed to the script?

    Thanks
    - Son Nguyen
    AdSpeed.com - Ad Serving and Ad Management Made Easy

  2. #2
    SitePoint Evangelist
    Join Date
    May 2000
    Location
    Canada
    Posts
    533
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, an educated guess:

    I'd say if you pass $GLOBALS into a function, by

    global $GLOBALS

    then you would have access to all the variables $GLOBALS stores VIA $GLOBALS array, not just by the variable names...

    By the way, i heard you're from waterloo, me too (well not now), give me a shout when you get bored, icq 28857142
    --------------------
    SitePoint Community Advisor
    my PHP host: when you want a REAL host


Bookmarks

Posting Permissions

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