[PHP] Re: php5 with apache 1.x - white page

2009-01-17 Thread Nathan Rixham
Merlin Morgenstern wrote: got it :-) Both are needed! --with-mysql=/usr/local/mysql' '--with-pdo-mysql=/usr/local/mysql/' Merlin Morgenstern schrieb: Hi there, after strugling a while with the installation of php5 on an older suse system with mysql 3.x and apache 1.x I got it compiled and

[PHP] Opinions / Votes Needed

2009-01-17 Thread Nathan Rixham
Afternoon all, I'd love to get some votes from my fellow developers on the following, and indeed some opinions (especially from those who disagree). Recently I've been running in to a lot of frustrations with PHP when dealing with Classes and Objects. Personally I strongly feel that these

[PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Nathan Rixham
Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message a: Optional Static Typing I'm finding an ever increasingly need to be able to staticly type properties, parameters, return types etc (in classes) I know there is type hinting but it's just not enough to do what one needs

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Nathan Rixham
Per Jessen wrote: Tony Marston wrote: If you really *need* to used a staticly typed language then don't use PHP, and don't try to change PHP to match your needs. +1 I do.. mainly Java when I need it (can you tell) point is.. Java let's me easily do 70% of what I need to PHP let's me

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Nathan Rixham
Per Jessen wrote: Nathan Rixham wrote: Tony Marston wrote: If you really *need* to used a staticly typed language then don't use PHP, and don't try to change PHP to match your needs. why not? Because your desired functionality is already satisfied by other programming languages. PHP

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Nathan Rixham
Jochem Maas wrote: Nathan Rixham schreef: Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message a: Optional Static Typing I'm finding an ever increasingly need to be able to staticly type properties, parameters, return types etc (in classes) I know there is type hinting

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Nathan Rixham
Stuart wrote: 2009/1/17 Nathan Rixham nrix...@gmail.com: Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message a: Optional Static Typing I'm finding an ever increasingly need to be able to staticly type properties, parameters, return types etc (in classes) I know there is type

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Nathan Rixham
Stuart wrote: 2009/1/17 Nathan Rixham nrix...@gmail.com: Per Jessen wrote: Nathan Rixham wrote: Tony Marston wrote: If you really *need* to used a staticly typed language then don't use PHP, and don't try to change PHP to match your needs. why not? Because your desired functionality

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Nathan Rixham
Stuart wrote: 2009/1/17 Nathan Rixham nrix...@gmail.com: Stuart wrote: 2009/1/17 Nathan Rixham nrix...@gmail.com: Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message a: Optional Static Typing I'm finding an ever increasingly need to be able to staticly type properties

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Nathan Rixham
Per Jessen wrote: Nathan Rixham wrote: Per Jessen wrote: Nathan Rixham wrote: Tony Marston wrote: If you really *need* to used a staticly typed language then don't use PHP, and don't try to change PHP to match your needs. why not? Because your desired functionality is already satisfied

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Nathan Rixham
Per Jessen wrote: Nathan Rixham wrote: point is.. Java let's me easily do 70% of what I need to PHP let's me easily do 95% of what I need to I'm curious - can you list what the 25% are? it lacks dynamic typing, the ability to procedural code and its precompiled not interpreted; all

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Nathan Rixham
Per Jessen wrote: Nathan Rixham wrote: You can't have your cake and eat it. You can't/shouldn't have strong and loose typing in the same language. In my opinion. Instead of providing programmers with a black or white choice between static or dynamic typing, we should instead strive

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Nathan Rixham
Tony Marston wrote: Skip Evans s...@bigskypenguin.com wrote in message news:49723137.2010...@bigskypenguin.com... Wow, Tony, do you think in the future you could try to express yourself with just a bit more civility and in a less condescending tone? Nathan expressed some thoughts he had,

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Nathan Rixham
Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message news:497354c3.9090...@gmail.com... Per Jessen wrote: Nathan Rixham wrote: point is.. Java let's me easily do 70% of what I need to PHP let's me easily do 95% of what I need to I'm curious - can you list what the 25

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Nathan Rixham
Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message news:497366f5.2030...@gmail.com... Tony Marston wrote: Skip Evans s...@bigskypenguin.com wrote in message news:49723137.2010...@bigskypenguin.com... Wow, Tony, do you think in the future you could try to express yourself

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Nathan Rixham
Jochem Maas wrote: Per Jessen schreef: Nathan Rixham wrote: Per Jessen wrote: Nathan Rixham wrote: You can't have your cake and eat it. You can't/shouldn't have strong and loose typing in the same language. In my opinion. Instead of providing programmers with a black or white choice

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Nathan Rixham
Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message news:49737051.9080...@gmail.com... Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message news:497366f5.2030...@gmail.com... Tony Marston wrote: Skip Evans s...@bigskypenguin.com wrote in message news

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Nathan Rixham
Tony Marston wrote: Stuart stut...@gmail.com wrote in message news:a5f019de0901181015g5e2db21fn2782839ab9648...@mail.gmail.com... 2009/1/18 Tony Marston t...@marston-home.demon.co.uk: Nathan Rixham nrix...@gmail.com wrote in message news:497366f5.2030...@gmail.com... Tony Marston wrote: Skip

[PHP] optional type hinting enhancements

2009-01-18 Thread Nathan Rixham
Hi All, preface: Having discussed at great length previously and probably completely misnaming and thus misleading the conversation here goes again. question: Would anybody else like to see, or feel the need for, *optional* type hinting of variables and class properties in PHP? examples

[PHP] Re: Project management systems

2009-01-18 Thread Nathan Rixham
Skip Evans wrote: Hey all (except Tony), treat others how you want them to treat you *passes all his biscuits* - yet lol. I've been using dotProject for a few years now and have been quite happy with it, and have written my own invoicing module, and a few other mods for the way I track

Re: [PHP] optional type hinting enhancements

2009-01-18 Thread Nathan Rixham
Jochem Maas wrote: Nathan Rixham schreef: Hi All, preface: Having discussed at great length previously and probably completely misnaming and thus misleading the conversation here goes again. question: Would anybody else like to see, or feel the need for, *optional* type hinting of variables

Re: [PHP] optional type hinting enhancements

2009-01-18 Thread Nathan Rixham
Török Alpár wrote: I see a problem with this. Scalars are automatically casted by PHP based on a set of rules. In case of a scalar type hint, would jo issue an error, or make the automatic type cast? both approaches have there advantages, but the automatic cast, would go better with the

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Nathan Rixham
Tony Marston wrote: Stuart stut...@gmail.com wrote in message news:a5f019de0901181322i2a4cbfaam4d36eff843f42...@mail.gmail.com... 2009/1/18 Tony Marston t...@marston-home.demon.co.uk: In case you have forgotten what this thread is about, the OP gave a list of suggested improvements to PHP and

Re: [PHP] optional type hinting enhancements

2009-01-19 Thread Nathan Rixham
question: Would anybody else like to see, or feel the need for, *optional* type hinting of variables and class properties in PHP? This would all be under the assumption and proviso that an implementation would not break bc, have any markable perfomance hit, or in any other way effect existing

Re: [PHP] Re: Opinions / Votes Needed

2009-01-19 Thread Nathan Rixham
Stuart wrote: Also, PHP is procedural with OO capabilities due to its history never understood this comment more - wish I'd given it more thought when it stuck out the first time. - cheers stut time4work! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Secure redirection?

2009-01-19 Thread Nathan Rixham
Zoran Bogdanov wrote: 1.When the user is successfully authenticated the login.php sends the header, but the AJAX XMLHttpRequest call is still in progress waiting for a PHP response. So when PHP using the header function redirects to another page that page is outputed to the login form... you

[PHP] Re: How serialize DOMDocument object?

2009-01-19 Thread Nathan Rixham
Михаил Гаврилов wrote: How serialize DOMDocument object? describe: serialize — Generates a storable representation of a value note: It is not possible to serialize PHP built-in objects. see: http://uk2.php.net/serialize solve: $s = DOMDocument-saveXML(); // serialized DOMDocument-loadXML($s);

[PHP] developers life

2009-01-19 Thread Nathan Rixham
well just for the hell of it; and because I'm feeling worn.. anybody else find the following true when you're a developer? - frequent bursts of side-tracking onto more interesting subjects - vast amount of inhuman focus, followed by inability to remain focussed - general tendancy to keep taking

[PHP] Re: How to use SVN + PHP

2009-01-19 Thread Nathan Rixham
Edmund Hertle wrote: Hey, I'm thinking about implementing Subversion to an existing php project for obvious reasons. But I have some trouble when thinking about the usage. there are lots of ways of using svn and I'm sure you'll get different opinions.. personally I always create a script to

Re: [PHP] developers life

2009-01-19 Thread Nathan Rixham
I'm not alone then (didn't think so :p) Ashley Sheridan wrote: On Mon, 2009-01-19 at 21:28 +, Nathan Rixham wrote: well just for the hell of it; and because I'm feeling worn.. anybody else find the following true when you're a developer? - frequent bursts of side-tracking onto more

