[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
I downloaded the PHP source and obtained the default, untainted php.ini file. The following is a snippet:
; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = On
By default, 'short open' tag (sometimes referred to as an ASP tag) is on. Perhaps this should be checked? At any rate, I think it might be a good idea to open the php code with <?php just to test.On 3/30/07, Marc Zucchelli < marcz908@yahoo.com> wrote:Actually, I could be wrong, I don't have a default php.ini file handy. I think <? ?> does NOT work by default, and you have to change a setting in php.ini to get it to work. <?php ?> will always work.
Alex Launi <socialrevolutionary@comcast.net> wrote:-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
definitely works, granted it only saves 3 characters, it's nice
to use if you're going to stop php and use strictly html, and then
resume php. for standards.
- --Alex Launi
Brian Stempin wrote:
> Oh, I wasn't aware of that. I've never seen a book use that syntax
> before. I've always seen it explicitly stated.
>
> On 3/30/07, *Michael Schultheiss *> > wrote:
>
> Brian Stempin wrote:
> > True. I was just trying to emphasize that 'php' was missing
> from the
> > original post.
>
> is shorthand that should also work.
>
___________________________________________________________________________
>
> Philadelphia Linux Users Group
> -- http://www.phillylinux.org
> Announcements -
> http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion --
> http://lists.phillylinux.org/mailman/listinfo/plug
>
>
>
> ----------------------------------------------------------------------
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGDRhUxjZHIJL2QfARAlCbAJ9sAmdRQUfHmgkyt6/q1ca5rjhp8QCgjp0S
XFzLDxDFw3pmzdxEOGqoEXw=
=mujF
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug