[PHP] Re: php form action breaks script

2012-06-15 Thread Al
On 6/14/2012 7:28 PM, Tim Dunphy wrote: Hello list, I was just wondering if I could get some opinions on a snippet of code which breaks a php web page. First the working code which is basically an html form being echoed by php: if ($output_form) { echo 'br /br /form

Re: [PHP] Re: php form action breaks script

2012-06-15 Thread ma...@behnke.biz
Al n...@ridersite.org hat am 15. Juni 2012 um 14:29 geschrieben: On 6/14/2012 7:28 PM, Tim Dunphy wrote: However if I change the form action to this, it breaks the page resulting in a white screen of death: error_reporting(E_ALL); ini_set('display_errors', 'On'); And what is the error

[PHP] Re: php form action breaks script

2012-06-15 Thread Jim Giner
Hear, Hear for heredocs. The only way to code up your html. Took me a few months to discover it and haven't looked back since. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php form action breaks script

2012-06-15 Thread Jim Lucas
On 06/15/2012 06:35 AM, Jim Giner wrote: Hear, Hear for heredocs. The only way to code up your html. Took me a few months to discover it and haven't looked back since. The only problem I have with HEREDOC is I cannot use constants within them. -- Jim Lucas http://www.cmsws.com/

Re: [PHP] Re: php form action breaks script

2012-06-15 Thread ma...@behnke.biz
Jim Lucas li...@cmsws.com hat am 15. Juni 2012 um 18:39 geschrieben: On 06/15/2012 06:35 AM, Jim Giner wrote: Hear, Hear for heredocs. The only way to code up your html. Took me a few months to discover it and haven't looked back since. The only problem I have with HEREDOC is I

Re: [PHP] Re: php form action breaks script

2012-06-15 Thread Al
It is a small price to pay for large block, especially if the text has any quotes. Personally, I can't keep them straight and delimit them, etc. Heredoc saves all that such stuff. $insert= MY_DEFINED; echo hdc This is my $insert hdc; On 6/15/2012 12:39 PM, Jim Lucas wrote: On 06/15/2012

[PHP] Re: php form action breaks script

2012-06-14 Thread David Robley
Tim Dunphy wrote: Hello list, I was just wondering if I could get some opinions on a snippet of code which breaks a php web page. First the working code which is basically an html form being echoed by php: if ($output_form) { echo 'br /br /form action=sendemail.php method=post

Re: [PHP] Re: php form action breaks script

2012-06-14 Thread Paul Halliday
On Thu, Jun 14, 2012 at 10:17 PM, David Robley robl...@aapt.net.au wrote: Tim Dunphy wrote: Hello list,  I was just wondering if I could get some opinions on a snippet of code which breaks a php web page.  First the working code which is basically an html form being echoed by  php: if

[PHP] Re: PHP Subroutine Call Blowing UP with Strings

2012-05-06 Thread Maciek Sokolewicz
On 06-05-2012 14:54, George R Smith wrote: root@dellT710:/var/www# php qm_get_clients.php *** glibc detected *** php: free(): invalid next size (fast): 0x0a2c3998 *** Sounds like a segfault to me, which is fully the fault of the extension, and not something you're doing in PHP. Try asking the

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

2012-05-04 Thread Gavin Chalkley
Ethan, You have been given advise and break down on your code. Have you taken the advise given? Which part of the code isn't working? Not which chunk, but break it down and show which part BR, Gav -Original Message- From: Ethan Rosenberg [mailto:eth...@earthlink.net] Sent: 04 May

[PHP] RE: [PHP-DB] PHP Database Problems

2012-05-02 Thread Gavin Chalkley
Ethan, Some coding you are using would be helpful (as far as i am aware attachments are not support on the mailing list's) Gav -Original Message- From: Ethan Rosenberg [mailto:eth...@earthlink.net] Sent: 02 May 2012 19:54 To: php-db-lists.php.net; php-general@lists.php.net Subject:

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

2012-05-02 Thread Christopher Jones
I noticed the use of SQL concatenation like: $allowed_fields = array ( 'Site' =$_POST['Site'], 'MedRec' = $_POST['MedRec'], 'Fname' = $_POST['Fname'], 'Lname' = $_POST['Lname'] , 'Phone' = $_POST['Phone'] , 'Sex' = $_POST['Sex'] , 'Height' = $_POST['Height'] );

[PHP] Re: [PHP-DB] School timetable in php

2012-04-23 Thread Tony Marston
tamouse mailing lists wrote in message news:CAHUC_t-cch8cBXZvzWtx42ZPFEuVkMPG=50jkwv+gygelk_...@mail.gmail.com... On Sun, Apr 22, 2012 at 1:41 AM, Vinay Kannan viny...@gmail.com wrote: Weekly subject wise lecture schedule, subject wise / faculty wise. On Sun, Apr 22, 2012 at 12:02 PM,

[PHP] Re: [PHP-DB] School timetable in php

2012-04-22 Thread tamouse mailing lists
On Sun, Apr 22, 2012 at 1:41 AM, Vinay Kannan viny...@gmail.com wrote: Weekly subject wise lecture schedule, subject wise / faculty wise. On Sun, Apr 22, 2012 at 12:02 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, Apr 20, 2012 at 7:00 AM, Vinay Kannan viny...@gmail.com

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

2012-04-17 Thread Bogdan Ribic
Where's the Like button on this list? :) On 4/13/2012 01:44, Ross McKay wrote: On Wed, 11 Apr 2012 17:06:10 -0700, Daevid Vincent wrote: There are only two kinds of languages: the ones people complain about and the ones nobody uses. -- Bjarne Stroustrup -- PHP General Mailing List

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

2012-04-17 Thread Jim Lucas
On 04/17/2012 05:43 AM, Bogdan Ribic wrote: Where's the Like button on this list? :) On 4/13/2012 01:44, Ross McKay wrote: On Wed, 11 Apr 2012 17:06:10 -0700, Daevid Vincent wrote: There are only two kinds of languages: the ones people complain about and the ones nobody uses. -- Bjarne

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

2012-04-17 Thread Jay Blanchard
[snip] a simple +1 will do [/snip] Ahthe good old days. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: php in windows

2012-04-16 Thread Steven Staples
-Original Message- From: Kirk Bailey [mailto:kbai...@howlermonkey.net] Sent: April 11, 2012 10:11 PM To: php-general@lists.php.net Subject: Re: [PHP] Re: php in windows Steve, THERE IS NO SUCH FILE in tinyweb. It turns to the operating system asspciations to determine what to use

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

2012-04-12 Thread Ross McKay
On Wed, 11 Apr 2012 17:06:10 -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. There are only two kinds of languages: the ones people complain about and the ones

RE: [PHP] Re: php in windows

2012-04-11 Thread Steven Staples
-Original Message- From: Kirk Bailey [mailto:kbai...@howlermonkey.net] Sent: April 11, 2012 1:02 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: php in windows ok, there is a copy of index.php ion the cgibin, and this got WAY different results. It puked an error

Re: [PHP] Re: php in windows

2012-04-11 Thread Jay Blanchard
On 4/11/2012 9:42 AM, Steven Staples wrote: -Original Message- From: Kirk Bailey [mailto:kbai...@howlermonkey.net] Sent: April 11, 2012 1:02 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: php in windows ok, there is a copy of index.php ion the cgibin, and this got WAY

Re: [PHP] Re: php in windows

2012-04-11 Thread Kirk Bailey
Steve, THERE IS NO SUCH FILE in tinyweb. It turns to the operating system asspciations to determine what to use to process the cgi, then captures the returned stdio output and feeds THAT back as part of the data stream back down the stack. Therefore, it is not interfacing with the windows

Re: [PHP] Re: php in windows

2012-04-11 Thread Daniel Fenn
I don't want to sound rude but I did say this before, why don't you get zend server CE or xampp and install that? On Thu, Apr 12, 2012 at 12:11 PM, Kirk Bailey kbai...@howlermonkey.net wrote: Steve, THERE IS NO SUCH FILE in tinyweb. It turns to the operating system asspciations to determine

[PHP] Re: php in windows

2012-04-10 Thread Bogdan Ribic
On 4/10/2012 04:05, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? Trust me, it does work :) I'm running PHP 5.3.10 thread-safe, as apache module on apache 2.4.1 from apache lounge (not official apache

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
I am not running apache; I am running tinyweb, which is a cgi capable server. It does not need any special configuration to handle cgi, and worked out of the box with python. On 4/10/2012 11:13 AM, Bogdan Ribic wrote: On 4/10/2012 04:05, Kirk Bailey wrote: The edition of php for windows I

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
ok, I just installed 5.2.17 VC6X86. I have a simple test page, index.php; it spews the content code at me. On 4/10/2012 11:13 AM, Bogdan Ribic wrote: On 4/10/2012 04:05, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
ok, there is a copy of index.php ion the cgibin, and this got WAY different results. It puked an error. CGI script /cgi-bin/index.php returned nothing NOW W.T.F., over? I think that it's time for some rack time. 'Night all. On 4/11/2012 12:50 AM, Kirk Bailey wrote: ok, I just installed

[PHP] Re: [PHP-DB] Re: foreach

2012-04-05 Thread Karl DeSaulniers
And POST[] is not the same as $_POST[] Karl Sent from losPhone On Apr 5, 2012, at 3:24 PM, Jim Giner jim.gi...@albanyhandball.com wrote: I don't know about others, but I can't make sense of this - way too much presented with no idea of what I am looking at - code or output. One thing:

[PHP] Re: [PHP-DB] Re: foreach

2012-04-05 Thread Kris Carlson
Send the code around line 198, say 170 to 210. On Apr 5, 2012, at 8:42 PM, Al wrote: On 4/5/2012 4:15 PM, Ethan Rosenberg wrote: Dear Lists - I know I am missing something fundamental - but I have no idea where to start to look. Here are code snippets: I have truncated the

[PHP] Re: [PHP-DEV] PHP 5.4.1 RC1 Released

2012-03-30 Thread Nikita Popov
On Fri, Mar 30, 2012 at 8:23 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! We would like to announce the first RC of the 5.4.1 version. This will be mainly a bugfix version, including all bugfixes that did not make the cut for 5.4.0 and new issues since then. Please test it and notify

[PHP] Re: [PHP-DB] Flow of PHP testClass

2012-03-29 Thread tamouse mailing lists
On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh riki...@gmail.com wrote: Hi Guys, Given below is a PHP script. Can someone help me with the output of the code. According to my understanding the output should be 3, 50, 20, 10. Can someone elaborate on the same and provide me an explanation on

[PHP] Re: [PHP-DB] Flow of PHP testClass

2012-03-29 Thread tamouse mailing lists
On Thu, Mar 29, 2012 at 1:17 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh riki...@gmail.com wrote: Hi Guys, Given below is a PHP script. Can someone help me with the output of the code. According to my understanding the output should

[PHP] Re: [PHP-DB] Flow of PHP testClass

2012-03-29 Thread tamouse mailing lists
On Thu, Mar 29, 2012 at 1:30 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Thu, Mar 29, 2012 at 1:17 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh riki...@gmail.com wrote: Hi Guys, Given below is a PHP script. Can someone

[PHP] Re: php sendmail_from

2012-01-09 Thread Jim Giner
And how are you generating the email? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php sendmail_from

2012-01-09 Thread alexus
using Drupal On Mon, Jan 9, 2012 at 2:48 PM, Jim Giner jim.gi...@albanyhandball.com wrote: And how are you generating the email? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- http://alexus.org/ -- PHP General Mailing List

[PHP] Re: php sendmail_from

2012-01-09 Thread Jim Giner
I guess I'm asking to see your code pertaining to sending the email. Telling us about a couple of ini settings doesn't really present us a picture of your problem. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php sendmail_from

2012-01-09 Thread Matijn Woudt
On Mon, Jan 9, 2012 at 8:50 PM, alexus ale...@gmail.com wrote: using Drupal If you're using Drupal to send the mail, or any module installed in Drupal, than there are most likely settings in Drupal (module) that allow you to set the from address. If these functions call the mail command with a

[PHP] Re: [php] static html search engine for php static html site

2011-12-26 Thread Jim Lucas
On 12/26/2011 5:37 PM, Izo duwa wrote: the whole site is in php and all content should be searchable. I have tried zoom site search [http://www.wrensoft.com/zoom/] but the result was not good. I just need a simple site search functionality that I can install on a share hosting. it should be

[PHP] Re: PHP 5.3.6 Dates

2011-12-12 Thread Ian
On 12/12/2011 16:56, Floyd Resler wrote: If this was already discussed I apologize for the duplicate question. For some reason dates of -00-00 get converted to 11/30/-0001 with the date function. Is this be design or a bug? Thanks! Floyd Hi, In the past I have noticed that

[PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread David Savage
I thought I posted this in the php.net web site under the ksort user notes, but I don't know if it would be approved to be placed in the web site. Would ksort($sortarr,SORT_STRING) on a 1 dimensional array with a key comprised of a person's name, -, and time stamp I..E. (key: david

Re: [PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread Daniel P. Brown
On Mon, Dec 12, 2011 at 16:06, David Savage dsav...@cytelcom.com wrote: I thought I posted this in the php.net web site under the ksort user notes, but I don't know if it would be approved to be placed in the web site. Would ksort($sortarr,SORT_STRING) on a 1 dimensional array with a key

Re: [PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread David Harkness
On Mon, Dec 12, 2011 at 1:06 PM, David Savage dsav...@cytelcom.com wrote: Would ksort($sortarr,SORT_STRING) on a 1 dimensional array with a key comprised of a person's name, -, and time stamp I..E. (key: david savage-2011-12-12 14:43:00) actually delete duplicate keys from the array, if

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-29 Thread Tommy Pham
On Mon, Nov 28, 2011 at 1:34 AM, Pierre Joye pierre@gmail.com wrote: On Mon, Nov 28, 2011 at 5:51 AM, Tommy Pham tommy...@gmail.com wrote: Can someone please confirm if you're able to create/drop MySQL database on using phpMyAdmin with PHP 5.3.9RC2 or PHP5.4RC2? Please use the sqlsrv or

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-28 Thread Pierre Joye
On Mon, Nov 28, 2011 at 5:51 AM, Tommy Pham tommy...@gmail.com wrote: Can someone please confirm if you're able to create/drop MySQL database on using phpMyAdmin with PHP 5.3.9RC2 or PHP5.4RC2? Please use the sqlsrv or mysql functions directly with CREATE/DROP queries in a little script, it

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Pierre Joye
hi, On Sat, Nov 26, 2011 at 9:43 AM, Tommy Pham tommy...@gmail.com wrote: Hi everyone, 5.3.9RC2 works fine with all my apps so far.  5.4RC2 broke with sqlsvr and its PDO in addition to Wincache, which I've already brought to MS' attention. Please report a bug at

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Ferenc Kovacs
On Sun, Nov 27, 2011 at 2:39 PM, Pierre Joye pierre@gmail.com wrote: hi, On Sat, Nov 26, 2011 at 9:43 AM, Tommy Pham tommy...@gmail.com wrote: Hi everyone, 5.3.9RC2 works fine with all my apps so far. 5.4RC2 broke with sqlsvr and its PDO in addition to Wincache, which I've already

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Pierre Joye
hi, I just uploaded two zip for sqlsrv and 5.4. I did not test them and they are no official builds, only for testing purposes (so is 5.4 :). you can find them at http://www.php.net/~pierre/ Cheers, On Sat, Nov 26, 2011 at 9:43 AM, Tommy Pham tommy...@gmail.com wrote: Hi everyone, 5.3.9RC2

[PHP] RE: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Keith Davis
Thanks Pierre! And thanks Tommy for bringing that up. I've been discussing the Wincache issue for some time and also brought it up with the new MS person assigned to it, but I had completely forgot to check sqlsrv and that would have been a big problem for us. Keith Davis (214) 906-5183

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Pierre Joye
On Mon, Nov 28, 2011 at 1:07 AM, Keith Davis keithda...@pridedallas.com wrote: Thanks Pierre! And thanks Tommy for bringing that up. I've been discussing the Wincache issue for some time and also brought it up with the new MS person assigned to it, but I had completely forgot to check sqlsrv

[PHP] RE: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Keith Davis
Well, she is new to Wincache at least: Jenny Lawrence http://forums.iis.net/t/1174639.aspx Keith Davis (214) 906-5183 -Original Message- From: Pierre Joye [mailto:pierre@gmail.com] Sent: Sunday, November 27, 2011 6:20 PM To: Keith Davis Cc: Tommy Pham; php-general@lists.php.net;

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Tommy Pham
On Sun, Nov 27, 2011 at 7:32 AM, Pierre Joye pierre@gmail.com wrote: hi, I just uploaded two zip for sqlsrv and 5.4. I did not test them and they are no official builds, only for testing purposes (so is 5.4 :). you can find them at http://www.php.net/~pierre/ Cheers, Hi Pierre, I

[PHP] Re: [PHP-DEV] 5.4.0 beta2

2011-10-24 Thread Daniel Convissor
Hi Stas: The next release is planned to be RC1 and is scheduled for November 10. You want the DateTime DST fixing RFC (https://wiki.php.net/rfc/datetime_and_daylight_saving_time) implemented before RC1, right? If so, keep in mind that voting on it will start tomorrow and finish on November 1.

[PHP] Re: PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Shawn McKenzie
On 10/19/2011 10:36 AM, Joseph Adenuga wrote: Dear All, I’m using Window XP operating system. I’ve just installed PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache installation is okay with ‘localhost’ in my Firefox browser and it displays ‘It Works!’ But, my php

[PHP] Re: PHP Version: 5.2.5.

2011-10-17 Thread Jim Giner
what did you name your file? If it didn't have a .php extension, it won't work. Joseph Adenuga jadenu...@yahoo.com wrote in message news:1318859708.50026.yahoomailclas...@web29517.mail.ird.yahoo.com... Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser

[PHP] Re: PHP Download Of Application Question?

2011-10-09 Thread Alex McLain
I am looking for a way to download a C based application binary, from an Apache / PHP server, via a client side Web Browser, and execute it seamlessly on the client side PC without storing it permanently on the client side hard disk drive. Temporary storage would be ok. I know this

[PHP] Re: PHP 5.4.0beta1 released

2011-09-16 Thread Shawn McKenzie
On 09/15/2011 08:50 PM, d...@php.net wrote: Thanks X4! -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-WEBMASTER] Sir i really need help immediatelly!

2011-08-18 Thread Richard Quadling
On 17 August 2011 17:34, MUSTAFA TOKAT ad...@aymus.net wrote: Dear Sir/Madam; I'm trying to create a php application and in my application, i have to get some dynamic data from external web page. But to getting this dynamic data , I have to pass some values with query string to external

Re: [PHP] Re: PHP frameworks

2011-07-23 Thread mrfroasty
Investing your time on Zend Framework is worth it.I do mostly php development under Magento Platform, and Zend Framework becomes one of the vital skills I need.Apart from that, ZF is also a well thought Library that is a joy to work with.As one mentioned, the best part of it it gives the option to

Re: [PHP] Re: PHP frameworks

2011-07-22 Thread Richard Quadling
On 21 July 2011 23:56, Shawn McKenzie nos...@mckenzies.net wrote: On 07/21/2011 03:59 PM, Chris Stinemetz wrote: Hello all, I am thinking about venturing into PHP frameworks, but I would like to get advice on what the correct selection would be for someone that is about intermediate in PHP

[PHP] Re: PHP frameworks

2011-07-21 Thread Shawn McKenzie
On 07/21/2011 03:59 PM, Chris Stinemetz wrote: Hello all, I am thinking about venturing into PHP frameworks, but I would like to get advice on what the correct selection would be for someone that is about intermediate in PHP knowledge. Thank you, So, with your post you will probably get

Re: [PHP] Re: PHP frameworks

2011-07-21 Thread Micky Hulse
+1 for CI. If you search the group archives, a little while back I asked about micro PHP frameworks and got a ton of good replies. So folks, how'z about a PHP framework with a built-in admin interface? That would be pretty sweet. :) -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: PHP frameworks

2011-07-21 Thread Jim Lucas
On 7/21/2011 4:00 PM, Micky Hulse wrote: +1 for CI. If you search the group archives, a little while back I asked about micro PHP frameworks and got a ton of good replies. So folks, how'z about a PHP framework with a built-in admin interface? That would be pretty sweet. :) So, what

Re: [PHP] Re: PHP frameworks

2011-07-21 Thread Micky Hulse
On Thu, Jul 21, 2011 at 5:21 PM, Jim Lucas li...@cmsws.com wrote: So, what would said admin interface allow you to administrate? Your app models? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP frameworks

2011-07-21 Thread Micky Hulse
On Thu, Jul 21, 2011 at 5:33 PM, Micky Hulse rgmi...@gmail.com wrote: Your app models? More specifically, your app model data. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP frameworks

2011-07-21 Thread Shawn McKenzie
On 07/21/2011 07:44 PM, Micky Hulse wrote: On Thu, Jul 21, 2011 at 5:33 PM, Micky Hulse rgmi...@gmail.com wrote: Your app models? More specifically, your app model data. :) A la CakePHP. Will automagically build controllers and views for the admin of your tables/models if you wish. --

Re: [PHP] Re: PHP frameworks

2011-07-21 Thread Micky Hulse
On Thu, Jul 21, 2011 at 6:44 PM, Shawn McKenzie nos...@mckenzies.net wrote: A la CakePHP.  Will automagically build controllers and views for the admin of your tables/models if you wish. Oooh, interesting! I will check out CakePHP! Thanks for tip! :) -- PHP General Mailing List

[PHP] Re: [PHP-DB] Re: [PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-04 Thread Karl DeSaulniers
Hello Stuart, After some closer look at the RFC Compliant manuals you suggested, I have determined that the creator of that code was in fact RFC821 Compliant. Being that this was a code I found several years ago, RFC822 may not have been in effect. This being the reason (I believe) that the

Re: [PHP] Re: [PHP-DB] Re: [PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-04 Thread Stuart Dallas
On Mon, Jul 4, 2011 at 7:11 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hello Stuart, After some closer look at the RFC Compliant manuals you suggested, I have determined that the creator of that code was in fact RFC821 Compliant. Being that this was a code I found several years ago,

[PHP] Re: [PHP-DB] Re: [PHP] Re: [PHP-DB] Re: [PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-04 Thread Karl DeSaulniers
@Stuart Ah, then you are right that they were not compliant. The code is not that old. Thank you so much for the links and information too. Much more than I expected. I did not know that they were sent OS-Independent, but that makes perfect sense. Again, please excuse my lack of

[PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-04 Thread Karl DeSaulniers
On Jul 4, 2011, at 2:34 AM, Tim Streater wrote: On 04 Jul 2011 at 08:01, Stuart Dallas stu...@3ft9.com wrote: On Mon, Jul 4, 2011 at 7:11 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hello Stuart, After some closer look at the RFC Compliant manuals you suggested, I have determined

[PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-03 Thread Karl DeSaulniers
@Stuart, Actually that is what made me look into the PHP_EOL Stuart. Wanting to do things right. Did you not read my initial email? I am not suggesting anyone adopt my code. The question was directed to what the differences are so I COULD learn the right way. Being that this was something I

Re: [PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-03 Thread Stuart Dallas
On Sun, Jul 3, 2011 at 11:22 PM, Karl DeSaulniers k...@designdrumm.comwrote: @Stuart, Actually that is what made me look into the PHP_EOL Stuart. Wanting to do things right. Did you not read my initial email? I am not suggesting anyone adopt my code. The question was directed to what the

Re: [PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-03 Thread Karl DeSaulniers
I see. Yes, I was referring to the PHP manual. I will investigate the RFC manuals as well like you had noted. No offense taken. Thank you for the clarification. Best, Karl On Jul 3, 2011, at 6:07 PM, Stuart Dallas wrote: On Sun, Jul 3, 2011 at 11:22 PM, Karl DeSaulniers k...@designdrumm.com

[PHP] Re: [PHP-DB] PHP EOL

2011-07-02 Thread Tamara Temple
On Jul 2, 2011, at 3:01 AM, Karl DeSaulniers wrote: Hello All, Happy pre independence for my American PHPers. And good health to all others. Have a quick question.. I have this code I use for the end of line characters used in my mailers. [Code] // Is the OS Windows or Mac or Linux if

[PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-02 Thread Karl DeSaulniers
Thanks Stuart! Karl Sent from losPhone On Jul 2, 2011, at 8:45 AM, Stuart Dallas stu...@3ft9.com wrote: On Sat, Jul 2, 2011 at 9:01 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hello All, Happy pre independence for my American PHPers. And good health to all others. Have a quick

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-07-01 Thread Tamara Temple
There must some place for this one: http://xkcd.com/231/ Maybe something near the mailing lists info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-29 Thread Tamara Temple
On Jun 27, 2011, at 7:18 AM, Steve Staples wrote: On Sat, 2011-06-25 at 16:11 -0500, Tamara Temple wrote: On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote: On 24 June 2011 18:23, Tamara Temple tamouse.li...@gmail.com wrote: On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote: On 24

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-29 Thread Richard Quadling
On 29 June 2011 08:37, Tamara Temple tamouse.li...@gmail.com wrote: On Jun 27, 2011, at 7:18 AM, Steve Staples wrote: On Sat, 2011-06-25 at 16:11 -0500, Tamara Temple wrote: On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote: On 24 June 2011 18:23, Tamara Temple tamouse.li...@gmail.com

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Tim Streater
On 27 Jun 2011 at 00:15, Richard Riley rile...@googlemail.com wrote: In addition your content type in your post is incorrect. Your header contains Content-Type: multipart/alternative; boundary=00151747b53cf2927204a6a46ebb But its not multipart. This happens a lot in this group and I dont

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-27 Thread Richard Quadling
On 25 June 2011 22:11, Tamara Temple tamouse.li...@gmail.com wrote: On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote: On 24 June 2011 18:23, Tamara Temple tamouse.li...@gmail.com wrote: On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote: On 24 June 2011 15:44, Vitalii Demianets

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-27 Thread Steve Staples
On Sat, 2011-06-25 at 16:11 -0500, Tamara Temple wrote: On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote: On 24 June 2011 18:23, Tamara Temple tamouse.li...@gmail.com wrote: On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote: On 24 June 2011 15:44, Vitalii Demianets

Re: Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-27 Thread Tim Streater
On 27 Jun 2011 at 13:18, Steve Staples sstap...@mnsi.net wrote: On Sat, 2011-06-25 at 16:11 -0500, Tamara Temple wrote: Well played, sir, well played. I think we should go through all the xkcd comics that relate to programming somehow and insert them in the php.net documentation :)

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Plamen Ivanov
On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 06/26/2011 12:31 PM, Adam Tong wrote: Hi, I wanted tu use php filters for validation to avoid regular expresions. Is it possible that FILTER_VALIDATE_URL only checks if the string has http:// and do not

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Shawn McKenzie
On 06/27/2011 10:01 AM, Plamen Ivanov wrote: On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 06/26/2011 12:31 PM, Adam Tong wrote: Hi, I wanted tu use php filters for validation to avoid regular expresions. Is it possible that FILTER_VALIDATE_URL only checks

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Plamen Ivanov
On Mon, Jun 27, 2011 at 11:14 AM, Shawn McKenzie nos...@mckenzies.net wrote: On 06/27/2011 10:01 AM, Plamen Ivanov wrote: On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 06/26/2011 12:31 PM, Adam Tong wrote: Hi, I wanted tu use php filters for validation to

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Jim Lucas
On 6/27/2011 8:25 AM, Plamen Ivanov wrote: On Mon, Jun 27, 2011 at 11:14 AM, Shawn McKenzie nos...@mckenzies.net wrote: On 06/27/2011 10:01 AM, Plamen Ivanov wrote: On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 06/26/2011 12:31 PM, Adam Tong wrote: Hi, I

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Plamen Ivanov
On Mon, Jun 27, 2011 at 11:34 AM, Jim Lucas li...@cmsws.com wrote: On 6/27/2011 8:25 AM, Plamen Ivanov wrote: On Mon, Jun 27, 2011 at 11:14 AM, Shawn McKenzie nos...@mckenzies.net wrote: On 06/27/2011 10:01 AM, Plamen Ivanov wrote: On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie

[PHP] Re: Php filter validate url

2011-06-26 Thread Shawn McKenzie
On 06/26/2011 12:31 PM, Adam Tong wrote: Hi, I wanted tu use php filters for validation to avoid regular expresions. Is it possible that FILTER_VALIDATE_URL only checks if the string has http:// and do not check for the format domain.something? $url = 'http://wwwtestcom'; $url =

[PHP] Re: Php filter validate url

2011-06-26 Thread Shawn McKenzie
On 06/26/2011 12:31 PM, Adam Tong wrote: Hi, I wanted tu use php filters for validation to avoid regular expresions. Is it possible that FILTER_VALIDATE_URL only checks if the string has http:// and do not check for the format domain.something? $url = 'http://wwwtestcom'; $url =

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Fatih P.
Guys, when you reply a mail, You should write your reply on the top of it, not at the bottom of it. makes it easier to follow. On Sun, Jun 26, 2011 at 11:44 PM, Shawn McKenzie nos...@mckenzies.netwrote: On 06/26/2011 12:31 PM, Adam Tong wrote: Hi, I wanted tu use php filters for

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Stuart Dallas
On Sunday, 26 June 2011 at 22:50, Fatih P. wrote: Guys, when you reply a mail, You should write your reply on the top of it, not at the bottom of it. makes it easier to follow. This is a holy war, and not worth getting into again. The bottom line is that top posting breaks the rules,

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Fatih P.
well, anyway ignore it then On Sun, Jun 26, 2011 at 11:57 PM, Stuart Dallas stu...@3ft9.com wrote: On Sunday, 26 June 2011 at 22:50, Fatih P. wrote: Guys, when you reply a mail, You should write your reply on the top of it, not at the bottom of it. makes it easier to follow. This is a

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Ashley Sheridan
On Mon, 2011-06-27 at 00:00 +0200, Fatih P. wrote: well, anyway ignore it then On Sun, Jun 26, 2011 at 11:57 PM, Stuart Dallas stu...@3ft9.com wrote: On Sunday, 26 June 2011 at 22:50, Fatih P. wrote: Guys, when you reply a mail, You should write your reply on the top of it, not

[PHP] Re: Php filter validate url

2011-06-26 Thread Richard Riley
In mailing lists and usenet you should never top post. You integrate your reply or follow up. This is well documented and makes sense in tech threads were context is everything. In adidition your content type in your post is incorrect. Your header contains Content-Type: multipart/alternative;

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Fatih P.
On Mon, Jun 27, 2011 at 1:15 AM, Richard Riley rile...@googlemail.comwrote: In mailing lists and usenet you should never top post. You integrate your reply or follow up. This is well documented and makes sense in tech threads were context is everything. In adidition your content type in

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Shawn McKenzie
On 06/26/2011 04:50 PM, Fatih P. wrote: Guys, when you reply a mail, You should write your reply on the top of it, not at the bottom of it. makes it easier to follow. Ready flame-throwers! -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-25 Thread Vitalii Demianets
On Friday 24 June 2011 21:44:05 Chris Stinemetz wrote: if (!array_key_exists($_POST['store_type'], $choices)) {    echo You must select a valid choice.; Nothing wrong to me. Perfectly valid way of checking if there is at

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-25 Thread Vitalii Demianets
On Saturday 25 June 2011 01:24:10 Andre Polykanine wrote: Maybe I'm off topic, but wouldn't you consider JavaScript form validation? That will make your task easier and the user will see his/her error much earlier, before he/she submits the form. JavaScript validation is useful

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-25 Thread Tamara Temple
On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote: On 24 June 2011 18:23, Tamara Temple tamouse.li...@gmail.com wrote: On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote: On 24 June 2011 15:44, Vitalii Demianets vi...@nppfactor.kiev.ua wrote: And furthermore, I think Carthage must be

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-25 Thread Tamara Temple
On Jun 24, 2011, at 1:44 PM, Chris Stinemetz wrote: radio select validation What I am doing wrong? I want to make sure a radio button is selected, but my current code allows insertion even when radio button isn't selected. At the risk of repeating myself: From: Tamara Temple

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