[PHP] PHP Threading on Windows

2012-09-13 Thread admin
It has been suggested: That because php does not support PCNTL threading on Windows that multiple services of php are an alternative. I am interested in this theory, if anyone is currently working on a project that (forks) processes off to another instance or service of PHP on windows

Re: [PHP] PHP Threading on Windows

2012-09-13 Thread tamouse mailing lists
On Thu, Sep 13, 2012 at 9:32 PM, admin ad...@buskirkgraphics.com wrote: It has been suggested: That because php does not support PCNTL threading on Windows that multiple services of php are an alternative. I am interested in this theory, if anyone is currently working on a project

Re: [PHP] PHP array unions

2012-09-13 Thread Adam Richardson
On Wed, Sep 12, 2012 at 2:37 PM, Sebastian Krebs krebs@gmail.com wrote: Hi, In PHP the array is in fact a hash map, but especially it is _used_ for nearly everything map-, set-, ...-like thing. So in short: The is no operator or built-in function, that merges two arrays _and_ treat them

Re: [PHP] PHP array unions

2012-09-12 Thread Sebastian Krebs
Hi, In PHP the array is in fact a hash map, but especially it is _used_ for nearly everything map-, set-, ...-like thing. So in short: The is no operator or built-in function, that merges two arrays _and_ treat them as set (instead of the hashmap, what they are). Your solution is the way to

Re: [PHP] PHP CURL JSON POST Firebug

2012-09-09 Thread ioan...@btinternet.com
On 04/09/2012 19:14, ioan...@btinternet.com wrote: On 04/09/2012 18:41, Matijn Woudt wrote: On Tue, Sep 4, 2012 at 7:35 PM, ioan...@btinternet.com ioan...@btinternet.com wrote: I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post

[PHP] PHP CURL JSON POST Firebug

2012-09-04 Thread ioan...@btinternet.com
I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post variables. I try this url in my Firefox browser - http://www.targetsite.com/search.php#somevar.someothervar (#somevar.someothervar are irrelevant, I think, as I get the curl

Re: [PHP] PHP CURL JSON POST Firebug

2012-09-04 Thread Matijn Woudt
On Tue, Sep 4, 2012 at 7:35 PM, ioan...@btinternet.com ioan...@btinternet.com wrote: I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post variables. I try this url in my Firefox browser -

Re: [PHP] PHP CURL JSON POST Firebug

2012-09-04 Thread ioan...@btinternet.com
On 04/09/2012 18:41, Matijn Woudt wrote: On Tue, Sep 4, 2012 at 7:35 PM, ioan...@btinternet.com ioan...@btinternet.com wrote: I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post variables. I try this url in my Firefox browser -

Re: [PHP] PHP to XLS Security Alert issue

2012-08-30 Thread Maciek Sokolewicz
On 29-08-2012 19:28, admin wrote: -Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Tuesday, August 28, 2012 3:55 PM To: admin Cc: php-general@lists.php.net Subject: Re: [PHP] PHP to XLS Security Alert issue I believe that's normal, and that it does that with any

RE: [PHP] PHP to XLS Security Alert issue

2012-08-29 Thread admin
-Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Tuesday, August 28, 2012 3:55 PM To: admin Cc: php-general@lists.php.net Subject: Re: [PHP] PHP to XLS Security Alert issue I believe that's normal, and that it does that with any document downloaded from the web

Re: [PHP] PHP to XLS Security Alert issue

2012-08-29 Thread Jim Lucas
On 08/29/2012 10:28 AM, admin wrote: -Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Tuesday, August 28, 2012 3:55 PM To: admin Cc: php-general@lists.php.net Subject: Re: [PHP] PHP to XLS Security Alert issue I believe that's normal, and that it does

[PHP] PHP to XLS Security Alert issue

