Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-03-01 Thread Thomas Goyne
On Tue, 1 Mar 2005 13:53:32 -0700, Dan Tappin [EMAIL PROTECTED] wrote: You really can't prevent the shared password issue unless you billed on a per login basis. That may be one possible solution (although with my limited knowledge of the industry, I don't know how viable). Charge something

Re: [PHP] Re: Opera 8.0 cache ????

2005-04-26 Thread Thomas Goyne
On Mon, 25 Apr 2005 06:46:58 -0700, Jason Barnett [EMAIL PROTECTED] wrote: William Stokes wrote: ... This works fine in IE and Firefox but Opera remembers users previous choice and prints wrong info to user. After pressin refresh button it's back to normal. So does Opera store variable

Re: [PHP] Re: Opera 8.0 cache ????

2005-04-26 Thread Thomas Goyne
On Tue, 26 Apr 2005 02:03:28 -0700, William Stokes [EMAIL PROTECTED] wrote: I just tested this on a normal http site header (Cache-Control: no-cache); with Opera 8.0 and it seems to me that the browser respects the no-cache header. -Will Load the page, then navigate away and hit the back

Re: [PHP] Odd behavior with unset, array indexes, and types

2004-06-17 Thread Thomas Goyne
On Thu, 17 Jun 2004 16:52:32 -0500, Michael Sims [EMAIL PROTECTED] wrote: ceil() returns a variable of type double. In the above script I expected $foo to become an empty array after calling unset(). But it seems that unset() will not remove an array element when you refer to its key

Re: [PHP] PHP Counter?

2004-09-27 Thread Thomas Goyne
On Mon, 27 Sep 2004 11:29:34 +0200, Nick Wilson [EMAIL PROTECTED] wrote: * and then raditha dissanayake declared These counters are pretty much useless at gauging web traffic. you would be better off using log analysis tool. Who said anything about web traffic? ;-) which in turn

Re: [PHP] Why my browser always chooses UTF-8 charset?

2004-10-03 Thread Thomas Goyne
On Sun, 03 Oct 2004 18:05:32 -0400, Teng Wang [EMAIL PROTECTED] wrote: Hi: But I still want the default language to be English, I can set a page to be Chinese if I wanna to do so. Is that possible? Why doesn't the meta information work? Setting the charset in the html doesn't work very well for

Re: [PHP] Mixing classes

2004-10-19 Thread Thomas Goyne
On Wed, 20 Oct 2004 08:09:53 +0300, Tomi Kaistila [EMAIL PROTECTED] wrote: Hi! A good idea, which I have used for some classes, like the Journal class (error handling) which fits in with the Core class. Unfortunantly I have too many classes to make them all into a chain of child classes.

Re: [PHP] Simple math failing - PHP Bug?

2004-10-31 Thread Thomas Goyne
On Sun, 31 Oct 2004 21:52:32 -0700, Brian T. Allen [EMAIL PROTECTED] wrote: Hi, OK, I'm totally stumped by this. This should be the simplest math imaginable (addition and subtraction), but PHP is coming up with the wrong answer! [snip] Is this legitimately bad math on the part of PHP?

Re: [PHP] Simple math failing - PHP Bug?

2004-10-31 Thread Thomas Goyne
On Sun, 31 Oct 2004 23:30:53 -0700, Brian T. Allen [EMAIL PROTECTED] wrote: No worries, this isn't personal. I just want to explore this limitation and it's implications for my benefit and the benefit of any that read this thread later when they are searching for answers to a similar

Re: [PHP] PHP5 syntax question

2004-11-04 Thread Thomas Goyne
On Fri, 05 Nov 2004 09:19:58 +0200, Simas Toleikis [EMAIL PROTECTED] wrote: I think PHP5 docs are not full yet. Wasnt there supposed to be namespaces in PHP5? PHP documentation doesnt even mentions them... No, they were cut, and it is highly doubtful they will show up any time before php6.

Re: [PHP] newbie: string to char array

2004-11-10 Thread Thomas Goyne
On Wed, 10 Nov 2004 15:56:28 -, Ford, Mike [EMAIL PROTECTED] wrote: On 10 November 2004 13:37, Horst Jger wrote: (Please keep this on list -- others may be able to help better/faster than me!) I am thinking about complexity. How is a string implemented in PHP? A dequechar or a char* ?

Re: [PHP] Calling a C program from php