Re: [PHP] developers life

2009-01-19 Thread Nathan Rixham
Robert Cummings wrote: On Mon, 2009-01-19 at 21:28 +, Nathan Rixham wrote: well just for the hell of it; and because I'm feeling worn.. anybody else find the following true when you're a developer? - frequent bursts of side-tracking onto more interesting subjects - vast amount of inhuman

Re: [PHP] developers life

2009-01-19 Thread Nathan Rixham
Robert Cummings wrote: On Mon, 2009-01-19 at 21:53 +, Nathan Rixham wrote: Robert Cummings wrote: On Mon, 2009-01-19 at 21:28 +, Nathan Rixham wrote: well just for the hell of it; and because I'm feeling worn.. anybody else find the following true when you're

Re: [PHP] developers life

2009-01-19 Thread Nathan Rixham
Robert Cummings wrote: On Mon, 2009-01-19 at 21:53 +, Nathan Rixham wrote: Robert Cummings wrote: On Mon, 2009-01-19 at 21:28 +, Nathan Rixham wrote: well just for the hell of it; and because I'm feeling worn.. anybody else find the following true when you're

Re: [PHP] developers life

2009-01-19 Thread Nathan Rixham
Bastien Koert wrote: always, flex php at the moment ahh great to read, flex is amazing, the best product to hit the developers market in years IMHO, coupled with XMPP (say openfire) it's great as well - there's something about flex and xmpp.. say if you were to implement a kind of http

