php Tags
<?
print("welcome to php");
?>
// universal style tag
<?php
// php script
?>
short open tag
<?
// php script
?>
//asp style tag
<%
//php script
%>
<script language="php">
//php script
</script>
// script type tag
By default Xampp 1.7.2 will not execute asp style tags and short open tags .Because php.ini we have to configuration direction related to this tags those are
1) Asp_tags , short_open_tags , the value of this tag is off by change this value to "ON" we can execute this tag.
If we change the value of php.ini , php.conf direction we have to save the files then restart the web server.
<?php
print("universal style");
?>
<%
print("asp style");
%>
<?
print("short open tag");
?>
<script language="php">
print("script style");
</script>
<?
print("welcome to php");
?>
// universal style tag
<?php
// php script
?>
short open tag
<?
// php script
?>
//asp style tag
<%
//php script
%>
<script language="php">
//php script
</script>
// script type tag
By default Xampp 1.7.2 will not execute asp style tags and short open tags .Because php.ini we have to configuration direction related to this tags those are
1) Asp_tags , short_open_tags , the value of this tag is off by change this value to "ON" we can execute this tag.
If we change the value of php.ini , php.conf direction we have to save the files then restart the web server.
<?php
print("universal style");
?>
<%
print("asp style");
%>
<?
print("short open tag");
?>
<script language="php">
print("script style");
</script>
0 comments: