Re: [PHP] php tools

2004-08-10 Thread John Nichel
Naty wrote: Hi!! I'm trying to find editors or IDE that let me create and develop a php project. Somebody can recommned me tools ? Regards Naty I can recommend the 'Newbie Guide'. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/

[PHP] Re: php tools

2004-08-10 Thread Naty
I'm using windows no mac for now! I saw some people a couple of years ago working in php with PowerBuilder, but It's seems too complicated, for that reason in this days there must be other tools. I need use, css files, mysql database, javaScripts basically ! Regards Naty "Matthew Weier O'Phinney

[PHP] Re: preg_match_all but no preg_replace_all?

2004-08-10 Thread Matthew Weier O'Phinney
* Peter Brodersen <[EMAIL PROTECTED]>: > On 10 Aug 2004 16:53:59 -, in php.general you wrote: > > > Yes. preg_replace is greedy by default. > > Err, global, that is (although it's also greedy per default, but then > again, that's also the case for ereg-functions and perl) Umm, not in perl. Pe

RE: [PHP] SQL Functions

2004-08-10 Thread Dan Joseph
> > I'm building a class for use with our PHP applications. > Packages > > like what you've linked me to are nice, but we need a little flexibility > > here, so we're writing a few methods of our own. > > > > Flexibility?? Those classes are very flexible and have many useful > utility meth

[PHP] Re: php tools

2004-08-10 Thread Matthew Weier O'Phinney
* Naty <[EMAIL PROTECTED]>: > I'm using windows no mac for now! I'm not on a mac, either... actually, I've been using linux exclusively for over four years now. However, I've used vim on windows without a hitch -- there are windows binaries available on their site, http://www.vim.org > I saw som

[PHP] Cannot redeclare function

2004-08-10 Thread Alex Hogan
Hi All, I have a registration page that hasn't changed in several weeks. Today it decided to freak-out by throwing an error; 'Cannot redeclare myfunctionname() on line 10 of myfunctions.inc' Nothing has changed in either the calling page, or the function. The only thing that has changed since

Re: [PHP] SQL Functions

2004-08-10 Thread John W. Holmes
From: "Dan Joseph" <[EMAIL PROTECTED]> > > Of course, this begs the question of why you're re-implementing what > > has been done so many times in the past. > > > > http://pear.php.net/package/DB > > http://pear.php.net/package/MDB > > http://pear.php.net/package/MDB2 > > http://adodb.sourceforge.n

RE: [PHP] Re: php tools

2004-08-10 Thread Jay Blanchard
[snip] I'm using windows no mac for now! I saw some people a couple of years ago working in php with PowerBuilder, but It's seems too complicated, for that reason in this days there must be other tools. I need use, css files, mysql database, javaScripts basically ! [/snip] Open http://www.google.

[PHP] PHP performance

2004-08-10 Thread Ed Lazor
Any recommendations on how to make PHP run faster? 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

Re: [PHP] download script

