Re: [PHP] Php CLI Parser not working



On Wed, Jul 30, 2008 at 4:53 PM, JJB <onephatcat@xxxxxxxxxxxxx> wrote:

Hi Daniel,

We are running like:
php mailscript.php

The version:

php-v

PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Dec 12 2007 03:51:56)

Did you check what Jim suggested, as well, about short_open_tags?
If your scripts use PHP tags like this:

<?

.... instead of like this:

<?php

.... that's most likely the issue. You can either modify all of
the PHP scripts to use the latter version of tag opening, or you can
modify your php.ini file to set short_open_tags to On (and then
restart Apache for the changes to take effect).

--
</Daniel P. Brown>
Better prices on dedicated servers:
Intel 2.4GHz/60GB/512MB/2TB $49.99/mo.
Intel 3.06GHz/80GB/1GB/2TB $59.99/mo.
Dedicated servers, VPS, and hosting from $2.50/mo.
.



Relevant Pages

  • Re: Web Server Botnets and Server Farms as Attack Platforms
    ... insecure web application written in PHP, although attacks for other ... The main reason for this is that many different PHP applications are ... and you've found your way to execute shell code on the remote web server. ... those scripts were put in place. ...
    (Bugtraq)
  • Re: [Full-disclosure] Web Server Botnets and Server Farms as Attack Platforms
    ... insecure web application written in PHP, although attacks for other ... The main reason for this is that many different PHP applications are ... and you've found your way to execute shell code on the remote web server. ... those scripts were put in place. ...
    (Full-Disclosure)
  • Re: Post with redirect?
    ... redirection...and how to do a post from php (which you said was ... I said it was impossible to redirect from PHP. ... my claim is NOT that you can redirect post data. ... And all you do is post scripts you've collected off the internet. ...
    (comp.lang.php)
  • php mail() sendmail hanging
    ... When hitting php pages that use the mailfunction, I get a 5 second hang ... dnl Uncomment to allow relaying based on your MX records. ... This can allow sites to use your server as a backup MX without ... You can redirect all of the output of your scripts to a function. ...
    (freebsd-questions)
  • Trouble with system() function
    ... PHP manual and have tried everything there, ... tried it on 2003 Server, ... You can redirect all of the output of your scripts to a function. ... A warning appears if the specified function is not defined, ...
    (comp.lang.php)