php-general Digest 7 May 2006 15:16:51 -0000 Issue 4114
Topics (messages 235687 through 235689):
Re: causing HTTP error status
235687 by: Richard Lynch
Re: List of sessions
235688 by: Richard Lynch
Re: Creating an OO Shopping Cart
235689 by: Porpoise
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
On Sat, May 6, 2006 5:28 am, Rabin Vincent wrote:
>> I gotta go with Nic on this...
>>
>> Either I'm being really obtuse, or it just plain don't work right.
>>
>> Consider this minimalist example:
>>
>> http://l-i-e.com/404/test.php
>> http://l-i-e.com/404/index.htm
>>
>> The 404 header is being completely ignored, afaict
>>
>> I tried adding "exit;" right after the header, and my browser just
>> goes way long time and then times out.
>>
>> I tried HTTP/1.1 and that made no difference.
>>
>> I'd suggest checking http://bugs.php.net and filing a bug report if
>> it's not a known issue...
>>
>> Unless somebody can point out something wrong in our logic.
>
> The doc paragraph refers to a PHP error handler script. In
> the case of a normal script like your test case:
Yeah, I realized I was thinking inside-out after I slept on it.
mea culpa
Actually, I'm blaming the DaQuil...
It does seem "odd" to me that from within a PHP script you can't just
send the headers you want and whatever consequences that has...
But then I guess we'd have a TON of scripts violating standards about
not sending more data after a 40x code, or worse.
--
Like Music?
http://l-i-e.com/artists.htm
--- End Message ---
--- Begin Message ---
On Sat, May 6, 2006 9:42 am, tedd wrote:
> While we're on the subject of listing sessions, what does the
> following code do?
Looks like it snoops through all the sessions it can find.
I suspect it will also NUKE the last session, where 'last' is whatever
order readdir() feels like returning, which is not defined as any
particular order...
At least, I assume that after setting $_SESSION to array() that last
time and ending, it's going to have nuked the last session...
It might actually nuke them all for that matter...
If session_decode() switches the ID around as well, then its gonna
nuke them all, no?
Maybe it's just a re-boot nuke all old sessions script...
--
Like Music?
http://l-i-e.com/artists.htm
--- End Message ---
--- Begin Message ---
""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Contact the bank with which you already HAVE a merchant account for
your point-of-sale credit card swiper thingies.
You're already working with them, paying them good money for
essentially the "same" services.
Different Service
Almost-for-sure they would be happy to provide you with on-line
merchant account for not too much more than you already pay them.
Not necessarily. In shop POS services are not generally provided by the
banks either. They are usually provided by a seperate entity (which may be
*owned* by a bank or several banks [aka Streamline in the UK] and do not
necessarily provide online clearance as well [Streamline don't for example].
There are, however, a number of organisations that do online cc clearance
and will work in partnership with most of the offline clearing houses. Your
existing offline clearing-house/bank will usually provide you with a list of
these, although, they generally *won't* recommend any particular one.
If not, I'm guessing that their competitors WILL do a package deal of
on-line and POS merchant account, for the same price you're paying
now, to lure you away from your current bank.
Firstly, they are not competitors - they are business partners with your POS
provider and provide a service in conjunction with your existing provider.
They will not replace it - for the simple reason, these online clearance
companies are not banks - they are online payment *clearance* companies -
the actual payments are still conducted through your existing bank accounts.
SNIP
--- End Message ---