2004-08-10 Thread Aaron Todd
Thanks for your reply, I am not getting an error at all. I have coded some error traping so if the files is not found it will tell you instead of displaying an error. As a test I took all of that out so the script was: $file = "/home/dlr/test/".$_GET['file']."" header("Content-Description:

Re: [PHP] PHP5 OOP

2004-08-10 Thread Matthew Sims
> Hello, I'm trying to get the hang of OOP here but can't quite figure > out how to relate these classes. I've got one for the main project, > one for the database, and one for a user. Somehow I need to get the > user access to the database, without cumbersome constructor calls > involving a copy

Re: [PHP] PHP5 OOP

2004-08-10 Thread John W. Holmes
From: "Joel Kitching" <[EMAIL PROTECTED]> > Hello, I'm trying to get the hang of OOP here but can't quite figure > out how to relate these classes. I've got one for the main project, > one for the database, and one for a user. Somehow I need to get the > user access to the database, without cumb

Re: [PHP] Re: preg_match_all but no preg_replace_all?

2004-08-10 Thread John Nichel
Peter Brodersen wrote: On 10 Aug 2004 16:53:59 -, in php.general you wrote: Yes. preg_replace is greedy by default. Err, global, that is (although it's also greedy per default, but then again, that's also the case for ereg-functions and perl) Regular expressions in Perl are not greedy by de

RE: [PHP] download script

2004-08-10 Thread Ed Lazor
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 Mess

[PHP] embedded php

2004-08-10 Thread Aaron Todd
I was just wondering if anyone out there is using PHP for an embeded development or knows of any devices that use PHP on their system. An example of what I am talking about would be a Linksys router. They run an embedded Linux web server and do management through a browser. I am wondering if I c

RE: [PHP] SQL Functions

2004-08-10 Thread Ed Lazor
> > > http://pear.php.net/package/DB > > > http://pear.php.net/package/MDB > > > http://pear.php.net/package/MDB2 > > > http://adodb.sourceforge.net/ > > > http://www.phpclasses.org/browse/package/20.html > > > > I'm building a class for use with our PHP applications. > Packages > > like w

Re: [PHP] download script

2004-08-10 Thread Aaron Todd
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 potent

Re: [PHP] Re: php tools

2004-08-10 Thread 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 >surpri

Re: [PHP] Cannot redeclare function

2004-08-10 Thread John W. Holmes
From: "Alex Hogan" <[EMAIL PROTECTED]> > I have a registration page that hasn't changed in several weeks. Today > it decided to freak-out by throwing an error; > 'Cannot redeclare myfunctionname() on line 10 of myfunctions.inc' > > Nothing has changed in either the calling page, or the function.

RE: [PHP] Cannot redeclare function

2004-08-10 Thread Ed Lazor
It's probably not PHP 5 and more likely that someone changed the php.ini error reporting settings in the process of upgrading (or maybe PHP 5 has a different set of default settings?). You should probably trace through your application and note what files are being loaded, in what order, etc.. so

RE: [PHP] Cannot redeclare function

2004-08-10 Thread Alex Hogan
> Did your error_reporting level change with the upgrade? This > was more than likely silently ignored with PHP4 and now > showing as a warning/error in PHP5 or just dependent upon > your error_reporting level. No.., I was careful to set 5 up with as many of the same settings as the previous v

Re: [PHP] Re: php tools

2004-08-10 Thread John W. 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? ---John Holmes... --

[PHP] Re: php tools

2004-08-10 Thread Lester Caine
Matthew Weier O'Phinney wrote: So, you basically need a text editor with good syntax highlighting for X/HTML, PHP, CSS, SQL, and javascript. As I said, I have that in Vim. I also know EditPlus has that and is either shareware or freeware. If you're looking for an IDE, can't help you. Eclipse + ph

RE: [PHP] PHP performance

2004-08-10 Thread Alex Hogan
[snip] > 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. [/snip] This may have already been addressed, but did you index any key fields? alex hogan

RE: [PHP] PHP performance

2004-08-10 Thread Jay Blanchard
[snip] Any recommendations on how to make PHP run faster? [/snip] A multiple CPU box. (It's a legitimate answer!) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] embedded php

2004-08-10 Thread Jay Blanchard
[snip] ...the second time that this was sent... [/snip] Aaron, For both of your original requests today you have sent them twice, several minutes apart. You have a. A bug in your e-mail client which is causing it to send the e-mail twice OR 2. The keyboard intefcae mechanism is broken. My bet i

RE: [PHP] Re: php tools OT

2004-08-10 Thread Jay Blanchard
[snip] 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. [/snip] If only we wrote our e-mail the same way! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

[PHP] Re: preg_match_all but no preg_replace_all?

2004-08-10 Thread Peter Brodersen
On 10 Aug 2004 18:24:54 -, in php.general you wrote: >> > Yes. preg_replace is greedy by default. >> >> Err, global, that is (although it's also greedy per default, but then >> again, that's also the case for ereg-functions and perl) > >Umm, not in perl. Perl will only replace the *first* mat

Re: [PHP] Re: preg_match_all but no preg_replace_all?

2004-08-10 Thread Peter Brodersen
On Tue, 10 Aug 2004 14:50:26 -0400, in php.general you wrote: >>>Yes. preg_replace is greedy by default. >> Err, global, that is (although it's also greedy per default, but then >> again, that's also the case for ereg-functions and perl) > >Regular expressions in Perl are not greedy by default.

Re: [PHP] Re: php tools

2004-08-10 Thread John Nichel
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

Re: [PHP] download script

2004-08-10 Thread John W. Holmes
"Aaron Todd" [EMAIL PROTECTED]> wrote in message > > $file = "/home/dlr/test/".$_GET['file'].""; > Why would this be a security hole if I do not filter the file > name before I use it? http://www.yourdomain.com/yourfile.php?file=../../path/to/any/file/on/machine ---John Holmes... -- PHP Gene

Re: [PHP] Re: php tools

2004-08-10 Thread John Nichel
John W. Holmes wrote: 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? ---Joh

Re: [PHP] SQL Functions

2004-08-10 Thread Michael Collins
At 10:26 AM -0700 8/10/04, Justin Patrin wrote: Of course, this begs the question of why you're re-implementing what has been done so many times in the past. At 11:56 AM -0700 8/10/04, Ed Lazor wrote: Hey, while you guys are talking about those DB classes, I've always opted to not use them because

RE: [PHP] PHP performance

2004-08-10 Thread Matthew Sims
> [snip] > Any recommendations on how to make PHP run faster? > [/snip] > > A multiple CPU box. (It's a legitimate answer!) I usually add more gerbils to my spinning wheel. -- --Matthew Sims -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] Re: php tools

2004-08-10 Thread Jonathan Haddad
BBEdit is the tool of the Gods. Jon Lester Caine wrote: Matthew Weier O'Phinney wrote: So, you basically need a text editor with good syntax highlighting for X/HTML, PHP, CSS, SQL, and javascript. As I said, I have that in Vim. I also know EditPlus has that and is either shareware or freeware. If y

Re: [PHP] embedded php

2004-08-10 Thread John Nichel
Jay Blanchard wrote: [snip] ...the second time that this was sent... [/snip] Aaron, For both of your original requests today you have sent them twice, several minutes apart. You have a. A bug in your e-mail client which is causing it to send the e-mail twice OR 2. The keyboard intefcae mechanism is

RE: [PHP] PHP performance

2004-08-10 Thread Vail, Warren
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. Good Luck,

[PHP] Read External Directory

2004-08-10 Thread Stephen Craton
Hello, I'm in need of some help here. I'm working on a search engine script that searches basically anywhere. One thing I'm trying to do is open an external directory to read all the files to search. However, I can't just put a URL into the readdir() function without getting an error. How would I

Re: [PHP] PHP performance

2004-08-10 Thread John Nichel
Jay Blanchard wrote: [snip] Any recommendations on how to make PHP run faster? [/snip] A multiple CPU box. (It's a legitimate answer!) 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. -- John C. Nichel ÜberGeek KegWorks.com 716

Re: [PHP] Re: php tools

2004-08-10 Thread Peter Ellis
*coughs* Pico! Real men don't have enough money to buy all that stone. They just use tissue paper, toilet paper, or whatever's available that breaks down easily enough to hide all errors with zero culpability. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis |

[PHP] LDAP Group query examples?

2004-08-10 Thread Sam Evans
Hello.. I am wondering if someone could point me in the general direction of some examples which show how to query an LDAP group for user membership? Thanks, Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot redeclare function

2004-08-10 Thread Justin Patrin
On Tue, 10 Aug 2004 14:07:09 -0500, Alex Hogan <[EMAIL PROTECTED]> wrote: > > Did your error_reporting level change with the upgrade? This > > was more than likely silently ignored with PHP4 and now > > showing as a warning/error in PHP5 or just dependent upon > > your error_reporting level. > > N

RE: [PHP] Read External Directory

2004-08-10 Thread Jay Blanchard
[snip] I'm in need of some help here. I'm working on a search engine script that searches basically anywhere. One thing I'm trying to do is open an external directory to read all the files to search. However, I can't just put a URL into the readdir() function without getting an error. How would I

Re: [PHP] Read External Directory

2004-08-10 Thread Justin Patrin
On Tue, 10 Aug 2004 15:04:42 -0500, Stephen Craton <[EMAIL PROTECTED]> wrote: > Hello, > > I'm in need of some help here. I'm working on a search engine script that > searches basically anywhere. One thing I'm trying to do is open an external > directory to read all the files to search. However, I

Re: [PHP] Re: php tools

2004-08-10 Thread Matthew Sims
> BBEdit is the tool of the Gods. > > Jon Zeus would be proud of you. -- --Matthew Sims -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LDAP Group query examples?

2004-08-10 Thread Justin Patrin
On Tue, 10 Aug 2004 11:26:07 -0600 (MDT), Sam Evans <[EMAIL PROTECTED]> wrote: > > Hello.. > > I am wondering if someone could point me in the general direction of > some examples which show how to query an LDAP group for user > membership? Use Softerra LDAP browser to look at the groups and fig

RE: [PHP] Cannot redeclare function

2004-08-10 Thread Alex Hogan
[snip] > Well, it's very likely that that file was being included > twice. You just can't do an include() on the same file twice > if it defines functions or classes. Look through your code > and see all of the places where the include was happening. > Perhaps the file that includes that file i

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
> -Original Message- >This may have already been addressed, but did you index any key fields? I do have some indices created, but I'll check to see if there are more than can boost things. Thanks =) Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
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!) -- PHP General Mailing List (http://www.php.net/) To unsubsc

RE: [PHP] download script

2004-08-10 Thread Ed Lazor
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

RE: [PHP] Re: php tools

2004-08-10 Thread Ed Lazor
> -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

Re: [PHP] PHP performance

2004-08-10 Thread Curt Zirzow
* 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 a

Re: [PHP] Cannot redeclare function

2004-08-10 Thread Jason Wong
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

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
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

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
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,

RE: [PHP] PHP performance

2004-08-10 Thread Alex Hogan
> 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

[PHP] PEAR SITE IF DOWN FROM MY IP

2004-08-10 Thread Alfonso Baqueiro
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 Mai

RE: [PHP] PHP performance [solution]

2004-08-10 Thread Ed Lazor
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

RE: [PHP] PHP performance [solution]

2004-08-10 Thread Jason Davidson
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] > > Sen

Re: [PHP] PHP performance

2004-08-10 Thread Matthew Runo
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 P

RE: [PHP] PEAR SITE IF DOWN FROM MY IP

2004-08-10 Thread Ed Lazor
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 th

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
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

[PHP] MySQL & PHP Examples & Training Providers Required

2004-08-10 Thread Harlequin
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.n

Re: [PHP] PHP performance

2004-08-10 Thread Matthew Runo
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.c

[PHP] Re: [PEAR-QA] PEAR SITE IF DOWN FROM MY IP

2004-08-10 Thread Justin Patrin
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

Re: [PHP] MySQL & PHP Examples & Training Providers Required

2004-08-10 Thread Robby Russell
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 l

[PHP] Variable just not Behaving Itself.

2004-08-10 Thread Harlequin
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]

Re: [PHP] Variable just not Behaving Itself.

2004-08-10 Thread Justin Patrin
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' )

RE: [PHP] Variable just not Behaving Itself.

2004-08-10 Thread Kevin
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'

Re: [PHP] Variable just not Behaving Itself.

2004-08-10 Thread Robby Russell
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 = '

Re: [PHP] Variable just not Behaving Itself.

2004-08-10 Thread Jordi Canals
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 == 'Flexib

Re: [PHP] Variable just not Behaving Itself.

2004-08-10 Thread Robby Russell
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_Rqm

[PHP] updating a frame from within php...

2004-08-10 Thread bruce
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

[PHP] PHP Unleashed

2004-08-10 Thread 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. -Ed

Re: [PHP] PHP Unleashed

2004-08-10 Thread Curt Zirzow
* 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 understa

Re: [PHP] Re: php tools

2004-08-10 Thread David Robley
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 >> >>

Re: [PHP] Re: php tools

2004-08-10 Thread Curt Zirzow
* 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 fo

Re: [PHP] Re: php tools

2004-08-10 Thread John Holmes
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. No

RE: [PHP] PHP Unleashed

2004-08-10 Thread Ed Lazor
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 > > email

Re: [PHP] updating a frame from within php...

2004-08-10 Thread Matthew Sims
> 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 > elemen

[PHP] Re: define constants within functions?

2004-08-10 Thread Aidan Lister
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 definition

<    1   2