[PHP] Is the php sockets extension experimental?

2012-03-28 Thread Meike Stone
Hello,

in the packet description of the php5-sockets in the SuSE Linux
Enterprise Server 11 (SLES11) is
the package php5-sockets in the additional SDK available, but marked
as experimental (see below).
Is this the true, where can I find this Information, or is this only a
historical relic?

Are there differences in this extension between PHP 5.2.x, 5.3.x and 5.4?

Can I rely on this the extension for a productive environment?

Thanks in advance,

Meike

==
~ # zypper info php5-sockets
Refreshing service 'SMT-http_delds01_entiretec_com'.
Loading repository data...
Reading installed packages...

Information for package php5-sockets:

Repository: SLES11SP2-SDK
Name: php5-sockets
Version: 5.2.14-0.7.24.1
Arch: x86_64
Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Support Level: unknown
Installed: No
Status: not installed
Installed Size: 45.0 KiB
Summary: PHP5 Extension Module
Description:
A low-level interface to the socket communication functionsbased on the popular
BSD sockets, providing the possibilityto act as a socket server as well as a
client.This extension is experimental!
==

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP: superior code quality

2012-03-28 Thread Kirk . Johnson
A little note about our favorite language:


Linux 2.6, PHP 5.3, and PostgreSQL 9.1 are recognized as open source 
projects with superior code quality and can be used as industry 
benchmarks, achieving defect densities of .62, .20, and .21 respectively.


http://www.coverity.com/html/press/open-source-code-quality-on-par-with-proprietary-code-in-2011-coverity-scan-report.html

Kirk


Re: [PHP] PHP: superior code quality

2012-03-28 Thread Adam Richardson
On Wed, Mar 28, 2012 at 11:21 AM,  kirk.john...@zootweb.com wrote:
 A little note about our favorite language:

 
 Linux 2.6, PHP 5.3, and PostgreSQL 9.1 are recognized as open source
 projects with superior code quality and can be used as industry
 benchmarks, achieving defect densities of .62, .20, and .21 respectively.
 

 http://www.coverity.com/html/press/open-source-code-quality-on-par-with-proprietary-code-in-2011-coverity-scan-report.html

Very nice! Thanks for sharing, Kirk.

Adam

-- 
Nephtali:  A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Critical Error

2012-03-28 Thread Karl James
Hey guys,

 

A customer of mind is having issues uploading photos through

A admin portal page. They get Critical Error

 

They also get spit out these errors.

 

MYSQL: Duplicate entry for '0' for key 1.

MYSQL: Insert Error - Duplicate entry '0' for key 1,.

 

This person is using a web form to upload his photos to this website.

www.axiton.com admin page.

 

He is trying to add photos up to the Productsaccessories.

 

I did a search on google and some articles are to delete the table?

That doesn't make sense.

Pretty sure it had something to do with the primary key, right?

Now keep in mind as some of you I do not claim to be a know php very well.

Just beginning stages.

I wanted  to send a screen shot but don't want to get email bounced.

Any help would be appreciated.

 

 mailto:karlja...@tampabay.rr.com Karl James

 



Re: [PHP] Is the php sockets extension experimental?

2012-03-28 Thread Daniel Brown
On Wed, Mar 28, 2012 at 09:39, Meike Stone meike.st...@googlemail.com wrote:
 Hello,

 in the packet description of the php5-sockets in the SuSE Linux
 Enterprise Server 11 (SLES11) is
 the package php5-sockets in the additional SDK available, but marked
 as experimental (see below).
 Is this the true, where can I find this Information, or is this only a
 historical relic?

 Are there differences in this extension between PHP 5.2.x, 5.3.x and 5.4?

 Can I rely on this the extension for a productive environment?

Everything you need to know is here:

http://php.net/sockets

 Description:
 A low-level interface to the socket communication functionsbased on the 
 popular
 BSD sockets, providing the possibilityto act as a socket server as well as a
 client.This extension is experimental!

Sounds like the package maintainer is a minimum of six years
behind the times, or they've done some forking to it.  We don't
support any third-party packages, so that would be something you'd
need to discuss with them, but - in all likelihood - someone just
hasn't removed the experimental tag yet.

