[PHP] Re: 4/1/2013 3:46:37 AM

2013-03-31 Thread Adil Adil
http://www.siamphotographer.com/clvrcng/nikoffbkvvnjjcgwapmay.xmhpwcbrd

[PHP] Re: MOSSCon in Louisville in May! Submit your proposal this week!

2013-03-27 Thread Jim Giner
On 3/27/2013 3:35 AM, John List wrote: Preparations are in full swing for the very first Midwest Open Source Software Conference (MOSSCon), to be held in Louisville on May 18-19. Your help in spreading the word and helping us fill out our schedule of presentations and workshops would be

Re: [PHP] Re: MOSSCon in Louisville in May! Submit your proposal this week!

2013-03-27 Thread Sorin Badea
You can unsubscribe. On Wed, Mar 27, 2013 at 3:07 PM, Jim Giner jim.gi...@albanyhandball.comwrote: On 3/27/2013 3:35 AM, John List wrote: Preparations are in full swing for the very first Midwest Open Source Software Conference (MOSSCon), to be held in Louisville on May 18-19. Your help in

[PHP] Re: wrong open_basedir warning

2013-03-27 Thread Markus Falb
On 27.3.2013 17:00, Markus Falb wrote: Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/wordpress/wp-config.php) is not within the allowed path(s): (/var/www/blog:/usr/share/wordpress) in /var/www/blog/www/test.php on line 2 I found it out.

Re: [PHP] Re: target question

2013-03-26 Thread Jim Giner
On 3/25/2013 5:45 PM, Tommy Pham wrote: What about onclick='window.open(http://domain.com/path/to/generated/pdf;, _blank)' ? Regards, Tommy Appreciate the attempt to help, but as I posted earlier I went around and modified all my scripts to handle my 'target' problem by introducing

Re: [PHP] Re: target question

2013-03-26 Thread Matijn Woudt
On Tue, Mar 26, 2013 at 3:04 PM, Jim Giner jim.gi...@albanyhandball.comwrote: On 3/25/2013 5:45 PM, Tommy Pham wrote: What about onclick='window.open(http://**domain.com/path/to/generated/**pdfhttp://domain.com/path/to/generated/pdf, _blank)' ? Regards, Tommy Appreciate the attempt

Re: [PHP] Re: target question

2013-03-26 Thread Jim Giner
On 3/26/2013 10:35 AM, Matijn Woudt wrote: On Tue, Mar 26, 2013 at 3:04 PM, Jim Giner jim.gi...@albanyhandball.comwrote: Appreciate the attempt to help, but as I posted earlier I went around and modified all my scripts to handle my 'target' problem by introducing multiple form tags into my

Re: [PHP] Re: target question

2013-03-26 Thread Matijn Woudt
On Tue, Mar 26, 2013 at 4:19 PM, Jim Giner jim.gi...@albanyhandball.comwrote: On 3/26/2013 10:35 AM, Matijn Woudt wrote: On Tue, Mar 26, 2013 at 3:04 PM, Jim Giner jim.gi...@albanyhandball.com **wrote: Appreciate the attempt to help, but as I posted earlier I went around and modified

[PHP] Re: target question

2013-03-25 Thread Jim Giner
In light of the apparent lack of any solution, I have embarked on changing all my report choices to use multiple forms with different target attribs as needed. For many of them not a big deal, but for several it adds a degree of difficulty since I have to copy the values of any input fields

Re: [PHP] Re: target question

2013-03-25 Thread Tommy Pham
On Mon, Mar 25, 2013 at 10:21 AM, Jim Giner jim.gi...@albanyhandball.com wrote: In light of the apparent lack of any solution, I have embarked on changing all my report choices to use multiple forms with different target attribs as needed. For many of them not a big deal, but for several it

[PHP] Re: Extremely slow cURL curl_exec execution/response with 5.4.13

2013-03-22 Thread Jan Ehrhardt
Ron in php.general (Thu, 21 Mar 2013 17:25:39 -0500): When upgrading from 5.4.12 to 5.4.13, cURL curl_exec calls are taking something like 700ms to complete. (Even to a file on the same server.) If I replace php_curl.dll library with the version from 5.4.12 all works as expected. Anyone else

[PHP] Re: application level variable file

2013-03-22 Thread Jim Giner
On 3/22/2013 10:22 AM, inu...@gmail.com wrote: I am very new to the PHP application and would like to create a new project. I would like to have a file to save my application level variable and functions. I would like to know does PHP have any default file name and file path for this file like

Re: [PHP] Re: application level variable file

