Re: [PHP] What do you get for ...

2011-06-07 Thread Richard Quadling
On 7 June 2011 12:25, Stuart Dallas wrote: > On Tue, Jun 7, 2011 at 12:10 PM, Richard Quadling > wrote: >> >> > -Original Message- >> > What output do you get on non Windows setups? > > OSX 10.6.7 > PHP 5.3.4 > OSX Server 10.6 > PHP 5.3.0 > Linux 2.6.35.4-rscloud (Rackspace cloud) > PHP 5

Re: [PHP] What do you get for ...

2011-06-07 Thread Stuart Dallas
On Tue, Jun 7, 2011 at 12:10 PM, Richard Quadling wrote: > > -Original Message- > > What output do you get on non Windows setups? > OSX 10.6.7 PHP 5.3.4 OSX Server 10.6 PHP 5.3.0 Linux 2.6.35.4-rscloud (Rackspace cloud) PHP 5.3.6 Linux 2.6.18 (CentOS) PHP 5.2.10 Linux 2.6.18 (CentOS)

Re: [PHP] What do you get for ...

2011-06-07 Thread Richard Quadling
> -Original Message- > What output do you get on non Windows setups? Hmmm. I really should have asked what the non windows users get. Oh. Look. I did. ;-) -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Genera

RE: [PHP] What do you get for ...

2011-06-07 Thread admin
Microsoft Windows Version 5.1.2600 E:\>php -r "var_dump(realpath(null));" string(41) "E:\" E:\> Richard L. Buskirk -Original Message- From: Richard Quadling [mailto:rquadl...@gmail.com] Sent: Tuesday, June 07, 2011 6:35 AM To: PHP General list Subject:

RE: [PHP] What do you get for ...

2011-06-07 Thread Jason
>-Original Message- >From: Richard Quadling [mailto:rquadl...@gmail.com] >Sent: 07 June 2011 11:35 >To: PHP General list >Subject: [PHP] What do you get for ... > >Hi. > >What do you get for ... > >php -r "var_dump(realpath(null));" > >I&#x

[PHP] What do you get for ...

2011-06-07 Thread Richard Quadling
Hi. What do you get for ... php -r "var_dump(realpath(null));" I'm wondering if the result should be a boolean false. But I'm getting very different results for different versions of PHP for Windows. For PHP5+ (upto lastest 5.3.7-dev), the output is always the same as getcwd() For PHP4, some

Re: [PHP] what would be the best way to build a 'add page function' to my cms?

2011-05-04 Thread Adam Preece
Hi Tedd, thank you for your response, i am in the process now of creating this function, and its very deceptive how complex you can actually make it. but im sure i'll get there. i have taken a some of your points into consideration. thanks again. On 4 May 2011, at 17:20, tedd wrote: > At 7:

Re: [PHP] what would be the best way to build a 'add page function' to my cms?

2011-05-04 Thread tedd
At 7:19 PM +0100 5/2/11, Adam Preece wrote: the reason, why i don't want to use word press and any other open source solution, is that i want to learn how it is all done. im sure i can figure it out myself but i would like to ask others and see how they would tackle it. the idea with the modu

Re: [PHP] what would be the best way to build a 'add page function' to my cms?

2011-05-02 Thread Adam Preece
the reason, why i don't want to use word press and any other open source solution, is that i want to learn how it is all done. im sure i can figure it out myself but i would like to ask others and see how they would tackle it. the idea with the modules sounds really cool, template type system.

Re: [PHP] what would be the best way to build a 'add page function' to my cms?

2011-05-02 Thread Ashley Sheridan
On Mon, 2011-05-02 at 18:43 +0100, Adam Preece wrote: > Hi, > > sure i will try to be more specific. > > > Is each page a standalone one based on a template that just allows the main > > content to be changed? > yes. > > > Is a page made up of several snippets? > could be, depends on what has

Re: [PHP] what would be the best way to build a 'add page function' to my cms?

2011-05-02 Thread Adam Preece
Hi, sure i will try to be more specific. > Is each page a standalone one based on a template that just allows the main > content to be changed? yes. > Is a page made up of several snippets? could be, depends on what has to be done. > Does the CMS save out the final HTML page, or does it store

Re: [PHP] what would be the best way to build a 'add page function' to my cms?

