PHP GD support problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rsbgm
    New Member
    • Mar 2009
    • 23

    #16
    @hoopy

    Yes, it seems that IIS doesn't log errors. I'm not really sure about this too.

    @markus

    I couldn't access specific elements as outline in php.net. I tried it several times. As far as the registry is concerned, I only added a key. I did not change anything. But...... Alas! I somehow stumbled into a solution accidentally.

    Now, I'm not sure if this provides good info for everyone. This is kinda embarrassing too. You may want to check it out on your side as well.

    If I understand it correctly, the 'php' after the '<?' at the start of the code is not necessary. I guess not for all circumstances. For some reason, I saw that I am missing the 'php' after the '<?' on the phpinfo.php code to display the phpinfo(). I always place it as a good programming practice. And when I typed it back, everything is fine now. I can see the phpinfo() again. If I remove it, the page will display blank again. Hmmm...

    Now, I am pretty certain that if I did miss placing that 'php', how was I able to access it before the resolution of the GD functions issue. I couldn't have accidentally erased it. It was just yesterday. Dang! Now, I wouldn't know. Hehe..

    My bad!

    Oh! The gd_info() is still blank. So, we are now on the same track. Hehe..

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #17
      You don't need to use <?php if you have shorttags enabled (then you can just use <? - but most programmers are against using it).

      After checking the documentation on gd_info(), it shows the it does in fact return an array. So you have to access it like an array (not like phpinfo()).

      Glad you got everything working!

      Comment

      • rsbgm
        New Member
        • Mar 2009
        • 23

        #18
        @markus

        Thank you very much! Thanks for the gd_info() information. Now, I also understand.

        @numberhwun
        @hoopy

        Thank you very much as well.

        Thanks to every one and I hope that this thread can help others too.
        Go, go, go, PHP addicts... :D

        .

        Comment

        • Markus
          Recognized Expert Expert
          • Jun 2007
          • 6092

          #19
          Glad we could all be of help :)

          Comment

          • numberwhun
            Recognized Expert Moderator Specialist
            • May 2007
            • 3467

            #20
            Originally posted by Markus
            Glad we could all be of help :)
            Agreed! :) .

            Comment

            Working...