php-general Digest 27 Jun 2012 14:42:49 -0000 Issue 7866

2012-06-27 Thread php-general-digest-help
php-general Digest 27 Jun 2012 14:42:49 - Issue 7866 Topics (messages 318295 through 318309): Re: What's happened to our newsgroup? 318295 by: Govinda 318296 by: Steven Staples 318297 by: TR Shaw 318298 by: Larry Martell 318299 by: Marc Guay

Re: [PHP] What's happened to our newsgroup?

2012-06-27 Thread Tedd Sperling
On Jun 26, 2012, at 3:21 PM, Al n...@ridersite.org wrote: No postings for days. Maybe everyone learned it -- no new questions. Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] slicing and dicing strings

2012-06-27 Thread Kirk Bailey
ok, it slices and dices, but how? in python, to print all but the last char in string FOO, we say print FOO[:-1] But this seems to bark like a basset hound in php. Whyfore? Now tihs tyro is seeking sage words to help me understand this. RTFM is not sage words; if you don't want to help me please

RE: [PHP] slicing and dicing strings

2012-06-27 Thread admin
Read http://php.net/manual/en/function.substr.php -Original Message- From: Kirk Bailey [mailto:kbai...@howlermonkey.net] Sent: Wednesday, June 27, 2012 6:15 PM To: php-general@lists.php.net Subject: [PHP] slicing and dicing strings ok, it slices and dices, but how? in python, to print

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

2012-06-27 Thread Matijn Woudt
On Thu, Jun 28, 2012 at 2:17 AM, Tim Dunphy bluethu...@gmail.com wrote: Hey guys, It's been a little while since I've toyed with this, and I hope you don't mind my coming back to you for some more advice. But I've enjoyed some limited success with David R's advice regarding adding some

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

2012-06-27 Thread tamouse mailing lists
On Wed, Jun 27, 2012 at 7:17 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey guys, It's been a little while since I've toyed with this, and I hope you don't mind my coming back to you for some more advice. But I've enjoyed some limited success with David R's advice regarding adding some

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

2012-06-27 Thread tamouse mailing lists
On Wed, Jun 27, 2012 at 7:17 PM, Tim Dunphy bluethu...@gmail.com wrote: One more little thing: These notices: Notice: Undefined index: subject in /Library/WebServer/Documents/examples/ch03/final/makemeelvis/sendemail.php on line 23 Notice: Undefined index: elvismail in

Re: [PHP] slicing and dicing strings

2012-06-27 Thread tamouse mailing lists
On Wed, Jun 27, 2012 at 5:15 PM, Kirk Bailey kbai...@howlermonkey.net wrote: ok, it slices and dices, but how? in python, to print all but the last char in string FOO, we say print FOO[:-1] But this seems to bark like a basset hound in php. Whyfore? As said, PHP is not Python. Pretty much

Re: [PHP] slicing and dicing strings

2012-06-27 Thread Jim Giner
Stuart Dallas stu...@3ft9.com wrote in message news:d889b8e1-2eab-4f36-83cb-8a52b5ec6...@3ft9.com... WARNING: May contain traces of sarcasm. If it would really take you 4 hours to find this out via the manual or Google then I think it would be 4 hours well spent: 3 hours 55 minutes learning how

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

2012-06-27 Thread Jim Giner
Tim Dunphy bluethu...@gmail.com wrote in message news:caozy0em5duhby-qv+y1u-e+c5yd7g5utauhomoyu3z7jma-...@mail.gmail.com... Notice: Undefined index: subject in /Library/WebServer/Documents/examples/ch03/final/makemeelvis/sendemail.php on line 23 Notice: Undefined index: elvismail in

[PHP] Can I do this in a single match/replace?

2012-06-27 Thread Paul Halliday
I have lines that look like (I added intentional line breaks): alert tcp $HOME_NET 1 - $EXTERNAL_NET any (msg:ET EXPLOIT NDMP Notify Connect - Possible Backup Exec Remote Agent Recon; flow:established,from_server; content:|00 00 05 02|; offset:16; depth:20; content: |00 00 00 03|; offset: 28;

Re: [PHP] Can I do this in a single match/replace?

2012-06-27 Thread Chris Testroet
On 6/27/2012 6:26 PM, Paul Halliday wrote: I have lines that look like (I added intentional line breaks): alert tcp $HOME_NET 1 - $EXTERNAL_NET any (msg:ET EXPLOIT NDMP Notify Connect - Possible Backup Exec Remote Agent Recon; flow:established,from_server; content:|00 00 05 02|; offset:16;