Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17655

Re: incorrect PHP code

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: incorrect PHP code
Date Thu, 18 Jan 2018 17:18:56 +0100
Organization solani.org
Lines 36
Message-ID <p3qhdd$mb0$1@solani.org> (permalink)
References <e3016dthjg2scalgsutum253478r4t1dsh@4ax.com> <p3qarg$hfm$1@solani.org> <glg16dtr9pkfg0hjtttepj7aiiqlg4engm@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1516292333 22880 eJwFwQcRADAIBDBL5fihh3H4l9CEqdAYosDjofo57phhIkcubRtY1MvGDZ2LkyrajQ8VMBD3 (18 Jan 2018 16:18:53 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Thu, 18 Jan 2018 16:18:53 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
X-User-ID eJwNysEBwCAIA8CVoELQcUDI/iPYe58vKG4YHOZ0fiVl1jrsGlYXGHosRWPW5s083rmhOfinPD3FEg8=
Cancel-Lock sha1:N8ttGGr4QibiwFUj+M4dW48CA2E=
Content-Language de-DE
X-NNTP-Posting-Host eJwFwQkBACAIBLBK8gpx4IT+EdxMnBxX3VxtbU8RD8CHrauwMhbPY5JyvXGpNWQeMvFA4A8tgxHr
In-Reply-To <glg16dtr9pkfg0hjtttepj7aiiqlg4engm@4ax.com>
Xref csiph.com comp.lang.php:17655

Show key headers only | View raw


On 18.01.2018 at 16:57, nospam@ms.com wrote:

> On Thu, 18 Jan 2018 15:26:58 +0100, "Christoph M. Becker"
> <cmbecker69@arcor.de> wrote:
> 
>> On 18.01.2018 at 12:12, nospam@ms.com wrote:
>>
>>> The following PHP code does not work correctly;
>>
>> What do you expect the code to do, and what does it do?  See also
>> <http://www.catb.org/esr/faqs/smart-questions.html>.
> 
> It's for a CAPTCHA verification. It's hosted with GoDaddy. On the old
> server, it worked. It's been transferred to a new server, and it
> doesn't work.
> 
> 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?

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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