Re: Php - "No input file specified." when i try to run a php script on a web server



Wow. Thanks!

But it's hosted on a web hosting company at the moment. How are we going to
find out the details?

We have done our part to develop the scripts and we are ..sort of expecting
the scripts to work. It's fine on all of our development machines.



"d43m0n AT shaw DOT ca" <barryd.it@xxxxxxxxx> wrote in message
news:1169917420.572504.64570@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
You should paste more information... including where php is located,
and where your php file is located, usually, with windows you have to
add php to the %PATH, within the autoexec.bat

Otherwise, you'll need to manually specify it everytime you execute a
file.

try:

php /path/to/your/script.php | php5 /path/to/your/script.php
/usr/bin/php /path/to/your/script.php | /usr/bin/php5 /path/to/your/
script.php

Or if your on windows, you'll need to find where your php directory is
located.

Please specify if your using this "Web based php or CLI", beacause
that sort of error is only created directly from the php preprocessor,
and Apache normally checks if the file exists first, and then handles
execution of the preprocessor and then sends back the results to
Apache, which is then transfered to the client over HTTP..

On Jan 28, 12:08 am, "Eric Layman" <erricson@lays> wrote:
Hi,

Our webhost is setup but when we try to run a php script, we will get a
"No
input file specified." instead.

This is the server signature:

Apache/2.0.58 (Unix) mod_ssl/2.0.58 OpenSSL/0.9.7e PHP/5.1.4 Server

How can we rectify this problem?

Thanks

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com




Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
.



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)