2013-03-22 Thread Samuel Lopes Grigolato
I highly suggest you to read some begginers book or the php.net/manualbefore trying to implement other technologies concepts with PHP. That is because you WILL find some tricks to do what you want, and you'll think PHP is a big chunk of bad smelling code, a totally wrong concept. Forget

[PHP] Re: Extremely slow cURL curl_exec execution/response with 5.4.13

2013-03-22 Thread Jan Ehrhardt
Jan Ehrhardt in php.general (Fri, 22 Mar 2013 10:40:56 +0100): Ron in php.general (Thu, 21 Mar 2013 17:25:39 -0500): When upgrading from 5.4.12 to 5.4.13, cURL curl_exec calls are taking something like 700ms to complete. (Even to a file on the same server.) If I replace php_curl.dll library with

[PHP] Re: Extremely slow cURL curl_exec execution/response with 5.4.13

2013-03-22 Thread Rodrigo Mourão
Hi, The problem could be not related to php/curl, but related with dns resolve. Try to use the IP address. Regards. Rodrigo Mourao Webjump - www.webjump.com.br

[PHP] Re: Compiler for the PHP code

2013-03-19 Thread Alessandro Pellizzari
Il Tue, 19 Mar 2013 08:46:22 +, Kevin Peterson ha scritto: My webcode written in PHP and it is running in the interpreted way. My problem is it is not giving the desired performance so want to try the compiler if any. PHP gets compiled to bytecode on the server before being executed. You

[PHP] Re: SPL Recursive Iterator Examples

2013-03-19 Thread NaMarPi
The usage of the examples: 1. the name of the php file reflects to the method(s) under consideration - find the related php.net manual page for more information 2. scroll down in the file, and you will find the result of the execution - Original Message - From: NaMarPi

Re: [PHP] Re: SPL Recursive Iterator Examples

2013-03-19 Thread ma...@behnke.biz
Why don't you post them on php.net? http://www.php.net/manual/add-note.php?sect=class.recursiveiteratorredirect=http://www.php.net/manual/de/class.recursiveiterator.php NaMarPi nama...@yahoo.com hat am 19. März 2013 um 13:01 geschrieben: The usage of the examples: 1. the name of the php

[PHP] Re: Re: SPL Recursive Iterator Examples

2013-03-19 Thread NaMarPi
Thanks, I have heard about that feature for the first time. I will examine it. Why don't you post them on php.net? http://www.php.net/manual/add-note.php?sect=class.recursiveiteratorredirect=http://www.php.net/manual/de/class.recursiveiterator.php NaMarPi nama...@yahoo.com hat am 19.

RE: [PHP] Re: Compiler for the PHP code (memecached)

2013-03-19 Thread Daevid Vincent
-Original Message- From: Alessandro Pellizzari [mailto:a...@amiran.it] Sent: Tuesday, March 19, 2013 2:06 AM To: php-general@lists.php.net Subject: [PHP] Re: Compiler for the PHP code Il Tue, 19 Mar 2013 08:46:22 +, Kevin Peterson ha scritto: My webcode written in PHP

Re: [PHP] Re: [PHP-DEV] feature request : easy shared memory

2013-03-18 Thread Matijn Woudt
On Mon, Mar 18, 2013 at 3:46 AM, Larry Garfield la...@garfieldtech.comwrote: On 03/14/2013 01:21 PM, Bob Weinand wrote: Sharing active memory between processes goes against the shared nothing design of PHP. The lack of the feature you're describing is itself a feature. :-) If you had real

[PHP] Re: actually HTML again; resizeing images

2013-03-17 Thread Jim Giner
On 3/17/2013 9:22 AM, georg wrote: Anyone knows a good reading about how and when images displayd with HTML tags are re-sized ? tnx georg not php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: modulo function

2013-03-17 Thread Maciek Sokolewicz
On 17-3-2013 22:23, georg wrote: Guess there should be one in PHP but cant find it (tnx for many earlier answers) Br georg You mean the modulus operator? 10%3 = 1 http://www.php.net/manual/en/language.operators.arithmetic.php -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: [PHP-DEV] feature request : easy shared memory

2013-03-17 Thread Larry Garfield
On 03/14/2013 01:21 PM, Bob Weinand wrote: Sharing active memory between processes goes against the shared nothing design of PHP. The lack of the feature you're describing is itself a feature. :-) If you had real shared memory, then you're now writing a multi-threaded app. Even if you

[PHP] Re: rather a HTML Q; however 2-FRAME

2013-03-15 Thread Tim Streater
On 15 Mar 2013 at 11:00, tamouse mailing lists tamouse.li...@gmail.com wrote: Frames are not only deprecated, they are unsupported entirely in HTML5 (not that browsers won't continue to display them; just that they won't validate). Meaning, in other words, that they *are* supported. It's

