php-general Digest 10 Mar 2010 13:29:28 -0000 Issue 6631
Topics (messages 302641 through 302653):
Revision control?
302641 by: Tom Sparks
302642 by: Phpster
302643 by: Tom Sparks
302644 by: James McLean
302645 by: Tom Sparks
Re: Anyone good with multiple SSL on Apache?
302646 by: Jochen Schultz
302647 by: Per Jessen
302648 by: Per Jessen
302649 by: Per Jessen
302650 by: Per Jessen
302651 by: Jochen Schultz
Re: Mail Function In PHP
302652 by: Michael Kubler
Execution order of PHP
302653 by: Auke van Slooten
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 ---
Is there a Revision control class that I can use in a php program?
tom_a_sparks
--- End Message ---
--- Begin Message ---
I believe pear has some stuff for subversion.
Bastien
Sent from my iPod
On Mar 9, 2010, at 7:21 PM, Tom Sparks <[email protected]>
wrote:
Is there a Revision control class that I can use in a php program?
tom_a_sparks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
--- On Wed, 10/3/10, Phpster <[email protected]> wrote:
> I believe pear has some stuff for
> subversion.
Don't want to use subversion or any third-party app
I forgot to say needs to support media files (images/sounds/etc) as well as
text based files.
I don't care if it flat-file based or database based
tom
>
> Bastien
>
> Sent from my iPod
>
> On Mar 9, 2010, at 7:21 PM, Tom Sparks <[email protected]>
>
> wrote:
>
> > Is there a Revision control class that I can use in a
> php program?
> >
> > tom_a_sparks
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
--- End Message ---
--- Begin Message ---
On Wed, Mar 10, 2010 at 11:14 AM, Tom Sparks <[email protected]> wrote:
> --- On Wed, 10/3/10, Phpster <[email protected]> wrote:
>
>> I believe pear has some stuff for subversion.
>
> Don't want to use subversion or any third-party app
Why re-invent the wheel? Just use SVN, existing libraries out there,
easy to use, easy to access and portable.
> I forgot to say needs to support media files (images/sounds/etc) as well as
> text based files.
> I don't care if it flat-file based or database based
I have stored binary data in SVN many times. No issues. IIRC it simply
stores a new copy of the entire file for each instance of binary data,
rather than storing the changes as it would with a Text file.
Cheers,
James
--- End Message ---
--- Begin Message ---
--- On Wed, 10/3/10, James McLean <[email protected]> wrote:
> On Wed, Mar 10, 2010 at 11:14 AM, Tom
> Sparks <[email protected]>
> wrote:
> > --- On Wed, 10/3/10, Phpster <[email protected]>
> wrote:
> >
> >> I believe pear has some stuff for subversion.
> >
> > Don't want to use subversion or any third-party app
>
> Why re-invent the wheel? Just use SVN, existing libraries
> out there,
> easy to use, easy to access and portable.
I just to be able to use a LAMPP setup
I think I may have found something like what I was looking for @
http://asvcs.com/
tom
--- End Message ---
--- Begin Message ---
AFAIK Apache 2 doesn't support virtual hosts for SSL.
But you may use one cert per socket, e.g it is possible to set one cert
up on port 447 and one on 8080.
https://example1.com
https://example2.com:8080
regards
Jochen Schultz
Manuel Lemos schrieb:
Hello,
on 03/08/2010 07:13 PM Skip Evans said the following:
Hey all,
I have an Apache virtual config running a bunch of sites, one with SSL.
I finally have a need to add SSL to one more, but when I do the first
one (which is further down the file) comes up "untrusted".
Since this is pretty far off topic I'd be obliged if someone who has
configured this before can email me off list for some assistance.
AFAIK, you need to have a different certificate per domain, although
there are certificates that can be used for all domains.
--
Sport Import GmbH - Amtsgericht Oldenburg - Tel: +49-4405-9280-63
Industriestrasse 39 - HRB 1202900 -
26188 Edewecht - GF: Michael Müllmann
--- End Message ---
--- Begin Message ---
Jochen Schultz wrote:
> AFAIK Apache 2 doesn't support virtual hosts for SSL.
>
I think it does now - there was even a c't article on the topic not long
ago. I'll see if I can find it.
/Per
--
Per Jessen, Zürich (-4.0°C)
--- End Message ---
--- Begin Message ---
Daniel Egeberg wrote:
> On Mon, Mar 8, 2010 at 23:21, Skip Evans <[email protected]>
> wrote:
>> D'oh!
>>
>> ...and I suppose there is just no way around that, eh?
>>
>> Skip
>
> You can use SNI, but it's not supported by all web servers and
> browsers.
>
> http://en.wikipedia.org/wiki/Server_Name_Indication
>
I don't know about the browser support, but the Apache and SNI
implementation is well described in this article:
http://www.heise.de/kiosk/archiv/ct/2009/23/174_kiosk (download for a
fee)
/Per
--
Per Jessen, Zürich (-4.0°C)
--- End Message ---
--- Begin Message ---
Per Jessen wrote:
> Jochen Schultz wrote:
>
>> AFAIK Apache 2 doesn't support virtual hosts for SSL.
>>
>
> I think it does now - there was even a c't article on the topic not
> long ago. I'll see if I can find it.
http://www.heise.de/kiosk/archiv/ct/2009/23/174_kiosk (download for a
fee)
--
Per Jessen, Zürich (-3.9°C)
--- End Message ---
--- Begin Message ---
Per Jessen wrote:
> Daniel Egeberg wrote:
>
>> On Mon, Mar 8, 2010 at 23:21, Skip Evans <[email protected]>
>> wrote:
>>> D'oh!
>>>
>>> ...and I suppose there is just no way around that, eh?
>>>
>>> Skip
>>
>> You can use SNI, but it's not supported by all web servers and
>> browsers.
>>
>> http://en.wikipedia.org/wiki/Server_Name_Indication
>>
>
> I don't know about the browser support, but the Apache and SNI
> implementation is well described in this article:
>
> http://www.heise.de/kiosk/archiv/ct/2009/23/174_kiosk (download for a
> fee)
>
This looks like a pretty decent article too:
http://en.gentoo-wiki.com/wiki/Apache2/SSL_and_Name_Based_Virtual_Hosts
According to that, the following browsers support SNI:
* Opera 8.0+
* Firefox 2+
* Internet Explorer 7+ (but not on Windows XP)
* Safari 3.2.1+
--
Per Jessen, Zürich (-3.9°C)
--- End Message ---
--- Begin Message ---
Thanks Per,
well here is a short translation of this article:
http://www.tech-nerds.de/blog/2009/02/apache2-mit-mehreren-ssl-virtualhosts/
If you havn't installed apache2-threaded-dev:
You need the current verion of gnutls (download from gnu.org)
Download, unpack, compile and install as usual. Than call ldconfig.
And than install apache2-threaded-dev:
./configure --with.apxs2=/usr/bin/apxs2
make install
(Which copies apache module (hopefully) to this path:
/usr/lib/apache2/modules)
Than create /etc/apache2/mods-enabled/gnutls.load with following entry:
LoadModule gnutls_module /usr/lib/apache2/modules/mod_gnutls.so
And you have to Create /etc/apache2/mods-enabled/gnutls.conf containing
the following:
<IfModule gnutls_module>
GnuTLSCache dbm /var/cache/mod_gnutls_cache
GnuTLSCacheTimeout 300
</IfModule>
Well and than every vhost that has to use SSL needs an entry like this:
<VirtualHost 192.168.1.250:443>
ServerName www.example.de
GnuTLSEnable on
GnuTLSPriorities NORMAL
GnuTLSCertificateFile /etc/certs/example_server.pem
GnuTLSKeyFile /etc/certs/example_key.pem
DocumentRoot "/var/www/example.de"
...
</DocumentRoot>
regards
Jochen Schultz
P.S. I think i will have to give it a try right now.
Per Jessen schrieb:
Jochen Schultz wrote:
AFAIK Apache 2 doesn't support virtual hosts for SSL.
I think it does now - there was even a c't article on the topic not long
ago. I'll see if I can find it.
/Per
--
Sport Import GmbH - Amtsgericht Oldenburg - Tel: +49-4405-9280-63
Industriestrasse 39 - HRB 1202900 -
26188 Edewecht - GF: Michael Müllmann
--- End Message ---
--- Begin Message ---
Having worked at a decent sized, respectable ISP with 100,000+ customers
sending email via Iron Ports (email scanners), even they would get put
on a blacklist on a monthly basis. Hell it wouldn't surprise me if
Gmail's SMTP servers got put on a black list at some point.
There's seemingly hundreds of blacklists and whilst some play nice,
others are very paranoid.
Usually the good email servers will detect your on a blacklist then rate
limit the number of emails it'll accept from you. If you keep pissing it
off, by sending emails to non-existant addresses (something they REALLY
hate), sending emails that are too big, or simply sending too many
emails or emails with too many recipients, then it'll tighten the
restrictions. Over time if your good then those restrictions will be
released and eventually you'll be able to send at normal rates.
--
Michael Kubler
I believe in a better world. I support the Zeitgeist Movement --
www.zeitgeistaustralia.org
Teus Benschop wrote:
Once a domain or ip address was black listed, it was quite a process to
get it unlisted again, and even then as soon as mail came from that
domain, it got blacklisted again. Supposedly there is some certification
process that official smtp relays need to go through so as to prove or
certify that they won't allow spam to be sent through them, and take
steps to remove offenders from using their relay. However, this is all
guessing, and in the end we just gave up and used our ISP's official
relay. Teus.
--- End Message ---
--- Begin Message ---
Hi,
In a hobby project I'm relying on the order in which the following piece
of PHP code is executed:
$client->system->multiCall(
$client->methodOne(),
$client->methodTwo()
);
Currently PHP always resolves $client->system (and executes the __get on
$client) before resolving the arguments to the multiCall() method call.
Is this order something that is specified by PHP and so can be relied
upon to stay the same in the future or is it just how it currently works.
If it cannot be relied upon to stay this way, I will have to rewrite the
multiCall method and API...
regards,
Auke van Slooten
Muze
--- End Message ---