Re: [PHP] developers life

2009-01-19 Thread Nathan Rixham
c...@l-i-e.com wrote: ESTJ Apparently, it's time for me to take on a project manager job and quit coding... Oddly enough, I've been thinking I might like to do that, though more of an architect/manager role, really... didn't you already make that change when you became ceo of an

[PHP] Re: How to use SVN + PHP

2009-01-19 Thread Nathan Rixham
Edmund Hertle wrote: 2009/1/19 Nathan Rixham nrix...@gmail.com well the idea of svn is that should you find a problem you either rollback the file(s) to the good version (not rollback the whole site) or you commit updated files with the fix, then redeploy. No need to branch or such like. Well

[PHP] Re: Installation problems on Vista

2009-01-19 Thread Nathan Rixham
lucson pierre-charles wrote: I am having problems installing the zip package (PHP5) on Windows Vista. The output will not come on the browser upon testing. Only the code is being output to the browser. Apache (Apache 2) was properly installed. Your assistance please. Regards, Lucson check

[PHP] Re: How to use SVN + PHP

2009-01-19 Thread Nathan Rixham
sorry i commented in all the wrong places :| Edmund Hertle wrote: By locally created and tested scripts you will of course not have those probs because you're not comitting everything. But locally developing brings some kind of care-taking like making sure you use everywhere the same version

Re: [PHP] developers life

2009-01-19 Thread Nathan Rixham
c...@l-i-e.com wrote: Apparently, it's time for me to take on a project manager job and quit coding... Oddly enough, I've been thinking I might like to do that, though more of an architect/manager role, really... didn't you already make that change when you became ceo of an intergalactic

[PHP] Re: 64bit vs. 32bit

