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



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.
.



Relevant Pages

  • (no subject)
    ... I am trying to use some of the scripts in the php manual to upload a file. ... It calls and posts to the file processing script correctly. ... exists on my pc, however, phpinfo() says 'upload_tmp_dir' is not set. ...
    (alt.php)
  • problems with php file upload - upload_tmp_dir
    ... I am trying to use some of the scripts in the php manual to upload a file. ... It calls and posts to the file processing script correctly. ... exists on my pc, however, phpinfo() says 'upload_tmp_dir' is not set. ...
    (alt.php)
  • Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs
    ... When you hit the upload button the browser makes a connection to the server and the PHP engine gets invoked to handle the request. ...
    (php.general)
  • Re: file upload problem
    ... I am trying to learn about uploading files with php. ... I made a simple form script and and file up load script. ... The form script gets the file name correctly and seems to pass it to the upload script correctly. ... if I echo ini_getI see ...
    (comp.lang.php)
  • Re: file upload problem
    ... I am trying to learn about uploading files with php. ... I made a simple form script and and file up load script. ... The form script gets the file name correctly and seems to pass it to the upload script correctly. ... if I echo ini_getI see ...
    (comp.lang.php)