-- 
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Bug zlib.output_compression not normal work in IIS7.5

2012-03-28 Thread 小鱼虾
Because php5.4 compression not normal work. So I have to enable IIS7.5 system 
compression.  ok. now please check the www.ongod.org/test/phpinfo.php site. 
just now I have  close IIS compression. PHP5.4 sure can't work with 
zlib.output_compression.
windows php enable by default.
Now I have study try building php5.4 x64 by myself. but I can't building php 
ext. only building success php 5.4.1 main code.Who will tell me how building 
full php5.4.x ? 
-- Original --
From:  Simon Schicksimonsimc...@googlemail.com;
Date:  Wed, Mar 21, 2012 03:21 PM
To:  小鱼虾i...@xiaoyu.org; 
Cc:  php-generalphp-general@lists.php.net; 
Subject:  Re: [PHP] Bug zlib.output_compression not normal work in IIS7.5

 
2012/3/19 小鱼虾 i...@xiaoyu.org

 How I do fix it ?


 https://bugs.php.net/bug.php?id=61434


Hi,

I got a rough overview of the conversation in the bug-tracker ...

You were always talking about a tool you used to test the
gzip-compression ... but why not test it natively?
Using Firefox (with the extension Firebug) or Safari / Chrome for
example you can easily view the respond-header from the server and get
more info out of that.
Just press F12, click on the network-tab, select your request and
search in the response-header for Content-Encoding: ...

I would write my own small php-test-script where you just output some
text. Then you're sure that not other code is doing something strange.

Another possible problem: Is the extension zlib enabled at all? The
documentation says that it's disabled by default ...
http://www.php.net/manual/en/zlib.installation.php

Bye
Simon

[PHP] Need PHP Web Developer in So Cal

2012-03-28 Thread Michael Frankel
Hi - 

I am looking for a reliable, experienced PHP / Web developer or development 
company to assist me with one of my long-time clients. I need someone who has 
experience with all the following technologies working in a hosted environment:

PHP
MySQL
WordPress
Ajax / Web 2.0
JavaScript

In addition, I need a developer with the following attributes:

- Is based in the US, preferable with offices in the Pacific or Mountain Time 
Zone
- Does this kind of work full time
- Is able to communicate clearly and effectively
- Works well with both technical  non-technical people, and works well with 
people in general
- Can be responsive to client emergencies - NOTE: this is the MOST important 
quality
- Has some web design experience (or has a colleague who does)
- Speaks English well

If this fits you or you know someone like this, please send an email to:

Michael Frankel
Director of Information Technology
Hoffman  Pomerantz, LLP
Email: tech.supp...@weappear.com
Office: 818-706-8877
Skype: michaelfrankel

Thanks,
-- 
Michael Frankel

Re: [PHP] Is the php sockets extension experimental?

2012-03-28 Thread Meike Stone
Hello,

    Sounds like the package maintainer is a minimum of six years
 behind the times, or they've done some forking to it.  We don't
 support any third-party packages, so that would be something you'd
 need to discuss with them, but - in all likelihood - someone just
 hasn't removed the experimental tag yet.


Thanks for the fast answer. That's, what I suspected.

Kindly regards Meike

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Critical Error

2012-03-28 Thread Paul Scott
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/03/2012 17:59, Karl James wrote:
 
 MYSQL: Duplicate entry for '0' for key 1.
 
 MYSQL: Insert Error - Duplicate entry '0' for key 1,.

Simply means that you are trying to insert a database entry into your
database table that already exists, for the primary key field (look at
ID or something like that)

This is a MySQL problem more than a PHP one, but there you go (I have
been largely absent from this list for a long time, so starting off
slowly again) ...

