All we know that server side coding can be delimited using any one of below two ways.
1. <? some code ?>
2. <?php some code ?>
It is always good practice to follow the second way, some servers may not allow the first way.
If your already existing code uses first way in many files, you can change the server setting to give support for the first way. It can be done by setting below option in php.ini file.
short_open_tag=on;
Use phpinfo() to find the location of php.ini file in your machine.
More Articles...
Saturday, April 25, 2009
Resolving delimiter issue in PHP
Related Posts
- Difference between creating objects in PHP and Python
- Sample PHP code for using Google Gemini API
- PHP developer Career opportunities suggested by Gemini
- Challenges in Developing and Testing PHP Script for Automatic Resume Submission
- PHP Code to have different number of rows in first page of PDF file generated by FPDF Library
Search This Blog

AI Course | Bundle Offer | Unlocking AI | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | SQL ebook | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
No comments:
Post a Comment