Odd php execution problem...



Here's what I'm running:

PHP Version 5.1.2
Apache 2.2.0
Fedora Core 4

Here's my problem:

I'm able to run PHP scripts without issue, as long as the PHP chunks
within the document are declared with "<?php". However, many programs
declare the PHP portions with "<?=". When I attempt to run code that's
written this way, the code is printed, not executed by the server.

If both styles are included in the same .php document, the "<?php"
stuff runs, but the "<?=" portions do not.

I'm sure there's an obvious solution, but I'm pulling my hair out. Any
advice?

Thanks,
ZaneK

.



Relevant Pages

  • Re: how to get a javascript function value stored in a database using php---really imp.
    ... Joakim Braun wrote: ... you make a PHP document which harvests ... This is not a javascript question. ...
    (comp.lang.javascript)
  • Problem uploading files
    ... I am working with php and testing some data handling capabilities. ... am trying to use an html form to upload a file to my php document. ...
    (comp.infosystems.www.servers.unix)
  • Re: Need Help With a Form on a Website
    ... I'll check with our IT Support if our server has it. ... does it automatically pick up the php document? ... if i should use those (some have the credit links at the bottom etc). ... Ensure your server is set up to use PHP. ...
    (comp.lang.php)
  • Re: Odd php execution problem...
    ... Apache 2.2.0 ... Fedora Core 4 ... I'm able to run PHP scripts without issue, as long as the PHP chunks ... If both styles are included in the same .php document, ...
    (php.general)
  • RE: PHP operation Problem
    ... It's happening on Fedora core 2, I'm not running Selinux, unless FC turned ... Nothing of significance in the message log, the logs simply show the script ... >> It seems that some of my php scripts don't get executed ...
    (Fedora)