This is a discussion on free ebook php within the PHP Language forums, part of the PHP Programming Forums category; free ebook php at http://www.free-itebooks.com...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
|
|
|||
|
On 12 Feb 2005 08:47:54 -0800, freaky.irish@gmail.com wrote:
>free ebook php at http://www.free-itebooks.com Don't bother. From a brief glance it's terrible, since it uses the twin evils of register_globals and short_tags. Far better to go to: http://www.hudzilla.org/phpbook/ -- Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk> <http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool |
|
|||
|
Andy Hassall wrote:
> On 12 Feb 2005 08:47:54 -0800, freaky.irish@gmail.com wrote: > > >free ebook php at http://www.free-itebooks.com > > Don't bother. From a brief glance it's terrible, since it uses the twin evils > of register_globals and short_tags. <snip> I certainly don't understand why short_tags are evil. I also see that the judges of Zend contest are against to it--which IMHO is totally silly. -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/ |
|
|||
|
On 13 Feb 2005 09:59:43 -0800, "R. Rajesh Jeba Anbiah"
<ng4rrjanbiah@rediffmail.com> wrote: >Andy Hassall wrote: >> On 12 Feb 2005 08:47:54 -0800, freaky.irish@gmail.com wrote: >> >> >free ebook php at http://www.free-itebooks.com >> >> Don't bother. From a brief glance it's terrible, since it uses the >twin evils >> of register_globals and short_tags. > <snip> > > I certainly don't understand why short_tags are evil. I also see >that the judges of Zend contest are against to it--which IMHO is >totally silly. In short: XML (either XML itself, or XHTML). short_tags get confused with the the XML prolog forcing you to output it with 'print' rather than just as literal text outside the PHP. -- Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk> <http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool |
|
|||
|
R. Rajesh Jeba Anbiah wrote:
> Andy Hassall wrote: > >>On 12 Feb 2005 08:47:54 -0800, freaky.irish@gmail.com wrote: >> >> >>>free ebook php at http://www.free-itebooks.com >> >> Don't bother. From a brief glance it's terrible, since it uses the > > twin evils > >>of register_globals and short_tags. > > <snip> > > I certainly don't understand why short_tags are evil. I also see > that the judges of Zend contest are against to it--which IMHO is > totally silly. It's easy: If you use short-tags, your scripts will break when moved between different servers with different configurations. If you use <?php ?> they won't break. As a side note, you can process your scripts with XML tools if you use <?php tags, but not if you use <? or <%. |
|
|||
|
Andy Hassall <andy@andyh.co.uk> wrote in message news:<9qgs019d2v7vb6q5ind364nhev97b5t4cf@4ax.com>. ..
> On 12 Feb 2005 08:47:54 -0800, freaky.irish@gmail.com wrote: > > >free ebook php at http://www.free-itebooks.com > > Don't bother. From a brief glance it's terrible, since it uses the twin evils > of register_globals and short_tags. > > Far better to go to: http://www.hudzilla.org/phpbook/ I like this book. Very nice. Thanks! adler brediks medrado Brasilia-DF-Brasil |