[PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-23 Thread Richard Quadling
Hi. I'm building an XML file. It is within an OOP structure and is pretty simple. The method is ... /** * Turn an error from the W2GlobalData service into normal document as this will make it easier to integrate downstream. * * @param \SimpleXMLElement $o_XML * @return \

[PHP] [PHP-DEV] PHP 5.3.26RC1 and 5.4.16RC1 Released for Testing!

2013-05-23 Thread Johannes Schlüter
Hi! We've released PHP 5.3.26RC1 and 5.4.16RC1 which can be found here: 5.3.26RC1: http://downloads.php.net/johannes/php-5.3.26RC1.tar.bz2 http://downloads.php.net/johannes/php-5.3.26RC1.tar.gz 5.4.16RC1: http://downloads.php.net/stas/php-5.4.16RC1.tar.bz2 http://downloads.php.

Re: [PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-23 Thread Matijn Woudt
On Thu, May 23, 2013 at 4:54 PM, Richard Quadling wrote: > Hi. > > I'm building an XML file. > > It is within an OOP structure and is pretty simple. > > The method is ... > > > Nothing particularly difficult to understand, but I just don't like having > the XML embedded this way. > > Ideally, I w

Re: [PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-23 Thread Stuart Dallas
On 23 May 2013, at 15:54, Richard Quadling wrote: > I'm building an XML file. > > It is within an OOP structure and is pretty simple. > > The method is ... > >/** > * Turn an error from the W2GlobalData service into normal document as > this will make it easier to integrate downstream.

Re: [PHP] Source code of original PHP release.

2013-05-23 Thread Daniel Brown
On Thu, May 23, 2013 at 2:16 AM, chris wrote: > I'm currently writing a paper on the evolution of PHP and web > development/security as a whole. > One of the things I want to incorporate is snippets of source code to show > how things have grown and advanced since the 90's > > If anyone could help

[PHP] Script

2013-05-23 Thread Last Hacker Always onpoint
Hi please the script am using is an auto generated script: simple machine function, and its having problems. So please I'l like to ask if anyone can give me a cool music site script like music212.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] Source code of original PHP release.

2013-05-23 Thread chris
Thank you Sir. Just what I needed :) I didn't even know there was a museum. Cheers, Christopher Tombleson On 2013-05-24 05:02, Daniel Brown wrote: On Thu, May 23, 2013 at 2:16 AM, chris wrote: I'm currently writing a paper on the evolution of PHP and web development/security as a whole. One o

Re: [PHP] Random

2013-05-23 Thread Stuart Dallas
On 23 May 2013, at 21:51, Last Hacker Always onpoint wrote: > Hey I need code for random number 1-30 for my site. Seriously? Did you try to find out how to do this yourself before asking here? http://php.net/rand And, more generally: http://php.net/docs -Stuart -- Stuart Dallas 3ft9 L

Re: [PHP] Random

2013-05-23 Thread Daniel Brown
On Thu, May 23, 2013 at 4:51 PM, Last Hacker Always onpoint wrote: > Hey I need code for random number 1-30 for my site. You need to know that you've been removed from the list (but you'd still have to be subscribed to be able to read this). -- Network Infrastructure Manager http://www.php.

Re: [PHP] Random

2013-05-23 Thread Tedd Sperling
On May 23, 2013, at 4:54 PM, Daniel Brown wrote: > On Thu, May 23, 2013 at 4:51 PM, Last Hacker Always onpoint > wrote: >> Hey I need code for random number 1-30 for my site. > >You need to know that you've been removed from the list (but you'd > still have to be subscribed to be able to re

Re: [PHP] Random

2013-05-23 Thread Stephen
On 13-05-23 04:51 PM, Last Hacker Always onpoint wrote: Hey I need code for random number 1-30 for my site. http://php.net/manual/en/function.rand.php -- Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Random

2013-05-23 Thread musicdev
His gmail name should be "Last last last last Hacker hacker acker not-cker Never On-point" :) On Thu, May 23, 2013 at 4:51 PM, Last Hacker Always onpoint < lasthack...@gmail.com> wrote: > Hey I need code for random number 1-30 for my site. > > -- > PHP General Mailing List (http://www.php.net/)

Re: [PHP] Moving from mysql functions to mysqli or PDO - which is best?

2013-05-23 Thread dealTek
On May 18, 2013, at 11:33 AM, Matijn Woudt wrote: > > Probably some people will say PDO, others will say MySQLi, in general it > doesn't really matter, and I think you have named the biggest differences in > your mail. > So if you're going to stick with MySQL anyway, you can take advantage of

Re: [PHP] Moving from mysql functions to mysqli or PDO - which is best?

2013-05-23 Thread musicdev
I found it easier to use mysqli_* functions as these were mostly identical to mysql_*. So converting from mysql to mysqli did not require allot of rewrite. On Sat, May 18, 2013 at 2:09 PM, dealTek wrote: > Hi folks, > > [post newbie abilities] - I'm attempting to move away from PHP mysql > fun

Re: [PHP] Random

2013-05-23 Thread tamouse mailing lists
On Thu, May 23, 2013 at 3:51 PM, Last Hacker Always onpoint wrote: > Hey I need code for random number 1-30 for my site. function rand_from_1_to_30() { return 4; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Random

2013-05-23 Thread Last Hacker Always onpoint
okay thanks tamouse and others you think am not on point hmmm? I'll show you i am. On 5/24/13, tamouse mailing lists wrote: > On Thu, May 23, 2013 at 3:51 PM, Last Hacker Always onpoint > wrote: >> Hey I need code for random number 1-30 for my site. > > function rand_from_1_to_30() { > retur