2009-01-19 Thread Nathan Rixham
dbrooke wrote: Hello, I am interested in hearing opinions about if there are reasons to stay with a 32bit php/apache if there is 64bit options available. What are the pros/cons in running in the different architectures? (Fat Binary apache2, *nix platform) Thanks, Donovan just to add in; I

[PHP] Re: developers life

2009-01-19 Thread Nathan Rixham
Ross McKay wrote: On Mon, 19 Jan 2009 21:28:05 +, Nathan Rixham wrote: well just for the hell of it; and because I'm feeling worn.. anybody else find the following true when you're a developer? [...] Yes. well.. so its common to developers in uk, usa, canada, australia, everywhere

Re: [PHP] Re: developers life

2009-01-19 Thread Nathan Rixham
Kyle Terry wrote: On Mon, Jan 19, 2009 at 3:22 PM, Nathan Rixham nrix...@gmail.com wrote: Ross McKay wrote: On Mon, 19 Jan 2009 21:28:05 +, Nathan Rixham wrote: well just for the hell of it; and because I'm feeling worn.. anybody else find the following true when you're a developer

[PHP] Re: How to use SVN + PHP

2009-01-19 Thread Nathan Rixham
Edmund Hertle wrote: 2009/1/20 Nathan Rixham nrix...@gmail.com you don't have to locally develop, you can develop however you want :) svn is just version controlling all your files to make it easier to team work and to rollback code. you then tag good versions of the code in svn so you have

[PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Project: PHP Common Objects and Datatypes method: for everybody who wishes to contribute, and for everybody to review, discuss and work on the same classes. what are they: classes we can all use, that have been discussed, reviewed and agreed between many great developers around the world.

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Kyle Terry wrote: On Mon, Jan 19, 2009 at 4:09 PM, Edmund Hertle edmund.her...@student.kit.edu wrote: 2009/1/20 Nathan Rixham nrix...@gmail.com Project: PHP Common Objects and Datatypes method: for everybody who wishes to contribute, and for everybody to review, discuss and work

[PHP] Re: [PHP-DEV] maybe we could all?

2009-01-19 Thread Nathan Rixham
Daniel Brown wrote: On Mon, Jan 19, 2009 at 19:28, Daniel Brown danbr...@php.net wrote: Maybe you could call it PEAR. ;-P (Sent too quickly. Meant to include this, too:) A good place to start is by showing how this would benefit from things like PEAR and PECL. care to contrib

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Edmund Hertle wrote: 2009/1/20 Nathan Rixham nrix...@gmail.com sounds good; (discussion begins) - but if we're all going to use them in production maybe we'd need to use say php 5.1.6 or the most common accross all os's and servers..? how many servers will have php 5.3 support from the off

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Eric Butera wrote: On Mon, Jan 19, 2009 at 8:00 PM, Kyle Terry k...@kyleterry.com wrote: On Mon, Jan 19, 2009 at 4:58 PM, Edmund Hertle edmund.her...@student.kit.edu wrote: 2009/1/20 Nathan Rixham nrix...@gmail.com sounds like a starting point. and the starting point imho

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Kyle Terry wrote: On Mon, Jan 19, 2009 at 5:12 PM, Nathan Rixham nrix...@gmail.com wrote: Eric Butera wrote: On Mon, Jan 19, 2009 at 8:00 PM, Kyle Terry k...@kyleterry.com wrote: On Mon, Jan 19, 2009 at 4:58 PM, Edmund Hertle edmund.her...@student.kit.edu wrote: 2009/1/20 Nathan Rixham nrix

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Kyle Terry wrote: On Mon, Jan 19, 2009 at 5:42 PM, Eric Butera eric.but...@gmail.com wrote: On Mon, Jan 19, 2009 at 8:35 PM, Nathan Rixham nrix...@gmail.com wrote: and on the other side.. to open things up interface Object { } or abstract class Object { } or class Object { } nothing

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Eric Butera wrote: On Mon, Jan 19, 2009 at 8:35 PM, Nathan Rixham nrix...@gmail.com wrote: Kyle Terry wrote: and on the other side.. to open things up interface Object { } or abstract class Object { } or class Object { } nothing else for now: reason: to address the current and forseable

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Eric Butera wrote: On Mon, Jan 19, 2009 at 9:13 PM, Kyle Terry k...@kyleterry.com wrote: On Mon, Jan 19, 2009 at 6:07 PM, Daniel Brown danbr...@php.net wrote: On Mon, Jan 19, 2009 at 19:58, Edmund Hertle edmund.her...@student.kit.edu wrote: Well, I think we should not go to fast... maybe we

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Daniel Brown wrote: On Mon, Jan 19, 2009 at 19:58, Edmund Hertle edmund.her...@student.kit.edu wrote: Well, I think we should not go to fast... maybe we are setting up SVN, webspace, domain, mailing-list and in the end this is only used by 4-5 people. Because than this can be discussed on

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Bastien Koert wrote: On Mon, Jan 19, 2009 at 9:35 PM, Nathan Rixham nrix...@gmail.com wrote: Daniel Brown wrote: On Mon, Jan 19, 2009 at 19:58, Edmund Hertle edmund.her...@student.kit.edu wrote: Well, I think we should not go to fast... maybe we are setting up SVN, webspace, domain

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Kyle Terry wrote: On Mon, Jan 19, 2009 at 6:31 PM, Nathan Rixham nrix...@gmail.com wrote: discuss [ wiki needed? ] wiki will definitely be needed. dan? :-) + a name, cos if we need to start prefixing.. and it can't be 4LC as can't start with a number :p The world's object? Pobject

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Daniel Brown wrote: On Mon, Jan 19, 2009 at 21:31, Nathan Rixham nrix...@gmail.com wrote: dan - great offer, I'd like to take you up on it [could we install any extra needed software, such as a wiki / list or something that allows discussion and document storage made website available] svn

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Paul M Foster wrote: On Mon, Jan 19, 2009 at 11:57:25PM +, Nathan Rixham wrote: Project: PHP Common Objects and Datatypes method: for everybody who wishes to contribute, and for everybody to review, discuss and work on the same classes. what are they: classes we can all use, that have

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Paul M Foster wrote: On Tue, Jan 20, 2009 at 03:29:29AM +, Nathan Rixham wrote: Paul M Foster wrote: On Mon, Jan 19, 2009 at 11:57:25PM +, Nathan Rixham wrote: snip You really don't have enough to do, do you? Paul actually, way too much - but I like to learn, contribute, think

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Kyle Terry wrote: On Mon, Jan 19, 2009 at 7:14 PM, Eric Butera eric.but...@gmail.com wrote: On Mon, Jan 19, 2009 at 9:41 PM, Bastien Koert phps...@gmail.com wrote: I'm in, sounds like fun and a great way to learn new stuff This is what I was thinking too. I'm just not sure what sort of

