php-general Digest 21 Jul 2012 18:21:39 -0000 Issue 7895
Topics (messages 318541 through 318550):
Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal
318541 by: Lester Caine
318545 by: Paul M Foster
318546 by: Jeff Burcher
318548 by: Lester Caine
Re: What do you call the end-user?
318542 by: Robert Williams
318549 by: Tim Streater
Re: Creating drop-down menus
318543 by: tamouse mailing lists
318544 by: tamouse mailing lists
318547 by: Daniel Brown
PHP OpenSSL - Problem with "openssl_pkcs7_verify"
318550 by: Samuel Lopes Grigolato
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Paul M Foster wrote:
Here's another one: There are currently discussions in the U.S. Congress
in favor of forcing internet vendors to charge sales tax on*all* sales,
regardless of whether the vendor has a presence in that state or not.
Imagine having to file state sales tax returns in 50 states. This effort
has rather significant bipartisan support. Now ask yourself what large
corporation with brick and mortar stores *wouldn't* sign on to support
this one? That's what you're up against. You've got Amazon.com on your
side. Yay. You might want to get busy on that one.
In Europe VAT is applied even on on-line sales. It is the likes of Amazon
shipping bulk stock from overseas 'clients' into European warehouses and then
supplying them without VAT added directly in Europe that is the problem! How can
I compete with someone who is also giving next day delivery, but 20% cheaper ...
American sellers are one of the problems here.
There are two sides to every problem and simply fighting for one side is as bad.
What is needed is a reasoned debate rather than things like 'The Cat Signal'
which personally I find as objectionable as the laws it's complaining about!
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--- End Message ---
--- Begin Message ---
On Fri, Jul 20, 2012 at 09:04:30AM +0100, Lester Caine wrote:
> Paul M Foster wrote:
> >Here's another one: There are currently discussions in the U.S. Congress
> >in favor of forcing internet vendors to charge sales tax on*all* sales,
> >regardless of whether the vendor has a presence in that state or not.
> >Imagine having to file state sales tax returns in 50 states. This effort
> >has rather significant bipartisan support. Now ask yourself what large
> >corporation with brick and mortar stores *wouldn't* sign on to support
> >this one? That's what you're up against. You've got Amazon.com on your
> >side. Yay. You might want to get busy on that one.
>
> In Europe VAT is applied even on on-line sales. It is the likes of
> Amazon shipping bulk stock from overseas 'clients' into European
> warehouses and then supplying them without VAT added directly in
> Europe that is the problem! How can I compete with someone who is
> also giving next day delivery, but 20% cheaper ... American sellers
> are one of the problems here.
>
> There are two sides to every problem and simply fighting for one
> side is as bad. What is needed is a reasoned debate rather than
> things like 'The Cat Signal' which personally I find as
> objectionable as the laws it's complaining about!
The real problem is the VAT tax itself. In my opinion, VAT is worse than
direct income tax. The only good thing about VAT is that you
(presumably) don't have to file returns with every state/province
involved.
Paul
--
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com
--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: Lester Caine [mailto:les...@lsces.co.uk]
> Sent: Friday, July 20, 2012 4:05 AM
> To: php-gene...@lists.php.net
> Subject: Re: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal
>
> Paul M Foster wrote:
> > Here's another one: There are currently discussions in the U.S.
> > Congress in favor of forcing internet vendors to charge sales tax
> > on*all* sales, regardless of whether the vendor has a presence in that
> state or not.
> > Imagine having to file state sales tax returns in 50 states. This
> > effort has rather significant bipartisan support. Now ask yourself
> > what large corporation with brick and mortar stores *wouldn't* sign on
> > to support this one? That's what you're up against. You've got
> > Amazon.com on your side. Yay. You might want to get busy on that one.
>
> In Europe VAT is applied even on on-line sales. It is the likes of Amazon
> shipping bulk stock from overseas 'clients' into European warehouses and
> then supplying them without VAT added directly in Europe that is the
> problem! How can I compete with someone who is also giving next day
> delivery, but 20% cheaper ...
> American sellers are one of the problems here.
>
> There are two sides to every problem and simply fighting for one side is
as
> bad.
> What is needed is a reasoned debate rather than things like 'The Cat
Signal'
> which personally I find as objectionable as the laws it's complaining
about!
>
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve -
> http://enquirysolve.com/ Model Engineers Digital Workshop -
> http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
This sounds more like a business annoyance than an internet freedom problem,
but okay. Technically, in the US, I thought it is the end-consumer that
needs to pay a sales tax to the state where they live. Consumer retail
businesses are required to tack them on at the point of sale as a
convenience for both the consumer and the government, then pass the money
on. The seller only pays taxes, to the municipality(s) where their business
is physically located, based on their net profit. So the sales tax itself
does not come out of the company's pocket. The company bears the cost of
tracking, processing, and forwarding the taxes to the government(s)
involved, but that is a deductible expense. Sales taxes are a tedious, but
not costly, normal business expense.
Really, how hard is it for computer savvy people to sort their sales
transactions by customer's state and sum up the sales tax amounts paid so
they can write a check every quarter. Many businesses would be happy to have
to mail 50 checks every quarter, one to each state. That means they are
making sales in every state! That sounds like a profitable business to me.
And as far as filling out 50 sales and use tax forms each quarter, they have
these things called computers now that make pulling in data and printing
forms happen at the touch of a button. Maybe some enterprising programmer
could write software to do just that and sell it on the internet.
We need to stop playing idealistic revolutionary and help shape real
solutions. The fact that you are allowed to run a business on the internet
is the internet freedom you are looking for. You have won the revolution!
Now, deal with the realities of running a business. Putting your business on
the internet should not be a magic pass to avoid the costs of doing
business. We need to admit we are part of the system and figure out a
streamlined way for internet businesses to pay their fair share. The "Free"
in free economy does not mean it doesn't cost money, time, effort, etc. to
do business.
The internet is not a magic cloud run by fairy dust. The internet was
created by military and higher educational systems, both tax supported
entities. Corporations and governments maintain the infrastructure that
keeps the internet working. Without governments and corporations there would
be no internet. They are the internet. The alternative is to go back to ham
radios. Sorry for the rant, this is a hot button topic for me.
Jeff Burcher - IT Dept
Allred Metal Stamping
PO Box 2566
High Point, NC 27261
(336)886-5221 x229
j...@allredmetal.com
--- End Message ---
--- Begin Message ---
Paul M Foster wrote:
There are two sides to every problem and simply fighting for one
>side is as bad. What is needed is a reasoned debate rather than
>things like 'The Cat Signal' which personally I find as
>objectionable as the laws it's complaining about!
The real problem is the VAT tax itself. In my opinion, VAT is worse than
direct income tax. The only good thing about VAT is that you
(presumably) don't have to file returns with every state/province
involved.
The EU does have VAT sorted nicely across all the states of Europe, and I simply
fill in a VAT return each quarter in the UK. For VAT registered European
customers we simply bill them 0% rated, so there is no need for cross border
paperwork at all. But European customers who are not VAT registered pay the rate
of of the country the supplier is based in, which gives some small plus and
minus advantages. Anything that comes into Europe through proper channels will
also have VAT added as part of 'customs charges' and businesses simply claim it
back, hence the irritation at supply channels bypassing the normal trade routes
:( In theory those goods should have had VAT paid when they came into a European
warehouse, so it would be nice to know what loophole they use to avoid it ;)
And at least VAT only applies when I spend money, higher income tax would hit
everything I earn ... but this is getting very much off topic for the list, as
'The Cat Signal' is anyway in my book.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--- End Message ---
--- Begin Message ---
On Jul 20, 2012, at 0:59, "Adam Nicholls" <adam.nicho...@hl.co.uk> wrote:
> Personally if I'm feeling a bit cheeky I'll go with "Muggle" - (thanks to J K
> Rowling!) - people just don't appreciate the magic involved behind the scenes
> in usability, infrastructure, application logic etc.
Wow. I really, really (, really) hate to admit it, but that actually fits
extremely well. Damn.
--
Bob Williams
Notice: This communication, including attachments, may contain information that
is confidential. It constitutes non-public information intended to be conveyed
only to the designated recipient(s). If the reader or recipient of this
communication is not the intended recipient, an employee or agent of the
intended recipient who is responsible for delivering it to the intended
recipient, or if you believe that you have received this communication in
error, please notify the sender immediately by return e-mail and promptly
delete this e-mail, including attachments without reading or saving them in any
manner. The unauthorized use, dissemination, distribution, or reproduction of
this e-mail, including attachments, is prohibited and may be unlawful. If you
have received this email in error, please notify us immediately by e-mail or
telephone and delete the e-mail and the attachments (if any).
--- End Message ---
--- Begin Message ---
On 19 Jul 2012 at 18:26, Tedd Sperling <t...@sperling.com> wrote:
> First question:
>
> What do you call the people who ultimately use your code?
I expect I'll call her "Dear". See, my app, a replacement for Eudora, is used
by yours truly only at the mo. However, come time to upgrade SWMBO's Mini,
which will run Lion or perhaps ML, Eudora will cease to function and I'll move
her onto my app.
> This question transcends your code working correctly, accurately, and securely
> -- no need to comment on those aspects. But rather more specifically do you
> consider how easily your "whomever" can use your work efforts?
In principle, yes. But that's a bit hard at the moment.
--
Cheers -- Tim
--- End Message ---
--- Begin Message ---
On Jul 19, 2012 8:31 PM, "Tedd Sperling" <t...@sperling.com> wrote:
>
> On Jul 19, 2012, at 1:50 PM, Daniel Brown <danbr...@php.net> wrote:
> >
> > As an aside on the subject of jQuery, our very own Jay Blanchard
> > has written a comprehensive book on the topic entitled "Applied
> > jQuery: Develop and Design":
> >
> > http://links.parasane.net/92xb
> >
>
> Just bought it -- thanks. I'll add it to my other three jQuery books
>
> Always support the people on this list.
>
> Cheers,
>
> tedd
>
> _____________________
> t...@sperling.com
> http://sperling.com
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
I have to ask, is it available in a non-DRMed shook format?
--- End Message ---
--- Begin Message ---
On Jul 20, 2012 9:20 AM, "tamouse mailing lists" <tamouse.li...@gmail.com>
wrote:
>
>
> On Jul 19, 2012 8:31 PM, "Tedd Sperling" <t...@sperling.com> wrote:
> >
> > On Jul 19, 2012, at 1:50 PM, Daniel Brown <danbr...@php.net> wrote:
> > >
> > > As an aside on the subject of jQuery, our very own Jay Blanchard
> > > has written a comprehensive book on the topic entitled "Applied
> > > jQuery: Develop and Design":
> > >
> > > http://links.parasane.net/92xb
> > >
> >
> > Just bought it -- thanks. I'll add it to my other three jQuery books
> >
> > Always support the people on this list.
> >
> > Cheers,
> >
> > tedd
> >
> > _____________________
> > t...@sperling.com
> > http://sperling.com
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> I have to ask, is it available in a non-DRMed shook format?
Ok, so shook is what ebook autocorrects to....
--- End Message ---
--- Begin Message ---
On Fri, Jul 20, 2012 at 10:21 AM, tamouse mailing lists
<tamouse.li...@gmail.com> wrote:
> On Jul 20, 2012 9:20 AM, "tamouse mailing lists" <tamouse.li...@gmail.com>
> wrote:
>> On Jul 19, 2012 8:31 PM, "Tedd Sperling" <t...@sperling.com> wrote:
>> > On Jul 19, 2012, at 1:50 PM, Daniel Brown <danbr...@php.net> wrote:
>> > >
>> > > As an aside on the subject of jQuery, our very own Jay Blanchard
>> > > has written a comprehensive book on the topic entitled "Applied
>> > > jQuery: Develop and Design":
>> > >
>> > > http://links.parasane.net/92xb
>> > >
>> >
>> > Just bought it -- thanks. I'll add it to my other three jQuery books
>> >
>> > Always support the people on this list.
>> >
>>
>> I have to ask, is it available in a non-DRMed shook format?
>
> Ok, so shook is what ebook autocorrects to....
Not sure. Jay, can you address Tamara's question?
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/
--- End Message ---
--- Begin Message ---
Hello,
I'm having some trouble trying to put the "openssl_pkcs7_verify" function to
work.
I have a file signed with a valid certificate with this software:
<http://www.signfiles.com/p7s-signer/> http://www.signfiles.com/p7s-signer/
What I'm trying to achieve is to extract the contents of the signed file
inside PHP. This is what I've got looking to php.net documentation:
$path = "fullpath/filename.p7s";
$results = openssl_pkcs7_verify($path, 0);
//$results = openssl_pkcs7_verify($path, PKCS7_BINARY); same problem
//$results = openssl_pkcs7_verify($path, PKCS7_TEXT); same problem
echo "Verification results: " . $results;
while ($msg = openssl_error_string()) {
echo "\n" . $msg;
}
When I execute this piece of script the following output is echoed:
Verification results: -1
error:02001003:system library:fopen:No such process
error:2006D080:BIO routines:BIO_new_file:no such file
error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
error:0B065068:x509 certificate routines:BY_FILE_CTRL:loading defaults
error:0D0D20CC:asn1 encoding routines:SMIME_read_ASN1:no content type
This is the php -version output:
PHP 5.4.5 (cli) (built: Jul 18 2012 22:25:51)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
I'm on Windows 7 64 bits operating system, the binary is the latest stable
build available today on php.net.
Could someone please suggest what else can I try? Tried to google
"SMIME_read_ASN1:no content type" but nothing so far.
Regards,
Samuel.
--- End Message ---