2011-05-02 Thread Ashley Sheridan
On Mon, 2011-05-02 at 17:59 +0100, Adam Preece wrote: > Hi, > > im building a cms and im currently thinking of a way to build an add page > function. > > any one got some ideas on the best way to achieve this? > > cheers That's a bit of an open question, and there are several things that ne

[PHP] what would be the best way to build a 'add page function' to my cms?

2011-05-02 Thread Adam Preece
Hi, im building a cms and im currently thinking of a way to build an add page function. any one got some ideas on the best way to achieve this? cheers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] I am a Windows programmer and getting started on PHP. What is the easiest way of getting started? Most of the stuff I encounter seems to be very Linux specific.

2010-11-18 Thread Tommy Pham
> -Original Message- > From: Keerat Singh [mailto:professionalkee...@yahoo.in] > Sent: Thursday, November 18, 2010 2:09 AM > To: php-general@lists.php.net > Subject: [PHP] I am a Windows programmer and getting started on PHP. > What is the easiest way of getting started?

Re: [PHP] I am a Windows programmer and getting started on PHP. What is the easiest way of getting started? Most of the stuff I encounter seems to be very Linux specific.

2010-11-18 Thread Aman Singh
helps. On Thu, Nov 18, 2010 at 3:38 PM, Keerat Singh wrote: > I am a Windows programmer and getting started on PHP. What is the easiest > way of > getting started? Most of the stuff I encounter seems to be very Linux > specific. > >

[PHP] I am a Windows programmer and getting started on PHP. What is the easiest way of getting started? Most of the stuff I encounter seems to be very Linux specific.

2010-11-18 Thread Keerat Singh
I am a Windows programmer and getting started on PHP. What is the easiest way of getting started? Most of the stuff I encounter seems to be very Linux specific.

Re: [PHP] What other languages do you use?

2010-10-10 Thread Russell Dias
For me: LAMP stack of course. Javascript and jQuery Python Learning new languages open your mind to a whole new set of possibilities. It also improves the way you code in your language of choice. At this point in time, my goals are one language a year. Eventually I would like to get to a point

Re: [PHP] What other languages do you use?

2010-10-10 Thread Richard Quadling
On 8 October 2010 18:30, Nathan Rixham wrote: > As per the subject, not what other languages have you used, but what other > languages do you currently use? > > I guess it may also be interesting to know if: > > (1) there's any particular reason for you using a different language (other > than wor

Re: [PHP] What other languages do you use?

2010-10-09 Thread tedd
At 4:21 PM +0100 10/9/10, Nathan Rixham wrote: tedd wrote: At 6:30 PM +0100 10/8/10, Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? I guess it may also be interesting to know if: (1) there's any particular reaso

Re: [PHP] What other languages do you use?

2010-10-09 Thread Daniel P. Brown
On Sat, Oct 9, 2010 at 11:21, Nathan Rixham wrote: > > yup that's correct - you can thank Dan Brown for setting everybody off > speaking in foreign tongues :p No worries, karma bit my ass back. I'm about to catch a plane cross-country to San Diego in a bit, and last night I came down with a

Re: [PHP] What other languages do you use?

2010-10-09 Thread Nathan Rixham
tedd wrote: At 6:30 PM +0100 10/8/10, Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? I guess it may also be interesting to know if: (1) there's any particular reason for you using a different language (other tha

Re: [PHP] What other languages do you use?

2010-10-09 Thread tedd
At 6:30 PM +0100 10/8/10, Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? I guess it may also be interesting to know if: (1) there's any particular reason for you using a different language (other than work/day-jo

Re: [PHP] What other languages do you use?

2010-10-08 Thread Richard Quadling
On 8 October 2010 18:30, Nathan Rixham wrote: > As per the subject, not what other languages have you used, but what other > languages do you currently use? > > I guess it may also be interesting to know if: > > (1) there's any particular reason for you using a different language (other > than wor

Re: [PHP] What other languages do you use?

2010-10-08 Thread shiplu
At home I always speak in Bangla. But at work I have to speak in English. I watch Hindi movies well. So I understand Hindi too. I used, C Java C++ C# ActionScript Javascript Perl PHP Bash LISP Currently I am working in LISP C C++ At home I play with Bash, Javascript, PHP, C -- Shiplu Mokadd.im

Re: [PHP] What other languages do you use?