[PHP] Re: Undefined index....

2013-03-15 Thread Tim Streater
On 15 Mar 2013 at 13:10, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: I have inherited a mess of a home-grown PHP framework that literally fills the error_log with 100's of thousands of messages each day. First order of business was rotating the logs, now we are working through

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-14 Thread tamouse mailing lists
On Mar 13, 2013 1:52 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Wed, 2013-03-13 at 19:24 +0100, Marco Behnke wrote: Am 13.03.13 12:57, schrieb Gary: ma...@behnke.biz wrote: Do us all a favor abnd stay away from open source if you do not honor the work us wannabes

[PHP] Re: Accessing Files Outside the Web Root

2013-03-14 Thread Jim Giner
On 3/13/2013 4:38 PM, Dale H. Cook wrote: Let me preface my question by noting that I am virtually a PHP novice. Although I am a long-time webmaster, and have used PHP for some years to give visitors access to information in my SQL database, this is my first attempt to use it for another

Re: [PHP] Re: Accessing Files Outside the Web Root

2013-03-14 Thread Dale H. Cook
At 11:20 AM 3/14/2013, Jim Giner wrote: And use a captcha (which I personally can never read!) to keep the robots at bay. I dislike CAPTCHAs, and some bots are pretty good at beating them. I'm exploring alternatives that exploit the differences between the ways that bots deal with pages and

[PHP] Re: Accessing Files Outside the Web Root - Progress Report 1

2013-03-14 Thread Jim Giner
On 3/14/2013 12:40 PM, Dale H. Cook wrote: I have made some progress. It occurred to me that the problem that I had in accessing files outside the web root could be a pathing problem, and that was the case. I finally ran phpinfo() and examined _SERVER[DOCUMENT_ROOT] to see what the correct

Re: [PHP] Re: Accessing Files Outside the Web Root

2013-03-14 Thread Jim Giner
On 3/14/2013 12:43 PM, Dale H. Cook wrote: At 11:20 AM 3/14/2013, Jim Giner wrote: And use a captcha (which I personally can never read!) to keep the robots at bay. I dislike CAPTCHAs, and some bots are pretty good at beating them. I'm exploring alternatives that exploit the differences

Re: [PHP] Re: Accessing Files Outside the Web Root

2013-03-14 Thread Maciek Sokolewicz
On 14-3-2013 17:43, Dale H. Cook wrote: At 11:20 AM 3/14/2013, Jim Giner wrote: And use a captcha (which I personally can never read!) to keep the robots at bay. I dislike CAPTCHAs, and some bots are pretty good at beating them. I'm exploring alternatives that exploit the differences

Re: [PHP] Re: Accessing Files Outside the Web Root

2013-03-14 Thread Marc Guay
correlate various types of information, which is very hard. For a human, this is very simple. It's simple, and very friendly to your guests. Assuming humans will continue to behave as I've seen them behave so far, even this simple system will guarantee you angry emails from people who'll want

Re: [PHP] Re: Accessing Files Outside the Web Root - Progress Report 1

2013-03-14 Thread Dale H. Cook
At 01:26 PM 3/14/2013, Jim Giner wrote: I don't think you ever want the filename buried in the web page. Why not? The file itself is outside the root. In any case the finished product will use tokens instead of filenames. While I am working out the bugs it is easier to use filenames. I use an

Re: [PHP] Re: Accessing Files Outside the Web Root

2013-03-14 Thread Dale H. Cook
At 02:27 PM 3/14/2013, Marc Guay wrote: Assuming humans will continue to behave as I've seen them behave so far, even this simple system will guarantee you angry emails from people who'll want to argue that five is a colour in some circumstances. Marc has a very valid point. My goal is to weed

Re: [PHP] Re: Accessing Files Outside the Web Root - ProgressReport 1

2013-03-14 Thread Jim Giner
On 3/14/2013 3:44 PM, Dale H. Cook wrote: At 01:26 PM 3/14/2013, Jim Giner wrote: I don't think you ever want the filename buried in the web page. Why not? The file itself is outside the root. In any case the finished product will use tokens instead of filenames. While I am working out the

[PHP] Re: Generating CRUD code for normalized db

