Re: file which tries to find itself and can't...




kay wrote:
if the file is in the same directory as script.... then..

<?php
if(file_exists("test.php"))print("file is here!");
?>

MUST work :-)

Well, I think my ISP has any kind of weird php.ini file which prevents
even the basic things like file_exists

http://200.58.112.233/~ke000067/myself.php

<?PHP
if(file_exists("myself.php")){

print("file is here!");

}else{
print ("Incredible :(");
}

?>

I cant believe ;(

regards - jm

.



Relevant Pages

  • include failing to include...
    ... I have a virtual server with an ISP and I had a web based application ... are no error messages in the error log file, ... I know my pages are being caught by the php engine because I can call ...
    (comp.lang.php)
  • Re: How do I insert a cgi script into Publisher page?
    ... As you were working out your PHP form, did you happen to run across this ... My host is www.swissnetsolutions.ch and yes, ... I was told that they do not have a cgi form ... Though Publisher uses 'ISP' I think that may be confusing to some ...
    (microsoft.public.publisher.webdesign)
  • Re: Mail que system written in PHP for Linux?
    ... Manuel Lemos wrote: ... deliveries if the average delivery time is taking more than your ISP allows. ... PHP Classes - Free ready to use OOP components written in PHP ... feedback forms, registration forms, newsletter, forgot passwords ect.. ...
    (alt.php)
  • Re: login example
    ... perl or cgi or php. ... As I know then free hostings not allow to run cgi, php or MySQL. ... You must select some cheap provider or get static and public IP address from your ISP and run your own webserver at home. ...
    (comp.lang.perl.misc)
  • Re: Arrays in html pages?
    ... > suitable html way of making this happen. ... Hmm, well if the only thing you need to do is make a list of textboxes and ... wouldn't necessarily need PHP. ... > either my ISP doesn't appear to carry one or I'm just ...
    (alt.php)