Re: [PHP] Code should be selv-maintaining!

2011-08-31 Thread Paul M Foster
of earthly obfuscation to comprehend the blinding truth that is KR. Amen. (Nah, it wasn't Kool-Aid. Tasted more like a cross between RC Cola and Dr Pepper.) ;-} Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Intentionally generate an Internal Server Error

2011-08-07 Thread Paul Scott
On Sun, 2011-08-07 at 07:30 +0100, Ashley Sheridan wrote: Quickest way I know of is to mess up an .htaccess file! Another good way to do it on shared hosts is to give a file incorrect permissions and try and access it -- -- Paul http://www.paulscott.za.net http://twitter.com/paulscott56 http

[PHP] Path question.

2011-07-28 Thread Paul Halliday
I have a few scripts that use ../location/file Is this interpreted differently on some systems? Thanks. -- Paul Halliday http://www.squertproject.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP frameworks

2011-07-21 Thread Paul M Foster
://codeigniter.com ). It's a lightweight, well-engineered framework with relatively transparent code (meaning you can examine the source and see relatively easily what they're doing). Documentation is some of the best out there. Paul -- Paul M. Foster http://noferblatz.com http

Re: [PHP] How to sum monetary variables

2011-07-18 Thread Paul M Foster
convert to decimal for display. If you're doing multiplies and divides, do them with the multi-precision PHP functions. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Re: Top Posting

2011-07-06 Thread Paul M Foster
, it's not just for spam. It can be used to filter out duplicate emails, file copies of emails under different folders by subject, etc. It also makes for a great car wax and salad dressing. ;-} Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http

Re: [PHP] Re: Re: Top Posting

2011-07-06 Thread Paul M Foster
On Wed, Jul 06, 2011 at 04:24:29PM -0500, Tamara Temple wrote: On Jul 6, 2011, at 3:19 PM, Paul M Foster wrote: Postfix is a *nix program which can be connected to whatever program you use to grab mail with. With postfix, you write recipes which dictate what will be done with a piece

Re: [PHP] Top Posting

2011-07-05 Thread Paul M Foster
can make life easier both on yourself and the rest of us by snipping content not relevant to your reply (that doesn't mean *all* preceding content). Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Re: Top Posting

2011-07-05 Thread Paul M Foster
demand it) is silly. No offense, but it's pretty weak reasoning. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Create a hierarchical hash from flat source

2011-06-24 Thread Paul M Foster
CS undergrad. Bane? I thought they were elegant :) The way you know they're *not* elegant is that hardly any language since C has included them. We worship at the alter of languages with garbage collection. ;-} Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP

Re: [PHP] Doctrine madness!

2011-06-16 Thread Paul M Foster
what I'd consider acceptable. Looking at some of the code that comprises most ORM and other frameworks (but particularly ORM frameworks) the bloat is amazing. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Doctrine madness!

2011-06-16 Thread Paul M Foster
pretty extensively in the big website category. Of course, if you ever want to do anything outside the Drupal/Joomla box, you're looking at a helluva lot of work and time. I've been there (briefly). Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List

[PHP] Uncatchable errors

2011-06-13 Thread Paul M Foster
and trace of the error. Any way to have things like parse errors do the same thing? Pointers to prior threads would do fine. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class not used as an object (Scope Resolution Operator)

2011-06-09 Thread Paul M Foster
the class. They become global as soon as the source file is include()ed. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpsadness - P.C. shmee seee.

2011-06-05 Thread Paul M Foster
On Fri, Jun 03, 2011 at 01:52:15PM -0700, Daevid Vincent wrote: and I'm balding from Alopecia Me too, but in my case, it's just 'cause I'm old. ;-} Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] phpsadness

2011-06-03 Thread Paul M Foster
with an actual sense of humor. I suspect most people snickered at the joke and admired the chutzpah it took to post it. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Paul M Foster
this morning to build and release a new PHP extension, which provides a single function: detonate(). Third, you can read about it and download it here: http://links.parasane.net/29nh +1! Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http

Re: [PHP] phpsadness

2011-06-02 Thread Paul M Foster
back to that index page. I about doubled over when I first discovered it. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] iPhone sadness