- -- 
- -- Paul http://www.paulscott.za.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPcznzAAoJEP24vLf5r1PRD9oH/jdPx1JmLk60MgwrojgPMc61
gdt416IyZVVe+d0z2YQ3Hep+T1otd8ibqnEb0nrl3URZoa2Bc+8OsCi9qTlcl/ts
qa+MgUd6if5/FBbev02f/39xBHrYtNm/3EPDuF/sFP1bZrXAYmOyze0pI50LU9Ki
5F/UyTjaa0l7mRA0MhcIOr0Q1+ouRDKPrTrPV/NKqhMSxkinzmcOEuIcpfxd78yD
ELiPS2GUuieusrFkrlHFq6DGoS2Kk8mtZa7Pu9FqYjCUdOUJCeuPlJlCRi5FRWxG
DFesqV3Xj2FxMLE2h0sTek4NNX6PvM7tlCEzgEy7QnjbqH8RPLGI+6B9M1WIWqg=
=0ACX
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Need PHP Web Developer in So Cal

2012-03-28 Thread Paul Scott
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/03/2012 18:04, Michael Frankel wrote:
 Hi -
 
 I am looking for a reliable, experienced PHP / Web developer or
 development company to assist me with one of my long-time clients.
 I need someone who has experience with all the following
 technologies working in a hosted environment:

[snip]

 - Can be responsive to client emergencies - NOTE: this is the MOST
 important quality

Translates to we will be phoning you at 2am and you are expected to
be there with a smile on your face for the client

Am I right? Yeah, I know I am... ;)

- -- 
- -- Paul http://www.paulscott.za.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPczphAAoJEP24vLf5r1PRd6IH/3tLKoRDrL5R/fcjYop8RyLE
Bux+xJ/N6qkMr3aYOGq/k7C6StFZGK2WqxftqJW38qakWqnpX35ZseezsQyQ70Ek
ZZossCFAQ/n3DqXNeB3RDRGfVODEKEIlAGvYnwFK04VW/bsUU69o+ac7pffN7yYu
i/622+4ssSRPafMv6t1kX/w/DlfhzGyrAKGLbibM5uX4l1cNmM/YEkPzyiu/ySFd
8L9dI+N5j0vStJUh1jRpi08EoZJXGTjMtBfOGvYgjD1bnAl+K8nGYx9irGXfpBej
GaKRGAcP7ZxFmUl61bGyrK2ijUATbjAckfi/2z6DHmuJNr0TdnqEF545t77MrcQ=
=sEhx
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Critical Error

2012-03-28 Thread Daniel Brown
On Wed, Mar 28, 2012 at 11:59, Karl James karlja...@tampabay.rr.com wrote:
 Hey guys,

 A customer of mind is having issues uploading photos through

 A admin portal page. They get Critical Error

If it's a pre-existing CMS, check with the associated project or
company.  Taking a quick look through, though, it appears as though it
was a custom solution.  Either way, that wouldn't be a PHP issue,
directly.

 They also get spit out these errors.

 MYSQL: Duplicate entry for '0' for key 1.

 MYSQL: Insert Error - Duplicate entry '0' for key 1,.

Sounds like a primary key isn't properly auto-incrementing.  This
is, however, a MySQL issue, and again, likely not at all related to
PHP.

 This person is using a web form to upload his photos to this website.

 www.axiton.com admin page.

 He is trying to add photos up to the Productsaccessories.

That means nothing to us, as it would be viewed when logged in as
an administrative user.

 I did a search on google and some articles are to delete the table?

 That doesn't make sense.

No, it doesn't make sense at all.  Either bad - or, worse,
deliberately sinister - advice from someone.

 Pretty sure it had something to do with the primary key, right?

That's indeed how it sounds.  You could follow up by emailing
my...@lists.mysql.com.

-- 
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Need PHP Web Developer in So Cal

2012-03-28 Thread Robert Cummings

On 12-03-28 12:20 PM, Paul Scott wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/03/2012 18:04, Michael Frankel wrote:

Hi -

I am looking for a reliable, experienced PHP / Web developer or
development company to assist me with one of my long-time clients.
I need someone who has experience with all the following
technologies working in a hosted environment:


[snip]


- Can be responsive to client emergencies - NOTE: this is the MOST
important quality


Translates to we will be phoning you at 2am and you are expected to
be there with a smile on your face for the client

