Re: [PHP] Re: Question about constructors and destructors

2006-06-28 Thread Jochem Maas
Richard Lynch wrote: > On Wed, June 28, 2006 5:07 pm, Jochem Maas wrote: >> zend.ze1_compatibility_mode is next to useless in practice for >> anything >> but the most simple php4 OO code. certainly if you are wanting to >> use php5 specific OO functionality like __destruct() you should not be >> us

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread tedd
At 12:11 AM +0200 6/29/06, Jochem Maas wrote: >Paul Novitski wrote: >> Hey kids, > >hi mom. Oh no, not another one of those talks? What did I do this time? I wasn't anywhere near it, and no one saw me anyway. Besides mom, you should take some time off -- you appear to be wrapped a bit tight. Li

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 18:35, Jochem Maas wrote: > Robert Cummings wrote: > > On Wed, 2006-06-28 at 18:11, Jochem Maas wrote: > >> Paul Novitski wrote: > >>> Hey kids, > >> hi mom. > > > > Dad had an operation? > > an invalid type conversion? I dunno, did you try it? Did you catch anything? Maybe

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 3:21 PM -0400 6/28/06, Robert Cummings wrote: >Your kidding right? What you say above and what you say below are >different. You must think I'm stupid. Oh well. Robert ! Hey, don't get shorts in a knot -- I didn't mean anything of the sort. I seldom deliberately go out of my way to insult an

RE: [PHP] Single quotes verses double quotes default behavior with DW --------> (Pretty much 0T )

2006-06-28 Thread Ryan A
Hey Rich, > > http://www.php.net/ini_set > > http://www.php.net/manual/en/ini.php#ini.list > > If it's on, and you have no access to change it, get > a new webhost. > :-) Unfortunatly cant do that :-( Heres my environment, I am one of two developers, 3 designers, 2 graphic artists and a bunch

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 3:28 PM -0400 6/28/06, John Nichel wrote: > > > > >-- >John C. Nichel IV >Programmer/System Admin (ÜberGeek) >Dot Com Holdings of Buffalo >716.856.9675 >[EMAIL PROTECTED] /* please note the humor tags */ Does that mean because I agreed with you, I'm now off your killfile list? Or does my r

[PHP] Multiple "if()" statements

2006-06-28 Thread Grae Wolfe - PHP
I have a table with lots of fun information in it. For one of the pages that I am working on, I want to display a list of names based on what is in the DB. My $SQL statement works great and has pulled in values for "first_name," "hs_last_name," and "last_name" in that order. Right now, I am

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 3:39 PM -0400 6/28/06, Robert Cummings wrote: >When did I ask you or anyone other than Tedd if they were living in a >cave? Yeah, that's right -- he didn't infer that anyone else lived in a cave, just me. If you want anyone else to tell you that you live in a cave, then you'll have to stand

[PHP] Programming question - New to PHP

2006-06-28 Thread Russbucket
I took an example of a script from the PHP documentation and try to connect to my database. If I leave in the or die part of line 3, I get nothing, if I comment out that part I get the echo message on line 4. I know line three works without the or die part since I have a 2nd script that i

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 5:34 PM -0300 6/28/06, Martin Alterisio wrote: >Have you (all of you questioning the use of templates) ever worked in a >project with more than one developer, where part of the team ARE NOT coders? >WE understand code, but that's not the case for everyone else. Graphic >designers don't like code

Re: [PHP] Multiple "if()" statements