2011-05-29 Thread Paul M Foster
that interleaved replies or bottom posting will never be considered offensive on any list. Whereas we all know that top posting can often be considered offensive, depending on the list. By the way, bottom posting only really becomes offensive when you fail to trim as needed. Paul -- Paul M. Foster http

Re: [PHP] WHERE field = a range of values (value

2011-05-25 Thread Paul S
On Tue, 24 May 2011 23:47:47 +0700, Paul S pau...@roadrunner.com wrote: On Tue, 24 May 2011 21:09:34 +0700, Richard S. Crawford rscrawf...@mossroot.com wrote: On Tue, May 24, 2011 at 6:51 AM, Paul S pau...@roadrunner.com wrote: I'd like to check a table to retrieve rows for which one field

[PHP] WHERE field = a range of values (value

2011-05-24 Thread Paul S
I'd like to check a table to retrieve rows for which one field equals one of a set of values #get products(fields) in category list while ($row = $db_connect-fetch_array($productsincategory_list)) { $product = $row ['selection']; $fields = $fields . $product,; }

Re: [PHP] WHERE field = a range of values (value

2011-05-24 Thread Paul S
On Tue, 24 May 2011 21:09:34 +0700, Richard S. Crawford rscrawf...@mossroot.com wrote: On Tue, May 24, 2011 at 6:51 AM, Paul S pau...@roadrunner.com wrote: I'd like to check a table to retrieve rows for which one field equals one of a set of values #get products(fields) in category

Re: [PHP] simple question abt convert to integer

2011-05-24 Thread Paul M Foster
$result1 into a boolean before passing it to these other functions. But I suspect it's #1 above. Please see the documentation for these functions at php.net. It may even be available in your native language. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General

Re: [PHP] A Review Request

2011-05-20 Thread Paul M Foster
! ;-} Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A Review Request

2011-05-19 Thread Paul M Foster
these things. I never know when I might learn something. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session question

2011-05-17 Thread Paul Halliday
(); } // Kill the session if timeout is exceeded. if (isset($_SESSION['LAST_ACTIVITY']) (time() - $_SESSION['LAST_ACTIVITY'] $sTime)) { sKill(); } Can I just call this session.php and include it at the beginning of each file? -- Paul Halliday http://www.squertproject.org/ -- PHP General

Re: [PHP] Consistent Class Renaming (Simple Refactoring)

2011-05-16 Thread Paul M Foster
a huge piece of explanation here. So my idea is to continously rename every occurence of class names and constants in the scripts by adding a suffix (ie. class A_123 and class A_234). Do you have an idea how to implement this during the deployment step? Paul -- Paul M. Foster http

[PHP] Running PHP5 in a PHP4 environment

2011-05-12 Thread Paul M Foster
interpreter hit some future code it didn't understand, it would issue a syntax warning or something similar. Is there some way I can squeeze some identifiable error code out of PHP 4 to indicate it's hit PHP 5 code it doesn't understand? Paul -- Paul M. Foster http://noferblatz.com http

[PHP] Using SQLite without hosting support

2011-05-03 Thread Paul M Foster
, is it possible to run PHP5 and use SQLite, even if support for it is not built in? The dl() function has some restrictions on it which might prohibit its use, so is there some way to use SQLite in this situation without resorting to using the dl() function? Paul -- Paul M. Foster http://noferblatz.com http

Re: [PHP] Using SQLite without hosting support

2011-05-03 Thread Paul M Foster
On Tue, May 03, 2011 at 02:14:17PM -0400, ad...@buskirkgraphics.com wrote: -Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Tuesday, May 03, 2011 12:36 PM To: php-general@lists.php.net Subject: [PHP] Using SQLite without hosting support Assume you

Re: [PHP] Debugging Help Needed

2011-04-12 Thread Paul M Foster
On Tue, Apr 12, 2011 at 03:37:26PM -0700, Rich Shepard wrote: On Tue, 12 Apr 2011, Daniel Brown wrote: You missed the ending semicolon, that's all. Daniel, Oops! Too long since C and Python doesn't use semicolons. Wait, what?! Did they change C? When did this happen?! ;-} Paul

