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 (5)
- php source visible (3)
- php code is visible (3)
- php source visible in browser (2)
- php code visible in browser (2)
- is php code visible (2)
- code php visible (2)
- php scripts are not executed (2)
- runtimeerror: fpdf error: alpha channel not supported: (1)
- php tags not executed by browser (1)
- php tags visible in source (1)
- php sours of page still visible (1)
- PHP TAG NOT EXECUTED (1)
- php script displayed but not executed (1)
- php source visible browser (1)
- php source not visaible (1)
- php source codes are visible (1)
- php source code not executed jsp (1)
- php short tags visible (1)
- php scripts visible (1)
- php script source visible (1)
- php visible (1)
- php visible in html source (1)
- why some php code visible in my 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 is php executed (1)
- visible php source code (1)
- visible php code in page source (1)
- source php visible (1)
- search data from mysql on keypress in php (1)
- script visible pada php (1)
- script invisible php/visichat (1)
- phpcode visible (1)
- php visible on browser (1)
- php visible in the source (1)
- php visible in source (1)
- php visible in html source why (1)
You will also be interested in ,
- Tag cloud using php, mysql and ajax with filter
- Advanced yahoo login without CURL in php
- Simple php watermark script
- Store Data In Remote DataBase Using cUrl or Execute a HTTP POST Using PHP CURL
- Find out which mode php is running CGI or DSO mode
- HTML E-mail Using PHP
- Find Absolute Path Of A File Or Directory Using PHP
- Finding size of a directory using php
- Get browser language using php
- Change background color using php for a webpage