2004-11-11 Thread Thomas Goyne
On Thu, 11 Nov 2004 02:51:54 -0800 (PST), Rayan Lahoud [EMAIL PROTECTED] wrote: Hello, does anybody knows how to call a C function from a php code? Thank you!! :) http://us4.php.net/manual/en/function.system.php -- Using M2, Opera's revolutionary e-mail client:

Re: [PHP] Atom 2 RSS Script? Anyone got one?

2004-11-15 Thread Thomas Goyne
On Sun, 14 Nov 2004 16:48:57 +0100 Nick Wilson [EMAIL PROTECTED] wrote: hi all, im all tired out of searching, just cant seem to find a script that will convert atom 0.3 to any rss format. Does anyone have one or know where i can get hold of one? ?xml version=1.0 encoding=UTF-8? xsl:stylesheet

Re: [PHP] bubble sort crashing apache

2004-11-16 Thread Thomas Goyne
On Tue, 16 Nov 2004 15:43:51 -0500, Josh Howe [EMAIL PROTECTED] wrote: I've implemented my own bubble sort function that is crashing apache. Can somebody either help me out with the bubble sort or help me figure out a way to solve my problem with php's built in sorting functions?

Re: [PHP] MD5 Hashing Comparison

2004-11-20 Thread Thomas Goyne
On Sat, 20 Nov 2004 17:49:04 -0500, Gregori Halsiber [EMAIL PROTECTED] wrote: Hi, I'm trying to write a md5 hash to auth users... And before I get flamed about md5 not being a crypt system but a hashing system I know... Security is not a problem.. I'm trying to build a standalone Message

Re: [PHP] Go Back Problem

2004-12-01 Thread Thomas Goyne
On Thu, 2 Dec 2004 09:58:46 +0800, Cyrus [EMAIL PROTECTED] wrote: Dear All, I have a problem of back to the previous page in php. I need to create a form let people to fill in .It can let user to preview the form, if information is not correct , user can back to previous page and

Re: [PHP] Apache 2 on RedHat

2004-12-01 Thread Thomas Goyne
On Wed, 1 Dec 2004 22:13:37 -0800, Bart Baenisch [EMAIL PROTECTED] wrote: I believe I understand the thread unsafeness problem, and I think a reasonable cure is the prefork MPM for Apache 2, as RedHat distributes. If we decide to avoid the work of removing the Apache 2.whatever that RedHat

Re: [PHP] Need Help

