Re: [PHP] SQL sums

2004-12-04 Thread Marek Kilimajer
Raditha Dissanayake wrote: Marek Kilimajer wrote: Jason Wong wrote: On Saturday 04 December 2004 00:40, Marek Kilimajer wrote: Raditha Dissanayake wrote: Marek Kilimajer wrote: This is an SQL question. Marek, don't you know that this the mysql list? you are supposed to answer questions like these.

Re: [PHP] Getting latest Session name

2004-12-04 Thread Marek Kilimajer
Sagar C Nannapaneni wrote: Hello friends, I just wanna know is there any way out to know the name of the latest created session. The issue i'm fixed up with is I'm storing some variables in the session and the session expire is set to some 24hrs. Now when i close the browser and when i again op

[PHP] Re: "Please wait" page while processing - SOLVED

2004-12-04 Thread Geoff Caplan
Hi For anyone interested, it was a combination of issues. First, I had to use flush() and ob_end_flush() combined to get the page to display in IE. end_flush didn't work on its own. Second, I was being dim in redirecting away from the message page - because of course it won't display after a red

[PHP] Fwd: variable not being rendered

2004-12-04 Thread Dustin Krysak
Answering within the email below d On 4-Dec-04, at 3:16 AM, [EMAIL PROTECTED] wrote: From: Jason Wong <[EMAIL PROTECTED]> Date: December 4, 2004 12:04:18 AM PST To: [EMAIL PROTECTED] Subject: Re: [PHP] variable not being rendered On Saturday 04 December 2004 15:36, Dustin Krysak wrote: Hi there

[PHP] Re: variable not being rendered

2004-12-04 Thread Dustin Krysak
Ok - I have been investigating a little more. I now realized it is a question of making my variables available outside of the function. So one thing I want to point out is that: $editFormAction = $_SERVER['PHP_SELF']; is contained in one function. And that: print ''."\n"; is contained in another

[PHP] executeing another files code

2004-12-04 Thread Ryan A
Hey all, Heres my problem, I have this written in "email.fff" # Start file ## Hi $firstname $lastname, We have recieved your request for support. We will get back to you shortly. Regards, $sitename P.S below is the message you submitted: $message # End file ###

Re: [PHP] Re: intalling pear:db

2004-12-04 Thread [EMAIL PROTECTED]
Ryan, Your suggestion led me to the solution. I was having the same problem with php returning a fatal error made me think DB.php was to blame. But it ended up being an include problem after all... I use php 4.3.8 and my include path to the PEAR libraries was already set. The actual problem wa

[PHP] Re: executeing another files code

2004-12-04 Thread M. Sokolewicz
Ryan A wrote: Hey all, Heres my problem, I have this written in "email.fff" # Start file ## Hi $firstname $lastname, We have recieved your request for support. We will get back to you shortly. Regards, $sitename P.S below is the message you submitted: $message # End

Re: [PHP] executeing another files code

2004-12-04 Thread Marek Kilimajer
Ryan A wrote: Hey all, Heres my problem, I have this written in "email.fff" # Start file ## Hi $firstname $lastname, We have recieved your request for support. We will get back to you shortly. Regards, $sitename P.S below is the message you submitted: $message # End

Re: [PHP] executeing another files code

2004-12-04 Thread M. Sokolewicz
Marek Kilimajer wrote: Ryan A wrote: Hey all, Heres my problem, I have this written in "email.fff" # Start file ## Hi $firstname $lastname, We have recieved your request for support. We will get back to you shortly. Regards, $sitename P.S below is the message you submitted: $mes

Re: [PHP] executeing another files code

2004-12-04 Thread Marek Kilimajer
M. Sokolewicz wrote: Marek Kilimajer wrote: Ryan A wrote: Hey all, Heres my problem, I have this written in "email.fff" # Start file ## Hi $firstname $lastname, We have recieved your request for support. We will get back to you shortly. Regards, $sitename P.S below is the messag

Re: [PHP] Re: executeing another files code

2004-12-04 Thread Ryan A
Thanks guys, will report back if I run into any problems. Cheers, Ryan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.5 - Release Date: 12/3/2004 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] executeing another files code

2004-12-04 Thread M. Sokolewicz
Marek Kilimajer wrote: M. Sokolewicz wrote: Marek Kilimajer wrote: Ryan A wrote: Hey all, Heres my problem, I have this written in "email.fff" # Start file ## Hi $firstname $lastname, We have recieved your request for support. We will get back to you shortly. Regards, $sitename

Re: [PHP] executeing another files code

2004-12-04 Thread Ryan A
Hi again, One last question as am a bit confused, using this method: $s = str_replace( array('$firstname', '$lastname', '$sitename', '$message'), array($firstname, $lastname, $sitename, $message),$s); do I *have to* pass 4 arguements? Because I dont really know how many will be passed...the site

[PHP] Stupid question

2004-12-04 Thread Phpu
Hi, If i have a php and mysql website...how many connections support mysql at one time ? Thanks

[PHP] Re: Stupid question

2004-12-04 Thread Peter Lauri
Do phpinfo() for that, you will find that information there. /Peter "Phpu" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] Hi, If i have a php and mysql website...how many connections support mysql at one time ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] executeing another files code

2004-12-04 Thread Raditha Dissanayake
Ryan A wrote: Hi again, One last question as am a bit confused, using this method: $s = str_replace( array('$firstname', '$lastname', '$sitename', '$message'), array($firstname, $lastname, $sitename, $message),$s); do I *have to* pass 4 arguements? you can set default values (eg an empty string)

[PHP] Re: Stupid question

2004-12-04 Thread Matthew Weier O'Phinney
* Phpu <[EMAIL PROTECTED]>: > If i have a php and mysql website...how many connections support mysql = > at one time ? Depends on your mysql setup; you'll have to look at the mysql configuration file (/etc/my.cnf on most *nices). -- Matthew Weier O'Phinney | mailto:[EMAIL PROTECTED] We

Re: [PHP] Stupid question

2004-12-04 Thread Raditha Dissanayake
Phpu wrote: Hi, If i have a php and mysql website...how many connections support mysql at one time ? Sorry people in this list do not know how to configure mysql Thanks -- Raditha Dissanayake. -- http://www.radinks.com/print/car

Re: [PHP] Stupid question

2004-12-04 Thread Greg Donald
On Sun, 5 Dec 2004 02:48:09 +0200, Phpu <[EMAIL PROTECTED]> wrote: > If i have a php and mysql website...how many connections support mysql at one > time ? The number of connections allowed is controlled by the max_connections system variable. Its default value is 100. If you need to support more

Re: [PHP] Fwd: variable not being rendered

2004-12-04 Thread Jason Wong
On Sunday 05 December 2004 04:57, Dustin Krysak wrote: > I did run it... that is the reason I posted. As I stated, When I view > source, the result is blank. What *exactly* did you run? Did you run the code as presented in your previous post? OR did you run it as you state further down in th