[PHP] socket_connect() unable to connect [115]: Operation now in progress

2011-04-10 Thread Paul McGarry
but occasionally fails with the error above. Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] the best 1 book for php

2011-04-07 Thread Paul M Foster
trying to learn the language, a book is a better companion than php.net. I'd recommend the O'Reilly book Programming PHP by Lerdorf, Tatroe MacIntyre. Before I discovered php.net, it was my bible (not the one Tedd referred to). Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com

Re: [PHP] newbie - function is undefined

2011-04-04 Thread Paul M Foster
pages. Just don't try to call a Javascript function from PHP. That was the OP's mistake. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File locking with PHP functions

2011-04-04 Thread Paul M Foster
lock the file from writes until fclose()? Does it lock the file from reads as well? file($filename); Does this function lock the file from writes until finished? Does it lock the file from reads as well? All this is in the context of a Linux/Unix web server. Paul -- Paul M. Foster http

Re: [PHP] Path question

2011-03-28 Thread Paul M Foster
(fullpath('model', 'pizza.php')); include(fullpath('include', 'gesundheit.php')); Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: echo?

2011-03-23 Thread Paul M Foster
['user_priv']){ echo ( . $row['user_priv'] . ); } echo br\n; } HTH, *Brilliant* catch. Well done. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Protecting against session hijacking.

2011-03-23 Thread Paul Halliday
I am not sure I am doing this right, I have login.php which does: $ua = $_SERVER['HTTP_USER_AGENT']; $ua .= rand(0,4200); $ua = md5($ua); and upon successful auth, I push them to the main program: header (Location: squert.php?id=$ua); at the beginning of squert.php I have:

Re: [PHP] Can I modify a MySQL object?

2011-03-23 Thread Paul M Foster
update the contents of certain columns/records in $result? I don't want to actually update MySQL, just the results that I'm holding in memory for this script. Can I do it without converting it to a regular array? Resources are, I believe, opaque, thus not directly modifiable (safely). Paul

Re: [PHP] Re: echo?

2011-03-22 Thread Paul M Foster
. In *nix environments, it's enough to use \n, just as they do in C. It might even work in Windows; I don't know. If not, you should be able to use \r\n. You can also try the constant PHP_EOL, which is supposed to handle newlines in a cross-platform way. Paul -- Paul M. Foster http://noferblatz.com http

Re: [PHP] Deleting elements from the middle of an array

2011-03-15 Thread Paul M Foster
On Tue, Mar 15, 2011 at 07:08:28AM +0100, Peter Lind wrote: On Mar 15, 2011 4:10 AM, Paul M Foster [1]pa...@quillandmouse.com wrote: On Mon, Mar 14, 2011 at 10:14:53PM +0100, Peter Lind wrote: On 14 March 2011 22:10, Paul M Foster [2]pa...@quillandmouse.com wrote

Re: [PHP] Deleting elements from the middle of an array

2011-03-14 Thread Paul M Foster
On Mon, Mar 14, 2011 at 09:34:33PM +0100, Peter Lind wrote: On 14 March 2011 21:31, Paul M Foster pa...@quillandmouse.com wrote: Here's what I need to do: I have an indexed array, from which I need to delete elements in the middle. Once completed, the indexes should be numerically

Re: [PHP] Deleting elements from the middle of an array

2011-03-14 Thread Paul M Foster
On Mon, Mar 14, 2011 at 10:14:53PM +0100, Peter Lind wrote: On 14 March 2011 22:10, Paul M Foster pa...@quillandmouse.com wrote: [snip] Remove the elements, then use sort(). I've given a simplified example. The actual target array is multi-dimensional. Sort() won't work in a case like

Re: [PHP] Somewhat OT - Stored Procedures

2011-03-03 Thread Paul M Foster
. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Implementing strict types

2011-02-28 Thread Paul McGarry
itself, ie have: $object='hello'; handled by a method on the $object? Similarly the __toString() magic method would cover part of the getter overriding, but it seems to be a special case override that only works within specific string functions rather than a generic getter override. Paul

Re: [PHP] How is this possible???? (addslashes)