Re: [PHP] maybe we could all?

2009-01-19 Thread Nathan Rixham
Kyle Terry wrote: I demand Dan and Nathan to go to bed now. yeah it's 4am; day job in 5 hours - kinda waiting on the mrs tonight; she just released another mix onto the net and the process is long and slow while she gets everything just so - damn good though - but always seems to do it at

[PHP] Re: Installation problems on Vista

2009-01-20 Thread Nathan Rixham
lucson pierre-charles wrote: Dear Nathan, The short_tags is sure off but when I changed the scripts, they're still being output to the browser. These are the lines I added to the modules section: #LoadModule php5_module c:/php5/php5apache2.dll #AddType

Re: [PHP] Re: Installation problems on Vista

2009-01-20 Thread Nathan Rixham
lucson pierre-charles wrote: Nathan, When I remove the #'s, I can't have Apache to restart. I keep receiving error messages. what are the errors? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Military - Standard times

2009-01-21 Thread Nathan Rixham
Jochem Maas wrote: tedd schreef: Hi gang: would you stop calling me that, I'll bet it means something rude in korean. :-P What's the slickest way to go from standard to military times and back again? wouldn't the slickest way be to carry/store unixtimestamps and then output whatever

Re: [PHP] MySQL class. Thoughts?

2009-01-21 Thread Nathan Rixham
c...@l-i-e.com wrote: there is an art to using them, they compliment 'traditional' error handling, and I agree they can hinder if used badly. I don't think I've ever seen Exceptions used well... Invariably, I end up having to write a wrapper function around every function implemented and

