SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: expanding php

  1. #1
    SitePoint Enthusiast toytron's Avatar
    Join Date
    Nov 2006
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    expanding php

    Just wondering if php5 has a way to expand the code on dedicated server.
    I've written some functions and was wondering if I could load them by default.
    I'm a bit lazy and don't want to make an include on every page.

  2. #2
    SitePoint Evangelist
    Join Date
    Aug 2007
    Posts
    566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yep. The php.ini auto_prepend_file option
    http://www.php.net/manual/en/ini.cor...o-prepend-file

  3. #3
    SitePoint Enthusiast toytron's Avatar
    Join Date
    Nov 2006
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thnx Tripy.


Tags for this Thread

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
  •