2010-10-08 Thread Tamara Temple
On Oct 8, 2010, at 12:30 PM, Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? Perl, Ruby, Javascript, Sh, C. Planning on picking up Python. I guess it may also be interesting to know if: (1) there's any parti

Re: [PHP] What other languages do you use?

2010-10-08 Thread Per Jessen
Per Jessen wrote: > Nathan Rixham wrote: > >> Per Jessen wrote: >>> Nathan Rixham wrote: >>> As per the subject, not what other languages have you used, but what other languages do you currently use? >>> >>> French, German, English and Danish. >>> >> >> Forhåbentlig ikke alle zur en

Re: [PHP] What other languages do you use?

2010-10-08 Thread Per Jessen
Nathan Rixham wrote: > Per Jessen wrote: >> Nathan Rixham wrote: >> >>> As per the subject, not what other languages have you used, but what >>> other languages do you currently use? >> >> French, German, English and Danish. >> > > Forhåbentlig ikke alle zur en même temps > Ork jo, das ist d

RE: [PHP] What other languages do you use?

2010-10-08 Thread Bob McConnell
From: Nathan Rixham > As per the subject, not what other languages have you used, but what > other languages do you currently use? > > I guess it may also be interesting to know if: > > (1) there's any particular reason for you using a different language > (other than work/day-job/client requi

Re: [PHP] What other languages do you use?

2010-10-08 Thread Nathan Rixham
Daniel P. Brown wrote: On Fri, Oct 8, 2010 at 13:30, Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? Spanish, Gaelic, and German, on occasion. Ahhh, but have you mastered Ambiguity yet? ps: thanks for that

Re: [PHP] What other languages do you use?

2010-10-08 Thread Nathan Rixham
Per Jessen wrote: Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? French, German, English and Danish. Forhåbentlig ikke alle zur en même temps -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] What other languages do you use?

2010-10-08 Thread David Harkness
On Fri, Oct 8, 2010 at 10:30 AM, Nathan Rixham wrote: > As per the subject, not what other languages have you used, but what other > languages do you currently use? > At work: PHP and Java mostly with some Javascript and BASH scripting thrown in for good measure. We use PHP for the website and J

Re: [PHP] What other languages do you use?

2010-10-08 Thread Daniel P. Brown
On Fri, Oct 8, 2010 at 13:43, Per Jessen wrote: > Nathan Rixham wrote: > >> As per the subject, not what other languages have you used, but what >> other languages do you currently use? > > French, German, English and Danish. Wenn große Geister gleich denken, Herr Jessen, wie geht es uns beid

Re: [PHP] What other languages do you use?

2010-10-08 Thread Per Jessen
Per Jessen wrote: > Nathan Rixham wrote: > >> As per the subject, not what other languages have you used, but what >> other languages do you currently use? > > French, German, English and Danish. > Wrt programming languages (and variations thereof), in order of usage, I use C, PHP, C++, assemb

Re: [PHP] What other languages do you use?

2010-10-08 Thread Per Jessen
Nathan Rixham wrote: > As per the subject, not what other languages have you used, but what > other languages do you currently use? French, German, English and Danish. -- Per Jessen, Zürich (14.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] What other languages do you use?

2010-10-08 Thread Daniel P. Brown
On Fri, Oct 8, 2010 at 13:30, Nathan Rixham wrote: > As per the subject, not what other languages have you used, but what other > languages do you currently use? Spanish, Gaelic, and German, on occasion. -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 h

[PHP] What other languages do you use?

2010-10-08 Thread Nathan Rixham
As per the subject, not what other languages have you used, but what other languages do you currently use? I guess it may also be interesting to know if: (1) there's any particular reason for you using a different language (other than work/day-job/client requires it) (2) about to jump in to

Re: [PHP] What are the curly brackets around variables in SQL statements for?

2010-07-21 Thread Daniel Brown
On Wed, Jul 21, 2010 at 15:27, Nathan Nobbe wrote: > [snip!] > name unless the string expression is wrapped in double quotes (which probly > also evaluates in heredocs & nowdocs). [snip!] Close. HEREDOC, yes. NOWDOC, no. There's zero parsing done on NOWDOC strings. -- UNADVERTISED DEDIC

Re: [PHP] What are the curly brackets around variables in SQL statements for?

