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


Groups > comp.lang.php > #10192

Re: A curious thing...about tags.

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: A curious thing...about tags.
Date 2013-07-22 20:59 -0400
Organization A noiseless patient Spider
Message-ID <kskk68$9k8$1@dont-email.me> (permalink)
References (10 earlier) <ksk0aa$2gv$1@dont-email.me> <ksk64n$1pf$1@dont-email.me> <ksk886$2gv$2@dont-email.me> <kskeod$j61$1@dont-email.me> <kskgfg$qb3$1@dont-email.me>

Show all headers | View raw


On 7/22/2013 7:56 PM, Norman Peelman wrote:
> On 07/22/2013 07:27 PM, Jerry Stuckle wrote:
>> On 7/22/2013 5:29 PM, Denis McMahon wrote:
>>> On Mon, 22 Jul 2013 17:00:00 -0400, Jerry Stuckle wrote:
>>>
>>>> On 7/22/2013 3:14 PM, Denis McMahon wrote:
>>>>> On Mon, 22 Jul 2013 17:41:13 +0100, Tim Streater wrote:
>>>>>
>>>>>> Then get a clue. TNP uses PHP at the command line with:
>>>>>>
>>>>>> php -a
>>>>>>
>>>>>> He then enters:
>>>>>>
>>>>>> echo "this";
>>>>>>
>>>>>> at the prompt, and it hangs. There. That wasn't too hard to figure
>>>>>> out,
>>>>>> was it.
>>>>>
>>>>> Then it's something in his configuration that's different to my
>>>>> command
>>>>> line configuration.
>>>>>
>>>>>
>>>> Works the same for me as it did for Tim.
>>>>
>>>> Maybe you hit ctrl-Z (or ctrl-D on linux)?
>>>
>>> Nope, I did the following as Tim posted, starting from a shell prompt:
>>>
>>> php -a
>>> echo "this";
>>>
>>> And what appears on my screen is this:
>>>
>>> $ php -a
>>> Interactive shell
>>>
>>> php > echo "this";
>>> this
>>> php > exit
>>> $
>>>
>>> So if TNPs system is hanging after he enters the 'echo "this";' then my
>>> bet is that it's something he did to his configuration.
>>>
>>
>> What I get in both Windows and Linux is:
>>
>> C:\>php -a
>> Interactive mode enabled
>>
>> echo "this";
>>
>> Then after doing ctrl-Z (ctrl-D in Linux)
>>
>> echo "this";
>>
>> I could check through the php.ini options to see what affects this, but
>> considering the source of the problem, I really don't care.
>>
>
>    I do believe you need to use proper starting and ending tags. You're
> output indicates PHP has simply passed-thru the text you entered. But
> yes CTRL-D or Z maybe should be the proper way to 'run' the code in
> Interactive *Mode*
>
>
>

I agree with the tags - I've always used them when testing.  Here, I was 
entering the text exactly as Dennis did, and showing I did NOT get the 
results he did.


-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

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


Thread

A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-20 12:00 +0100
  Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-20 12:40 +0100
    Re: A curious thing...about tags. Tim Streater <timstreater@greenbee.net> - 2013-07-20 14:29 +0100
  Re: A curious thing...about tags. Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2013-07-20 13:41 +0200
  Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-20 08:46 -0400
  Re: A curious thing...about tags. Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2013-07-20 17:09 +0200
    Re: A curious thing...about tags. Christoph Michael Becker <cmbecker69@arcor.de> - 2013-07-20 18:12 +0200
      Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-21 18:08 +0100
    Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-20 13:40 -0400
    Re: A curious thing...about tags. Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-20 18:33 +0000
      Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-21 18:14 +0100
        Re: A curious thing...about tags. Richard Damon <Richard@Damon-Family.org> - 2013-07-21 14:31 -0400
          Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-21 20:35 +0100
            Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-21 18:21 -0400
              Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-22 08:47 +0100
                Re: A curious thing...about tags. Tim Streater <timstreater@greenbee.net> - 2013-07-22 09:13 +0100
                Re: A curious thing...about tags. "Alex vdB" <alex@invalid> - 2013-07-22 11:15 +0200
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 06:30 -0400
                Re: A curious thing...about tags. "AvdB" <nomail@example.invalid> - 2013-07-23 00:13 +0200
                Re: A curious thing...about tags. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-24 22:58 +0200
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 06:31 -0400
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 06:31 -0400
                Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-22 15:25 +0100
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 19:46 -0400
                Re: A curious thing...about tags. Tim Streater <timstreater@greenbee.net> - 2013-07-22 17:41 +0100
                Re: A curious thing...about tags. Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-22 19:14 +0000
                Re: A curious thing...about tags. Jerry Stuckle <jstucklex@attglobal.net> - 2013-07-22 17:00 -0400
                Re: A curious thing...about tags. Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-22 21:29 +0000
                Re: A curious thing...about tags. Christoph Michael Becker <cmbecker69@arcor.de> - 2013-07-23 00:27 +0200
                Re: A curious thing...about tags. Jerry Stuckle <jstucklex@attglobal.net> - 2013-07-22 19:27 -0400
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 19:56 -0400
                Re: A curious thing...about tags. Jerry Stuckle <jstucklex@attglobal.net> - 2013-07-22 20:59 -0400
                Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-23 20:02 +0100
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 19:52 -0400
                Re: A curious thing...about tags. Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-23 09:40 +0000
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-23 06:22 -0400
                Re: A curious thing...about tags. Tim Streater <timstreater@greenbee.net> - 2013-07-23 13:07 +0100

csiph-web