2011-02-17 Thread Paul S
On Thu, 17 Feb 2011 07:50:45 +0700, Daniel Brown paras...@gmail.com wrote: No offense, but are you kidding me? The host disables phpinfo() for security reasons, but keeps 4.4.4 running? Talk about running, Paul run away from them. Fast. AND they have a condition (this reported

Re: [PHP] Custom function

2011-02-16 Thread Paul M Foster
in an optional parameter changes the action inside the function. Thus, you would *need* to test for its presence. Otherwise, you would be stuck with assuming it's there, attempting to use it on that assumption, and dealing with whatever errors it causes when-- surprise!-- it's not there. Paul

[PHP] How is this possible???? (addslashes)

2011-02-16 Thread Paul S
Can anyone please tell me how the addslashes output (note = Everyone''s a card on the \earth) in the following example is possible. It is addslashes output but this result is consistent with the output from post when runtime is set: 1): a single quote is inserted before a single quote and nothing

Re: [PHP] Rate my (really) simple template class

2011-02-15 Thread Paul M Foster
On Tue, Feb 15, 2011 at 05:02:51PM -0500, Brian Waters wrote: On Mon, Feb 14, 2011 at 11:49 PM, Paul M Foster pa...@quillandmouse.com wrote: Advice: don't use eval() this way. It's slow and dangerous. Could you elaborate, or provide a link? A year or two on this list. The comments

[PHP] 2 submit buttons.

2011-02-14 Thread Paul Halliday
I have 2 buttons on a page: if (isset($_POST['botton1'])) {dothing1();} if (isset($_POST['button2'])) {dothing2();} They both work as intended when I click on them. If however I click within a text box and hit enter, they both fire. Is there a way to stop this? Thanks. -- Paul Halliday http

Re: [PHP] PHP -- using without installing

2011-02-14 Thread Paul M Foster
with several web servers and PHP either already installed or easily installable. After all, most of the web is running on Linux servers. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 2 submit buttons.

2011-02-14 Thread Paul M Foster
On Mon, Feb 14, 2011 at 03:35:02PM -0400, Paul Halliday wrote: I have 2 buttons on a page: if (isset($_POST['botton1'])) {dothing1();} if (isset($_POST['button2'])) {dothing2();} They both work as intended when I click on them. If however I click within a text box and hit enter

Re: [PHP] using BOTH GET and POST in the same page.

2011-02-14 Thread Paul M Foster
On Mon, Feb 14, 2011 at 12:30:56PM -0500, tedd wrote: At 11:58 PM -0500 2/13/11, Paul M Foster wrote: On Sun, Feb 13, 2011 at 02:25:45PM -0500, tedd wrote: At 10:53 AM +0530 2/12/11, Ashim Kapoor wrote: Dear All, I am reading PHP5 and MySQL Bible. Chapter 7 of the book says

Re: [PHP] 2 submit buttons.