2010-07-21 Thread Nathan Nobbe
On Wed, Jul 21, 2010 at 1:32 PM, Daniel Brown wrote: > On Wed, Jul 21, 2010 at 15:27, Nathan Nobbe > wrote: > > > [snip!] > > name unless the string expression is wrapped in double quotes (which > probly > > also evaluates in heredocs & nowdocs). > [snip!] > >Close. HEREDOC, yes. NOWDOC, n

Re: [PHP] What are the curly brackets around variables in SQL statements for?

2010-07-21 Thread Dotan Cohen
On Wed, Jul 21, 2010 at 22:27, Nathan Nobbe wrote: > the single quote is not part of the variable name in the example you posted > and further more the curly braces won't be evaluated as part of a variable > name unless the string expression is wrapped in double quotes (which probly > also evaluat

Re: [PHP] What are the curly brackets around variables in SQL statements for?

2010-07-21 Thread Nathan Nobbe
On Wed, Jul 21, 2010 at 1:17 PM, Dotan Cohen wrote: > On Wed, Jul 21, 2010 at 22:07, Daniel Brown wrote: > >That's just basic variable parsing on the PHP side, it's not > > MySQL-specific. Check out the "variable parsing" heading at > > http://php.net/string . > > > > Thanks, Daniel. It see

Re: [PHP] What are the curly brackets around variables in SQL statements for?

2010-07-21 Thread Dotan Cohen
On Wed, Jul 21, 2010 at 22:07, Daniel Brown wrote: >    That's just basic variable parsing on the PHP side, it's not > MySQL-specific.  Check out the "variable parsing" heading at > http://php.net/string . > Thanks, Daniel. It seems unnecessary, then, as the quote character is not a valid charact

Re: [PHP] What are the curly brackets around variables in SQL statements for?

2010-07-21 Thread Daniel Brown
On Wed, Jul 21, 2010 at 14:59, Dotan Cohen wrote: > Take for example: > INSERT INTO table ( field ) VALUES ('{$variable}' ) > > Why the curly brackets? Where in the fine manual is this addressed? I > started from [1] but did not find the relevant info. > > [1] http://il2.php.net/manual/en/book.mys

[PHP] What are the curly brackets around variables in SQL statements for?

2010-07-21 Thread Dotan Cohen
Take for example: INSERT INTO table ( field ) VALUES ('{$variable}' ) Why the curly brackets? Where in the fine manual is this addressed? I started from [1] but did not find the relevant info. [1] http://il2.php.net/manual/en/book.mysql.php -- Dotan Cohen http://gibberish.co.il http://what-is-

Re: [PHP] What am I missing here?

2010-06-28 Thread Jay Ess
Rick Dwyer wrote: Hello List. I am completely at a loss for why the line of code below returns the desired value: $PATH_INFO= substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRI PT_NAME']), strlen($_SERVER['REQUEST_URI'])); BUT, putting the same line of code on 1 line fails to return anythi

Re: [PHP] What am I missing here?

2010-06-20 Thread Simcha Younger
On Sat, 19 Jun 2010 13:21:02 -0400 Rick Dwyer wrote: > Hello List. > > I am completely at a loss for why the line of code below returns the > desired value: > > $PATH_INFO= substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRI > PT_NAME']), strlen($_SERVER['REQUEST_URI'])); > > BUT, putting t

[PHP] What am I missing here?

2010-06-19 Thread Rick Dwyer
Hello List. I am completely at a loss for why the line of code below returns the desired value: $PATH_INFO= substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRI PT_NAME']), strlen($_SERVER['REQUEST_URI'])); BUT, putting the same line of code on 1 line fails to return anything: $PATH_INFO=

Re: [PHP] What is wrong with this code?

