My PHP code is not executed and its source code is visible in the browser instead, what will be the reason,
This is just because , you need to open your PHP code blocks with
<?phpand not just<?.If you use the short form, you should go through all your PHP files and change it.OR if you want to write php with code block <? then edit your
php.ini file; 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
THANKS.
Incoming search terms:
- php code visible (4)
- php source visible (3)
- php source visible in browser (2)
- is php code visible (2)
- code php visible (2)
- php visible in html source (1)
- php visible (1)
- php tags not executed by browser (1)
- php visible in html source why (1)
- php tag visible in page source why? (1)
- why some php code visible in my browser (1)
- PHP TAG NOT EXECUTED (1)
- php sours of page still visible (1)
- php code visible on browser (1)
- php source not visaible (1)
- php source codes are visible (1)
- php source code not executed jsp (1)
- php visible in source (1)
- php visible in the source (1)
- php visible on browser (1)
- why PHP code visible (1)
- why php code not visible in the browser (1)
- why php code not visible in browser (1)
- why is php visible in page source (1)
- WHERE visible = 1 php (1)
- visible php source code (1)
- visible php code in page source (1)
- visible dalam script php (1)
- source php visible (1)
- search data from mysql on keypress in php (1)
- script visible pada php (1)
- script invisible php/visichat (1)
- runtimeerror: fpdf error: alpha channel not supported: (1)
- phpcode visible (1)
- php short tags visible (1)
- php scripts visible (1)
- php script source visible (1)
- online php contact form code checker (1)
- my php code visible (1)
- my php code is not executed (1)
You will also be interested in ,
- Set xampp:- Apache Mysql Filezilla Mercury Tomcat as a windows service and get xampp to start automatically on boot up
- Import large files in mysql using PhpMyAdmin
- PHP E-mail with attachment
- Captcha using php
- Sort MYSQL data according to the date in php or mysql itself
- XML Parsing Made Easy
- How to run a SQL query in phpMyAdmin
- Post Data To Another Website Using cURL In PHP
- Date in title bar using php
- Apache AddHandler application/x-httpd-php not working?

