Web Analytics Made Easy -
StatCounter GD lib in PHP questions - CodingForum

Announcement

Collapse
No announcement yet.

GD lib in PHP questions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GD lib in PHP questions

    I have a few questions about GD in PHP. If I have a premade gif that I want to set as the background of an image Im making on the fly how would I do that?
    -bubbles

  • #2
    http://us3.php.net/imagecreatefromgif
    eak | "Doing a good deed is like wetting your pants; every one can see the results, but only you can feel the warmth."

    Comment


    • #3
      Im trying to post this code on my myspace:

      Code:
      <a href="mypage.php"><img src="myimage.php"></a>
      The problem is that myspace doesnt allow you to run php scripts in IMG SRC. Probably for security reasons. I tried renaming myimage.php to myimage.gif but when I try to view it I just get the code. If i look at it in an IMG SRC tag it doesn't show up. Is there a way I can have myimage.gif but have it be a php file?
      -bubbles

      Comment


      • #4
        tripod??

        try making an account on tripod for the image creator

        Comment


        • #5
          Would it be possible to do a mod rewrite?

          Change:
          http://hugelaughs.com/stuff/aimonlin...u=bubbles19518

          To:
          http://hugelaughs.com/stuff/aimonline/bubbles19518.gif

          Then I can just delete ".gif" from the "u" variable?

          Only problem is i have no clue how to do a mod rewrite.
          -bubbles

          Comment

          Working...
          X