2011-02-14 Thread Paul M Foster
On Mon, Feb 14, 2011 at 05:15:11PM -0500, Floyd Resler wrote: On Feb 14, 2011, at 4:18 PM, Paul M Foster wrote: On Mon, Feb 14, 2011 at 03:35:02PM -0400, Paul Halliday wrote: I have 2 buttons on a page: if (isset($_POST['botton1'])) {dothing1();} if (isset($_POST['button2

Re: [PHP] Rate my (really) simple template class

2011-02-14 Thread Paul M Foster
coding some forms with PHP to handle the interaction in them as a first action. This will get you used to the way PHP handles variables, POST and GET, and the like. Simple stuff without classes, until you're fully comfortable with basic PHP variable handling, built-in functions, etc. Paul -- Paul M

[PHP] Secure monetary transactions

2011-02-07 Thread Paul M Foster
this for a customer, handle this? Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Design question

2011-02-05 Thread Paul M Foster
down this road before? any pitfalls I should watch out for that aren't in google yet? :) Some of this depends on your overall application architecture, which is where the front contoller/page controller question above comes from. Paul -- Paul M. Foster http://noferblatz.com -- PHP General

Re: [PHP] bread and buytter php

2011-02-03 Thread Paul M Foster
On Thu, Feb 03, 2011 at 10:47:08PM -0500, Kirk Bailey wrote: Where is a good place for bread and butter day in day out routinely needed functionality in php? I reeeally think you're going to have to be a little more specific. Paul -- Paul M. Foster http://noferblatz.com -- PHP General

[PHP] 95th percentile of an array.

2011-01-29 Thread Paul Halliday
What is the quickest way to do this? Will stats_stat_percentile work? If so, does anyone have examples of its operation? Keep in mind that my math is terrible. Use small words :) Thanks. -- Paul Halliday http://www.pintumbler.org -- PHP General Mailing List (http://www.php.net

Re: [PHP] 95th percentile of an array.

2011-01-29 Thread Paul Halliday
On Sat, Jan 29, 2011 at 2:28 PM, Adam Richardson simples...@gmail.com wrote: For the nearest rank computation, you could use the following: $arr = array(12,89,65,23,90,99,9,15,56,67,3,52,78,12,10,88,77,77,77,77,77,77,77); sort($arr); $score_representing_95th_percentile = $arr[round((95/100)

Re: [PHP] No SMTP server? Can't get mail()

2011-01-24 Thread Paul S
On Sun, 23 Jan 2011 12:40:25 +0700, David Robley robl...@aapt.net.au wrote: Paul S wrote: I'm a little new to PHP. David starts: Nobody seems to have mentioned it, but the SMTP info is only needed on a Win system. The following is an extract from a default php.ini file: Well, I have

Re: [PHP] Different sessions, same client

2011-01-23 Thread Paul M Foster
On Sun, Jan 23, 2011 at 11:45:30AM -0500, tedd wrote: At 11:02 AM + 1/23/11, Ashley Sheridan wrote: On Sun, 2011-01-23 at 09:21 +0100, Thijs Lensselink wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/23/2011 07:33 AM, Paul M Foster wrote: Storing any sort of login

Re: [PHP] No SMTP server? Can't get mail()

2011-01-22 Thread Paul S
On Fri, 21 Jan 2011 13:41:21 +0700, Peter Lind peter.e.l...@gmail.com wrote: Probably not the solution you were looking for, but I've always found mail() very unstable and I tend to use a mail library instead. Like phpmailer or swiftmailer. Easier to configure and figure out problems with.

[PHP] Different sessions, same client

2011-01-22 Thread Paul M Foster
the standard PHP functions relating to sessions. I'd like different applications in different tabs on the same box/browser to have different sessions, so they don't share data. Thoughts? Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net

[PHP] No SMTP server? Can't get mail()

2011-01-20 Thread Paul S
I am having problems with mail(). The problem is that the email just never gets there. Mail appears to be working. To start, I am investigating the SMTP server. I can't understand some things. 1) I am sure that the smtp server is and is set to localhost, but I want to verify this ...

Re: [PHP] No SMTP server? Can't get mail()

2011-01-20 Thread Paul M Foster
On Fri, Jan 21, 2011 at 10:45:46AM +0700, Paul S wrote: I am having problems with mail(). The problem is that the email just never gets there. Mail appears to be working. To start, I am investigating the SMTP server. I can't understand some things. 1) I am sure that the smtp server

Re: [PHP] Organisational question: surely someone has implemented many Boolean values (tags) and a solution exist

2011-01-20 Thread Paul M Foster
. For the curious, here is a different article which explains the same concept: http://articles.sitepoint.com/article/hierarchical-data-database Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 400 Cannot connect to NNTP server

2011-01-20 Thread Paul S
400 Cannot connect to NNTP server 76.75.200.58 (76.75.200.58:119), connect error 10060 I do not seem to be having any problems getting to this newsgroup :-) but this message keeps popping up. Just to let u know, no need for replies. Thanks for a great resource! -- Using Opera's

Re: [PHP] No SMTP server? Can't get mail()

2011-01-20 Thread Paul S
On Fri, 21 Jan 2011 12:28:16 +0700, Paul M Foster pa...@quillandmouse.com wrote: On Fri, Jan 21, 2011 at 10:45:46AM +0700, Paul S wrote: I am having problems with mail(). The problem is that the email just never gets there. Mail appears to be working. To start, I am investigating the SMTP

Re: [PHP] email list 101

2011-01-16 Thread Paul M Foster
on a list, I'd suggest PHPList. But if you want anyone to be able to submit those emails, I'd suggest either Majordomo (Perl) or Mailman (Python). If there's a comparable PHP solution, I'm not aware of it. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP tutorials

2011-01-16 Thread Paul M Foster
of the php.net/manual/en/ tree, since (as has been frequently noted) it's some of the best programming language documentation on the web. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [BOGO?]RE: [PHP] First PHP job

2011-01-11 Thread Paul M Foster
it is. [/snip] I am always looking for the $needle in the $haystack. But sometimes I have to look through the $haystack for the $needle. ;-} Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] First PHP job

2011-01-10 Thread Paul M Foster
Javascript does. Wait until you get to PHP's automatic casting of strings to numbers under the proper conditions. You'll scratch your head for quite a while once you hit that one. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] First PHP job

