Re: [PHP] E_ALL | E_STRICT

2006-08-25 Thread Andries Seutens

tedd schreef:

Jochem:

So, what's the verdict, is this Okay:

ini_set('error_reporting', E_ALL | E_STRICT);

or should I lose the E_STRICT, or should it be something else?

I want to turn as much error checking as I can. I'm not using php 5, 
just yet.


Thanks.

tedd


Hi Tedd,

E_STRICT isn't available prior to PHP 5.

Best regards,


Andries Seutens
Belgium
http://andries.systray.be

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] a quick one - case insensitive string comparison

2006-08-10 Thread Andries Seutens

Ross schreef:

I want to get a positive resuly comparing

Apple with aPPLE

or CaR with car


anyone know if there is a built in php function?


R. 
  


if (strtolower('Apple') === strtolower('aPPLE')) {
  echo 'compared successfull case insensitive';
}


Regards,

Andriesss

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Frameworks - Opinion

2006-08-02 Thread Andries Seutens

Hidayet Dogan schreef:

What about CakePHP and Code Igniter?

I know working with Code Igniter easier than CakePHP, but CakePHP is 
more capable than Code Igniter.


Hi,

Lately frameworks have become a real *hype*. Currently, there are more 
than 40 frameworks out there, and new ones are being released daily.


This gives us a wide variety of frameworks to choose from, and pick the 
one that fits to most of our needs.


This comparison chart gives you an overview of the functionality each 
framework offers:


http://www.phpit.net/demo/framework%20comparison/chart.php

Personally, I think that the community at the Zend Framework is doing a 
pretty good job. Everything is coded very well, with a lot of 
possibilities to extend things to your personal needs (if nessecary).


Regards,


Andries Seutens
Belgium
http://andries.systray.be

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Printer Friendly

2006-08-02 Thread Andries Seutens

weetat schreef:

Hi all ,

  I have a web page which need to be print to the printer.
  However when i use javascript window print() function , the page and 
alignment is out.


  Read on the net , suggest that i need to setup a printer friendly 
page in the web page.


  Any ideas how i going to accomplished it in php ?

Thanks


This depends on where your content comes from, and the way you have 
setup your output to be generated.


A simple example would be to setup a new page where you display the same 
content, but with all the html tags stripped...


Best regards,

Andries Seutens
Belgium
http://andries.systray.be

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php