Re: [PHP] Need Programmers for Projects

2008-10-17 Thread Daniel Brown
On Fri, Oct 17, 2008 at 11:09 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am looking for some help with projects. Please let me know if you're > interested. Most people would be wary of replying with a vague message like that. 1.) What kind of projects? 2.) What is the compe

[PHP] Need Programmers for Projects

2008-10-17 Thread [EMAIL PROTECTED]
I am looking for some help with projects. Please let me know if you're interested.

Re: [PHP] PHP Dev Facts

2008-10-17 Thread VamVan
On Thu, Oct 16, 2008 at 4:14 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > Evening All, > > I'd be /really/ interested to know who uses what! > > *Procedural or OOP?* OOP > > > *Dev OS* Centos , some time XAMPP n > > > *Dev PHP Version* 5.2.6 > > > *Live Server OS* Centos > > > *Live Serv

Re: [PHP] MYSQL insert problems

2008-10-17 Thread chris smith
On Sat, Oct 18, 2008 at 3:22 AM, Frank Stanovcak <[EMAIL PROTECTED]> wrote: > I'm using the following code to try and do a simple insert query. However > it won't insert the data into the table, and I get no error messages. What > have I done wrong this time? You will be getting an error. echo

Re: [PHP] Securing AJAX requests with PHP?

2008-10-17 Thread Yeti
>but whose counting :-)) Someone is for sure. Maybe the scheduler? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Simon J Welsh
On 17/10/2008, at 12:14, Nathan Rixham wrote: *Procedural or OOP?* OOP *Dev OS* Mac OS 10.5.5 *Dev PHP Version* 5.2.5 *Live Server OS* Linux 2.6.9-42.0.3.ELsmp #1 SMP *Live Server PHP Version* 5.2.6 *Which HTTP Server Software (+version)?* Apache 1.3.41 live and Apache 2.2.

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Nathan Rixham
Brendon Van Heyzen wrote: Have to say using eclipse/zend for eclipse with mylyn/tasktop really helps in keeping up with bug tracking (trac) with all my projects. Helps to keep everything organized, especially when management wants to know what's going on. SVN is also crucial and its nice to have

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Brendon Van Heyzen
*Procedural or OOP?* I try now to do everything OOP, its just worth spending the extra time (depending) going the OOP route even on small tasks *Dev OS* Mac OS X 10.5.5 *Dev PHP Version* 5.2.6 *Live Server OS* Gentoo linux (not sure version) *Live Server PHP Version* 5.2.5 (haven't upgraded

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Paul Scott
On Fri, 2008-10-17 at 00:14 +0100, Nathan Rixham wrote: > Evening All, > > I'd be /really/ interested to know who uses what! > > *Procedural or OOP?* > OOP > *Dev OS* > Ubuntu 8.04 > *Dev PHP Version* > PHP-5.2.3 > *Live Server OS* > Debian > *Live Server PHP Version* > PHP-5.2.3

Re: [PHP] Securing AJAX requests with PHP?

2008-10-17 Thread Jochem Maas
Jay Moore schreef: > I realize this isn't really about PHP, but I was hoping maybe someone > had a way to make AJAX a little bit more secure using PHP. > > I was thinking of making my AJAX calls also pass the current session id, the browser should still send the session cookie for async requests.

Re: [PHP] Securing AJAX requests with PHP?

2008-10-17 Thread Bastien Koert
On Fri, Oct 17, 2008 at 3:08 PM, Jay Moore <[EMAIL PROTECTED]> wrote: > I realize this isn't really about PHP, but I was hoping maybe someone had a > way to make AJAX a little bit more secure using PHP. > > I was thinking of making my AJAX calls also pass the current session id, > and have my PHP

[PHP] Securing AJAX requests with PHP?

2008-10-17 Thread Jay Moore
I realize this isn't really about PHP, but I was hoping maybe someone had a way to make AJAX a little bit more secure using PHP. I was thinking of making my AJAX calls also pass the current session id, and have my PHP script check to make sure it's a valid id, but I'm open to other ideas. Do

Re: [PHP] what's the difference in the following code?

2008-10-17 Thread Eric Butera
On Fri, Oct 17, 2008 at 1:58 PM, Lamp Lists <[EMAIL PROTECTED]> wrote: > I'm reading "Essential PHP Security" by Chris Shiflett. > > on the very beginning, page 5 & 6, if I got it correct, he said this is not > good: > > $search = isset($_GET['search']) ? $_GET['search'] : ''; > > and this is good

Re: [PHP] what's the difference in the following code?

2008-10-17 Thread Richard Heyes
> I'm reading "Essential PHP Security" by Chris Shiflett. > > on the very beginning, page 5 & 6, if I got it correct, he said this is not > good: > > $search = isset($_GET['search']) ? $_GET['search'] : ''; > > and this is good: > > $search = ''; > if (isset($_GET['search'])) > { >$search = $_

[PHP] what's the difference in the following code?

2008-10-17 Thread Lamp Lists
I'm reading "Essential PHP Security" by Chris Shiflett. on the very beginning, page 5 & 6, if I got it correct, he said this is not good: $search = isset($_GET['search']) ? $_GET['search'] : ''; and this is good: $search = ''; if (isset($_GET['search'])) { $search = $_GET['search']; } wha

Re: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Frank Stanovcak
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, Oct 17, 2008 at 12:11 PM, Jay Blanchard <[EMAIL PROTECTED]> > wrote: >> >> It's Friday night, shouldn't you be going to the pub instead? > >In another eight years he'll be glad to do that. Little-known >

Re: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Daniel Brown
On Fri, Oct 17, 2008 at 12:11 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote: > > It's Friday night, shouldn't you be going to the pub instead? In another eight years he'll be glad to do that. Little-known fact: Nate is the world's smartest 12-year-old. -- More full-root dedicated serve

Re: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Nathan Rixham
Jay Blanchard wrote: [snip] just a quick note to say I'll compile all this into something more meaningful and publish later on tonight :-) nice to see so many responses. [/snip] It's Friday night, shouldn't you be going to the pub instead? wanna baby sit? -- nathan ( [EMAIL PROTECTED] ) {

[PHP] Re: MYSQL insert problems

2008-10-17 Thread Frank Stanovcak
Just incase the problem was refrencing an array in an SQL statement I tried this too with the same result. $value) { echo $key . ' : ' . $value . ''; }; echo ''; }; mysql_close($connection); include('..\VariableReveal.php'); ?> -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] MYSQL insert problems

