Compatibility problem, php 4 vs php 5? Using wamp 5, having some problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christian Aastorp

    Compatibility problem, php 4 vs php 5? Using wamp 5, having some problems


    Sorry if I too obviously clueles, but I'm just starting editing our
    web-site that was prepared by someone else.

    The web-site is running at a Norwegian web-hotel (www.domeneshop.no),
    running php 4. Our site (www.widenoja-design.no) works ok,
    menu-choices and all. When I serve the same files from my local disk
    for editing and testing, the menus no longer work. I'm running Wamp 5
    with the php 4 module loaded and enabled.

    Any clues? Is there any directives I can put in my files to force php
    4 execution?

    I am able to switch to another software bundle locally if you have a
    strong recommendation.

    Thanks for any pointers!
    --
    Christian Aastorp

  • Geoff Berrow

    #2
    Re: Compatibility problem, php 4 vs php 5? Using wamp 5, having some problems

    Message-ID: <v0ccs1pmg5a4te mr3g2gtes0nf1p7 08p81@4ax.com> from Christian
    Aastorp <> contained the following:
    [color=blue]
    >Any clues? Is there any directives I can put in my files to force php
    >4 execution?[/color]

    At a guess, it sounds like a register globals problem. Register globals
    is off in newer versions of PHP.

    Where you have a menu item like this
    http://www.widenoja-design.no/index.php?CAT=tjenester is your script
    accessing the choice by looking for $CAT ? If so you need to change
    that to $_GET['CAT'] or $_REQUEST['CAT']
    --
    Geoff Berrow (put thecat out to email)
    It's only Usenet, no one dies.
    My opinions, not the committee's, mine.
    Simple RFDs http://www.ckdog.co.uk/rfdmaker/

    Comment

    Working...