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



Thanks.

The problem is,

It doesn't run any files with php extension. It will say "no input file
specified"

a simple

<?php echo "hello world";?>

doesn't work

"Carl Pearson" <jman_spam_trap_.org@xxxxxxxxx> wrote in message
news:45bbbbd4$0$24511$4c368faf@xxxxxxxxxxxxxxxxx
Eric Layman wrote:
Wow. Thanks!

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

Put this in a file with a .php extension:

<?php phpinfo(); ?>

Upload it to your server and call it from the browser.

If it doesn't work, there's something wrong with the server's PHP setup
(unlikely though that prospect is if you're on a shared host).

If it does work, your script probably has some hard-coded paths in it that
need to be fixed.



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