Am I right? Yeah, I know I am... ;)


I always have a smile on my face... yeah, I'm smiling right now!! :D

Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Mime Mail problem

2012-03-28 Thread Fatih P.
On Wed, Mar 28, 2012 at 9:26 PM, Alexis phplis...@antonakis.co.uk wrote:

 I am hitting my head over a problem with Mime Mail...which i am hoping
 some kind some can help me out on please

 The email is sent out fine and when viewing the source, appears to be
 fine, however neither the body of the email, nor the attachment are showing
 up when I view or open the email.


 I have checked the headers of the email which I have copied below, and I
 cannot see a problem with them, perhaps someone else can please.

 MTIA
 Alexis

 ---Headers---

 MIME-Version: 1.0
 Content-Type: multipart/mixed;
boundary=**a528ff729471083523feb6e73a0b9f**f7

 This is a multi-part message in MIME format.

 --**a528ff729471083523feb6e73a0b9f**f7
 Content-Type: text/plain;
charset=iso-8859-1
 Content-Transfer-Encoding: 7bit

 Daily Backups

 --**a528ff729471083523feb6e73a0b9f**f7
 Content-Type: text/plain;
name=Backup_LEPA_2012-03-25.**txt
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
filename=Backup_LEPA_2012-03-**25.txt

 IkRhdGUiLCJUaW1lIiwiRmx0Tm8iLC**JBbHRGbHRObyIsIlJvdXRlIiwiUmVn**
 IgoiMjAxMi0wMy0y
 ...middle deleted.
 LUlTTiIKIjIwMTItMDMtMjUiLCIyMz**o0MCIsIlVYMTI5OCIsIiIsIk9SWS1Q**
 TUkiLCJFQy1LWEQi
 Cg==

 --**a528ff729471083523feb6e73a0b9f**f7--



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


if none is showing up, make sure you do the boundary as it should be.
and append new lines where necessary. cannot tell you much by looking at
the source your
where it includes some parts deleted.


Re: [PHP] Mime Mail problem

2012-03-28 Thread Alexis

Thanks Faith

What exactly do you mean by 'Make sure the boundary is as it should be', 
please?


Here is the full uncensored info, the data is not sensitive anyway, 
minus the initial standard email headers.


Thanks
Alexis


MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=a528ff729471083523feb6e73a0b9ff7

This is a multi-part message in MIME format.

--a528ff729471083523feb6e73a0b9ff7
Content-Type:text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Daily Backups

--a528ff729471083523feb6e73a0b9ff7
Content-Type: text/plain; name=Backup_LEPA_2012-03-25.csv
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=Backup_LEPA_2012-03-25.csv

IkRhdGUiLCJUaW1lIiwiRmx0Tm8iLCJBbHRGbHRObyIsIlJvdXRlIiwiUmVnIgoiMjAxMi0wMy0y
NSIsIjA2OjI1IiwiRlIwNzAzIiwiIiwiUE1JLUtSSyIsIkVJLUVOUCIKIjIwMTIt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sIlZMQy1QTUkiLCJFQy1LWEQiCiIyMDEyLTAz
LTI1IiwiMDk6MjUiLCJBQjMxMTQiLCJBQjA5NU0iLCJOVUUtUE1JIiwiRC1BQkdQIgoiMjAxMi0w
My0yNSIsIjA5OjI1IiwiVVg2MDA3IiwiIiwiQkNOLVBNSSIsIiIKIjIwMTItMDMtMjUiLCIwOToy
NSIsIlgzMjE0NiIsIlVHMDUzSCIsIkhBSi1QTUkiLCIiCiIyMDEyLTAzLTI1IiwiMDk6MjUiLCJB
Qjc1NTIiLCIiLCJQTUktQUdQIiwiIgoiMjAxMi0wMy0yNSIsIjA5OjI1IiwiU1Q0NTcxIiwiIiwi
UE1JLUJSRSIsIkQtQVNUWiIKIjIwMTItMDMtMjUiLCIwOTozMCIsIlNYODE3NiIsIiIsIlBNSS1C
Uk4iLCIiCiIyMDEyLTAzLTI1IiwiMDk6MzAiLCJBQjc2NTAiLCIiLCJQTUktRkFPIiwiIgoiMjAx
Mi0wMy0yNSIsIjA5OjM1IiwiRlI4OTk3IiwiIiwiUE1JLUdSTyIsIkVJLUVNSyIKIjIwMTItMDMt
MjUiLCIwOTo0MCIsIkFCNzUxNiIsIiIsIlBNSS1TVlEiLCIiCiIyMDEyLTAzLTI1IiwiMDk6NDAi
LCJBQjc1NzgiLCJBQjAzWVkiLCJQTUktQkNOIiwiIgoiMjAxMi0wMy0yNSIsIjA5OjQwIiwiVlkz
OTkyIiwiIiwiQkNOLVBNSSIsIkVDLUhURCIKIjIwMTItMDMtMjUiLCIwOTo0MCIsIllXODQ4MiIs
IiIsIlBNSS1NQUgiLCIiCiIyMDEyLTAzLTI1IiwiMDk6NDUiLCJJQjI0NDkiLCIiLCJQTUktTUFE
IiwiIgoiMjAxMi0wMy0yNSIsIjA5OjQ1IiwiRFdUMTM2MCIsIiIsIkJSTi1QTUkiLCIiCiIyMDEy