2011-01-10 Thread Paul M Foster
On Mon, Jan 10, 2011 at 04:55:20PM -0500, Steve Staples wrote: On Mon, 2011-01-10 at 16:21 -0500, Paul M Foster wrote: On Mon, Jan 10, 2011 at 12:02:51PM -0600, Donovan Brooke wrote: Hello!, .. will try to keep this short! I've been a long time lurker but minimal poster. I made

[PHP] Global or include?

2011-01-05 Thread Paul Halliday
with a 'global' within each script/function? Thanks! -- Paul Halliday http://www.pintumbler.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Two forms on one page

2011-01-04 Thread Paul M Foster
the same but are spelled differently and mean different things, even though they sound the same. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie Question

2011-01-03 Thread Paul M Foster
with Vim on the desktop translates into being able to operate on any *nix server. And there are Vim flavors for Windows as well, if you happen to be unfortunate enough to be running on an IIS machine. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-30 Thread Paul M Foster
for being ten days late, but happy birthday, Chap. It was good getting to know you. And, as the Ques know, friendship is essential to the soul. Okay Dan, just put the weapon down. I'm sure we can work this out. Yeah... that's it. It'll all be okay. We can talk about it ;-} Paul -- Paul M

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-30 Thread Paul M Foster
On Wed, Dec 29, 2010 at 08:27:49PM -0500, Mujtaba Arshad wrote: craphound.com/images/xkcdwrongoninternet.jpg And this is why I love XKCD. LOL. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-30 Thread Paul M Foster
checking what processes are eating my CPU. This is one reason I don't keep my Facebook page open all the time. It periodically sucks CPU. For some reason, Javascript seems to chew CPU harder than almost anything else I run. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List

Re: [PHP] File-Upload per Drag-N-Drop?

2010-12-30 Thread Paul M Foster
question. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Paul M Foster
(= not capable of hacking a computer). Hi Paul - I am interested in knowing how you prevent intrusion with your firewall when it is a known fact that post 9/11 companies that develop such leave ports open for Big Brother as required. Remember Green Lantern, Carnivore and the like are roaming around

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Paul M Foster
On Wed, Dec 29, 2010 at 11:06:15AM +0200, Dotan Cohen wrote: On Wed, Dec 29, 2010 at 06:51, Paul M Foster pa...@quillandmouse.com wrote: snip Under the circumstances I described, I have yet to hear in what way copying and pasting passwords compromises security of anything by itself

Re: [PHP] Printing PDF

2010-12-29 Thread Paul M Foster
it in whatever program it thinks is good for that (like XPDF under Linux). The program in which it opens the PDF will have an option to print the file. I've been printing invoices, checks and reports out of my corporate system for years this way. Paul -- Paul M. Foster http://noferblatz.com -- PHP

Re: [PHP] Printing PDF

2010-12-29 Thread Paul M Foster
On Wed, Dec 29, 2010 at 12:24:14PM -0500, Steve Staples wrote: On Wed, 2010-12-29 at 11:49 -0500, Paul M Foster wrote: On Wed, Dec 29, 2010 at 10:36:30AM -0500, Steve Staples wrote: Hi! I have an app that needs to be created, and it is all running on linux. I am sure I shoulnd't