2013-03-13 Thread Jim Giner
On 3/13/2013 7:57 AM, Gary wrote: ma...@behnke.biz wrote: Do us all a favor abnd stay away from open source if you do not honor the work us wannabes put into it. As I said before I wasn't aware you would feel that the cap fitted. If you do feel that, then perhaps instead of complaining at me

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-13 Thread Marco Behnke
Am 13.03.13 12:57, schrieb Gary: ma...@behnke.biz wrote: Do us all a favor abnd stay away from open source if you do not honor the work us wannabes put into it. As I said before I wasn't aware you would feel that the cap fitted. If you do feel that, then perhaps instead of complaining at me

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-13 Thread Ashley Sheridan
On Wed, 2013-03-13 at 19:24 +0100, Marco Behnke wrote: Am 13.03.13 12:57, schrieb Gary: ma...@behnke.biz wrote: Do us all a favor abnd stay away from open source if you do not honor the work us wannabes put into it. As I said before I wasn't aware you would feel that the cap fitted.

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-13 Thread Bastien Koert
On Wed, Mar 13, 2013 at 2:55 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Wed, 2013-03-13 at 19:24 +0100, Marco Behnke wrote: Am 13.03.13 12:57, schrieb Gary: ma...@behnke.biz wrote: Do us all a favor abnd stay away from open source if you do not honor the work us wannabes

RE: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Ford, Mike
-Original Message- From: Maciek Sokolewicz [mailto:tula...@gmail.com] On Behalf Of Maciek Sokolewicz Sent: 11 March 2013 22:44 unless ( $a and $b ) = if ( ! ($a and $b) ) So in simple terms, just stick a ! (or the keyword not) in front of your expression, and you'll have

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-12 Thread ma...@behnke.biz
Gary listgj-phpgene...@yahoo.co.uk hat am 11. März 2013 um 15:51 geschrieben: I and others have pointed you towards open source solutions, the fact you don't want to put any effort in to make them work for you is not because of the state of open source software. If you think that