Re: [PHP] Time Wrong

2009-01-21 Thread Nathan Rixham
Edmund Hertle wrote: 2009/1/21 Gary gwp...@ptd.net Im pretty new with php, so this might be a pretty novice mistake, but the time displays wrong on two computers. ?php echo date('l F jS, o h i A');? Shows up 2 hours late...time on both computers is correct. Thanks Do you mean on two

Re: [PHP] Re: How to use SVN + PHP

2009-01-22 Thread Nathan Rixham
derby wrote: Our dev team is using eclipse-pdt and subclipse plugin which integrates eclipse and subversion. Subversion or any VCS is essential. After 15 years of using FTP/SFTP/SCP, SVN has replaced it for all my web projects. you can get the RSE plugin for eclipse-pdt as well; I'd really

[PHP] Re: killing a child process from pcntl_exec

2009-01-22 Thread Nathan Rixham
bruce wrote: Hi.. I fork a child process If I wait, the child eventually dies.. but I'd like to be able to kill it thoughts/pointers/comments... thanks yeah - stop killing children -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php spawing/forking issues

2009-01-22 Thread Nathan Rixham
bruce wrote: Hi... Playing around with a test app to spawn external child processes. I'd like to be able to spawn/fork/run am external child process, that: -allows the child processes to run as separate independent processes (pid) -allows the child process(es) to be terminated via cmdline

Re: [PHP] Java / PHP Bridge

2009-01-23 Thread Nathan Rixham
c...@l-i-e.com wrote: Zero real experience, but what I hear is that the Java / PHP bridges are a bit brittle and difficult to shore up properly... You may want to consider going with HTTP REST / RPC services instead, as those are quite solid, and you can get what you want. Note that this is

Re: [PHP] Java / PHP Bridge

2009-01-23 Thread Nathan Rixham
c...@l-i-e.com wrote: And vice-versa: Any PHP functionality that needs to be called from Java can be a web service using whatever weapon you find suitable. yup and if I may suggest, wso2 WSF for PHP is probably you're best bet for doing this; http://wso2.org/ no finer php web service

[PHP] Re: process creation

2009-01-23 Thread Nathan Rixham
bruce wrote: A simple question (or so I thought). Does php allow an app to create/start a process/application that can continue to run on its own, after the initiating program/app terminates? It appears that the spawning/forking functions might work, but the child apps would be in a zombie

Re: [PHP] Re: process creation

2009-01-23 Thread Nathan Rixham
Török Alpár wrote: 2009/1/23 Nathan Rixham nrix...@gmail.com bruce wrote: A simple question (or so I thought). Does php allow an app to create/start a process/application that can continue to run on its own, after the initiating program/app terminates? It appears that the spawning/forking

[PHP] Re: Doc standard for methods?

2009-01-27 Thread Nathan Rixham
Larry Garfield wrote: Greetings, all. I am looking for feedback on a documentation question, in the hopes that someone else has found a good solution to an abnormal situation. We're in the process of introducing OOP syntax to a large procedural code base. Our developer base is a mixture of

Re: [PHP] Re: Doc standard for methods?

2009-01-27 Thread Nathan Rixham
Kyle Terry wrote: On Tue, Jan 27, 2009 at 7:06 AM, Eric Butera eric.but...@gmail.com wrote: On Tue, Jan 27, 2009 at 10:00 AM, Kyle Terry k...@kyleterry.com wrote: On Tue, Jan 27, 2009 at 5:56 AM, Nathan Rixham nrix...@gmail.com wrote: Larry Garfield wrote: Greetings, all. I am looking

[PHP] Re: Hidden costs of PHP arrays?

2009-01-27 Thread Nathan Rixham
Clancy wrote: Also what the relative virtues of defining the same set of fields for every contact, as against either defining only the fields which actually hold values, as in the following examples? a: $contacts['clancy']['home_address'] = 'jkjkjk'; $contacts['clancy']['home_phone'] = 0123

Re: [PHP] Programming general question

