/    Sign up×
Community /Pin to ProfileBookmark

Found code, won’t work, please help!

I found a code ([url]http://alistapart.com/articles/phpcms/)[/url]. It’s exactly what i need but it will not work. I’m only looking at the Switching content with PHP variables section.

[LIST]

  • [*]

    I have PHP 4


  • [*]

    It’s enabled and works with other scripts


  • [*]

    i have used .php extension


  • [*]

    i have made sure there’s an apache handler, there is


  • [/LIST]

    So anybody know why?

    Thanks for any help you can give.

    to post a comment
    PHP

    3 Comments(s)

    Copy linkTweet thisAlerts:
    @JayMMay 21.2007 — What does "it won't work" mean?
    Copy linkTweet thisAlerts:
    @danpoultonauthorMay 21.2007 — Where the include is the code stops so you'll have

    <html>

    <head>

    <title></title>

    </head>

    <body>

    code .. code .. code

    <div id="content">

    </body>

    </html>
    Copy linkTweet thisAlerts:
    @JayMMay 21.2007 — Have you checked whether the path where you're including the file from is correct?
    ×

    Success!

    Help @danpoulton spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.27,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...