Giter VIP home page Giter VIP logo

simple-php-captcha's Introduction

simple-php-captcha's People

Contributors

alschwalm avatar claviska avatar k00ni avatar macedd avatar yasirmturk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-php-captcha's Issues

Output error

The captcha does not show.

Output:
Array
(
[code] => 49cTm
[image_src] => /hp-captcha.php?_CAPTCHA&t=0.39992300+1464080100
)
Even when I change the file simple-php-captcha.php to force the proper output, the image won't load, so I guess there is another problem.

Please help

something's wrong with generating image path

my path is /media/mvm/Home/Dropbox/Privat/Programming/PHP/site.com/www/vendor/simple-php-captcha-master

but $image_src becomes /e/Dropbox/Privat/Programming/PHP/site.com/www/vendor/simple-php-captcha-master/simple-php-captcha.php

The catpcha refuse to display on website, but works on local.

So basically the captcha works on local wamp server. But when i put it on my ftp (i put all files in same folder, like in local). The image refuses to show up.

I did this to check something : "echo $_SESSION['captcha']['image_src'];"

and i get : /aptcha.php?_CAPTCHA&t=0.80883100+1340844566

So i thought that i should put manually " /captcha.php?_CAPTCHA&t=0.80883100+1340844566" in the $image_src variable.....but it didn't work. Can you please help.

Thanks in advance !

Loading via Composer

Can you add a composer.json and/or add your package to packagist?
Then your package can be installed via the package manager composer.

Currently this is not possible, even not when adding you library to composer via repositories reference, because it can not find a composer.json file in your repository.

Captcha bypass vulnerability

The simple-php-captcha.php file has a vulnerability enabling a client to generate the captcha response automatically, effectively bypassing the captcha.

Since microtime() is used both in the initial seed for the captcha and in the captcha url path sent to the client, it is possible to generate the captcha result automatically by running the same code client-side.

I can share a proof of concept privately if you need it. Just let me know how to reach you.

**New Maintainer Needed**

This was a fun project while it lasted, but I no longer have time to commit to maintaining it. If you're up for adopting it, please let me know below.

Mobile

Working on pc perfect, but on mobile, there is no image. Is this happening just to me?

Undefined index "_CAPTCHA"

I'm having an issue. The image isn't showing up and when I view the image URL I get this error:

_Notice: Undefined index: CAPTCHA in /Applications/MAMP/htdocs/gifsite/plugins/captcha/simple-php-captcha.php on line 113

Not sure what's going on here, but it looks like it's something wrong with the code for simple-php-captcha.

Thanks,
Nathan

How to verify captcha?

I can see captcha image but i want to verify the captcha in send_mail.php.

if($_SESSION['captcha']['code'] === $captcha) { echo "Massage was sent."; } else { echo "Mailer Error: " . $mail->ErrorInfo; exit; }

I couldn't run it.

captcha create wrong image.!

Hi.
It seems that captcha create wrong image :

wrong

the text is result of : echo $_SESSION['captcha']['code']; and its different from the created photo by captcha.

Background not respecting alpha channel

To fix just add this two lines ~ line 115

    imagealphablending($captcha, true); // setting alpha blending on
    imagesavealpha($captcha , true); // save alphablending setting (important)

Sorry if this isn't the right way to do this. I'm new to GitHub :)

PHP Notice: Undefined index: _CAPTCHA

Im trying to load the image on ajax. The image is not loading and when I checked the log its showing as PHP Notice: Undefined index: _CAPTCHA
Please help me out.

Configuration as /Alias in Apache2

Hello,
I've an issue when i try to configure the captcha on a website Alias in Apache2.
When it is on the principal web site it works but when i try to configure it on an /alias page, the captcha's image don't appair.
Somone have an idea ?

Best regards,

Image disappears

I have been using the captcha for a while now with no itch, but later I discovered that it doesn't work well on mobile phones it disappears after a few seconds of page load but works well on the desktop .
How do I go about this?

Stopped working

Hi there, I had this script working perfectly on two sites and suddenly today I noticed that both are just showing a missing image. Here is the link to one: http://forum-ids.org/contact/.

Do you have any idea why this might have happened? Your help is greatly appreciated!

Warmest regards,
Kate

Loading speed issues

Hello,

Its working well but i have loading speed issue of captcha image, my server have best configuration only its response completed in last of my site.

Any suggestion

Image reload.

How can I reload the image in case the user wants a new one?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.