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

  • Home
  • SEARCH
  • 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 787803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:15:50+00:00 2026-05-14T21:15:50+00:00

I created a captcha just now, and it works PERFECTLY on my own server.

  • 0

I created a captcha just now, and it works PERFECTLY on my own server. On the school’s server, it doesn’t generate an image. Why might this be? The difference in code is one line.

Edit: Originally, it was working, but I deleted the directory by mistake and I do not know why did it suddenly work in the first place.

Update: I var_dumped() everything and everything is being set correctly.
Source code on school server:

Update: I figured it out! I’ll post the answer later.

  • 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-05-14T21:15:50+00:00Added an answer on May 14, 2026 at 9:15 pm

    It is just useless to direct such kind of questions to SO.
    There must be thousands of reasons.
    And, of course, without access to your server and environment, nobody can say, just by looking into working code.

    The only person who can answer this question is you yourself.
    With help of your server, of course.
    You must ask your server for errors.

    ini_set('display_errors',1);
    error_reporting(E_ALL);
    

    but sometimes (in case of parse errors for example) this won’t work. In this case you have to either set these params via .htaccess or check web-server’s error log.

    Also, you have to do something.
    At least add some text output in the script to be sure it being executed.
    print out variables using var_dump() to ensure thy contain right values.
    Add an intentional error to ensure you CAN see them if any.
    Do something, don’t sit watching code!

    Some more info on how to help yourself: http://www.ibm.com/developerworks/library/os-debug/

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

Sidebar

Related Questions

I have created PHP GD image for captcha, file called image.php each time it
I used that article on code project to create my own Captcha image, is
I have created a captcha which looks like this: <img src=/cgi-bin/rand.pl /> The problem
I have an image created with php. <img src=captcha.php /> How can i put
I created a captcha for a contact form. Everything works fine but whatever the
I have created my custom captcha image, which is not rendering due to missing
I have created a captcha image making program with PHP <?php function word($n) {
I'm using captcha helper from CodeIgniter to generate Captcha image for registration user. I've
Created .NET WCF service, tested it - works. Generated schemas from Data and service
I created a python server on port 8000 using python -m SimpleHTTPServer . When

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.