Hi, i'm new to php. I juz installed PHP5 to my web server. The problem is whenever i submitted a form to a php script, the script won't recognized the value unless i use superglobals variables instead e.g. $POST, $GET for every variables. I've downloaded fews scripts but it would be problem to change everything to superglobals variables. FYI, i've enable register_global in php.ini but it still doesn't work. Help me plz.

TQ :queasy:

    I'm not sure what the problem is, but I would suggest always using $POST and $GET explicitly anyway. It will simply things and make it easier to tell superglobals and normal variables apart.

      I suggest you install XAMPP, it installs Apache, MySQL and PHP
      (And configures them perfectly)

      I havent had one problem with PHP yet 🙂

      Anyway, I cant remember what the site is but a quick google search should give you the site 🙂

        Also have a look at the Newbies FAQ. Question One. You'll note that it supports epp_b's suggestion (so does the manual, for that matter).

        Atomiku, I think aroul2k has already installed PHP....

          Hey Guys,

          Thanks for that. I think my scripts are incompatible with PHP5.
          I finally managed to run it but with lots of error & warning.
          Any idea why? (it's the script that i downloaded from the net and i works well on my friend's web svr)

          regards

            Not without knowing what the errors and warnings, or the code, are. Without that the best idea is to go through the section in the manual's FAQ on Migrating from PHP4 to PHP5, and specifically the appendix linked to therein.

              Write a Reply...