2006-06-28 Thread David Tulloh
Grae Wolfe - PHP wrote: > ... > want. Any help would be great! > > > if($row[1]="none") { > print(""); > print("$row[0] $row[2]"); > print(""); > } else > if($row[1]=$row[2]) { > print(""); > print("$row[0] $row[2]"); > print(""); > } else > print(""); > print("$row[0]

[PHP] XUL and PHP - what's your opinion?

2006-06-28 Thread Ray Hauge
I keep hearing about XUL, and I was wondering what the opinion of the masses was on this subject for an internal application where the browser is pre-determined. From my point of view I, having only read about it and not used it, is that XUL would make your applications look more like a desktop

Re: [PHP] Multiple "if()" statements

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 20:02, David Tulloh wrote: > Grae Wolfe - PHP wrote: > > ... > > want. Any help would be great! > > > > > > if($row[1]="none") { > > print(""); > > print("$row[0] $row[2]"); > > print(""); > > } else > > if($row[1]=$row[2]) { > > print(""); > > print("$row[0

Re: [PHP] Multiple "if()" statements

2006-06-28 Thread Paul Novitski
At 04:38 PM 6/28/2006, Grae Wolfe - PHP wrote: The first problem is men's names and unmarried women's names... they will have the same "hs_last_name" and "last_name" so I don't want the duplicate displaying on the page. The second problem is the entry of the word "none" by some of the visito

Re: [PHP] working on a template system...

2006-06-28 Thread David Tulloh
Martin Alterisio wrote: > 2006/6/28, Jon Anderson <[EMAIL PROTECTED]>: > >> >> I really don't understand why people have such disregard for PHP as a >> template system... I'm not saying one way is better or worse (it's >> really a matter of preference), just that the PHP way isn't implicitly >> ba

[PHP] running system()

2006-06-28 Thread Mark Steudel
So I'm trying to run some system commands on the windows box I am working on. And I am getting "Unable to fork" errors. So after some googling I see that its because the internet guest user needs access to cmd.exe, my question is how safe is it to enable this on a production/shared environment? Any

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 19:29, tedd wrote: > At 3:21 PM -0400 6/28/06, Robert Cummings wrote: > >Your kidding right? What you say above and what you say below are > >different. You must think I'm stupid. Oh well. > > > Robert ! > > Hey, don't get shorts in a knot -- I didn't mean anything of the s

Re: [PHP] php 4.4.2 spec

2006-06-28 Thread Chris
Paul Aviles wrote: Chris thanks. Yes the file is there but only generates the srpm and not the actual end rpm file. Ask your linux user group how to use srpms or look it up on google. Took me 10 seconds to find this: http://www.grape-info.com/doc/linux/config/rpm-4.0.3-1.03.html Look for "Us

Re: [PHP] page redirecting

2006-06-28 Thread Ligaya Turmelle
Richard Lynch wrote: usually daft ... and slam the data into ... Don't ask me why - but I enjoyed your choice in words... -- life is a game... so have fun. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Programming question - New to PHP

2006-06-28 Thread Ligaya Turmelle
Russbucket wrote: I took an example of a script from the PHP documentation and try to connect to my database. If I leave in the or die part of line 3, I get nothing, if I comment out that part I get the echo message on line 4. $conn = mysql_connect ('localhost', 'finemanruss', 'XXXl')

[PHP] Re: Multiple "if()" statements

2006-06-28 Thread Grae Wolfe - PHP
Thank you all SO incredibly much!!! Now I just have to figure out how to get it to put the results into two columns instead of one, and this phase of this nightmarish project is over!! I am eternally grateful, and I am sure I will be back with more questions!! ""Grae Wolfe - PHP"" <[EMAIL PR

Re: [PHP] Programming question - New to PHP

2006-06-28 Thread Chris
Russbucket wrote: I took an example of a script from the PHP documentation and try to connect to my database. If I leave in the or die part of line 3, I get nothing, if I comment out that part I get the echo message on line 4. $conn = mysql_connect ('localhost', 'finemanruss', 'XXXl')

Re: [PHP] running system()

2006-06-28 Thread Chris
Mark Steudel wrote: So I'm trying to run some system commands on the windows box I am working on. And I am getting "Unable to fork" errors. So after some googling I see that its because the internet guest user needs access to cmd.exe, my question is how safe is it to enable this on a production/s

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Micky Hulse
Lol! Omg, you guys make reading my email so much more fun! Cheers! Micky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Calculations and exponents in languages

2006-06-28 Thread John Gunther
Algol used ^ More common, historically, is the use of ** as the exponentiation operator: Fortran, PL/I, perl, python Curiously, many modern languages -- inexplicably -- don't have an exponentiation operator: C, Java, Javascript, PHP John Gunther Robin Vickery wrote: On 28/06/06, [EMAIL P

[PHP] RE: modify xml before parse

2006-06-28 Thread Yeo Wee Tat
Hi Adam, I can modify the xml file without any error , however when I tried to unserializer the xml file using PEAR:XML , it gave the error message below. I have attached my code for your perusal. Any ideas ? thanks /", "", $xml); $filehandle = fopen($xmlfile, 'wb'); $ok = fwrite($filehandle

Re: [PHP] RE: modify xml before parse

2006-06-28 Thread Chris
Yeo Wee Tat wrote: Hi Adam, I can modify the xml file without any error , however when I tried to unserializer the xml file using PEAR:XML , it gave the error message below. Ask the pear list. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://ww

RE: [PHP] RE: modify xml before parse

2006-06-28 Thread Yeo Wee Tat
Thanks found the problem. Yeo Wee Tat Tel: +65-62730049 Fax: +65-62734934 Cxrus Solutions Pte Ltd (Singapore . Thailand) 1003 Bukit Merah Central #05-20 Singapore 159836 System Integration . Business Solutions . Linux Simplified -Original Message- From: Chris [mailto:[EMAIL PROTECTED

[PHP] How should we use PHPunit2

2006-06-28 Thread suma parakala
Hi Can anyone please tell me one simple tutorial to learn phpunit2. I have down loaded phpunit2 . There are many things in that. I am new to testing and oo. Kindly tell me one simple tutorial Thanks Suma _ Sexy, sultry, sensuou

Re: [PHP] How should we use PHPunit2

2006-06-28 Thread Chris
suma parakala wrote: Hi Can anyone please tell me one simple tutorial to learn phpunit2. I have down loaded phpunit2 . There are many things in that. I am new to testing and oo. Do you know how to use a search engine? http://www.phpunit.de/wiki/Presentations -- Postgresql & php tutorials h

[PHP] pdf

2006-06-28 Thread weetat
Hi all , I am using PHP 4.3.2 and MYSQL database. I need to convert the sql query to Adobe PDF format. Any one have any suggestion how to do this? I have search phpclasses , found SQL2PdfReport classes , however it gave error message as shown below : "Error in opening pdf " Lookup

Re: [PHP] pdf

2006-06-28 Thread Jyry Kuukkanen
Hello On Thu, 29 Jun 2006, weetat wrote: > Hi all , > > I am using PHP 4.3.2 and MYSQL database. > > I need to convert the sql query to Adobe PDF format. > Any one have any suggestion how to do this? I have used fpdf (http://www.fpdf.org/) in order to create PDF documents with PHP an

<    1   2