''<?php $name=$_get['name'] ?> Welcome to our site,<?=$name?>. We hope you like your stay!!!''
They add simple script parts like ''<?=name?>''! My php parser doesn't parse this parts... How can I fix this??? The php parser parses ''<?php ...code... ?>'' fine but not ''<? ...code... ?> How can I fix this???
I'm currently running windows XP and using wampserver to run php, apache and msql on my pc.
Thankyou very much!!!
Comments:
Feb 27, 2009
- thankyou very much. in the php.ini there is a setting:
; 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
I want to execute java command for a software which is stored on my web server with the help of...
(More)
I want to execute java command for a software which is stored on my web server with the help of command line but this should be executed through php... I have a code as follows,but its not working ,i need to integrate all exec commands. $cmd='cd C:Program FilesApache GroupApache2htdocsmainsphinxsphinx4-1.0beta-binsphinx4-1.0betain'; exec('C:WINNTsystem32cmd.exe'); exec($cmd); exec("java -mx312m -jar wav2text.jar voice_rec.wav>6.txt"); Reply fast>.
Hi there, I am using PHP5, where i need to mail with attachement. exact thing is, am getting the...
(More)
Hi there, I am using PHP5, where i need to mail with attachement. exact thing is, am getting the file in one page through basic input tag with file attribute. in next page am not getting the file path in order to mail it. Please help me.