2004-12-02 Thread Thomas Goyne
On Fri, 3 Dec 2004 09:32:34 +0530, suneel [EMAIL PROTECTED] wrote: Hi to all any one Could tell me any diffrence between ?php ? and ? ?. And which one is better to use and in which situations. Byee ? ? is the older syntax, and it can cause problems with xml (as the xml

Re: [PHP] A serious bug? or operator gives out diffferent results depending on order of operands

2004-12-27 Thread Thomas Goyne
On Mon, 27 Dec 2004 21:19:39 +, Rory Browne [EMAIL PROTECTED] wrote: Generally however there is no need to parentisize everything to the right of the assignment operator(=), since besides 'and', 'or', 'xor', and the comma operator. The only time I see the need to parentisize everything to

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-09 Thread Thomas Goyne
On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: that's not a SPECIFIC place in the array, that's just current, next and previous. AFAIK there is no way to explicitly set the internal pointer of the array to a spcified place. I used a function which basically looped

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-09 Thread Thomas Goyne
On Sun, 09 Jan 2005 23:58:18 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: can't recall what it was exactly, but I believe it was a case where I didn't know the key of the array, nor the value, but knew the place in the array. Can't exactly remember what it was... I am now thinking that what

Re: [PHP] Preventing execution without inclusion

2005-01-14 Thread Thomas Goyne
On Thu, 13 Jan 2005 16:25:30 -0600, Adam Hubscher [EMAIL PROTECTED] wrote: 1 (the preferred way): user accesses http://www.example.org/index.php?function=Join, this loads the class NewUser and begins its implementation. Because of the __autoload, it includes class.join.php, in order to

Re: [PHP] Re: If...Or...Else

2004-07-26 Thread Thomas Goyne
On Mon, 26 Jul 2004 11:11:21 +0300, Skippy [EMAIL PROTECTED] wrote: Quoting Thomas Goyne [EMAIL PROTECTED]: On Sun, 25 Jul 2004 23:15:41 +0300, Skippy [EMAIL PROTECTED] wrote: Any idea why the need to have two logical operators with the same meaning BUT different precedences? I dig the need

Re: [PHP] PHP and Apache 2

2004-08-08 Thread Thomas Goyne
On Sun, 8 Aug 2004 16:20:55 +0300, Rosen [EMAIL PROTECTED] wrote: Hi, What is the reason, thath in the installation manual of PHP writes: WARNING: Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. Thanks, Rosen

Re: [PHP] What happend to _SERVER?

2004-08-14 Thread Thomas Goyne
On Sat, 14 Aug 2004 15:26:46 -0700, Allen Wayne Best [EMAIL PROTECTED] wrote: Hello: I am having a spot of difficulty with PHP. I cannot get php to return the values of _SERVER. Here is a test php file. print_r($_SERVER); -- Using M2, Opera's revolutionary e-mail client:

Re: [PHP] OO Theory Question

2004-08-17 Thread Thomas Goyne
On Tue, 17 Aug 2004 12:25:42 -0600, Jed R. Brubaker [EMAIL PROTECTED] wrote: The real reason for having the login class like this is to eliminate database calls. I thought I could have one session variable that said yo uwere logged in, but then the database calls would still have to be made

Re: [PHP] Is javascript enable?

2004-08-25 Thread Thomas Goyne
On Wed, 25 Aug 2004 16:36:41 -0300, Marcos Thiago M. Fabis [EMAIL PROTECTED] wrote: i share your opinion, but belive-me when i say that this situation requires it. It is quite literally impossible to enforce security with JS. Anything you try to do I could get around with Proxomitron

Re: [PHP] backslashes

2004-08-28 Thread Thomas Goyne
On Fri, 27 Aug 2004 18:29:50 -0400, Ryan Schefke [EMAIL PROTECTED] wrote: Thomas, I'm not sure what your point is. Please expand. Ryan Do you really see nothing wrong with announcing to all users that they can run arbitrary SQL with your script? well, the where clause in mysql is relativly

Re: [PHP] Problem with str_replace

2004-08-29 Thread Thomas Goyne
On Sun, 29 Aug 2004 17:45:05 -0600, Francisco Javier Escoppinichi Fernández [EMAIL PROTECTED] wrote: On Sun, 29 Aug 2004 19:36:49 -0400, John Nichel [EMAIL PROTECTED] wrote: Francisco Javier Escoppinichi Fernández wrote: Hello people... I have a little problem here... I hope you can help

Re: [PHP] new line function

2004-09-02 Thread Thomas Goyne
On Thu, 02 Sep 2004 01:08:20 -0400, John Holmes [EMAIL PROTECTED] wrote: Curt Zirzow wrote: $fixed = preg_replace(/(\r?\n)|\r/,'br /',$oldstring); on retrosopect.. reading into that regex i get: unix: sets the standard to use \n windows: can't really decide on \r or \n so just uses them both

Re: [PHP] Capturing an Image of a web page

2004-09-14 Thread Thomas Goyne
On Tue, 14 Sep 2004 17:45:07 -0700, Vail, Warren [EMAIL PROTECTED] wrote: Has anyone run across a tool available to PHP that can render an image of a entire webpage from a URL, so that it can be reduced to a thumbnail and stored in a database? Warren Vail I suppose you could write a complete

Re: [PHP] List Etiquette

2004-09-20 Thread Thomas Goyne
On Sun, 19 Sep 2004 10:02:23 +0800, Jason Wong [EMAIL PROTECTED] wrote: I really shouldn't be indulging you as it's pretty obvious you're only here for a vigorous debate (that's my euphemism for an argument - the not so nice meaning of argument). The OP asked for the pros and cons of top

Re: [PHP] Infinate looping

2004-09-20 Thread Thomas Goyne
On Sun, 19 Sep 2004 11:20:01 -0500, Stephen Craton [EMAIL PROTECTED] wrote: Yes, I agree, if I were making a task to run every few minutes it would be easier, but that's not exactly what I'm doing. I'm more or less streaming content from the database to the end-user. It's basically a chat

Re: [PHP] php5 and php4?

2004-09-20 Thread Thomas Goyne
On Tue, 21 Sep 2004 01:29:06 -0400, Minuk Choi [EMAIL PROTECTED] wrote: I've been meaning to ask this... but I always thought I could find the answer online(I didn't). Back when PHP 5.0.1 was released, PHP 4.something else was released. What was the main reasoning behind this move? Is it