Re: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Sebastian Krebs
2013/3/12 Ford, Mike m.f...@leedsmet.ac.uk -Original Message- From: Maciek Sokolewicz [mailto:tula...@gmail.com] On Behalf Of Maciek Sokolewicz Sent: 11 March 2013 22:44 unless ( $a and $b ) = if ( ! ($a and $b) ) So in simple terms, just stick a ! (or the keyword

RE: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Arno Kuhl
-Original Message- From: Ford, Mike [mailto:m.f...@leedsmet.ac.uk] Sent: 12 March 2013 10:51 AM To: PHP General Subject: RE: [PHP] Re: UNLESS Statement Equivalent unless ( $a and $b ) = if ( ! ($a and $b) ) So in simple terms, just stick a ! (or the keyword not) in front of your

RE: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Arno Kuhl
-Original Message- From: Ford, Mike [mailto:m.f...@leedsmet.ac.uk] Sent: 12 March 2013 10:51 AM To: PHP General Subject: RE: [PHP] Re: UNLESS Statement Equivalent unless ( $a and $b ) = if ( ! ($a and $b) ) So in simple terms, just stick a ! (or the keyword not) in front of your

RE: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Ford, Mike
-Original Message- From: Arno Kuhl [mailto:a...@dotcontent.net] Sent: 12 March 2013 13:04 Mike, I presume you're saying the precedence of the Boolean keyword operators is lower than the Boolean symbol operators, but if so then wouldn't there be less need for the parentheses? I

[PHP] Re: Mystery foreach error

2013-03-12 Thread Jim Giner
On 3/12/2013 3:45 PM, Angela Barone wrote: $zip_short = substr($zip, 0, 3); foreach ($states[$state] as $zip_prefix) { // -- line 377 if ($zip_prefix == $zip_short) { break; } else { $match = 'no'; } } I see the in the foreach. Since you are not modifying

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-11 Thread ma...@behnke.biz
Gary listgj-phpgene...@yahoo.co.uk hat am 11. März 2013 um 10:10 geschrieben: ma...@behnke.biz wrote: FLOW3 might be worth a look. TYPO3 with inline relational records. Seems to be in a similar state to yii as regards usability and documentation. = composer create-project --dev

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-11 Thread Ashley Sheridan
Gary listgj-phpgene...@yahoo.co.uk wrote: Ashley Sheridan wrote: In any case, you could probably take something you like from another framework if you have the time/inclination/capability. I honestly think I am simply going to write the shit myself. The CRUD pages, I mean. I see no reason

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-11 Thread Jim Giner
On 3/11/2013 10:14 AM, Ashley Sheridan wrote: Gary listgj-phpgene...@yahoo.co.uk wrote: Ashley Sheridan wrote: In any case, you could probably take something you like from another framework if you have the time/inclination/capability. I honestly think I am simply going to write the shit

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-11 Thread Samuel Lopes Grigolato
If you don't appreciate Open Source solutions, why are you losing time on a Open Source Project Mailing List? Go pay (a lot) for a handholding framework and be happy =), just don't demotivate the ones who bring free software to reality, even if the free software is not as good as you would like.

[PHP] Re: Generating CRUD code for normalized db

2013-03-11 Thread Jim Giner
Gary, Until I read this post of yours I never knew what CRUD stood for, let alone knew that such an acronym was even needed in the world. If you are complaining about not being able to find software written to handle Creating, Reading, Updating and Deleting data in a table or tables that

[PHP] Re: UNLESS Statement Equivalent

2013-03-11 Thread Maciek Sokolewicz
On 11-3-2013 22:32, Angela Barone wrote: I'm looking for an 'unless' statement, but as far as I can tell, PHP doesn't have one. Hopefully someone can help me rewrite my statement. In English, I want to say: always do something UNLESS these 3 conditions are met. The

[PHP] Re: XML to Array

2013-03-10 Thread Carlos Medina
Hi, use https://github.com/theseer/fDOMDocument. You can install it over PEAR. You can use it like $xml = 'xmlroottest id=my_id /'; $dom = new fDOMDocument(); $dom-loadXML($xml); // get attribute $elementNode = $dom-queryOne('//test[@id=my_id]'); echo $elementNode-nodeValue; Greetings Carlos

Re: [PHP] Re: Ref: Embed a form within a form

2013-03-10 Thread Jim Giner
On 3/10/2013 5:12 PM, Ashley Sheridan wrote: http://csscreator.com/divitis Thanks, Ash http://www.ashleysheridan.co.uk Is it Friday again already? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Populate input from another form

2013-03-09 Thread Curtis Maurand
No, but javascript can. Jim Giner jim.gi...@albanyhandball.com wrote: On 3/8/2013 3:43 PM, John Taylor-Johnston wrote: Scratch that, IE does not like form elements outside the /form!!?? :,( I can't a form within a form either, unless ... I float a div??. John Taylor-Johnston wrote: I have

[PHP] Re: Populate input from another form

2013-03-09 Thread Jim Giner
Did some testing with a form. Tried it with IE9, Chrome 25.0.xxx and Safari 5.7.1 Mixed results - good and bad IE - forget it. The new form attrib does not work. Chrome - only works if the input element is in the form but has NO form attrib OR if it is NOT in the form and has only ONE form

[PHP] Re: Populate input from another form

2013-03-08 Thread John Taylor-Johnston
Scratch that, IE does not like form elements outside the /form!!?? :,( I can't a form within a form either, unless ... I float a div??. John Taylor-Johnston wrote: I have a form form action=CRTP_Query.php id=CRTP_Query method=post target=_CRTPinput value=Query form=CRTP_Query

FW: [PHP] Re: Populate input from another form

2013-03-08 Thread Jen Rasmussen
: John Taylor-Johnston [mailto:john.taylor-johns...@cegepsherbrooke.qc.ca] Sent: Friday, March 08, 2013 2:44 PM To: PHP-General Subject: [PHP] Re: Populate input from another form Scratch that, IE does not like form elements outside the /form!!?? :,( I can't a form within a form either, unless ... I

[PHP] Re: Populate input from another form

2013-03-08 Thread Tim Streater
On 08 Mar 2013 at 19:45, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: I have a form form action=CRTP_Query.php id=CRTP_Query method=post target=_CRTPinput value=Query form=CRTP_Query type=submit/form OnSubmit, I want to include data from another form

[PHP] Re: Populate input from another form

2013-03-08 Thread Jim Giner
On 3/8/2013 2:45 PM, John Taylor-Johnston wrote: I have a form form action=CRTP_Query.php id=CRTP_Query method=post target=_CRTPinput value=Query form=CRTP_Query type=submit/form OnSubmit, I want to include data from another form (form=DPRform). input name=DPRsurname type=text form=DPRform

[PHP] Re: Populate input from another form

2013-03-08 Thread Jim Giner
On 3/8/2013 3:43 PM, John Taylor-Johnston wrote: Scratch that, IE does not like form elements outside the /form!!?? :,( I can't a form within a form either, unless ... I float a div??. John Taylor-Johnston wrote: I have a form form action=CRTP_Query.php id=CRTP_Query method=post

[PHP] Re: Populate input from another form

2013-03-08 Thread Jim Giner
On 3/8/2013 2:45 PM, John Taylor-Johnston wrote: I have a form form action=CRTP_Query.php id=CRTP_Query method=post target=_CRTPinput value=Query form=CRTP_Query type=submit/form OnSubmit, I want to include data from another form (form=DPRform). input name=DPRsurname type=text form=DPRform

Re: [PHP] Re: Populate input from another form

2013-03-08 Thread tamouse mailing lists
On Fri, Mar 8, 2013 at 9:17 PM, Jim Giner jim.gi...@albanyhandball.com wrote: On 3/8/2013 2:45 PM, John Taylor-Johnston wrote: I have a form form action=CRTP_Query.php id=CRTP_Query method=post target=_CRTPinput value=Query form=CRTP_Query type=submit/form OnSubmit, I want to include data

Re: [PHP] Re: Populate input from another form

2013-03-08 Thread Jim Giner
On 3/8/2013 11:07 PM, tamouse mailing lists wrote: On Fri, Mar 8, 2013 at 9:17 PM, Jim Giner jim.gi...@albanyhandball.com wrote: On 3/8/2013 2:45 PM, John Taylor-Johnston wrote: I have a form form action=CRTP_Query.php id=CRTP_Query method=post target=_CRTPinput value=Query form=CRTP_Query

[PHP] Re: PHP 5.4 Help

2013-03-06 Thread Alessandro Pellizzari
Il Wed, 06 Mar 2013 08:41:43 -0800, Great Recordings, LLC ha scritto: Will someone tell me if the small module included on the bottom of this note will function properly under PHP 5.4? (Register_Globals turned off).  If it does not function properly with Register_Globals turned off, is there

Re: [PHP] Re: Open form in new window

2013-03-05 Thread Jim Giner
On 3/4/2013 11:04 PM, tamouse mailing lists wrote: I would like to just take a step back and ponder what the user experience of this will be. Click a submit button, one of *many* as the OP says, and a new browser window opens? I don't think that is how most people experience the web these days.

Re: [PHP] Re: Open form in new window

2013-03-05 Thread tamouse mailing lists
On Tue, Mar 5, 2013 at 8:37 AM, Jim Giner jim.gi...@albanyhandball.com wrote: On 3/4/2013 11:04 PM, tamouse mailing lists wrote: I would like to just take a step back and ponder what the user experience of this will be. Click a submit button, one of *many* as the OP says, and a new browser

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Terry Ally (Gmail)
You could echo HTML code e.g. form action=result.php method=post Number: input id=quantity type=text / *button type=button onclick=OpenWindow()Submit/button* /form or include it as one of your form attributes: *form action=demo_form.asp method=get target=_blank* First name: input type=text

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Maciek Sokolewicz
On 4 March 2013 09:32, Terry Ally (Gmail) terrya...@gmail.com wrote: You could echo HTML code e.g. Which is still purely HTML and has nothing whatsoever to do with PHP. form action=result.php method=post Number: input id=quantity type=text / button type=button

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Terry Ally (Gmail)
I was using an example and NOT intended to show ASP. On 4 March 2013 08:35, Maciek Sokolewicz maciek.sokolew...@gmail.comwrote: On 4 March 2013 09:32, Terry Ally (Gmail) terrya...@gmail.com wrote: You could echo HTML code e.g. Which is still purely HTML and has nothing whatsoever to do

Re: [PHP] Re: Open form in new window

2013-03-04 Thread John Taylor-Johnston
You could echo HTML code e.g. Which is still purely HTML and has nothing whatsoever to do with PHP. form action=result.php method=post Number: input id=quantity type=text / button type=button onclick=OpenWindow()Submit/button /form or include it as one of

[PHP] Re: Open form in new window

2013-03-04 Thread Tim Streater
On 04 Mar 2013 at 17:10, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: button type=button onclick=OpenWindow()Submit/button will not submit the form contents. Nothing to stop your OpenWindow() function doing a submit as in: button type=button

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Matijn Woudt
On Mon, Mar 4, 2013 at 6:10 PM, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: You could echo HTML code e.g. Which is still purely HTML and has nothing whatsoever to do with PHP. form action=result.php method=post Number: input id=quantity

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Paul M Foster
On Mon, Mar 04, 2013 at 05:39:00PM +, Tim Streater wrote: On 04 Mar 2013 at 17:10, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: button type=button onclick=OpenWindow()Submit/button will not submit the form contents. Nothing to stop your OpenWindow()

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Paul M Foster
On Mon, Mar 04, 2013 at 06:58:41PM +0100, Matijn Woudt wrote: On Mon, Mar 4, 2013 at 6:10 PM, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: You could echo HTML code e.g. Which is still purely HTML and has nothing whatsoever to do with PHP.

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Ashley Sheridan
On Mon, 2013-03-04 at 15:22 -0500, Paul M Foster wrote: On Mon, Mar 04, 2013 at 06:58:41PM +0100, Matijn Woudt wrote: On Mon, Mar 4, 2013 at 6:10 PM, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: You could echo HTML code e.g. Which is still purely

[PHP] Re: Open form in new window

2013-03-04 Thread Tim Streater
On 04 Mar 2013 at 20:17, Paul M Foster pa...@quillandmouse.com wrote: On Mon, Mar 04, 2013 at 05:39:00PM +, Tim Streater wrote: Personally I never submit forms. I use ajax to communicate with PHP scripts and do something with the data that is returned by the script. You can see a simple

[PHP] Re: Open form in new window

2013-03-04 Thread Jim Giner
On 3/4/2013 12:44 AM, John Taylor-Johnston wrote: I have many different submit button. input value=Update type=submit input name=DPRmode value=Enter Data type=submit When php processes value=Enter Data, I would like to open a new window, but only if I click this one. Possible? I knw ther is an

Re: [PHP] Re: Open form in new window

2013-03-04 Thread tamouse mailing lists
I would like to just take a step back and ponder what the user experience of this will be. Click a submit button, one of *many* as the OP says, and a new browser window opens? I don't think that is how most people experience the web these days. Technicalities of how one does this notwithstanding,

[PHP] Re: Holding datetimes in a DB.

2013-03-03 Thread Richard Quadling
On 1 March 2013 10:49, Richard Quadling rquadl...@gmail.com wrote: Hi. My heads trying to remember something I may or may not have known to start with. If I hold datetimes in a DB in UTC and can represent a date to a user based upon a user preference Timezone (not an offset, but a real

[PHP] Re: Open form in new window

2013-03-03 Thread Maciek Sokolewicz
On 4-3-2013 6:44, John Taylor-Johnston wrote: I have many different submit button. input value=Update type=submit input name=DPRmode value=Enter Data type=submit When php processes value=Enter Data, I would like to open a new window, but only if I click this one. Possible? I knw ther is an

[PHP] Re: Stupid question

2013-02-27 Thread Jim Giner
On 2/26/2013 4:27 PM, Curtis Maurand wrote: I have the following: $dsn = mysqli://$username:$password@$hostname2/$database; $options = array( 'debug' = 3, 'result_buffering' = false, ); $dbh = MDB2::factory($dsn, $options); if (PEAR::isError($mdb2)) {

Re: [PHP] Re: Stupid question

2013-02-27 Thread Serge Fonville
Perhaps he could share all relevant code, since at this time we are mostly guessing. Declaration/assignment of a lot of variables isn't included in the snippets. HTH Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Microsoft! They need to add TRUNCATE

RE: [PHP] Re: Stupid question

2013-02-27 Thread Ford, Mike
-Original Message- From: Jim Giner [mailto:jim.gi...@albanyhandball.com] Sent: 27 February 2013 12:28 2 - you have a couple indices wrapped in curly braces, not parens. Is that some new kind of syntax I'm not aware of? No, that's some old kind of syntax you have no reason to be

[PHP] Re: if (empty versus if (isset

2013-02-20 Thread Jim Giner
Basically it tells a savvy programmer whether or not his logic has caused the var in question to exist. Many times it is important simply to know that, not what the var contains, which can lead to an error in processing. The isset() will tell you that yes, I have this variable, letting you

Re: [PHP] Re: if (empty versus if (isset

2013-02-20 Thread ma...@behnke.biz
Jim Giner jim.gi...@albanyhandball.com hat am 20. Februar 2013 um 15:10 geschrieben: Basically it tells a savvy programmer whether or not his logic has caused the var in question to exist. Many times it is important simply to know that, not what the var contains, which can lead to an

[PHP] Re: stripped \n

2013-02-20 Thread Jim Giner
On 2/20/2013 1:16 PM, John Taylor-Johnston wrote: Hi, I have a textarea when submitted creates a new form with the textarea data in a hidden field: input name=DPRnarration type=text hidden form=DPRform value=Enter call narration here. But when this new form gets resubmitted, the \n get

[PHP] Re: [PHP-DEV] PHP 5.3.22RC1 and 5.4.12RC1 Released for Testing!

2013-02-19 Thread Jan Ehrhardt
Johannes Schlüter in php.internals (Thu, 31 Jan 2013 16:00:17 +0100): If no critical issues is found in this RC, the final version will be released in two weeks. Just curious: what is keeping 5.3.22 and 5.4.12 from being released? Are there any issues? Jan -- PHP General Mailing List

[PHP] Re: [PHP-DEV] PHP 5.3.22RC1 and 5.4.12RC1 Released for Testing!

2013-02-19 Thread Johannes Schlüter
On Wed, 2013-02-20 at 00:13 +0100, Jan Ehrhardt wrote: Johannes Schlüter in php.internals (Thu, 31 Jan 2013 16:00:17 +0100): If no critical issues is found in this RC, the final version will be released in two weeks. Just curious: what is keeping 5.3.22 and 5.4.12 from being released? Are

[PHP] Re: [PHP-DEV] PHP 5.3.22RC1 and 5.4.12RC1 Released for Testing!

2013-02-19 Thread Stas Malyshev
Hi! Johannes Schlüter in php.internals (Thu, 31 Jan 2013 16:00:17 +0100): If no critical issues is found in this RC, the final version will be released in two weeks. Just curious: what is keeping 5.3.22 and 5.4.12 from being released? Are there any issues? We had 5.4.12 RC2 last week, due

[PHP] Re: [PHP-DEV] PHP 5.3.22RC1 and 5.4.12RC1 Released for Testing!

2013-02-19 Thread Jan Ehrhardt
Stas Malyshev in php.internals (Tue, 19 Feb 2013 15:35:54 -0800): Johannes Schlüter in php.internals (Thu, 31 Jan 2013 16:00:17 +0100): If no critical issues is found in this RC, the final version will be released in two weeks. Just curious: what is keeping 5.3.22 and 5.4.12 from being

[PHP] Re: Newbie is trying to set up OOP With PHP and MySQL or MySQLi database class (using CRUD)

2013-02-15 Thread dealTek
Thanks for all the help folks, PHP-light-PDO-Class ok well I found this... https://github.com/poplax/PHP-light-PDO-Class But it does not seem to recognize the port - I put the port as 8889 but keeps saying can't connect port 3306 Warning: PDO::__construct() [pdo.--construct]: [2002]

[PHP] Re: Newbie is trying to set up OOP With PHP and MySQL or MySQLi database class (using CRUD)

2013-02-15 Thread David Robley
dealTek wrote: Thanks for all the help folks, PHP-light-PDO-Class ok well I found this... https://github.com/poplax/PHP-light-PDO-Class But it does not seem to recognize the port - I put the port as 8889 but keeps saying can't connect port 3306 Warning: PDO::__construct()

[PHP] Re: Newbie is trying to set up OOP With PHP and MySQL or MySQLi database class (using CRUD)

2013-02-14 Thread dealTek
On Feb 14, 2013, at 9:49 AM, dealTek deal...@gmail.com wrote: Hi everybody, Newbie is trying to set up OOP With PHP and MySQL or MySQLi database class (using CRUD) Simple story: creating this class database by myself is way over my head. So it be best for me to find something on the

Re: [PHP] Re: Newbie is trying to set up OOP With PHP and MySQL or MySQLi database class (using CRUD)

2013-02-14 Thread Haluk Karamete
Also worth checking http://justinvincent.com/ezsql Which is the class behind the WordPress' wpdb class. This is a great read too - http://www.devarticles.com/c/a/MySQL/PHP-and-Databases-for-the-Lazy-Sod/ On Thu, Feb 14, 2013 at 10:30 AM, dealTek deal...@gmail.com wrote: On Feb 14, 2013, at

[PHP] Re: APC opcode cache behavior

2013-02-13 Thread Aaron Holmes
Driving home, I realized how vague this was. Specifically, I'm looking for information on when APC will cache a file or directory, and what it checks before doing so. Thanks again, Aaron Holmes On 2/13/2013 6:53 PM, Aaron Holmes wrote: Hello, I'm trying to find some information on APC opcode

[PHP] Re: error_log() bug on PHP 5.4.11?

2013-02-03 Thread J.S.
The culprit was Chrome's HTML Validator extension. It triggered an additional request for the page doing the logging therefore resulting in logging of two identical entries. Once I disabled the extension the problem went away. Sorry for the false alarm. J.S. J.S. h...@webserverone.com wrote

[PHP] Re: Integer

2013-02-02 Thread Shawn McKenzie
On 02/01/2013 10:40 PM, Ron Piggott wrote: In the following the “2.” means a moderator response and “25” is the account # of the moderator. ?php $author = 2.00025 ? How can I get the 25 by itself? - I want to drop the “2.” and remove all the zero’s Would

[PHP] Re: Integer

2013-02-02 Thread Ron Piggott
Thank you for the help. Very much appreciate it. Ron Piggott www.TheVerseOfTheDay.info -Original Message- From: Shawn McKenzie Sent: Saturday, February 02, 2013 1:43 PM To: php-general@lists.php.net ; Ron Piggott Subject: Re: Integer On 02/01/2013 10:40 PM, Ron Piggott wrote:

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