2012-08-28 Thread admin
I am exporting to a XLS file and the file does export, but when I open the file Microsoft is giving a Excel Security Notice. I am sure there is something in the header that is missing or causing this problem. header(Pragma: public); header(Expires: 0); header(Cache-Control: must-revalidate,

Re: [PHP] PHP to XLS Security Alert issue

2012-08-28 Thread Matijn Woudt
On Tue, Aug 28, 2012 at 5:56 PM, admin ad...@buskirkgraphics.com wrote: I am exporting to a XLS file and the file does export, but when I open the file Microsoft is giving a Excel Security Notice. I am sure there is something in the header that is missing or causing this problem.

[PHP] [PHP-DEV] Separate apc-caches for each fpm-pool

2012-08-20 Thread Simon Schick
Hi, all Not to get the bugfix https://bugs.php.net/bug.php?id=57825 too much off-topic, I write this question in the mailinglist here: Taking the case I have two fpm-pools on different sockets - the first pool is responsible for www.example1.com and the second one for www.example2.com. If

Re: [PHP] PHP session variables

2012-08-16 Thread Tedd Sperling
On Aug 15, 2012, at 4:42 PM, Andrew Ballard aball...@gmail.com wrote: On Wed, Aug 15, 2012 at 3:24 PM, Tedd Sperling t...@sperling.com wrote: The php manual ( http://us3.php.net/manual/en/function.session-start.php ) First Note states that session_start() must be called *before* anything sent

Re: [PHP] PHP session variables

2012-08-16 Thread Tedd Sperling
On Aug 15, 2012, at 4:13 PM, Robert Cummings rob...@interjinn.com wrote: I only pointed it out because I used to do exactly the same thing :) Cheers, Rob. Thanks, I was starting to feel pretty dumb. Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP

Re: [PHP] PHP session variables

2012-08-15 Thread tamouse mailing lists
On Aug 14, 2012 1:36 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Aug 13, 2012 8:01 AM, Robert Cummings rob...@interjinn.com wrote: On 12-08-10 04:42 PM, Tedd Sperling wrote: On Aug 10, 2012, at 1:21 PM, Ege Sertçetin sertce...@itu.edu.tr wrote: Hi. My question will

Re: [PHP] PHP session variables

2012-08-15 Thread Andrew Ballard
On Fri, Aug 10, 2012 at 11:56 AM, Tedd Sperling t...@sperling.com wrote: On Aug 10, 2012, at 11:45 AM, Tedd Sperling t...@sperling.com wrote: On Aug 9, 2012, at 5:16 PM, Jim Lucas li...@cmsws.com wrote: You are relying on PHP's loose typing. This is a poor check. session_id() returns a

Re: [PHP] PHP session variables

2012-08-15 Thread Tedd Sperling
On Aug 14, 2012, at 11:01 AM, Robert Cummings rob...@interjinn.com wrote: I'm not sure if you're making a joke, but your changes have no effect. You've merely explicitly stated the optional parameter's default value. What I had meant was to change the following: ?php $starttime =

Re: [PHP] PHP session variables

2012-08-15 Thread Tedd Sperling
Andrew: Your points are well taken -- thanks. However, my only concern is given this: for($i=1; $i 1000; $i++) { if (!defined('SID')) { echo __LINE__, '::session_start()br'; session_start(); } } The php manual (

Re: [PHP] PHP session variables

2012-08-15 Thread Robert Cummings
On 12-08-15 03:19 PM, Tedd Sperling wrote: Rob: Again thanks. Sorry, I totally missed your point. In my defense I commonly use the value returned from microtime() as a string and not as a float. The code that followed my microtime( false ); demo broke the string and recombined it into a

Re: [PHP] PHP session variables

2012-08-15 Thread Andrew Ballard
On Wed, Aug 15, 2012 at 3:24 PM, Tedd Sperling t...@sperling.com wrote: Your points are well taken -- thanks. I've seen a lot of people code that way, so it's easy to miss. In your original code, that first statement was calling session_start() 1,000 times. This is because the first time

Re: [PHP] PHP session variables

2012-08-14 Thread tamouse mailing lists
On Aug 13, 2012 8:01 AM, Robert Cummings rob...@interjinn.com wrote: On 12-08-10 04:42 PM, Tedd Sperling wrote: On Aug 10, 2012, at 1:21 PM, Ege Sertçetin sertce...@itu.edu.tr wrote: Hi. My question will maybe out of topic, I'm sorry. How can you know that one way will be much slower than

[PHP] PHP APC 3.1.11

2012-08-14 Thread Vedran Rodic
Hi, PHP APC 3.1.11 is marked beta, however it seems to contain important bugfixes. Is it safe to deploy on production (we're currently using 3.1.9)? Or it is better to wait for 'stable' release. When is next 'stable' expected? Vedran Rodic -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP session variables

2012-08-14 Thread Tedd Sperling
On Aug 13, 2012, at 10:59 AM, Robert Cummings rob...@interjinn.com wrote: On 12-08-10 04:42 PM, Tedd Sperling wrote: On Aug 10, 2012, at 1:21 PM, Ege Sertçetin sertce...@itu.edu.tr wrote: Hi. My question will maybe out of topic, I'm sorry. How can you know that one way will be much slower

Re: [PHP] PHP APC 3.1.11

2012-08-14 Thread Daniel Brown
On Tue, Aug 14, 2012 at 7:14 AM, Vedran Rodic vro...@gmail.com wrote: Hi, PHP APC 3.1.11 is marked beta, however it seems to contain important bugfixes. Is it safe to deploy on production (we're currently using 3.1.9)? Or it is better to wait for 'stable' release. When is next 'stable'

Re: [PHP] PHP session variables

2012-08-14 Thread Robert Cummings
On 12-08-14 10:41 AM, Tedd Sperling wrote: On Aug 13, 2012, at 10:59 AM, Robert Cummings rob...@interjinn.com wrote: On 12-08-10 04:42 PM, Tedd Sperling wrote: On Aug 10, 2012, at 1:21 PM, Ege Sertçetin sertce...@itu.edu.tr wrote: Hi. My question will maybe out of topic, I'm sorry. How can

Re: [PHP] PHP session variables

2012-08-13 Thread Robert Cummings
On 12-08-10 04:42 PM, Tedd Sperling wrote: On Aug 10, 2012, at 1:21 PM, Ege Sertçetin sertce...@itu.edu.tr wrote: Hi. My question will maybe out of topic, I'm sorry. How can you know that one way will be much slower than other one? I mean, how can I learn which function is faster before I

Re: [PHP] PHP session variables

2012-08-12 Thread Marco Behnke
Am 09.08.12 23:16, schrieb Jim Lucas: On 08/09/2012 01:45 PM, Tedd Sperling wrote: On Aug 8, 2012, at 5:41 PM, Jim Ginerjim.gi...@albanyhandball.com wrote: On 8/8/2012 11:24 AM, Ansry User 01 wrote: I am setting the _SESSION variables in one of my file, but whenever I leave the php page

Re: [PHP] PHP session variables

2012-08-12 Thread Tedd Sperling
On Aug 10, 2012, at 1:21 PM, Ege Sertçetin sertce...@itu.edu.tr wrote: Hi. My question will maybe out of topic, I'm sorry. How can you know that one way will be much slower than other one? I mean, how can I learn which function is faster before I test it? Ege: No your question is on topic.

Re: [PHP] PHP session variables

2012-08-10 Thread Tedd Sperling
On Aug 9, 2012, at 5:16 PM, Jim Lucas li...@cmsws.com wrote: You are relying on PHP's loose typing. This is a poor check. session_id() returns a string, not boolean. You should do this instead. if ( session_id() === '' ) -- Jim Lucas Thanks Jim -- you're right. What

Re: [PHP] PHP session variables

2012-08-10 Thread Tedd Sperling
On Aug 10, 2012, at 11:45 AM, Tedd Sperling t...@sperling.com wrote: On Aug 9, 2012, at 5:16 PM, Jim Lucas li...@cmsws.com wrote: You are relying on PHP's loose typing. This is a poor check. session_id() returns a string, not boolean. You should do this instead. if ( session_id() ===

[PHP] PHP 5.4.5 Sendmail issues on Mountain Lion

2012-08-09 Thread Mr. Gecko
I have been having issues on Mountain Lion with PHP 5.4.5 and sendmail. The issue I'm having is after a while of PHP FPM running, sendmail doesn't receive any response from php as to what to send and they just start eating CPU like no tomorrow. Result from ps -ev PID STATTIME

Re: [PHP] PHP session variables

2012-08-09 Thread Tedd Sperling
On Aug 8, 2012, at 5:41 PM, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/8/2012 11:24 AM, Ansry User 01 wrote: I am setting the _SESSION variables in one of my file, but whenever I leave the php page session variables are not accessible. Not sure what I need to do additionally other

Re: [PHP] PHP session variables

2012-08-09 Thread Jim Lucas
On 08/09/2012 01:45 PM, Tedd Sperling wrote: On Aug 8, 2012, at 5:41 PM, Jim Ginerjim.gi...@albanyhandball.com wrote: On 8/8/2012 11:24 AM, Ansry User 01 wrote: I am setting the _SESSION variables in one of my file, but whenever I leave the php page session variables are not accessible. Not

Re: [PHP] PHP session variables

2012-08-08 Thread Daniel Brown
On Wed, Aug 8, 2012 at 11:24 AM, Ansry User 01 yrsna.res...@gmail.com wrote: I am setting the _SESSION variables in one of my file, but whenever I leave the php page session variables are not accessible. Not sure what I need to do additionally other then defining _SESSION[]. Any pointer.

Re: [PHP] PHP session variables

2012-08-08 Thread David Harkness
On Wed, Aug 8, 2012 at 8:24 AM, Ansry User 01 yrsna.res...@gmail.comwrote: I am setting the _SESSION variables in one of my file, but whenever I leave the php page session variables are not accessible. As always, post some code demonstrating what you're doing. Help us help you! :) David

RE: [PHP] PHP session variables

2012-08-08 Thread Jen Rasmussen
-Original Message- From: David Harkness [mailto:davi...@highgearmedia.com] Sent: Wednesday, August 08, 2012 11:53 AM To: Ansry User 01 Cc: php-general@lists.php.net Subject: Re: [PHP] PHP session variables On Wed, Aug 8, 2012 at 8:24 AM, Ansry User 01 yrsna.res...@gmail.comwrote: I am

[PHP] php-rsync installation howto

2012-08-06 Thread Mihamina Rakotomandimby
Hi all, I would be intrested in installing this: http://pecl.php.net/package/rsync I got used with PECL packages with at least 2 ways of installation - with pear install or pecl install - without those tools (with some configure; phpize; make install) I have a preference for the latter (for

Re: [PHP] php safe mode no more?

2012-08-04 Thread tamouse mailing lists
What I've noticed running apache suexec + fastcgi is that the memory requirements increased over running nonsuexec and mod_php under apache. when i went to a nginx + fastcgi, things worked much better overall with limited memory (i'm on 1GB limited slice, non-burstable). -- PHP General Mailing

Re: [PHP] php safe mode no more?

2012-08-04 Thread Lester Caine
tamouse mailing lists wrote: What I've noticed running apache suexec + fastcgi is that the memory requirements increased over running nonsuexec and mod_php under apache. when i went to a nginx + fastcgi, things worked much better overall with limited memory (i'm on 1GB limited slice,

Re: [PHP] php safe mode no more?

2012-08-04 Thread Marco Behnke
Am 04.08.12 11:51, schrieb Lester Caine: tamouse mailing lists wrote: What I've noticed running apache suexec + fastcgi is that the memory requirements increased over running nonsuexec and mod_php under apache. when i went to a nginx + fastcgi, things worked much better overall with limited

[PHP] Re:[PHP] PHP 5.4.6RC1 Released for Testing!

2012-08-03 Thread ??????
when your do php x64 version? or tell me how i do it. -- Original -- From: Stas Malyshevsmalys...@sugarcrm.com; Date: Fri, Aug 3, 2012 11:48 AM To: PHP Internalsintern...@lists.php.net; php-general@lists.php.netphp-general@lists.php.net; Subject: [PHP] PHP

Re: [PHP] php safe mode no more?

2012-08-03 Thread Lester Caine
D. Dante Lorenso wrote: The school I work with wants to set up PHP and MySQL hosting for about 10,000 students. I suspect that if you have a lot of students active at once you will need a few machines to support this. I'd certainly recommend a separate machine running the database and not

[PHP] php safe mode no more?

2012-08-02 Thread D. Dante Lorenso
The school I work with wants to set up PHP and MySQL hosting for about 10,000 students. I see that in 5.4, PHP safe-mode is being removed. How is it supposed to be done if not safe-mode? Are all the hosting providers using suExec and running PHP as CGI or FastCGI? If I'm trying to do this

[PHP] PHP 5.4.6RC1 Released for Testing!

2012-08-02 Thread Stas Malyshev
Hi! I've released PHP 5.4.6RC1 which can be found here: http://downloads.php.net/stas/ Windows binaries as always are at: http://windows.php.net/qa/ This is a regular bugfix release, the full list of issues fixed can be found in the NEWS files. Please test and report if anything is

[PHP] PHP Stats

2012-07-31 Thread Tedd Sperling
Hi gang: Do we have anything a bit more up to date than this? http://php.net/usage.php That's five years out of date! Also, the links out don't really provide anything useful -- they are either dated, show vested interest (i.e., want money), or they provide information not relevant to php.

Re: [PHP] PHP Stats

2012-07-31 Thread Sebastian Krebs
Hi, http://w3techs.com/technologies/details/pl-php/all/all For example. Click around, nice stats there. Regards, Sebastian Am 31.07.2012 20:31, schrieb Tedd Sperling: Hi gang: Do we have anything a bit more up to date than this? http://php.net/usage.php That's five years out of date!

Re: [PHP] PHP Stats

2012-07-31 Thread Lester Caine
Sebastian Krebs wrote: http://w3techs.com/technologies/details/pl-php/all/all For example. Click around, nice stats there. http://w3techs.com/technologies/history_overview/programming_language/ms/y is the more interesting one ... PHP usage IS still growing. -- Lester Caine - G8HFL

Re: [PHP] PHP Stats

2012-07-31 Thread tamouse mailing lists
On Jul 31, 2012 12:19 PM, Lester Caine les...@lsces.co.uk wrote: Sebastian Krebs wrote: http://w3techs.com/technologies/details/pl-php/all/all For example. Click around, nice stats there. http://w3techs.com/technologies/history_overview/programming_language/ms/yis the more interesting one

[PHP] PHP OpenSSL - Problem with openssl_pkcs7_verify

2012-07-21 Thread Samuel Lopes Grigolato
Hello, I'm having some trouble trying to put the openssl_pkcs7_verify function to work. I have a file signed with a valid certificate with this software: http://www.signfiles.com/p7s-signer/ http://www.signfiles.com/p7s-signer/ What I'm trying to achieve is to extract the contents of

Re: [PHP] [PHP-DEV] SQLite - Unwanted values using group-by

2012-07-11 Thread Matijn Woudt
On Wed, Jul 11, 2012 at 1:45 AM, Simon Schick simonsimc...@gmail.com wrote: On Sun, Jul 8, 2012 at 12:33 AM, Matijn Woudt tijn...@gmail.com wrote: Both of the results are valid outcomes. I think you don't understand the GROUP BY clause well enough. The parameters in the SELECT clause, should

Re: [PHP] [PHP-DEV] SQLite - Unwanted values using group-by

2012-07-10 Thread Simon Schick
On Sun, Jul 8, 2012 at 12:33 AM, Matijn Woudt tijn...@gmail.com wrote: Both of the results are valid outcomes. I think you don't understand the GROUP BY clause well enough. The parameters in the SELECT clause, should be either 1) an aggregate function (like the max function you're using) 2)

[PHP] [PHP-DEV] SQLite - Unwanted values using group-by

2012-07-07 Thread Simon Schick
Hi, All May you have an idea ... Here's the full code-example: http://viper-7.com/M5mldG I have the following SQL command: SELECT max(r.month+r.year*100), r.year, r.month FROM base b LEFT JOIN remote r ON b.id = r.remote_id GROUP BY r.remote_id Now I expect that the first column in the

Re: [PHP] [PHP-DEV] SQLite - Unwanted values using group-by

2012-07-07 Thread Matijn Woudt
On Sun, Jul 8, 2012 at 12:07 AM, Simon Schick simonsimc...@gmail.com wrote: Hi, All May you have an idea ... Here's the full code-example: http://viper-7.com/M5mldG I have the following SQL command: SELECT max(r.month+r.year*100), r.year, r.month FROM base b LEFT JOIN remote r ON b.id =

[PHP] PHP/mySQL Developer Partner needed...

2012-07-02 Thread Don Wieland
Greetings, I have a site that I am developing and I am looking to partner/ developer with great php/mySQL skills (for share of potential profits) to assist me in finishing this site. I am looking for someone who can invest (like myself) their time and skills to complete the site in

[PHP] PHP Time

2012-07-02 Thread Rob Weissenburger
Hello everyone, I know php time() gives the current unix time which you can format out to a normal date and time. Is there a way to format a specific date and time back to unix time? Thanks for any help.

Re: [PHP] PHP Time

2012-07-02 Thread Daniel Brown
On Mon, Jul 2, 2012 at 4:00 PM, Rob Weissenburger r...@fiberuplink.com wrote: Hello everyone, I know php time() gives the current unix time which you can format out to a normal date and time. Is there a way to format a specific date and time back to unix time? Yup. Look at strtotime()

Re: [PHP] PHP Time

2012-07-02 Thread Geoff Shang
On Mon, 2 Jul 2012, Rob Weissenburger wrote: I know php time() gives the current unix time which you can format out to a normal date and time. Is there a way to format a specific date and time back to unix time? mktime() and strtotime() will do it, depending on the form your time is in.

RE: [PHP] PHP Time

2012-07-02 Thread Rob Weissenburger
That worked just perfectly. Thank you. -Original Message- From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel Brown Sent: Monday, July 02, 2012 3:02 PM To: Rob Weissenburger Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Time On Mon, Jul 2, 2012 at 4:00 PM, Rob

[PHP] php batch/queue framwork

2012-06-28 Thread Tom Sparks
I am looking for a batch/queue framework that is database-centric? I could write my own, but I want one that is mature tom_a_sparks It's a nerdy thing I like to do -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Subroutine Call Blowing UP with Strings

2012-05-06 Thread George R Smith
All, I am new to PHP (about 3 weeks) and am testing the return of strings from a external database subroutine. This database is not relational, not MySQL, MSSQL or others. Thanks to all in advance for any help. Some info which might be helpful: phpinfo() PHP Version = 5.3.3-7+squeeze8 System =

Re: [PHP] PHP Database Problems -- Code Snippets

2012-05-05 Thread Matijn Woudt
On Thu, May 3, 2012 at 4:20 PM, Ethan Rosenberg eth...@earthlink.net wrote: At 06:47 PM 5/2/2012, Matijn Woudt wrote: On Wed, May 2, 2012 at 11:43 PM, Ethan Rosenberg eth...@earthlink.net wrote: Dear list - Sorry for the attachment. Â Here are code snippets --- Ethan, I don't want to sound

Re: [PHP] PHP Emacs

2012-05-04 Thread Gerardo Benitez
Hi Mihamina, I think that a few number of people use Emacs to write Php, in fact for proffesionals porpuse the people use a IDE for Php, like Netbeams, Eclipse PDT or Zend Studio. Regards, Gerardo On Wed, May 2, 2012 at 8:21 AM, Mihamina Rakotomandimby miham...@rktmb.orgwrote: Hi all, For

[PHP] PHP Database Problems -- Code Snippets - Any more Ideas?

2012-05-04 Thread Ethan Rosenberg
I am sending this again to see if more ideas for solution of this problem are available. Ethan === Dear list - Sorry for the attachment. Here are code snippets --- GET THE DATA FROM INTAKE3: function handle_data() { global $cxn; $query = select * from Intake3

Re: [PHP] PHP Database Problems -- Code Snippets - Any more Ideas?

2012-05-04 Thread Jim Giner
I don't think posting the same voluminous code is going to generate any better responses. The suggestion to start over and make your insert/retrieve queries fool proof before starting to write some logic into your code was a very good one. Why don't you work on that so that any requests for

Re: [PHP] PHP Database Problems -- Code Snippets - Any more Ideas?

2012-05-04 Thread Jim Giner
Nor will posting to multiple lists.(Sorry to the rest of you - didn't realize it until now.) Jim Giner jim.gi...@albanyhandball.com wrote in message news:c6.f8.38082.efae3...@pb1.pair.com... I don't think posting the same voluminous code is going to generate any better responses. The

Re: [PHP] PHP Database Problems -- Code Snippets - Any more Ideas?

2012-05-04 Thread Govinda
Ethan, before you get frustrated or feel abandoned, let me *sincerely* try to help: Here is honestly what I am utterly convinced you need to do to get any where in the medium/long run: Break everything down into very small steps. Making web apps is just building a whole lot of

[PHP] RE: [PHP-DB] [PHP] PHP Database Problems -- Code Snippets - Any more Ideas?

2012-05-04 Thread Gavin Chalkley
2012 15:10 To: php-db-lists.php.net; php-general@lists.php.net Subject: [PHP-DB] [PHP] PHP Database Problems -- Code Snippets - Any more Ideas? I am sending this again to see if more ideas for solution of this problem are available. Ethan === Dear list - Sorry for the attachment. Here

Re: [PHP] PHP Database Problems -- Code Snippets - Any more Ideas?

2012-05-04 Thread Marco Behnke
Am 04.05.2012 16:09, schrieb Ethan Rosenberg: function handle_data() { global $cxn; What does this function? It neither takes any parameters nor returns any value. And it does not write back anything to its global $cxn. So it is quite useless and can be deleted. $query = select * from

Re: [PHP] PHP Emacs

2012-05-04 Thread tamouse mailing lists
On Fri, May 4, 2012 at 7:43 AM, Gerardo Benitez gerardobeni...@gmail.com wrote: Hi Mihamina, I think that a few number of people use Emacs to write Php, in fact for proffesionals porpuse the people use a IDE for Php, like Netbeams, Eclipse PDT or Zend Studio. Regards, Gerardo On Wed, May

Re: [PHP] PHP Mailto() - Google now displaying HTML as Plain Text

2012-05-03 Thread Gerardo Benitez
Do you know if the mailto script allow set headers? Probably you must set a html header, something like this $headers .= 'Content-type: text/html; charset=iso-8859-1' . \r\n; Regards, Gerardo. On Tue, May 1, 2012 at 5:14 PM, Marco Behnke ma...@behnke.biz wrote: Am 29.04.2012 22:31, schrieb

Re: [PHP] PHP Mailto() - Google now displaying HTML as Plain Text

2012-05-03 Thread Terry Ally (Gmail)
Hi all, This question is now closed. There is nothing wrong with my script. It was an error by Google when they switched over to the new-look email and have since rectified the issue and all is back to normal. Thanks to all who have responded. Terry On 3 May 2012 21:05, Gerardo Benitez

Re: [PHP] PHP Database Problems -- Code Snippets

2012-05-03 Thread Ethan Rosenberg
At 06:47 PM 5/2/2012, Matijn Woudt wrote: On Wed, May 2, 2012 at 11:43 PM, Ethan Rosenberg eth...@earthlink.net wrote: Dear list - Sorry for the attachment. Â Here are code snippets --- Ethan, I don't want to sound rude, but it appears to me you don't have any understanding of what you're

[PHP] PHP Emacs

2012-05-02 Thread Mihamina Rakotomandimby
Hi all, For curiosity, are there people here using Emacs to code in PHP? What modes do you add? cedet, ecb,... I see (just for the example) that Drupal has a short documentation page for Emacs http://drupal.org/node/59868 Have you got some in your bookmarks for general PHP coding? -- RMA.

[PHP] PHP Database Problems

2012-05-02 Thread Ethan Rosenberg
have a database mysql describe Intake3; ++-+--+-+-+---+ | Field | Type| Null | Key | Default | Extra | ++-+--+-+-+---+ | Site | varchar(6) | NO | PRI | | | | MedRec | int(6) | NO |

Re: [PHP] PHP Database Problems

2012-05-02 Thread Jim Lucas
I do believe attachments are allowed. Looking back, I see that there have been messages sent to the list that had odt, php, and ini attachments On 05/02/2012 12:12 PM, Gavin Chalkley wrote: Ethan, Some coding you are using would be helpful (as far as i am aware attachments are not support on

Re: [PHP] PHP Database Problems

2012-05-02 Thread Terry Ally (Gmail)
Dear Ethan, It would be useful to see what code you are using. The syntax is: UPDATE table_name SET column1=value, column2=value2,... WHERE some_column=some_value The data that you are required to enter is for Intake3. I am assuming that the only change is the History and/or Phone that you

[PHP] PHP Database Problems -- Code Snippets

2012-05-02 Thread Ethan Rosenberg
Dear list - Sorry for the attachment. Here are code snippets --- GET THE DATA FROM INTAKE3: function handle_data() { global $cxn; $query = select * from Intake3 where 1; if(isset($_Request['Sex']) trim($_POST['Sex']) != '' ) { if

Re: [PHP] PHP Database Problems -- Code Snippets

2012-05-02 Thread Matijn Woudt
On Wed, May 2, 2012 at 11:43 PM, Ethan Rosenberg eth...@earthlink.net wrote: Dear list - Sorry for the attachment.  Here are code snippets --- Ethan, I don't want to sound rude, but it appears to me you don't have any understanding of what you're doing. It might help if you understand what

Re: [PHP] PHP Database Problems

2012-05-02 Thread Duken Marga
But I don't see any attachments in this message. On Thu, May 3, 2012 at 2:28 AM, Jim Lucas li...@cmsws.com wrote: I do believe attachments are allowed. Looking back, I see that there have been messages sent to the list that had odt, php, and ini attachments On 05/02/2012 12:12 PM, Gavin

Re: [PHP] PHP Database Problems -- Code Snippets

2012-05-02 Thread Duken Marga
It is a good habbit to write the core code just for inserting/retrieving data from database. It will reduce much of your code complexity. When you see your code is working, you can continue to embed it with your visual front-end or with your filter. On Thu, May 3, 2012 at 4:43 AM, Ethan Rosenberg

Re: [PHP] PHP Database Problems

2012-05-02 Thread Jim Lucas
On 5/2/2012 4:28 PM, Duken Marga wrote: But I don't see any attachments in this message. This was in the first email of this thread. I can easily extract data from the database. However, if I try to enter data, it goes into the incorrect record. Following are some screenshots. The program

Re: [PHP] PHP Mailto() - Google now displaying HTML as Plain Text

2012-05-01 Thread Marco Behnke
Am 29.04.2012 22:31, schrieb Terry Ally (Gmail): Hi all, I have been using a mailto() script for the last three years and from April 25, 2012 incoming HTML email in Goggle mail is displaying as Plain Text. Something clearly changed with Google. Perhaps there is some change I need to make

[PHP] PHP Mailto() - Google now displaying HTML as Plain Text

2012-04-29 Thread Terry Ally (Gmail)
Hi all, I have been using a mailto() script for the last three years and from April 25, 2012 incoming HTML email in Goggle mail is displaying as Plain Text. Something clearly changed with Google. Perhaps there is some change I need to make with my script?? // First set up some variables for

Re: [PHP] PHP: a fractal of bad design

2012-04-12 Thread Simon Schick
2012/4/12 Daevid Vincent dae...@daevid.com: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ Can't say he doesn't have some good points, but he sure goes about it in a dickish way. Hi, Daevid I think this discussion is incomplete without mentioning the feedback from Anthony

Re: [PHP] PHP: a fractal of bad design

2012-04-12 Thread ma...@behnke.biz
Daevid Vincent dae...@daevid.com hat am 12. April 2012 um 02:06 geschrieben: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ Can't say he doesn't have some good points, but he sure goes about it in a dickish way. Well, he only says what everybody knows. So there is no new

Re: [PHP] php in windows

2012-04-11 Thread Tim Streater
On 11 Apr 2012 at 03:13, Kirk Bailey kbai...@howlermonkey.net wrote: It means it does nothing. I have a small server in the computer that works fine. I also installed python in this box- and it worked perfectly without having to do anything to the server. Php on the other hand merely

[PHP] PHP: a fractal of bad design

2012-04-11 Thread Daevid Vincent
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ Can't say he doesn't have some good points, but he sure goes about it in a dickish way.

Re: [PHP] PHP: a fractal of bad design

2012-04-11 Thread Jay Blanchard
On 4/11/2012 7:06 PM, Daevid Vincent wrote: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ Can't say he doesn't have some good points, but he sure goes about it in a dickish way. Yes, he does have some good points and most, if not all, of those points have been discussed on

Re: [PHP] PHP: a fractal of bad design

2012-04-11 Thread Paul M Foster
On Wed, Apr 11, 2012 at 05:06:10PM -0700, Daevid Vincent wrote: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ Can't say he doesn't have some good points, but he sure goes about it in a dickish way. Wow. I wish I could find something that complete for Javascript. Paul

Re: [PHP] php in windows

2012-04-10 Thread Tim Streater
On 10 Apr 2012 at 03:05, Kirk Bailey kbai...@howlermonkey.net wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? What does does not work mean? You need to say which OS, which PHP version, what happens, and what you

Re: [PHP] php in windows

2012-04-10 Thread Matijn Woudt
On Tue, Apr 10, 2012 at 4:05 AM, Kirk Bailey kbai...@howlermonkey.net wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? It does work, you just didn't take the time to read the manual on how to set it up. If you want to

Re: [PHP] php in windows

2012-04-10 Thread Jay Blanchard
On 4/9/2012 9:05 PM, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? You need to give us more details than this. What version did you install? What do you mean by does not work? All flavors of PHP will

Re: [PHP] php books

2012-04-10 Thread Govinda
Revisiting said dead horse, it's interesting there is no clear consensus of opinion about what is the best book to use to learn php. Generally, you get several people chiming in talking about the website. Now the website is the bomb indeed, BUT IT'S NOT A BOUND BOOK! So that's a terrific

Re: [PHP] php in windows

2012-04-10 Thread Kirk Bailey
I ran the executable installer. I have no recollection of having opportunity to configure it. On 4/10/2012 12:08 AM, Tommy Pham wrote: On Mon, Apr 9, 2012 at 7:05 PM, Kirk Baileykbai...@howlermonkey.net wrote: The edition of php for windows I instaklled does not work. Which flavor of windows

Re: [PHP] php in windows

2012-04-10 Thread Kirk Bailey
It means it does nothing. I have a small server in the computer that works fine. I also installed python in this box- and it worked perfectly without having to do anything to the server. Php on the other hand merely occupies disk space. Aside:Holy cow, you know nothing about windows?!?

Re: [PHP] php in windows

2012-04-10 Thread Kirk Bailey
I have a web server, and it works fine with python. On 4/10/2012 7:03 AM, Matijn Woudt wrote: On Tue, Apr 10, 2012 at 4:05 AM, Kirk Baileykbai...@howlermonkey.net wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? It

Re: [PHP] php books

2012-04-10 Thread Kirk Bailey
A good tip, thank you. The php cookbook just arrived today, and this weekend I will be doing some cooking. On 4/10/2012 4:22 PM, Govinda wrote: Revisiting said dead horse, it's interesting there is no clear consensus of opinion about what is the best book to use to learn php. Generally, you

[PHP] php in windows

2012-04-09 Thread Kirk Bailey
The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? -- end Very Truly yours, - Kirk Bailey, Largo Florida kniht +-+ |

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