Re: [PHP] Mime Mail problem

2012-03-28 Thread Alexis
If I insert the full stop after the \n then the output stops just before 
the fullstop.


Currently I have \r\n \r\n
That is a space between the two sets of \r\n's.  I tried it without any 
spaces and still got the same result.


Would it be better if I post the code that creates the headers?
I avoided doing that first as I was wondering if I got the headers 
themselves correct?


btw sorry for calling you Faith before, I misread your name, Fatih

Alexis
On 28/03/12 14:25, Fatih P. wrote:



--a528ff729471083523feb6e73a0b9ff7--



can you try to end your message with \r\n.\r\n and let's see the result?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Mime Mail problem

2012-03-28 Thread Fatih P.
On Wed, Mar 28, 2012 at 11:44 PM, Alexis phplis...@antonakis.co.uk wrote:

 If I insert the full stop after the \n then the output stops just before
 the fullstop.

 Currently I have \r\n \r\n
 That is a space between the two sets of \r\n's.  I tried it without any
 spaces and still got the same result.

 Would it be better if I post the code that creates the headers?
 I avoided doing that first as I was wondering if I got the headers
 themselves correct?

 btw sorry for calling you Faith before, I misread your name, Fatih

 Alexis


I guess it is better to see your code. that creates the headers and body
parts too.


Re: [PHP] Mime Mail problem

2012-03-28 Thread Alexis
Actually Fatih, I have also been playing around with the PEAR mimemail 
option and have just got that to work, so will not be pursuing this 
problem any further, but thank you very much for the time you spent 
helping me.


Alexis

On 28/03/12 14:50, Fatih P. wrote:

On Wed, Mar 28, 2012 at 11:44 PM, Alexisphplis...@antonakis.co.uk  wrote:


If I insert the full stop after the \n then the output stops just before
the fullstop.

Currently I have \r\n \r\n
That is a space between the two sets of \r\n's.  I tried it without any
spaces and still got the same result.

Would it be better if I post the code that creates the headers?
I avoided doing that first as I was wondering if I got the headers
themselves correct?

btw sorry for calling you Faith before, I misread your name, Fatih

Alexis



I guess it is better to see your code. that creates the headers and body
parts too.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Mime Mail problem

2012-03-28 Thread tamouse mailing lists
On Wed, Mar 28, 2012 at 3:53 PM, Alexis phplis...@antonakis.co.uk wrote:
 Actually Fatih, I have also been playing around with the PEAR mimemail
 option and have just got that to work, so will not be pursuing this problem
 any further, but thank you very much for the time you spent helping me.

 Alexis


 On 28/03/12 14:50, Fatih P. wrote:

 On Wed, Mar 28, 2012 at 11:44 PM, Alexisphplis...@antonakis.co.uk
  wrote:

 If I insert the full stop after the \n then the output stops just before
 the fullstop.

 Currently I have \r\n \r\n
 That is a space between the two sets of \r\n's.  I tried it without any
 spaces and still got the same result.

 Would it be better if I post the code that creates the headers?
 I avoided doing that first as I was wondering if I got the headers
 themselves correct?

 btw sorry for calling you Faith before, I misread your name, Fatih

 Alexis



 I guess it is better to see your code. that creates the headers and body
 parts too.


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


