Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7848471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:13:00+00:00 2026-06-02T18:13:00+00:00

Here is my site. I’m trying to make its own testing URL for the

  • 0

Here is my site. I’m trying to make its own testing URL for the moment:

http://boats.instantonlinesuccess.co.uk/boat-names.html

If you look at it you can see what I am trying to do. I’m trying to link the JavaScript to my PHP, so the writing appears with the effects / effect colours / colours. It’s all generated via a PHP script which I’m trying to write.

Here is my PHP:

<?php header("Content-type: image/png");
    $string = $_GET['text'];
    $currentFont =$_GET['font'];
    $currentTextColour = $_GET['colour'];
    $currentEffect = $_GET['effect'];
    $currentEffectColour = $_GET['effectcolour'];
    $im = imagecreatefrompng("images/test.png");
    $px = (imagesx($im) - 7.5 * strlen($string)) / 2;
    //if you exactly know the RGB color indexes//
    $rgb = imagecolorexact($im, 0, 0, 0);
    //or keep the rgb color by position so at top 0 left 0 
    $rgb = imagecolorat($im, 0, 0);
    imagecolortransparent($im, $rgb);
    imagestring($im, 64, $px, 16, $string, $currentTextColour);
    imagepng($im); imagedestroy($im); 
?>

If you need the JavaScript, then let me know.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:13:02+00:00Added an answer on June 2, 2026 at 6:13 pm

    You could try changing your first line to this to debug the issue:

    header('Content-Type: text/plain');

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Firstly you'll find my site here. I have div: <div class=home style=background-image: url(http://payload51.cargocollective.com/1/7/237315/3336908/HomeImage_o.jpg); background-attachment:
You can view my site here - http://patiss-themes.com/planetary/ and as you can see on
I've got a test site here with two columns, both with absolute positioning. http://dl.dropbox.com/u/17844821/zeug/heighttest.html
I'm developing this site here for a client of mine: http://test.bebiafricanhairbraiding.com/osa/index.html I've encountered a
We have a Joomla 1.5 site here : http://printversal.com It got hacked last night.
I have a fixed footer on my site here: http://starprovisions.com/dev/bacchanalia.html On my 1360x768 screen
I've built a suffix tree in Java based on the site here http://marknelson.us/1996/08/01/suffix-trees/ but
I have a site here http://www.deltacars.co.uk/testsite/ The menu and hover work fine in all
Go to the site here: http://en.heroes.gpotato.eu/ and click Register. What is the jquery function
I got this site here http://inauguralseason.com/ and if you click on contact us in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.