Re: [PHP] Do you trim() usernames and passwords?

2010-12-28 Thread Paul M Foster
, well and good. But at the beginning or end? No. Trim them. As mentioned elsewhere, I suspect this is mostly because of copying and pasting. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-28 Thread Paul M Foster
have to supply a password which I've forgotten (as usual), I fire up my password vault, find the password, and paste it wherever it's needed. Users would be wise to follow a scheme like this, rather than using their dog's name or somesuch as their passwords. Paul -- Paul M. Foster http

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-28 Thread Paul M Foster
On Tue, Dec 28, 2010 at 11:28:12PM -0500, Joshua Kehn wrote: On Dec 28, 2010, at 6:28 PM, Paul M Foster wrote: On Tue, Dec 28, 2010 at 03:11:56PM -0500, Joshua Kehn wrote: Specifically: Dotan Cohen wrote: I seem to have an issue with users who copy-paste their usernames

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-28 Thread Paul M Foster
On Wed, Dec 29, 2010 at 12:00:01AM -0500, David Hutto wrote: On Tue, Dec 28, 2010 at 11:51 PM, Paul M Foster pa...@quillandmouse.com wrote: On Tue, Dec 28, 2010 at 11:28:12PM -0500, Joshua Kehn wrote: On Dec 28, 2010, at 6:28 PM, Paul M Foster wrote: On Tue, Dec 28, 2010 at 03:11

Re: [PHP] Re: Re: Need code like pastebin.org

2010-12-27 Thread Paul M Foster
sweet syntax highlighter. This might actually have been more appropriate as a private reply to the OP, since this is a PHP, not a Python, list. Paul -- Paul M. Foster http://noferblatz.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with Include

2010-12-21 Thread Paul M Foster
. ;-} Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDO Prepared Statements and stripslashes

2010-12-20 Thread Paul M Foster
. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How does one reply to messages on this list?

2010-12-16 Thread Paul M Foster
is the list admin for the list you're posting to. And he's generally unsympathetic to opposing viewpoints. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHPInfo disabled due to security

2010-12-16 Thread Paul S
On Thu, 16 Dec 2010 00:13:31 +0700, Daniel P. Brown daniel.br...@parasane.net wrote: Well, phpinfo() does, by default, divulge some things that could be considered security concerns --- particularly in poorly-managed environments. Primarily, this is by giving a synopsis of versions and

[PHP] PHPInfo disabled due to security

2010-12-15 Thread Paul S
Warning: phpinfo() has been disabled for security reasons in /home/.../php/phpinfo.php on line 2 My ISP has disabled phpinfo and has not answered my tech requests on this for over a month. They seem to never have a thing to do but play games with silly security issues. In a day some phone

Re: [PHP] Use PHP the way God intended...

2010-12-14 Thread Paul M Foster
On Tue, Dec 14, 2010 at 11:15:59AM -0500, Daniel Brown wrote: On Tue, Dec 14, 2010 at 09:29, Robert Cummings rob...@interjinn.com wrote: I must have been under a rock when the reference came out :| Or you may have still been in shock from hearing that Paul was dead. Er... that's Paul

Re: [PHP] PDO: good, popular?

2010-12-14 Thread Paul M Foster
PDO within a class which handles various housekeeping (error handling etc.) for everything. PDO handles all the popular RDBMSes (as far as I know). It can also sanitize queries to avoid SQL injection. Simple interface. It's also part of PHP, meaning it's well tested and solid. Paul -- Paul M

Re: [PHP] empty() in email message

2010-12-13 Thread Paul M Foster
versus double quotes, the concatenation operator (.), etc. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Use PHP the way God intended...

2010-12-13 Thread Paul M Foster
think you've been reading it backwards ;) Nah, if he'd read it backwards, you'd be able to hear MePHPistoPHPeles say, Rasmus is the Penguin. (Yes, you have to be dang old to get that obscure reference. ;-) Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] ORM doctrine

2010-12-09 Thread Paul M Foster
visitors won't be loading 150K of code each time just to view one page. (Yes, I've heard of caching. It's a system which was built to compensate for coders who waste too much CPU time and memory.) Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

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