2008-10-17 Thread Frank Stanovcak
I'm using the following code to try and do a simple insert query. However it won't insert the data into the table, and I get no error messages. What have I done wrong this time? $value) { echo $key . ' : ' . $value . ''; }; echo ''; }; mysql_close($connection); include('..\VariableReveal

Re: [PHP] when mysql is down

2008-10-17 Thread Eric Butera
On Fri, Oct 17, 2008 at 12:07 PM, Stut <[EMAIL PROTECTED]> wrote: > On 17 Oct 2008, at 16:52, Rick Pasotto wrote: >> >> Today my hosting company took down the mysql server for about 1/2 hour. >> As a result some php errors displayed. > > Firstly if they didn't tell you it was going to happen then I

RE: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Jay Blanchard
[snip] just a quick note to say I'll compile all this into something more meaningful and publish later on tonight :-) nice to see so many responses. [/snip] It's Friday night, shouldn't you be going to the pub instead? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Michal Sokolowski
2008/10/17 Nathan Rixham <[EMAIL PROTECTED]> > Evening All, > > I'd be /really/ interested to know who uses what! > > *Procedural or OOP?* > Mostly OO > > *Dev OS* > Ubuntu Hardy > > *Dev PHP Version* > 5.2.? - I don't remember > > *Live Server OS* > CentOS, Fedora > > *Live Server PHP Version

Re: [PHP] when mysql is down

2008-10-17 Thread Stut
On 17 Oct 2008, at 16:52, Rick Pasotto wrote: Today my hosting company took down the mysql server for about 1/2 hour. As a result some php errors displayed. Firstly if they didn't tell you it was going to happen then I suggest you change host. Unless it was an emergency, but even then they

Re: [PHP] when mysql is down

2008-10-17 Thread Eric Butera
On Fri, Oct 17, 2008 at 11:52 AM, Rick Pasotto <[EMAIL PROTECTED]> wrote: > Today my hosting company took down the mysql server for about 1/2 hour. > As a result some php errors displayed. > > All of my pages have a random quote from a mysql table. If it's not > available it's really not a big deal

[PHP] when mysql is down

2008-10-17 Thread Rick Pasotto
Today my hosting company took down the mysql server for about 1/2 hour. As a result some php errors displayed. All of my pages have a random quote from a mysql table. If it's not available it's really not a big deal. However, some of the pages depend entirely on data from the database. What's the

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Thorsten Suckow-Homberg
> *Procedural or OOP?* OOP > *Dev OS* Windows XP > *Dev PHP Version* 5.2.6 > *Live Server OS* - > *Live Server PHP Version* - > *Which HTTP Server Software (+version)?* Apache 2.2 > *IDE / Dev Environment* UltraEdit > *Preferred Framework(s)?* Zend Framework, Ext JS > *Do you Unit

[PHP] Re: PHP Dev Facts

2008-10-17 Thread Nathan Rixham
just a quick note to say I'll compile all this into something more meaningful and publish later on tonight :-) nice to see so many responses. -- nathan ( [EMAIL PROTECTED] ) { Senior Web Developer php + java + flex + xmpp + xml + ecmascript web development edinburgh | http://kraya.co.uk/ }

RE: [PHP] PHP Dev Facts

2008-10-17 Thread Boyd, Todd M.
> -Original Message- > From: Nathan Rixham [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2008 6:14 PM > To: php-general@lists.php.net > Subject: [PHP] PHP Dev Facts > > *Procedural or OOP?* Depends on the project. Large scope: OOP Small scope: (usually) Procedural ...but I've be

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Dan Joseph
On Thu, Oct 16, 2008 at 7:14 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > Evening All, > > I'd be /really/ interested to know who uses what! > > *Procedural or OOP?* > OOP > > *Dev OS* > Windows & CentOS > > *Dev PHP Version* > Win 5.1.2, CentOS 5.2.6 > > *Live Server OS* > Windows & C

Re: [PHP] PHP Dev Facts

2008-10-17 Thread András Csányi
2008/10/17 Nathan Rixham <[EMAIL PROTECTED]>: > Evening All, > > I'd be /really/ interested to know who uses what! > > *Procedural or OOP?* OOP but sometimes i have to procedural. > *Dev OS* Gentoo Linux > *Dev PHP Version* PHP 5.2.6-pl7-gentoo with Suhosin-Patch 0.9.6.2 > *Live Server OS* F

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Jason Pruim
On Oct 16, 2008, at 7:14 PM, Nathan Rixham wrote: Evening All, I'd be /really/ interested to know who uses what! *Procedural or OOP?* Procedural, haven't learned OOP yet. and besides... $this = $that; makes more sense to me then $this->$that; :) *Dev OS* OS X Leopard (What ever the m

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Kyle Terry
*Procedural or OOP?* Both depending on the scale of the project. *Dev OS* Usually Debian 4 *Dev PHP Version* 5.2.6 *Live Server OS* Client's choice. For my full time job I write for CentOS 5 and Debian based OSs. *Live Server PHP Version* 5.2.6 - It doesn't make sense to program in a version yo

RE: [PHP] PHP Dev Facts

2008-10-17 Thread Tom Shaw
Here's mine. *Procedural or OOP?* Both, even when I'm doing procedural stuff at the very least I'll have a classes directory/autoloader function where I have OOP API's to assist in the design. *Dev OS* At home windows vista. At work Linux Slackware. *Dev PHP Version* PHP 5.2.5. I would run la

Re: [PHP] Searching MySQL with Japanese chars

2008-10-17 Thread Eric Butera
On Fri, Oct 17, 2008 at 8:22 AM, robert mena <[EMAIL PROTECTED]> wrote: > Hi, > I am developing my first application that will have to handle with japanese > data stored in a MySQL database. After digging a while it seems that I'd > have to set all pieces (from the charset of the apache, to the e

[PHP] Searching MySQL with Japanese chars

2008-10-17 Thread robert mena
Hi, I am developing my first application that will have to handle with japanese data stored in a MySQL database. After digging a while it seems that I'd have to set all pieces (from the charset of the apache, to the encoding of the templates and database fields) set to UTF-8. I'd like to know if

Re: [PHP] Randomiser

2008-10-17 Thread Andrew Barnett
I ended up using an example from the PHP website. Just extended the array to the number of lines I needed. Andrew

[PHP] Re: PHP Dev Facts

2008-10-17 Thread Carlos Medina
[snip] *Procedural or OOP?* depends on the job to be done *Dev OS* unix or derivate *Dev PHP Version* >= 5 *Live Server OS* unix or derivate *Live Server PHP Version* >= 5 *Which HTTP Server Software (+version)?* Apache >= 2 *IDE / Dev Environment* PHPEd/Net Beans *Preferred Framework(s)?* Zend Fr

RE: [PHP] PHP Dev Facts

2008-10-17 Thread Jay Blanchard
[snip] *Procedural or OOP?* Mix - depends on the job to be done *Dev OS* SUSe Linux *Dev PHP Version* 5.n *Live Server OS* SUSe Linux *Live Server PHP Version* 5.n *Which HTTP Server Software (+version)?* Apache 2.n *IDE / Dev Environment* Eclipse / Zend *Preferred Framework(s)?* none *Do you Unit

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Sancar Saran
On Friday 17 October 2008 02:14:18 Nathan Rixham wrote: > Evening All, > > I'd be /really/ interested to know who uses what! > > *Procedural or OOP?* Procedural in design. And code a bit different. I'm groupping my functions under classes like util, user, session etc. Each function is public stati

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Jochem Maas
Nathan Rixham schreef: > Evening All, > > I'd be /really/ interested to know who uses what! > > *Procedural or OOP?* mostly OOP with a smattering of helper functions. small CLI scripts are often procedural. > > *Dev OS* Mac OS X Leopard (with winXP VM) > > *Dev PHP Version* daily dev 5.2.6

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Stut
On 17 Oct 2008, at 00:14, Nathan Rixham wrote: I'd be /really/ interested to know who uses what! *Procedural or OOP?* My standard architecture is OOP with procedural controllers. *Dev OS* OSX. *Dev PHP Version* 5.2.6 *Live Server OS* CentOS and FreeBSD. *Live Server PHP Version*

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Thijs Lensselink
Quoting Nathan Rixham <[EMAIL PROTECTED]>: Evening All, I'd be /really/ interested to know who uses what! *Procedural or OOP?* OO *Dev OS* Ubuntu / Windows XP *Dev PHP Version* 5.2.6 *Live Server OS* Debian / Suse *Live Server PHP Version* 5.2.6 *Which HTTP Server Soft

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Lester Caine
Nathan Rixham wrote: Evening All, I'd be /really/ interested to know who uses what! *Procedural or OOP?* Mainly OOP nowadays *Dev OS* 'Eclipse' So I can run transparently on Windows or Linux depending on the customer site *Dev PHP Version* In limbo at present awaiting sorting out of wind

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Per Jessen
On Fri, 2008-10-17 at 00:14 +0100, Nathan Rixham wrote: > Evening All, > > I'd be really interested to know who uses what! > > *Procedural or OOP?* Procedural > *Dev OS* opensuse 11.0 > *Dev PHP Version* 5.2.5 & 4.3.8-9-10-11 > *Live Server OS* opensuse 10.1, 10.2, 10.3, 11.0, 8.2, 9.1 > *Live Se

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Larry Garfield
On Thursday 16 October 2008 6:14:18 pm Nathan Rixham wrote: > Evening All, > > I'd be /really/ interested to know who uses what! > > *Procedural or OOP?* Right tool for the job. I'm comfortable in either. Most of my work these days is in a large open source procedural framework, but I'm slowly

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Ashley Sheridan
On Fri, 2008-10-17 at 00:14 +0100, Nathan Rixham wrote: > Evening All, > > I'd be /really/ interested to know who uses what! > > *Procedural or OOP?* Procedural > *Dev OS* Suse 10.3, Fedora 6, Redhat ?, Windows Server 2003 > *Dev PHP Version* 5.2.5 & 4.? > *Live Server OS* Suse 10.3, Fedora 6, Re