Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Sep 302010

Use of ASP like tags in PHP


In PHP, you can use ASP-like <% %> tags in addition to the usual <?php ?> tags. But you need to enable it before use.

You need to editing the php.ini

vi /etc/php.ini

And set

asp_tags = 1

Restart your web server if needed.

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>