2009-01-27 Thread Nathan Rixham
Robert Cummings wrote: On Wed, 2009-01-28 at 01:07 +0100, Edmund Hertle wrote: 2009/1/28 Terion Miller webdev.ter...@gmail.com I googled this and didn't find an answer my question is how do you know when to use an object or array would an object just be 1 instance, and array is several

Re: [PHP] Hidden costs of PHP arrays?

2009-01-27 Thread Nathan Rixham
Robert Cummings wrote: On Wed, 2009-01-28 at 10:38 +1100, Clancy wrote: PHP arrays permit extremely concise programming; for example if I have all my contacts in an array $contacts, I can write: $my_phone_no = $contacts['clancy']['phone']; However it is clear that there must be a lot going

Re: [PHP] New to PHP question

2009-01-28 Thread Nathan Rixham
Paul M Foster wrote: On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: snip I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find it quicker to use tables is when I design forms. I know I'm going to

Re: [PHP] PHP Content Management

2009-01-29 Thread Nathan Rixham
Larry Garfield wrote: On Friday 30 January 2009 12:16:44 am Jason Todd Slack-Moehrle wrote: I would like something simple to setup, http://drupal.org/ lol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Matching

2009-01-31 Thread Nathan Rixham
Eric Butera wrote: On Sat, Jan 31, 2009 at 9:33 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sat, 2009-01-31 at 08:38 -0500, Eric Butera wrote: On Sat, Jan 31, 2009 at 7:32 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2009-01-30 at 21:33 -0500, Eric Butera wrote:

Re: [PHP] PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-01-31 Thread Nathan Rixham
Eric Butera wrote: On Sat, Jan 31, 2009 at 10:10 AM, tedd tedd.sperl...@gmail.com wrote: My mother always told me to close the door. She wasn't a programmer, but it kept the chickens out. As a matter of habit, I always close all tags. However, I have yet to be bitten by the problem everyone

Re: [PHP] Re: frameworks

2009-01-31 Thread Nathan Rixham
Eric Butera wrote: On Sat, Jan 31, 2009 at 12:06 PM, Shawn McKenzie nos...@mckenzies.net wrote: Eric Butera wrote: On Fri, Jan 30, 2009 at 7:14 PM, Kevin Waterson ke...@phpro.org wrote: On Fri, 2009-01-30 at 18:03 -0600, Shawn McKenzie wrote: From what I could tell, this was the best RAD,

Re: [PHP] Re: frameworks

2009-01-31 Thread Nathan Rixham
Eric Butera wrote: On Sat, Jan 31, 2009 at 1:12 PM, Nathan Rixham nrix...@gmail.com wrote: Eric Butera wrote: On Sat, Jan 31, 2009 at 12:06 PM, Shawn McKenzie nos...@mckenzies.net wrote: Eric Butera wrote: On Fri, Jan 30, 2009 at 7:14 PM, Kevin Waterson ke...@phpro.org wrote: On Fri, 2009

[PHP] Re: Clarity needed

2009-02-04 Thread Nathan Rixham
tedd wrote: Hi gang: I need some fog removed. I have a problem where I have an unlimited number of tutors teaching an unlimited number of courses. When I call upon a tutor, I want to see all the courses they teach. In my old days, I would just set up a linked list of courses and attach it

Re: [PHP] Speed Opinion

2009-02-04 Thread Nathan Rixham
Ashley Sheridan wrote: On Thu, 2009-02-05 at 09:44 +1100, Chris wrote: PHP wrote: Hi all, I am seeking some knowledge, hopefully I explain this right. I am wondering what you think is faster. Say you have 1000 records from 2 different tables that you need to get from a MySQL database. A

[PHP] Re: PHP pop-up windows

2009-02-04 Thread Nathan Rixham
Clancy wrote: I'm working on a website editor, primarily for my own use. Normally it will be used on my own computer, and much of what I wish to achieve could arguably be better done in either C or JavaScript, but both of these have a similar programming syntax to PHP, but with subtle

Re: [PHP] Garbage Collection

2009-02-05 Thread Nathan Rixham
Dan Shirah wrote: Hi gang: A related question to my last Clarity needed post. I have a tutor table (showing all the tutors), a course table (showing all the courses), and a course-to-tutor table (showing all the instances of what tutor teaches what course). Okay, everything works. Whenever I

