[PHP] Fwd: Please critique my database class.

2007-02-10 Thread barophobia
First time this went through I got a message saying I had to confirm my address. I did that but I never saw it show up on the list so I'm trying again. -- Forwarded message -- From: barophobia <[EMAIL PROTECTED]> Date: Feb 10, 2007 2:12 PM Subject: Please critique my database clas

Re: [PHP] Recommend a PHP Framework

2007-02-10 Thread Jim Lucas
Goh Yong Kwang wrote: Hi, I am now mulling over writing my PHP web application from scratch or to use some kind of framework to organize my code. For Java, Struts and Spring come to mind. But for PHP, there are numerous frameworks and I can't figure out which one to use. I would like to de

Re: [PHP] Any Internal search engine in PHP?

2007-02-10 Thread Paul Scott
On Sat, 2007-02-10 at 09:47 -0500, tedd wrote: > >I had been trying some search engines for internal searches within my > >website. I tried google co-op which failed as the results were showing on > >supplemental index. The one provided by cpanel does not show more than 2-3 > >URLs in results. Ple

Re: [PHP] un include?

2007-02-10 Thread Larry Garfield
You need to rearchitect your system. When you include a file, its code executes. Once it has been executed, it is done. It will never "rewind" itself. You can open and edit the file, but the code has already executed and that execution has happened, and you cannot change that. What exactl

Re: [PHP] un include?

2007-02-10 Thread Casey Chu
Maybe you could make a separate PHP file, include it there, then pass the results to the main file? On 2/10/07, jekillen <[EMAIL PROTECTED]> wrote: Hello all; Is there a way to un include a file once it has been included in a script? I have a situation where I need to include a php file for a v

[PHP] un include?

2007-02-10 Thread jekillen
Hello all; Is there a way to un include a file once it has been included in a script? I have a situation where I need to include a php file for a variable and its value. Then I need to open the file and modify it in the same function 'that included the file. So far the function, as I test it do

Re: [PHP] base64-encoding in cookies?

2007-02-10 Thread Fletcher Mattox
Jon Anderson writes: > I won't argue that this behavior should probably be documented with > $_COOKIE, but it is documented with it's counterpart, setcookie: "Note > that the value portion of the cookie will automatically be urlencoded > when you send the cookie, and when it is received, it is

Re: [PHP] base64-encoding in cookies?

2007-02-10 Thread Robert Cummings
On Sat, 2007-02-10 at 17:01 -0600, Fletcher Mattox wrote: > Robert Cummings writes: > > > But isn't the sender and receiver usually one and the same. I mean your > > PHP application is usually what set the cookie in the first place. Then > > you receive it in the very same PHP application. > > N

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Paul Novitski
At 2/10/2007 01:19 PM, pub wrote: Do any of you also know how to play bridge? If yes, which do you think is harder to learn, PHP or bridge? I don't think learning is so generalizable. In my experience, motivation has a lot to do with how easy things are to learn. If you're excited or passio

[PHP] php based digg like package?

2007-02-10 Thread blackwater dev
A month or so ago I can across a php based open source community news package. I can't seem to find it now...does anyone know of one? Thanks!

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Matt Carlson
Having learned Bridge when I was younger, I feel PHP is alot easier to learn as it is "constant" in a way. Depending on cards you are holding, cards your partner is holding, and your oponents bidding, depends how you should bid. Quite a bit of variablity in there. - Original Message

[PHP] Please critique my database class.

2007-02-10 Thread barophobia
Hi! I was thinking about asking for recommendations for a lightweight database class. But I realized I hadn't thought much about what my requirements are so I decided instead to ask the list to critique my own class. I don't need anything as robust as ADOdb and I always use MySQL. This class was

Re: [PHP] base64-encoding in cookies?

