[PHP] PHP & BEA Weblogic 8.1

2006-08-20 Thread BKruger
Could anyone please direct me to installation instructions for PHP on BEA Weblogic 8.1? Tx BK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] syntax error help

2006-08-20 Thread Bigmark
Can anyone tell me why this works on my localhost but gets an error on my server: =( SELECT points FROM leaderboard WHERE username= '$username' )"; $result = mysql_query( $sql ) or die ( mysql_error() ); $rank = mysql_result( $result, 0 ); echo $rank; ?> this is the error message but i cant figu

Re: [PHP] Shopping cart

2006-08-20 Thread Ryan A
Thanks, Will check it out. Am also looking at "viart shop", any insight from someone who has used it would be helpful. Cheers! Ryan --- Larry Garfield <[EMAIL PROTECTED]> wrote: > OSCommerce is crap. Don't bother. > > > > The Drupal CMS has a complete suite of ecommerce > modules that work

Re: [PHP] syntax error help

2006-08-20 Thread Paul Scott
On Sun, 2006-08-20 at 18:18 +0800, Bigmark wrote: > Can anyone tell me why this works on my localhost but gets an error on my > server: > Try quote your identifiers. SELECT COUNT(*) FROM `leaderboard` WHERE `points` >=( SELECT `points` FROM `leaderboard` WHERE `username` = '$username' ); --Pau

Re: [PHP] syntax error help

2006-08-20 Thread chris smith
On 8/20/06, Bigmark <[EMAIL PROTECTED]> wrote: Can anyone tell me why this works on my localhost but gets an error on my server: =( SELECT points FROM leaderboard WHERE username= '$username' )"; $result = mysql_query( $sql ) or die ( mysql_error() ); $rank = mysql_result( $result, 0 ); echo $ran

[PHP] Re: syntax error help

2006-08-20 Thread Bigmark
It works now: I replaced the last part of the sql with a variable = $my_points "; $result = mysql_query( $sql ) or die ( mysql_error() ); $rank = mysql_result( $result, 0 ); echo $rank; ?> ""Bigmark"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can anyone tell me why this w

[PHP] Re: syntax error help

2006-08-20 Thread Bigmark
It works now: I replaced the last part of the sql with a variable = $my_points "; $result = mysql_query( $sql ) or die ( mysql_error() ); $rank = mysql_result( $result, 0 ); echo $rank; ?> ""Bigmark"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can anyone tell me why this wo

Re: [PHP] Dhtml/javasript layer tips or software (0.T)

2006-08-20 Thread tedd
At 1:49 PM -0400 8/18/06, Robert Cummings wrote: -snip- BTW, this is not PHP, but I'm feeling benevolent today ;) You can get benevolent any time you want -- thanks for the code. :-) tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailin

RE: [PHP] syntax error help

2006-08-20 Thread Peter Lauri
Check the version of MySQL, I think sub queries came in version 4.1 and you are using that. So you probably have a version>=4.1 at localhost, and <4.1 at your server. /Peter -Original Message- From: Bigmark [mailto:[EMAIL PROTECTED] Sent: Sunday, August 20, 2006 5:19 PM To: php-general@

Re: [PHP] Dhtml/javasript layer tips or software (0.T)

2006-08-20 Thread tedd
At 1:49 PM -0400 8/18/06, Robert Cummings wrote: -snip- I'll leave it to you as an exercise to adapt it properly in PHP using variables and loops instead of harded coded content :) BTW, this is not PHP, but I'm feeling benevolent today ;) Cheers, Rob. As a minor addition to Rob's code: http:/

Re: [PHP] Dhtml/javasript layer tips or software (0.T)

2006-08-20 Thread Robert Cummings
On Sun, 2006-08-20 at 09:53 -0400, tedd wrote: > At 1:49 PM -0400 8/18/06, Robert Cummings wrote: > >-snip- > >I'll leave it to you as an exercise to adapt it properly in PHP using > >variables and loops instead of harded coded content :) BTW, this is not > >PHP, but I'm feeling benevolent today ;)

Re: [PHP] Dhtml/javasript layer tips or software (0.T)

2006-08-20 Thread tedd
At 10:36 AM -0400 8/20/06, Robert Cummings wrote: On Sun, 2006-08-20 at 09:53 -0400, tedd wrote: At 1:49 PM -0400 8/18/06, Robert Cummings wrote: >-snip- >I'll leave it to you as an exercise to adapt it properly in PHP using >variables and loops instead of harded coded content :) BTW, this i

Re: [PHP] Dhtml/javasript layer tips or software (0.T)

