free ebook php

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...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-12-2005
freaky.irish@gmail.com
 
Posts: n/a
Default free ebook php

free ebook php at http://www.free-itebooks.com

Reply With Quote
  #2 (permalink)  
Old 02-12-2005
Andy Hassall
 
Posts: n/a
Default Re: free ebook php

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
Reply With Quote
  #3 (permalink)  
Old 02-13-2005
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default short_tags are evil? (Was Re: free ebook php)

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/

Reply With Quote
  #4 (permalink)  
Old 02-13-2005
Andy Hassall
 
Posts: n/a
Default Re: short_tags are evil? (Was Re: free ebook php)

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
Reply With Quote
  #5 (permalink)  
Old 02-13-2005
Dani CS
 
Posts: n/a
Default Re: short_tags are evil? (Was Re: free ebook php)

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 <%.
Reply With Quote
  #6 (permalink)  
Old 02-26-2005
Adler Brediks Medrado
 
Posts: n/a
Default Re: free ebook php

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0