Another alternative that I use is phpmailer
http://code.google.com/a/apache-extras.org/p/phpmailer/ which has a
lot of features, MIME attachments being only one of.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Uploading and creating an email attachment, WITHOUT aDB on server

2012-03-28 Thread tamouse mailing lists
On Tue, Mar 27, 2012 at 8:33 AM, Maciek Sokolewicz
maciek.sokolew...@gmail.com wrote:
 Also note: checking file extensions has nothing to do with security; relying
 on such a crude technique to work is a very very bad idea. It also limits
 the possible formats that people would like to send their CV as; for example
 I can imagine people would want to use extensions such as .doc, .docx, but
 also .pdf. If you only allow those, you'll make life hard on people wanting
 to post a .txt or .rtf!

Especially those of us who keep our resumes in YAML.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-28 Thread tamouse mailing lists
On Tue, Mar 27, 2012 at 5:47 AM, rene7705 rene7...@gmail.com wrote:
 Yea, i'm quite sure I want to develop on Windows 7. Ubuntu still has
 quircks when it comes to using 3 monitors on a single system, as far as I
 know. I just like windows 7 a lot better at the moment.
 And how would it be dangerous to do so?

You can certainly develop on windows all you want. Before pushing
things to a production environment that's different from your
development environment, you should really run tests in (at least) a
staging environment that is as close to production as possible. This
can easily be done on your own system using a VM. It helps a lot to
write portable applications in PHP, which is deftly simple to do in
most cases. If you do have different things you want configured on
various platforms (development, testing, staging, production, forex)
you can do that in a number of ways (setting envars, testing the
hostname, keeping a separate configuration file outside of the source
control tree, etc)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-28 Thread tamouse mailing lists
On Tue, Mar 27, 2012 at 7:24 AM, Curtis Maurand cur...@maurand.com wrote:


 rene7705 wrote:
 On Tue, Mar 27, 2012 at 1:21 PM, Peter Ford
 p...@justcroft.com wrote:

 On 27/03/12
 12:13, rene7705 wrote:

 hey, I just read
 the rsync man page for the first time, and while it

 sure
 looks simple enough for my taste, wouldn't updating
 multiple remote
 domains
 be like a
 whole series of the same FTP updates to these different

 domain
 directories there? In other words, take a long
 time because of my
 200kb/s
 link to the
 unix hoster?


 The first
 time might be slow, but you can then do incremental updates

 which would be a lot quicker.

 ok, that'll do
 nicely..

 Depending upon whether or not you have shell access to
 the hosts, you could update a host and then use rsync from that host to
 the rest.

If rsync will work to your remote hosts, then can I safely assume you
do have ssh access to them (rsync won't work without it unless you can
launch an rsync daemon on your remote hosts).

If so, then I don't think you really want to do the rsync thing at
all, really. Instead, I'd use git or mercurial (or even svn or cvs
will do). When you have your changes ready, push them to a remote
repository (github.com or gitorious.org, say). Then you can pull the
updates from the net by running the corresponding pull from the
repository on the remote hosts.

Let me also say that you should be keeping *everything* you develop in
source control. It goes beyond just being able to backtrack if
necessary, although that has been it's primary function. Keeping track
of your own development efforts, even solo, can be very important to
maintaining your code. Additionally, as you can see above, it aids
greatly in deploying your code. Additionally, if you keep your
repositories for any open source work on a public repository, it's
advertising for your work and a simple off-site backup plan. With
shell access, you can also create your own private repositories on one
of your host accounts.

Anyway, this has drifted far in to the topics of managing and
deploying code, not so much PHP.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php