[arch-projects] AUR: Some markup templates

eliott eliott at cactuswax.net
Sun Oct 7 19:48:05 EDT 2007


On 10/4/07, Joerie de Gram <j.de.gram at gmail.com> wrote:
> On 10/5/07, eliott <eliott at cactuswax.net> wrote:
> > I haven't check your patch though..so I don't know why it would be
> > causing problems.
>
> A <?xml tag is being used, which is interpreted by PHP as PHP code.
> There are only two solutions:
>
> 1. Turn short tags off.
> 2. Hack it by using <?php echo '<?'; ?>
>

php should only consider "<? foo" a short tag, not "<?foo" . note the
space after the ? in the first one.

Anyway, turning off php short tags is a good idea regardless.




More information about the arch-projects mailing list