Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17656
| From | nospam@ms.com |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: incorrect PHP code |
| Date | 2018-01-18 17:01 +0000 |
| Message-ID | <jak16dpmnfilemklnd1lmieevibvrflgsi@4ax.com> (permalink) |
| References | <e3016dthjg2scalgsutum253478r4t1dsh@4ax.com> <p3qarg$hfm$1@solani.org> <glg16dtr9pkfg0hjtttepj7aiiqlg4engm@4ax.com> <p3qhdd$mb0$1@solani.org> |
On Thu, 18 Jan 2018 17:18:56 +0100, "Christoph M. Becker"
<cmbecker69@arcor.de> wrote:
>> The PHP spits out the following HTML code;
>>
>> <img
>> src="scripts/captcha/index.php?PHPSESSID=331f5041b67145685c5401104c602876"
>> style="vertical-align:middle" />
>
>That's basically fine.
>
>> So for some reason the IMG element fails to load the image.
>
>I'd paste the URL of the image into the browser's address line, and
>check the response; particularly the status code, and in case of 200,
>I'd check the response body, if necessary with a hex viewer.
>
>By the way, php.general isn't a newsgroup, as far as I know. Did you
>mean the php-general@lists.php.net mailing list?
There is a USENET group php.general, but it has very few new posts.
Is there a PHP user forum somewhere, on the web?
When I type;
http://c-compiler.com/scripts/captcha/index.php?PHPSESSID=331f5041b67145685c5401104c602876
into MSIE, it says;
Fatal error: Uncaught Error: Call to undefined function
imagecreatefrompng() in
/home/ccompiler12/public_html/scripts/captcha/kcaptcha.php on line 49
( ! ) Error: Call to undefined function imagecreatefrompng() in
/home/ccompiler12/public_html/scripts/captcha/kcaptcha.php on line 49
Call Stack
# Time Memory Function Location
1 0.0000 354104 {main}( ) .../index.php:0
2 0.0002 355304 KCAPTCHA->KCAPTCHA( ) .../index.php:33
So it's not finding function imagecreatefrompng.
The help page for imagecreatefrompng is at;
http://php.net/manual/en/function.imagecreatefrompng.php
How do I get this function working? It seems to be the absence of this
particular function which is the issue.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
incorrect PHP code nospam@ms.com - 2018-01-18 11:12 +0000
Re: incorrect PHP code Ifrit <ifrit@jahannam> - 2018-01-18 12:57 +0100
Re: incorrect PHP code nospam@ms.com - 2018-01-18 12:02 +0000
Re: incorrect PHP code Ifrit <ifrit@jahannam> - 2018-01-18 14:36 +0100
Re: incorrect PHP code Ifrit <ifrit@jahannam> - 2018-01-18 14:39 +0100
Re: incorrect PHP code Ifrit <ifrit@jahannam> - 2018-01-18 16:33 +0100
Re: incorrect PHP code nospam@ms.com - 2018-01-18 15:51 +0000
Re: incorrect PHP code "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-01-18 15:26 +0100
Re: incorrect PHP code nospam@ms.com - 2018-01-18 15:57 +0000
Re: incorrect PHP code "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-01-18 17:18 +0100
Re: incorrect PHP code nospam@ms.com - 2018-01-18 17:01 +0000
Re: incorrect PHP code "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-01-18 18:18 +0100
Re: incorrect PHP code nospam@ms.com - 2018-01-18 17:30 +0000
Re: incorrect PHP code "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-01-18 18:37 +0100
PHP forums (was: incorrect PHP code) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-01-18 19:27 +0100
Re: PHP forums (was: incorrect PHP code) Tim Streater <timstreater@greenbee.net> - 2018-01-18 22:09 +0000
Re: incorrect PHP code Jerry Stuckle <jstucklex@attglobal.net> - 2018-01-18 22:01 -0500
Re: incorrect PHP code Jerry Stuckle <jstucklex@attglobal.net> - 2018-01-18 22:06 -0500
Re: incorrect PHP code Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-01-18 19:08 +0100
Re: incorrect PHP code Arno Welzel <usenet@arnowelzel.de> - 2018-09-05 09:40 +0200
Re: incorrect PHP code inigojoseph89@gmail.com - 2018-01-22 23:07 -0800
Re: incorrect PHP code Jerry Stuckle <jstucklex@attglobal.net> - 2018-01-23 07:53 -0500
Re: incorrect PHP code careenjoseph36@gmail.com - 2018-03-06 01:49 -0800
csiph-web