Jump to content

DancingNapkin

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

DancingNapkin's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Your code specifically defines $dir as $dir = "C:\\xampp\htdocs\learning\fileshare database.txt". If you're receiving that error, then you need to change the spelling in your file name.
  2. Well, I don't see $lang defined anywhere. If it is defined earlier in the code, then I'm guessing it should match $_GET['lang']. Try adding this in: if (isset $_GET['lang'])) { $lang = $_GET['lang']; I may need to see more of the code to really get a grip on what you're dong.
  3. Hello everyone, What is the best way to take HTML formatted text and overlay it on a image (presumably using php's GD functions)? Unfortunately, HTML tags are ignored and any kind of code is treated as plaintext by imagefttext(). However, I need this HTML DIV box pasted onto an image and I intend to get it done. To make things slightly worst, this is a dynamic, PHP generated DIV box. I had an idea of utilizing some kind of buffering to generate my DIV box, convert that DIV box to an image and finally paste it onto my image using the GD library. If that sounds like a reasonable idea, can someone please help me get started? Thanks in advance, guys!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.