2006-08-20 Thread Robert Cummings
On Sun, 2006-08-20 at 10:41 -0400, tedd wrote: > At 10:36 AM -0400 8/20/06, Robert Cummings wrote: > >On Sun, 2006-08-20 at 09:53 -0400, tedd wrote: > >> At 1:49 PM -0400 8/18/06, Robert Cummings wrote: > >> >-snip- > >> >I'll leave it to you as an exercise to adapt it properly in PHP using > >>

Re: [PHP] Shopping cart

2006-08-20 Thread afan
While OSC is mentioned: I use OSC (actually CRE Loaded version: http://www.creloaded.com) for a last 2-3 years and installed several shoping carts. And, they, more or less, work fine. Though, what drives me nuts, instalation sometime goes wrong with missing file, or after patc I have manually to de

[PHP] Script timing out.

2006-08-20 Thread Tom Ray [Lists]
I just installed PHP Open Chat and I'm getting an error when I log in about the script being unresponsive. Anyone ever run into this? Or could shed a light as to what causes this error? I've never seen it come up before.I'm running PHP 4.4.2/Apache 2.0.5 -- PHP General Mailing List (http:/

Re: [PHP] Script timing out.

2006-08-20 Thread Chris
Tom Ray [Lists] wrote: I just installed PHP Open Chat and I'm getting an error when I log in about the script being unresponsive. Anyone ever run into this? Or could shed a light as to what causes this error? I've never seen it come up before.I'm running PHP 4.4.2/Apache 2.0.5 You're bett

Re: [PHP] Script timing out.

2006-08-20 Thread Jeroen
On 8/21/06, Tom Ray [Lists] <[EMAIL PROTECTED]> wrote: I just installed PHP Open Chat and I'm getting an error when I log in about the script being unresponsive. Anyone ever run into this? Or could shed a light as to what causes this error? I've never seen it come up before.I'm running PHP 4.

Re: [PHP] Shopping cart

2006-08-20 Thread Gerry D
On 8/19/06, Larry Garfield <[EMAIL PROTECTED]> wrote: OSCommerce is crap. Don't bother. Why do you say that, Larry? I may want to get into an app like that because I think one of my clients is ready for it. What are the cons, and what are my options? What are Drupal's limitations? TIA Gerry

Re: [PHP] Shopping cart

2006-08-20 Thread Skip Evans
Granted, the shopping cart/credit card processing modules I've been required to write have not been massively complex, but I am still a bit baffled why so many fully qualified programmers automatically leap to Xcart, OSCommerce, and other such solutions when shopping carts are not at all diff

RE: [PHP] Shopping cart

2006-08-20 Thread Peter Lauri
Agreed... -Original Message- From: Skip Evans [mailto:[EMAIL PROTECTED] Sent: Monday, August 21, 2006 8:25 AM To: Gerry D Cc: Larry Garfield; php-general@lists.php.net Subject: Re: [PHP] Shopping cart Granted, the shopping cart/credit card processing modules I've been required to write

[PHP] Recommendations for PHP debuggers?

2006-08-20 Thread Dave M G
PHP List, For the last month I have been using Zend Studio and Zend Platform on the one month trial period. It works well enough that I was considering purchasing it. But it's only now that I realize that the one feature that makes it worthwhile for me, the "debug server" option, is only av

Re: [PHP] Recommendations for PHP debuggers?

2006-08-20 Thread Robert Cummings
Are you sure you need a debugger? I find the best tools around for debugging are echo(), print_r(), ob_(), and error_log(). Of course, I use a function that wraps the print_r(), and ob_xxx() functions for simplicity. I've never found a debugger for PHP to be particularly useful. Cheers, Rob.

Re: [PHP] Recommendations for PHP debuggers?

2006-08-20 Thread Paul Scott
On Mon, 2006-08-21 at 00:18 -0400, Robert Cummings wrote: > Are you sure you need a debugger? I find the best tools around for > debugging are echo(), print_r(), ob_(), and error_log(). Of course, > I use a function that wraps the print_r(), and ob_xxx() functions for > simplicity. I've never

Re: [PHP] Shopping cart

2006-08-20 Thread Larry Garfield
On Sunday 20 August 2006 20:17, Gerry D wrote: > On 8/19/06, Larry Garfield <[EMAIL PROTECTED]> wrote: > > OSCommerce is crap. Don't bother. > > Why do you say that, Larry? I may want to get into an app like that > because I think one of my clients is ready for it. What are the cons, > and what ar

Re: [PHP] Recommendations for PHP debuggers?

2006-08-20 Thread Dave M G
Paul, Robert, Thank you for replying and for your recomendations. While looking into PHP debuggers, I've often come across mention of simply using functions like var_dump() and print_r(). But unless I misunderstand the concept, one has to be always writing these commands into the code, see w