php-general Digest 11 Aug 2004 10:29:24 -0000 Issue 2930 Topics (messages 193394 through 193430):
Re: PHP performance
193394 by: Ed Lazor
193397 by: Curt Zirzow
193399 by: Ed Lazor
193400 by: Ed Lazor
193401 by: Ed Lazor
193402 by: Alex Hogan
193406 by: Matthew Runo
193408 by: Ed Lazor
193410 by: Matthew Runo
Re: download script
193395 by: Ed Lazor
Re: php tools
193396 by: Ed Lazor
193422 by: David Robley
193423 by: Curt Zirzow
193424 by: John Holmes
Re: Cannot redeclare function
193398 by: Jason Wong
PEAR SITE IF DOWN FROM MY IP
193403 by: Alfonso Baqueiro
193407 by: Ed Lazor
Re: PHP performance [solution]
193404 by: Ed Lazor
193405 by: Jason Davidson
MySQL & PHP Examples & Training Providers Required
193409 by: Harlequin
193412 by: Robby Russell
193428 by: Lester Caine
Re: [PEAR-QA] PEAR SITE IF DOWN FROM MY IP
193411 by: Justin Patrin
Variable just not Behaving Itself.
193413 by: Harlequin
193414 by: Justin Patrin
193415 by: Kevin
193416 by: Robby Russell
193417 by: Jordi Canals
193418 by: Robby Russell
updating a frame from within php...
193419 by: bruce
193426 by: Matthew Sims
PHP Unleashed
193420 by: Ed Lazor
193421 by: Curt Zirzow
193425 by: Ed Lazor
Re: define constants within functions?
193427 by: Aidan Lister
Re: Hi
193429 by: Chris
weird error, might be javascript?
193430 by: Angelo Zanetti
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---Good point Jay. Luckily the server has dual 2.4gh xeon's with 2gig of ram *grin* > -----Original Message----- > [snip] > Any recommendations on how to make PHP run faster? > [/snip] > > A multiple CPU box. (It's a legitimate answer!)
--- End Message ---
--- Begin Message ---* Thus wrote Ed Lazor: > Any recommendations on how to make PHP run faster? To help figure out which queries are running slow there is the php.ini setting: mysql.trace_mode=On Using this will have the php library analyze your queries and if any of them do table scans php will issue a warning about it, which can be very helpful finding out where you need indexes. > > > > I have a script pulling a lot of data from MySQL and generating reports and > spitting out data (flush) as it's processing so I can see what's going on. > It was taking around 10 seconds to process each order. I reduced the total > number of orders being processed. I expected the script to take less time > because there were fewer orders to process, but I was surprised to discover > that time spent processing each order also reduced almost in half. I > figured PHP's memory limit per script at 8mb might be the bottleneck, so I > upped it to 128, restarted apache, and reran the script. Increasing > available memory had no effect. > Its hard to say blindly where the bottle-neck is though. Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!
--- End Message ---
--- Begin Message ---> Lot of good that did. I just threw 8 socket 7 AMD processors into a > box, and PHP isn't even the slightest bit faster. Did you try a curveball when throwing the processors into the box? -Ed
--- End Message ---
--- Begin Message ---Thanks Vail, I'll check that out. -Ed > -----Original Message----- > If your problem is with a long running MySQL Query, and many of mine have > been, I would suggest you read > > http://dev.mysql.com/doc/mysql/en/Optimizer_Issues.html > > Your objective is to make sure that all your database queries avoid the > deadly "table scan" as a part of their query plan.
--- End Message ---
--- Begin Message ---Ooo ahhh, thanks Curt =) > -----Original Message----- > To help figure out which queries are running slow there is the > php.ini setting: > > mysql.trace_mode=On > > Using this will have the php library analyze your queries and if > any of them do table scans php will issue a warning about it, which > can be very helpful finding out where you need indexes.
--- End Message ---
--- Begin Message ---> Did you try a curveball when throwing the processors into the box? Processors like sliders... Can't lay off 'em.., can't hit 'em. alex hogan ************************************************************************************* The contents of this e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. The views stated herein do not necessarily represent the view of the company. If you are not the intended recipient of this e-mail you may not copy, forward, disclose, or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender. *************************************************************************************
--- End Message ---
--- Begin Message --- This is a great tip. Thanks! I've added it to my folder of "tips to speed up PHP".
Matthew Runo http://www.quabbo.com Quabbo Internet Services The only host with the Zend Performance Suite!
On Aug 10, 2004, at 3:07 PM, Curt Zirzow wrote:
* Thus wrote Ed Lazor:Any recommendations on how to make PHP run faster?
To help figure out which queries are running slow there is the php.ini setting:
mysql.trace_mode=On
Using this will have the php library analyze your queries and if any of them do table scans php will issue a warning about it, which can be very helpful finding out where you need indexes.
I have a script pulling a lot of data from MySQL and generating reports and
spitting out data (flush) as it's processing so I can see what's going on.
It was taking around 10 seconds to process each order. I reduced the total
number of orders being processed. I expected the script to take less time
because there were fewer orders to process, but I was surprised to discover
that time spent processing each order also reduced almost in half. I
figured PHP's memory limit per script at 8mb might be the bottleneck, so I
upped it to 128, restarted apache, and reran the script. Increasing
available memory had no effect.
Its hard to say blindly where the bottle-neck is though.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---Your tag line caught my attention - have any specs on performance boosts provided by Zend? > The only host with the Zend Performance Suite!
--- End Message ---
--- Begin Message --- Well, across the sites that are on our server at the moment we are seeing an average increase in PHP execution speed of 244% (I just ran a test). According to Zend if everyone of our clients were to use partial page caching and the like, we'd be seeing closer to a 1000% (10x) speedup.
Quabbo.com is currently being redesigned to offer more information on partial page caching and the other improvements that ZPS allows such as it's new php download server plugin. I'd also like to get it designed with CSS rather than tables.
It's not hard to add in partial page caching code to a PHP driven site, but people just don't want to do it when they can get a decent boost from just being under the Zend Performance Suite's umbrella effects.
Matthew Runo http://www.quabbo.com Quabbo Internet Services The only host with the Zend Performance Suite!
On Aug 10, 2004, at 3:47 PM, Ed Lazor wrote:
Your tag line caught my attention - have any specs on performance boosts
provided by Zend?
The only host with the Zend Performance Suite!
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---A hacker could modify the URL Mypage.php?file=book.pdf Becomes Mypage.php?file=../htdocs/.htaccess > -----Original Message----- > From: Aaron Todd [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 11, 2004 11:58 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] download script > > Why would this be a security hole if I do not filter the file name before > I > use it? > > Thanks, > > Aaron > > > "Ed Lazor" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > The other guys addressed how to get the script working, but I thought I > > might also mention that you're presenting a potential security hole in > your > > app by not filtering the file name before using it. You'll also want to > use > > the realpath command on the full file name and path. > > > > > -----Original Message----- > > > $file = "/home/dlr/test/".$_GET['file'].""; > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---> -----Original Message----- > From: "Jay Blanchard" > > Open http://www.google.com in the browser of your choice > > Type "PHP IDE" in the little box that appears there. > > Click on the links of returned results. > > I clicked on all of the links and nothing happened except for some web > pages > appearing. Now what? > > ---John Holmes... Hrm. Ok, something else should have happened. Your computer must be missing the security patches and software updates. That's a bummer, cause it's really gonna cost a lot. Have you considered just buying a new computer? Hehehe
--- End Message ---
--- Begin Message ---On Wed, 11 Aug 2004 05:13, John Nichel wrote: > Matthew Sims wrote: >>>>>Could you start a holy war any more easily...? The subject of >>>>>editors/IDEs is prone to start a holy war. >>>>> >>>>>Regardless... I use VIM with the Project plugin, phpdoc plugin, and >>>>>php syntax highlighting >> >> >>>You're likely to get suggestions for emacs, as well, and I'd be very >>>surprised if one or more commercial editors weren't offered. >> >> >> VIM! >> Emacs! >> VIM! >> Emacs! >> VIM! >> KWrite! >> >> KWrite?! >> >> Real men write code using a chisel and hammer on granite stone. You bet >> your ass you'll learn how to write small, tight, clean code quickly. >> > > Pffft. I 'write' code in my head, and plug a FireWire cable into my ear. > ;) > I've seen the code of others who work like that, except I think the Firewire cable was plugged in somewhere more southerly :-0 -- David Robley "Hi, Laverne," Tom said surely.
--- End Message ---
--- Begin Message ---* Thus wrote Matthew Sims: > >> > Could you start a holy war any more easily...? The subject of > >> > editors/IDEs is prone to start a holy war. > >> > > >> > Regardless... I use VIM with the Project plugin, phpdoc plugin, and > >> >php syntax highlighting > > >You're likely to get suggestions for emacs, as well, and I'd be very > >surprised if one or more commercial editors weren't offered. > > VIM! > Emacs! > VIM! > Emacs! > VIM! > KWrite! > > KWrite?! ed > > Real men write code using a chisel and hammer on granite stone. You bet > your ass you'll learn how to write small, tight, clean code quickly. ever use ed? its a step above the chisel and hammer :) Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!
--- End Message ---
--- Begin Message ---Ed Lazor wrote: >From: "John Holmes"From: "Jay Blanchard"
Open http://www.google.com in the browser of your choice Type "PHP IDE" in the little box that appears there. Click on the links of returned results.
I clicked on all of the links and nothing happened except for some web pages appearing. Now what?
Hrm. Ok, something else should have happened. Your computer must be missing the security patches and software updates. That's a bummer, cause it's really gonna cost a lot. Have you considered just buying a new computer?
That's kind of funny because, yes, I did. It's arriving tomorrow and hopefully I can get back to some serious PHP work soon... :)
--
John Holmes
php|architect - The magazine for PHP professionals - http://www.phparch.com
--- End Message ---
--- Begin Message ---On Wednesday 11 August 2004 05:18, Alex Hogan wrote: > Apparently I must've been calling it from someplace else that I can't > find, and changing to include_once() fixed the problem. I just don't > understand why it worked for as long as it did before now. Once upon a time PHP allowed a function to be declared multiple times. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* When I met th'POPE back in '58, I scrubbed him with a MILD SOAP or DETERGENT for 15 minutes. He seemed to enjoy it ... */
--- End Message ---
--- Begin Message --- Does pear admins custom to do nasty things with users that post comments for improvement or comments they dont like?
For some oscure reason i unable to acces the main page of pear: http://pear.php.net
My IP is 200.39.196.122.
From other IPs i dont have any troble with the page.
--- End Message ---
--- Begin Message ---Probably so, because I can get there :P hehe > -----Original Message----- > From: Alfonso Baqueiro [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 3:14 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] PEAR SITE IF DOWN FROM MY IP > > Does pear admins custom to do nasty things with users that post comments > for improvement or comments they dont like? > > For some oscure reason i unable to acces the main page of pear: > http://pear.php.net > > My IP is 200.39.196.122. > > From other IPs i dont have any troble with the page. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---I added more indexes. The 20 minute report just took 40 seconds *grin* Thanks Everyone, Ed > -----Original Message----- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 3:07 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP performance > > * Thus wrote Ed Lazor: > > Any recommendations on how to make PHP run faster? > > To help figure out which queries are running slow there is the > php.ini setting: > > mysql.trace_mode=On > > Using this will have the php library analyze your queries and if > any of them do table scans php will issue a warning about it, which > can be very helpful finding out where you need indexes. > > > > > > > > > I have a script pulling a lot of data from MySQL and generating reports > and > > spitting out data (flush) as it's processing so I can see what's going > on. > > It was taking around 10 seconds to process each order. I reduced the > total > > number of orders being processed. I expected the script to take less > time > > because there were fewer orders to process, but I was surprised to > discover > > that time spent processing each order also reduced almost in half. I > > figured PHP's memory limit per script at 8mb might be the bottleneck, so > I > > upped it to 128, restarted apache, and reran the script. Increasing > > available memory had no effect. > >
--- End Message ---
--- Begin Message ---woohoo indexes kick a$$.. at the expense of mem though :) J "Ed Lazor" <[EMAIL PROTECTED]> wrote: > > I added more indexes. The 20 minute report just took 40 seconds *grin* > > Thanks Everyone, > > Ed > > > > -----Original Message----- > > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 10, 2004 3:07 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] PHP performance > > > > * Thus wrote Ed Lazor: > > > Any recommendations on how to make PHP run faster? > > > > To help figure out which queries are running slow there is the > > php.ini setting: > > > > mysql.trace_mode=On > > > > Using this will have the php library analyze your queries and if > > any of them do table scans php will issue a warning about it, which > > can be very helpful finding out where you need indexes. > > > > > > > > > > > > > > I have a script pulling a lot of data from MySQL and generating reports > > and > > > spitting out data (flush) as it's processing so I can see what's going > > on. > > > It was taking around 10 seconds to process each order. I reduced the > > total > > > number of orders being processed. I expected the script to take less > > time > > > because there were fewer orders to process, but I was surprised to > > discover > > > that time spent processing each order also reduced almost in half. I > > > figured PHP's memory limit per script at 8mb might be the bottleneck, so > > I > > > upped it to 128, restarted apache, and reran the script. Increasing > > > available memory had no effect. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
--- End Message ---
--- Begin Message ---Hi all. This might sound like a strange request but here goes. I'm looking for some examples of sites that are purely MySQL and PHP running on Unix and that contain a few thousand records preferably held in relational databases. Rationale: I need to justify PHP as a tool of choice over say vb.net or Oracle. My recommendation, despite my limited knowledge of MySQL and PHP is that even if we have 10-15 databases holding upwards of 10,000 records each PHP and MySQL are the tools of choice and I doubt that there are any functions missing that you'd find in VB.Net. I could be wrong and if so, please let me know. My other question is that I am looking for training in the UK, preferably in the North. I have no idea about accreditation or certification requirements and wondered if anyone could provide any recommendations...? Thanks for your time guys. -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk -----------------------------
--- End Message ---
--- Begin Message ---Not to start a SQL war, but have you consider PostgreSQL as well in your decisions? PostgreSQL has more features that are more comparable to MSSQL and Oracle. Just making sure you make the right decision. ;-) -Robby On Tue, 2004-08-10 at 16:06, Harlequin wrote: > Hi all. > > This might sound like a strange request but here goes. > > I'm looking for some examples of sites that are purely MySQL and PHP running > on Unix and that contain a few thousand records preferably held in > relational databases. > > Rationale: > > I need to justify PHP as a tool of choice over say vb.net or Oracle. My > recommendation, despite my limited knowledge of MySQL and PHP is that even > if we have 10-15 databases holding upwards of 10,000 records each PHP and > MySQL are the tools of choice and I doubt that there are any functions > missing that you'd find in VB.Net. I could be wrong and if so, please let me > know. > > My other question is that I am looking for training in the UK, preferably in > the North. I have no idea about accreditation or certification requirements > and wondered if anyone could provide any recommendations...? > > Thanks for your time guys. > > -- > ----------------------------- > Michael Mason > Arras People > www.arraspeople.co.uk > ----------------------------- -- /*************************************** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development ****************************************/
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---Robby Russell wrote:
Not to start a SQL war, but have you consider PostgreSQL as well in your decisions?
And how about Firebird, Oracle has roots from the same original development in the 1980's.
-- Lester Caine ----------------------------- L.S.Caine Electronic Services
--- End Message ---
--- Begin Message ---On Tue, 10 Aug 2004 17:14:03 -0500, Alfonso Baqueiro <[EMAIL PROTECTED]> wrote: > Does pear admins custom to do nasty things with users that post comments > for improvement or comments they dont like? > > For some oscure reason i unable to acces the main page of pear: > http://pear.php.net > > My IP is 200.39.196.122. > > From other IPs i dont have any troble with the page. Unlikely unless you were very rude. More likely, your DNS isn't resolving right, your computer had an issue, or your ISP has a problem. > > -- > PEAR QA Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--
--- End Message ---
--- Begin Message ---I have the following: [SNIP] ... $Emp_Status_Rqmt=$row["Emp_Status_Rqmt"]; } if( $Emp_Status_Rqmt == 'Permanent' ) { $UserStatus = 'Permanent'; } if( $Emp_Status_Rqmt == 'Contractor' ) { $UserStatus = 'Contractor'; } else { $UserStatus == 'Flexible'; } [SNIP] which echoes OK until I change the value to something other than Permanent or Contractor. It simple echoes resource ID #n what's wrong with me...? the code I mean...? -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk -----------------------------
--- End Message ---
--- Begin Message ---On Wed, 11 Aug 2004 00:36:05 +0100, Harlequin <[EMAIL PROTECTED]> wrote: > I have the following: > > [SNIP] > .... > $Emp_Status_Rqmt=$row["Emp_Status_Rqmt"]; > } > if( $Emp_Status_Rqmt == 'Permanent' ) > { > $UserStatus = 'Permanent'; > } > if( $Emp_Status_Rqmt == 'Contractor' ) > { > $UserStatus = 'Contractor'; > } > else > { > $UserStatus == 'Flexible'; $UserStatus = 'Flexible'; > } > [SNIP] > > which echoes OK until I change the value to something other than Permanent > or Contractor. It simple echoes resource ID #n > > what's wrong with me...? the code I mean...? > > -- > ----------------------------- > Michael Mason > Arras People > www.arraspeople.co.uk > ----------------------------- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--
--- End Message ---
--- Begin Message ---Hey, I was looking at your code and should that not be an If - ElseIf - Else structure? The way I read this is it first checks to see if the var is set to 'Permanent' and sets $UserStatus. Then regardless of the previous test it does another test on the $Emp_Status_Rqmt to see if it is 'Contactor' and if not it then sets the $UserStatus to 'Flexible'. So if someone is Permanent this would still end up setting the $UserStatus to 'Flexible'. This might be the root of your problem. Excuse me if I have misread the code. :-( HTH Kevin -----Original Message----- [SNIP] ... $Emp_Status_Rqmt=$row["Emp_Status_Rqmt"]; } if( $Emp_Status_Rqmt == 'Permanent' ) { $UserStatus = 'Permanent'; } if( $Emp_Status_Rqmt == 'Contractor' ) { $UserStatus = 'Contractor'; } else { $UserStatus == 'Flexible'; } [SNIP] which echoes OK until I change the value to something other than Permanent or Contractor. It simple echoes resource ID #n what's wrong with me...? the code I mean...?
--- End Message ---
--- Begin Message ---On Tue, 2004-08-10 at 16:36, Harlequin wrote: > I have the following: > > [SNIP] > ... > $Emp_Status_Rqmt=$row["Emp_Status_Rqmt"]; > } > if( $Emp_Status_Rqmt == 'Permanent' ) > { > $UserStatus = 'Permanent'; > } > if( $Emp_Status_Rqmt == 'Contractor' ) > { > $UserStatus = 'Contractor'; > } > else > { > $UserStatus == 'Flexible'; > } > [SNIP] > > which echoes OK until I change the value to something other than Permanent > or Contractor. It simple echoes resource ID #n > > what's wrong with me...? the code I mean...? You can build a bunch of if statements or your switch()...and I'm not sure why you would keep creating variables with the same value. ;-) Example: $Emp_Status_Rqmt = $row["Emp_Status_Rqmt"]; switch ($Emp_Status_Rqmt) { case "Permanent": $UserStatus = "Permanent"; break; case "Contractor": $UserStatus = "Contractor"; break; default: $UserStatus = "Flexible"; } -Robby -- /*************************************** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development ****************************************/
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---Harlequin wrote:
I have the following:
[SNIP] ... $Emp_Status_Rqmt=$row["Emp_Status_Rqmt"]; } if( $Emp_Status_Rqmt == 'Permanent' ) { $UserStatus = 'Permanent'; } if( $Emp_Status_Rqmt == 'Contractor' ) { $UserStatus = 'Contractor'; } else { $UserStatus == 'Flexible';
$UserStatus = 'Flexible';
} [SNIP]
which echoes OK until I change the value to something other than Permanent or Contractor. It simple echoes resource ID #n
what's wrong with me...? the code I mean...?
More easy:
$Emp_Status_Rqmt=$row["Emp_Status_Rqmt"]; $UserStatus = $Emp_Status_Rqmt;
Regards, Jordi.
--- End Message ---
--- Begin Message ---On Tue, 2004-08-10 at 17:41, Jordi Canals wrote: > Harlequin wrote: > > > I have the following: > > > > [SNIP] > > ... > > $Emp_Status_Rqmt=$row["Emp_Status_Rqmt"]; > > } > > if( $Emp_Status_Rqmt == 'Permanent' ) > > { > > $UserStatus = 'Permanent'; > > } > > if( $Emp_Status_Rqmt == 'Contractor' ) > > { > > $UserStatus = 'Contractor'; > > } > > else > > { > > $UserStatus == 'Flexible'; > > $UserStatus = 'Flexible'; > > > } > > [SNIP] > > > > which echoes OK until I change the value to something other than Permanent > > or Contractor. It simple echoes resource ID #n > > > > what's wrong with me...? the code I mean...? > > > > More easy: > > $Emp_Status_Rqmt=$row["Emp_Status_Rqmt"]; > $UserStatus = $Emp_Status_Rqmt; > > Regards, > Jordi. more more easy. ;-) $UserStatus = $row["Emp_Status_Rqmt"]; -- /*************************************** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development ****************************************/
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---hi... this probably doens't belong here.. but i'll try! i have a two frame window. when the user logs into the 'main' window, i want to be able to 'update' the 'main' window and then hte 'nav' window. some underlying vars are getting set, and i need to be be able to refresh elements/links in the 'nav' window with the new values... searching through google, hasn't really shed any insight/light on the best approach for this.. any ideas/pointers/comments/thoughts... thanks -bruce
--- End Message ---
--- Begin Message ---> hi... > > this probably doens't belong here.. but i'll try! > > i have a two frame window. when the user logs into the 'main' window, i > want > to be able to 'update' the 'main' window and then hte 'nav' window. some > underlying vars are getting set, and i need to be be able to refresh > elements/links in the 'nav' window with the new values... > > searching through google, hasn't really shed any insight/light on the best > approach for this.. > > any ideas/pointers/comments/thoughts... > > thanks > > -bruce I think javascript would be your cup of tea...getting the browser to reload a frame. Google is your friend: http://www.google.com/search?q=javascript%20reload%20frame&hl=en&lr=&ie=UTF-8&sa=N&tab=gw -- --Matthew Sims --<http://killermookie.org>
--- End Message ---
--- Begin Message ---Any idea when PHP Unleashed by John Coggeshall will be released? I've tried emailing him with no luck and the guys at Powell's don't know when it'll be available. -Ed
--- End Message ---
--- Begin Message ---* Thus wrote Ed Lazor: > Any idea when PHP Unleashed by John Coggeshall will be released? I've tried > emailing him with no luck and the guys at Powell's don't know when it'll be > available. According to the Sams the publish date is Nov 2004, it could be available sooner though, from my understanding the book is currently under author review. you can pre-order the book from amazon, here is John's publication page: http://www.coggeshall.org/pub/ Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!
--- End Message ---
--- Begin Message ---Thanks Curt =) > -----Original Message----- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 7:53 PM > To: 'PHP' > Subject: Re: [PHP] PHP Unleashed > > * Thus wrote Ed Lazor: > > Any idea when PHP Unleashed by John Coggeshall will be released? I've > tried > > emailing him with no luck and the guys at Powell's don't know when it'll > be > > available. > > According to the Sams the publish date is Nov 2004, it could be > available sooner though, from my understanding the book is > currently under author review. > > you can pre-order the book from amazon, here is John's publication > page: > > http://www.coggeshall.org/pub/ > > > > Curt > -- > First, let me assure you that this is not one of those shady pyramid > schemes > you've been hearing about. No, sir. Our model is the trapezoid! > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---Sure, define them outside the function :) "Justin French" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If I define a constant within a function, it appears that the constant > is only defined within the namespace of the function. Fair enough. > > Can I globalise these definitions? > > --- > Justin French > http://indent.com.au
--- End Message ---
--- Begin Message ---<<attachment: nxcjeiijjg.bmp>>
--- End Message ---
--- Begin Message ---Hi all, FIrstly apologies if this is slightly OT, but it is relevant to PHP. I have been working on a pretty big project over the last couple of months and then all of a sudden I started getting errors in my browser, the error in the bottom left corner with the yellow icon. anyway Im not sure what causes these errors. It says that it expects a ) on line 597 of that page. First thing is that my page is not even 100 lines long. Secondly I get different errors on different pages. I also get errors on all pages. I do use a javascript file that is used on most pages for various functions like validation and opening other pages etc... So what I'm guessing is that something is wrong somewhere in that page but, I have no clue what it is or where it is. I tried to go through it yesterday but its such a long process and I cant seem to see anything else wrong. So should I in a way recreate the whole javascript file from the beginning till now? and hopefully the error will come up or are there any other ideas you guys have or any tools that could assist me? Thanks in advance Angelo -------------------------------------------------------------------- Disclaimer This e-mail transmission contains confidential information, which is the property of the sender. The information in this e-mail or attachments thereto is intended for the attention and use only of the addressee. Should you have received this e-mail in error, please delete and destroy it and any attachments thereto immediately. Under no circumstances will the Cape Technikon or the sender of this e-mail be liable to any party for any direct, indirect, special or other consequential damages for any use of this e-mail. For the detailed e-mail disclaimer please refer to http://www.ctech.ac.za/polic or call +27 (0)21 460 3911
--- End Message ---