[PHP] Re: DB Comparisons

2009-02-05 Thread Nathan Rixham
revDAVE wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other technologies like MS sequel server oracle - coldfusion etc I imagine that most middleware like php / asp / coldfusion is

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread Nathan Rixham
Robert Cummings wrote: On Thu, 2009-02-05 at 21:03 +, Nathan Rixham wrote: revDAVE wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other technologies like MS sequel server oracle

Re: [PHP] Clarity needed (Really OT)

2009-02-06 Thread Nathan Rixham
tedd wrote: At 7:35 PM +0100 2/6/09, Jochem Maas wrote: Socialist Doctrine? the community orm? Here's a group of people under treat of loss of life tell their government that everyone is created equal and you say that what they said is a Socialist Doctrine? A doctrine that came into

Re: [PHP] Email configuration

2009-02-06 Thread Nathan Rixham
Ashley Sheridan wrote: I've never had an email bounced because of where it came from based on IP. I have had emails bounced based on the email headers that were sent. Always check the headers first. Even MessageLabs won't block an email based on the IP. ash: http://en.wikipedia.org/wiki/DNSBL

Re: [PHP] Email configuration

2009-02-06 Thread Nathan Rixham
Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's always so sure he's right lolol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Email configuration

2009-02-06 Thread Nathan Rixham
Shawn McKenzie wrote: Nathan Rixham wrote: Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's always so sure he's right lolol Hmmm... So Ashley is a him

[PHP] Re: Session variables

2009-02-07 Thread Nathan Rixham
Paul M Foster wrote: I'm not too clear on HTTP headers, cookies, and such. So here are questions related to that. Let's say I generate a random number that I want the user to enter in a form. When I generate the number, I store it in a session variable ($_SESSION). When the user submits the

[PHP] Re: Sending XML requests as raw post data

2009-02-07 Thread Nathan Rixham
Marc Steinert wrote: Hi there! The software I'm maintaining uses $HTTP_RAW_POST_DATA to receive XML requests, posted by some client written in C#. Now I need to write a PHP client that posts XML requests the same way as the C# client, so that the posted data is stored in $HTTP_RAW_POST_DATA,

[PHP] Re: Sending XML requests as raw post data

2009-02-07 Thread Nathan Rixham
Marc Steinert wrote: Hi there! The software I'm maintaining uses $HTTP_RAW_POST_DATA to receive XML requests, posted by some client written in C#. Now I need to write a PHP client that posts XML requests the same way as the C# client, so that the posted data is stored in $HTTP_RAW_POST_DATA,

[PHP] Re: php get rss tag using DOM

2009-02-08 Thread Nathan Rixham
Morris wrote: Hi, I am trying to write a programme to read a rss xml file. ... media:content url=*exampe.jpg* ... ... scan anyone tell me how to get the url attribute? I wrote some codes similar: $doc = new DOMDocument; $doc-load($myFlickrRss); $r =

Re: [PHP] maybe we could all?

2009-02-09 Thread Nathan Rixham
Marcus Gnaß wrote: Nathan Rixham wrote: Project: PHP Common Objects and Datatypes Has anything been setup for project COD-pieces yet? I like this name! ;) Hi Markus, Actually, yes it has - the project, well working group, has been called voom. So far there are 8 developers including

Re: [PHP] PHP OOP

2009-02-09 Thread Nathan Rixham
Eric Butera wrote: On Mon, Feb 9, 2009 at 11:20 AM, Thodoris t...@kinetix.gr wrote: Hi gang: At the college where I teach, they are considering teaching OOP, but they don't want to settle on a specific language. My thoughts are it's difficult to teach OOP without a language -- while the

Re: [PHP] Free XML and WDL classes/scripts

2009-02-18 Thread Nathan Rixham
Per Jessen wrote: Anton Heuschen wrote: What are some good php classes/scripts to work with: Parsing XML data/files. xpath() or xslt. /Per you'll do no finer than wso2 wsf/php for anything webservice related http://wso2.org/projects/wsf/php -- PHP General Mailing List

<    1   2   3   4   5   6   7   8   9   10   >