2007-02-10 Thread Fletcher Mattox
Robert Cummings writes: > But isn't the sender and receiver usually one and the same. I mean your > PHP application is usually what set the cookie in the first place. Then > you receive it in the very same PHP application. No! Not in this case. The first sentence in my original message was:

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Kenn Murrah
pub wrote: which do you think is harder to learn, PHP or bridge? Well, PHP *can* be a lot more complicated, but at least it's more or less predictable, and I've RARELY had a bridge partner that played the game predictably and consistently kennM -- PHP General Mailing List (http://www.p

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-02-10 13:19:02 -0800: > Do any of you also know how to play bridge? > If yes, which do you think is harder to learn, PHP or bridge? I don't play bridge, but both things are languages. Presumably the one with bigger grammar is more complicated. But syntax is just one ax

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Stephen Johnson
What an odd question Personally PHP makes much more sense to me then the many variations of bridge... http://www.ouradoptionblog.com Join our journey of adoption http://www.thelonecoder.com [EMAIL PROTECTED] continuing the struggle against bad code */ ?> > From: pub <[EMAIL PROTECTED]

[PHP] PHP or Bridge (card game)

2007-02-10 Thread pub
To all PHP experts, Do any of you also know how to play bridge? If yes, which do you think is harder to learn, PHP or bridge? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: graphical form validation

2007-02-10 Thread Manuel Lemos
Hello, on 02/08/2007 11:27 AM Ross said the following: > Does anyone know of a form validation class available that gives > > (i) feedback in a graphical way like this (the ticks and crosses) > > http://forums.oscommerce.com/index.php?act=Reg&coppa_user=0&termsread=1&coppa_pass=1 Yes, you may w

[PHP] Re: Http Client in PHP connecting to a Digest authenticated server

2007-02-10 Thread Manuel Lemos
Hello, on 02/09/2007 04:49 PM Manish Marathe said the following: > Hello, > > I have seen some implementations of Server in php implementing HTTP Digest > Authentication but I have not seen any guidelines on HTTP Client connecting > to a specific host, and using the "realm", the username and pass

Re: [PHP] Any Internal search engine in PHP?

2007-02-10 Thread tedd
At 4:39 AM -0800 2/10/07, Chris Carter wrote: Hi, I had been trying some search engines for internal searches within my website. I tried google co-op which failed as the results were showing on supplemental index. The one provided by cpanel does not show more than 2-3 URLs in results. Please adv

Re: [PHP] base64-encoding in cookies?

2007-02-10 Thread Jon Anderson
Myron Turner wrote: Jon Anderson wrote: Fletcher Mattox wrote: In terms of the behavior, I think it makes total sense. The only case where it would ever bite you is yours (which is rare because most people wouldn't mix perl and PHP in the same system). I'm not going to get into the middle o

Re: [PHP] Multi lingual pages

2007-02-10 Thread tedd
At 2:19 PM -0500 2/9/07, Robert Cummings wrote: > Yes, of course. Maintaining such a site without rewriting urls would be a nightmare. When I said that those sites are "redirecting" users, I was thinking about response headers. Why do you need to rewrite URLs? Cheers, Rob. Forgive me,

RE: [PHP] Any Internal search engine in PHP?

2007-02-10 Thread Jay Blanchard
[snip] I had been trying some search engines for internal searches within my website. I tried google co-op which failed as the results were showing on supplemental index. The one provided by cpanel does not show more than 2-3 URLs in results. Please advice if you know about any php based search eng

[PHP] Re: JS prompt -> php [become 0T]

2007-02-10 Thread Colin Guthrie
Ryan A wrote: > Hey Colin, > Thanks for replying. > > I guess this has sidelined from php a bit now... so have added a OT in the > subject line. > > Anyway, this is how I get the values from a select or a text box: > > var selectBox = document.forms[0].lang;user_input = > selectBox.opt

Re: [PHP] Recommend a PHP Framework

2007-02-10 Thread Miles Thompson
Most frameworks rely on a dtabase, but have a look at this: http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html

[PHP] Recommend a PHP Framework

2007-02-10 Thread Goh Yong Kwang
Hi, I am now mulling over writing my PHP web application from scratch or to use some kind of framework to organize my code. For Java, Struts and Spring come to mind. But for PHP, there are numerous frameworks and I can't figure out which one to use. I would like to describe my constraints as d

[PHP] Any Internal search engine in PHP?

2007-02-10 Thread Chris Carter
Hi, I had been trying some search engines for internal searches within my website. I tried google co-op which failed as the results were showing on supplemental index. The one provided by cpanel does not show more than 2-3 URLs in results. Please advice if you know about any php based search engi

Re: [PHP] Re: JS prompt -> php [become 0T]

2007-02-10 Thread Ryan A
Hey Colin, Thanks for replying. I guess this has sidelined from php a bit now... so have added a OT in the subject line. Anyway, this is how I get the values from a select or a text box: var selectBox = document.forms[0].lang;user_input = selectBox.options[selectBox.selectedIndex].valu

Re: [PHP] base64-encoding in cookies?

2007-02-10 Thread Myron Turner
Jon Anderson wrote: Fletcher Mattox wrote: In terms of the behavior, I think it makes total sense. The only case where it would ever bite you is yours (which is rare because most people wouldn't mix perl and PHP in the same system). I'm not going to get into the middle of the base64 argument