2010-04-28 Thread Gary .
On Wed, Apr 28, 2010 at 2:17 PM, Thijs Lensselink wrote: > Gary . wrote: >> On 4/28/10, Thijs Lensselink wrote: >>> Gary . wrote: class Pg_Error {    private static $errors =        array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated'); >>> >>> Shouldn

Re: [PHP] What is wrong with this code?

2010-04-28 Thread Thijs Lensselink
Gary . wrote: On 4/28/10, Thijs Lensselink wrote: Gary . wrote: class Pg_Error { private static $errors = array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated'); Shouldn't this be: array(self::INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated');

Re: [PHP] What is wrong with this code?

2010-04-28 Thread Gary .
On 4/28/10, Thijs Lensselink wrote: > Gary . wrote: >> class Pg_Error >> { >> private static $errors = >> array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated'); >> > Shouldn't this be: > > array(self::INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated'); Yes, or some

Re: [PHP] What is wrong with this code?

2010-04-28 Thread Thijs Lensselink
Gary . wrote: class Pg_Error { private static $errors = array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated'); Shouldn't this be: array(self::INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated'); ... public static function getMessage($ec) { $

Re: [PHP] What is wrong with this code?

2010-04-28 Thread Peter Lind
On 28 April 2010 10:57, Gary . wrote: > On 4/28/10, Jochem Maas wrote: >>>     >> class Pg_Error >>>     >> { >>>        const INTEGRITY_CONST_UNIQUE = '23505'; >> >> this is a class constant >> >>>     >>     private static $errors = >>>     >>         array(INTEGRITY_CONST_UNIQUE => 'uniqueness

Re: [PHP] What is wrong with this code?

2010-04-28 Thread Gary .
On 4/28/10, Jochem Maas wrote: >> >> class Pg_Error >> >> { >>const INTEGRITY_CONST_UNIQUE = '23505'; > > this is a class constant > >> >> private static $errors = >> >> array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint >> violated'); [...] > unfortunate

Re: [PHP] What is wrong with this code?

2010-04-28 Thread Gary .
On 4/28/10, Jochem Maas wrote: > Op 4/28/10 7:39 AM, Gary . schreef: >> class Pg_Error >> { const INTEGRITY_CONST_UNIQUE = '23505'; >> private static $errors = >> array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated'); >> ... >> public static function getMessage($ec)

Re: [PHP] What is wrong with this code?

2010-04-28 Thread Gary .
Per Jessen wrote: > Gary . wrote: >> Calling it, the array_key_exists call always returns false ... >> and I can't see what I've done wrong :( > > Might this be better: > > public static function getMessage($ec) > { > $text = ''; > if (array_key_exists($ec, $errors)) >

Re: [PHP] What is wrong with this code?

2010-04-28 Thread Peter Lind
On 28 April 2010 08:39, Gary . wrote: > class Pg_Error > { >    private static $errors = >        array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated'); > ... >    public static function getMessage($ec) >    { >        $text = ''; >        if (array_key_exists($ec, Pg_Error::$errors))

Re: [PHP] What is wrong with this code?

2010-04-27 Thread Per Jessen
Gary . wrote: > class Pg_Error > { > private static $errors = > array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint > violated'); > ... > public static function getMessage($ec) > { > $text = ''; > if (array_key_exists($ec, Pg_Error::$errors)) >

[PHP] What is wrong with this code?

2010-04-27 Thread Gary .
class Pg_Error { private static $errors = array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated'); ... public static function getMessage($ec) { $text = ''; if (array_key_exists($ec, Pg_Error::$errors)) { $text = Pg_Error::$errors[$ec

RE: [PHP] What server am I authenticating to?

2010-01-13 Thread Hansen, Mike
Yep. I found the issue in the apache config. Thanks, Mike > -Original Message- > From: Nathan Rixham [mailto:nrix...@gmail.com] > Sent: Wednesday, January 13, 2010 1:12 PM > To: Hansen, Mike > Cc: php-general@lists.php.net > Subject: Re: [PHP] What server am I

Re: [PHP] What server am I authenticating to?

2010-01-13 Thread Nathan Rixham
Hansen, Mike wrote: > > >> -Original Message- >> From: daniel.egeb...@gmail.com >> [mailto:daniel.egeb...@gmail.com] On Behalf Of Daniel Egeberg >> Sent: Wednesday, January 13, 2010 11:39 AM >> To: Hansen, Mike >> Cc: php-general@lists.php.

RE: [PHP] What server am I authenticating to?

2010-01-13 Thread Hansen, Mike
> -Original Message- > From: daniel.egeb...@gmail.com > [mailto:daniel.egeb...@gmail.com] On Behalf Of Daniel Egeberg > Sent: Wednesday, January 13, 2010 11:39 AM > To: Hansen, Mike > Cc: php-general@lists.php.net > Subject: Re: [PHP] What server am I authentic

Re: [PHP] What server am I authenticating to?

2010-01-13 Thread Daniel Egeberg
On Wed, Jan 13, 2010 at 19:04, Hansen, Mike wrote: > I took over maint of an app, and the former maintainer is no longer available. > > I was under the assumption that authentication was done through an LDAP. How > do I find out which LDAP server is PHP/Apache using? It might be right in > front

[PHP] What server am I authenticating to?

2010-01-13 Thread Hansen, Mike
I took over maint of an app, and the former maintainer is no longer available. I was under the assumption that authentication was done through an LDAP. How do I find out which LDAP server is PHP/Apache using? It might be right in front of my face in the apache config or php.ini, but I can't se

Re: [PHP] What is the difference between the two streams 5.3 and 5.2 versions and What is the need for maintaining two streams?

2010-01-05 Thread Daniel Egeberg
On Tue, Jan 5, 2010 at 10:34, Daniel Egeberg wrote: > On Tue, Jan 5, 2010 at 02:22, Varuna Seneviratna wrote: >> Since there are two stable versions 5.3 and 5.2 .What is the difference >> between these two streams and What is the need for maintaining two streams? > > The PHP 5.3.x branch is still

Re: [PHP] What is the difference between the two streams 5.3 and 5.2 versions and What is the need for maintaining two streams?

2010-01-04 Thread Lester Caine
Varuna Seneviratna wrote: Since there are two stable versions 5.3 and 5.2 .What is the difference between these two streams and What is the need for maintaining two streams? PHP5.3 introduced a number of 'improvements' that require many third party packages to be re-worked. Something which has

Re: [PHP] What is the difference between the two streams 5.3 and 5.2 versions and What is the need for maintaining two streams?

2010-01-04 Thread viraj
5.3.1 is what we call 'current release'. for those who do not like to sit on the edge, the latest is 5.2.12. both get bug fixes (checkout the home page release announcements), so they are 'still supported'. that means those versions earlier to 5.2.11 do not get bug fixes hence 'not supported but s

[PHP] What is the difference between the two streams 5.3 and 5.2 versions and What is the need for maintaining two streams?

2010-01-04 Thread Varuna Seneviratna
Since there are two stable versions 5.3 and 5.2 .What is the difference between these two streams and What is the need for maintaining two streams?

Re: [PHP] What method is best for generating thumbnails in PHP from PDF's?

2009-11-14 Thread German Geek
Hi, I've spent ages trying to figure out a good way for this. Ghostscript and ImageMagick were slow and not giving satisfactory results because the colors were wrong in some instances. The solution for me was to use ImageMagick with X-PDF. You can install xpdf in any linux distro or even on window

Re: [PHP] What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread clancy_1
On Thu, 12 Nov 2009 09:45:55 -0800 (PST), stephe...@rogers.com (Stephen) wrote: >--- On Thu, 11/12/09, Chris Payne wrote: > >> I have been asked to create thumbnails from the first page >> of a PDF >> document on the fly with PHP, I have looked online but am >> confused as >> there doesn't seem 1

Re: [PHP] What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread Stephen
--- On Thu, 11/12/09, Chris Payne wrote: > I have been asked to create thumbnails from the first page > of a PDF > document on the fly with PHP, I have looked online but am > confused as > there doesn't seem 1 simple solution. Go to sitepoint.com and search for "photo gallery in minutes" Excell

[PHP] What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread Chris Payne
Hi Everyone, I have been asked to create thumbnails from the first page of a PDF document on the fly with PHP, I have looked online but am confused as there doesn't seem 1 simple solution. What would you all recommend as an easy way to do this? Any help would be really appreciated. Chris -- P

Re: [PHP] What PHP version are you using?

2009-10-29 Thread John Black
Israel Ekpo wrote: I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. I used to write software for 4.1 and above but I am now dropping PHP 4 and will only write for PHP 5 and above. I would still wri

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Robert Cummings
Tom Barrett wrote: 2009/10/29 Israel Ekpo Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. [snip] I cannot go below 5.2

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Israel Ekpo
On Thu, Oct 29, 2009 at 12:30 PM, Dan McCullough wrote: > Like Israel it depends on the client I am doing several projects for a > client now that the hosting company is still using 4.0.6 - and its been a > headache. Most of the personal projects and many of my other clients are > on > 5.1 or hig

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Dan McCullough
Like Israel it depends on the client I am doing several projects for a client now that the hosting company is still using 4.0.6 - and its been a headache. Most of the personal projects and many of my other clients are on 5.1 or higher. On Thu, Oct 29, 2009 at 12:22 PM, Tom Barrett wrote: > 2009

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Tom Barrett
2009/10/29 Israel Ekpo > Hi Guys, > > I just want to conduct a quick survey to find out what version of PHP > people > are using in their production environments. > > I have a PHP extension for Solr that I have set the minimum required > version > as 5.2.11. > [snip] > I cannot go below 5.2.0 th

Re: [PHP] What PHP version are you using?

2009-10-29 Thread mrfroasty
5.2.11 here... Gr mrfroasty Israel Ekpo wrote: On Thu, Oct 29, 2009 at 11:47 AM, tedd wrote: At 11:10 AM -0400 10/29/09, Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments.

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Israel Ekpo
On Thu, Oct 29, 2009 at 11:47 AM, tedd wrote: > At 11:10 AM -0400 10/29/09, Israel Ekpo wrote: > >> Hi Guys, >> >> I just want to conduct a quick survey to find out what version of PHP >> people >> are using in their production environments. >> > > My version depends upon the client. I have one c

Re: [PHP] What PHP version are you using?

2009-10-29 Thread tedd
At 11:10 AM -0400 10/29/09, Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. My version depends upon the client. I have one client who is still in version 4.3.1.0. Cheers, tedd -- --- ht

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Robert Cummings
Israel Ekpo wrote: I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. 5.2.0 to 5.2.11 depending on server. I'm not yet ready to move to 5.3.0 due to lack of stable support from the accelerators thus

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Israel Ekpo
On Thu, Oct 29, 2009 at 11:15 AM, Fernando Castillo Aparicio < f_c_a_1...@yahoo.es> wrote: > 5.2.8, but testing 5.3 in local environment. > > Thanks Fernando. -- "Good Enough" is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut On

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Fernando Castillo Aparicio
5.2.8, but testing 5.3 in local environment.

[PHP] What PHP version are you using?

2009-10-29 Thread Israel Ekpo
Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. http://pecl.php.net/package/solr/ However, most of the PHP users that want to

Re: [PHP] What would stop header("Location...) from working?

2009-10-27 Thread James McLean
On Wed, Oct 28, 2009 at 10:01 AM, tedd wrote: > I just had a script stop following this statement: > >   header("Location:users.php"); > > It *was* working, but now instead of running "users.php", it defaults to the > parent script. > > When I place exit() after it, such as: > >   header("Location

[PHP] What would stop header("Location...) from working?

2009-10-27 Thread tedd
Hi gang: I just had a script stop following this statement: header("Location:users.php"); It *was* working, but now instead of running "users.php", it defaults to the parent script. When I place exit() after it, such as: header("Location:users.php"); exit(); The script simply exit

Re: [PHP] What is the best practice for adding persistence to an MVC model?

2009-10-27 Thread David Otton
2009/10/27 David Otton : > If you go with the first approach, you're writing code that you and > anyone who comes after you can write useful tests for. The others, and > you're denying maintenance programmers a useful tool. I should have lead with this: the wikipedia article on Dependency injecti

Re: [PHP] What is the best practice for adding persistence to an MVC model?

2009-10-27 Thread Paul M Foster
On Tue, Oct 27, 2009 at 04:11:32PM +, David Otton wrote: > 2009/10/27 Paul M Foster : > > > On Tue, Oct 27, 2009 at 05:27:07PM +1100, Eric Bauman wrote: > > >> I'm in the process of implementing an ultra-light MVC framework in PHP. > >> It seems to be a common opinion that the loading of dat

Re: [PHP] What is the best practice for adding persistence to an MVC model?

2009-10-27 Thread David Otton
2009/10/27 Paul M Foster : > On Tue, Oct 27, 2009 at 05:27:07PM +1100, Eric Bauman wrote: >> I'm in the process of implementing an ultra-light MVC framework in PHP. >> It seems to be a common opinion that the loading of data from a >> database, file etc. should be independent of the Model, and I

Re: [PHP] What is the best practice for adding persistence to an MVC model?

2009-10-27 Thread Paul M Foster
On Tue, Oct 27, 2009 at 05:27:07PM +1100, Eric Bauman wrote: > I'm in the process of implementing an ultra-light MVC framework in PHP. > It seems to be a common opinion that the loading of data from a > database, file etc. should be independent of the Model, and I agree. > What I'm unsure of is t

RE: [PHP] What is the best practice for adding persistence to an MVC model?

2009-10-27 Thread David Murphy
l layer. David > -Original Message- > From: Mert Oztekin [mailto:mozte...@anadolusigorta.com.tr] > Sent: Tuesday, October 27, 2009 6:14 AM > To: 'Eric Bauman'; php-general@lists.php.net > Subject: RE: [PHP] What is the best practice for adding persistence to an MVC >

RE: [PHP] What is the best practice for adding persistence to an MVC model?

2009-10-27 Thread Mert Oztekin
{ $this->_dataStorer = $newStorer; } } Hope it will be usefull and understandable -Original Message- From: Eric Bauman [mailto:baum...@livejournal.dk] Sent: Tuesday, October 27, 2009 8:27 AM To: php-general@lists.php.net Subject: [PHP] What is the best practic

[PHP] What is the best practice for adding persistence to an MVC model?

2009-10-26 Thread Eric Bauman
I'm in the process of implementing an ultra-light MVC framework in PHP. It seems to be a common opinion that the loading of data from a database, file etc. should be independent of the Model, and I agree. What I'm unsure of is the best way to link this "data layer" into MVC. I've considered a

[PHP] what is php4 popularity?

2009-10-08 Thread Paul M.
Hey guys, does anyone have a good link for an article where php4 popularity trends are examined? The best way for me to know php4 % and php5 %. I appreciate any good suggestions. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What type of barcode used for document management system ?

2009-09-04 Thread Sam Stelfox
As a matter of fact... For a while I was using a barcode generator to test out inventory system before getting them professionally made. I personally chose to go with Interleaved 2 of 5 as our barcode scanner was able to read them accurately and it was the same format as our campus ID cards. Th

[PHP] What type of barcode used for document management system ?

2009-09-04 Thread aveev
Hi, I'm new to using barcode I want to create an online registration in my application, where the user can fill in the form and the application will create a pdf file of the form with the barcode inserted on it. The user then brings the printed form to us and we scan the barcode. After scannin

Re: [PHP] What is the best way to process live data?

2009-08-29 Thread LinuxManMikeC
On Sat, Aug 29, 2009 at 3:31 PM, Paul Halliday wrote: > For those of you that remember (not likely but anyway) I am working on > some code that splits CLF records and feeds them into a database. > > What I need to do now is automate it. > > So what I have is a program (urlsnarf) that redirects its

[PHP] What is the best way to process live data?

2009-08-29 Thread Paul Halliday
For those of you that remember (not likely but anyway) I am working on some code that splits CLF records and feeds them into a database. What I need to do now is automate it. So what I have is a program (urlsnarf) that redirects its output (simple "cmd > file.txt") to a file. The script currently

Re: [PHP] What if this code is right ? It worked perfectly for years!!

2009-08-26 Thread Ben Dunlap
>  $fName = $_REQUEST['fName'] ; >  $emailid = $_REQUEST['emailid'] ; >    $number = $_REQUEST['number'] ; >  $message = $_REQUEST['message'] ; > >  mail( "ch...@gmail.com", $number, $message, "From: $emailid" ); >  header( "Location: http://www.thankyou.com/thankYouContact.php"; ); > ?> This is

Re: [PHP] What if this code is right ? It worked perfectly for years!!

2009-08-24 Thread Lars Torben Wilson
2009/8/24 Paul M Foster : > On Mon, Aug 24, 2009 at 10:37:11AM -0700, Chris Carter wrote: > >> >> Is there any alternative method to do this !!! Sending email through PHP? >> > > Sure. You can use a class like PHPMailer rather than the built-in mail() > function. But it's not going to matter if the

Re: [PHP] What if this code is right ? It worked perfectly for years!!

2009-08-24 Thread Paul M Foster
On Mon, Aug 24, 2009 at 10:37:11AM -0700, Chris Carter wrote: > > Is there any alternative method to do this !!! Sending email through PHP? > Sure. You can use a class like PHPMailer rather than the built-in mail() function. But it's not going to matter if the problem is at the mail server, etc

Re: [PHP] What if this code is right ? It worked perfectly for years!!

2009-08-24 Thread Chris Carter
Is there any alternative method to do this !!! Sending email through PHP? Paul M Foster wrote: > > On Mon, Aug 24, 2009 at 09:12:19AM -0700, Chris Carter wrote: > >> >> Hi, >> >> The code below actually takes input from a web form and sends the fields >> captured in an email. It used to wor

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