Posted: Sat May 14, 2005 7:51 pm
Garvin,
I am posting here my communication with one of my admins. Please let me know what you think.
Also, I tried the simple php file you gave me and it worked when I run it on command line.
Thanks,
Shayan
==============================================
> Guys,
>
> I am having trouble using realpath() function in my pages hosted on Leary.
> The page is hosted on http://leary.csoft.net/~shayan/ideas/ and the source
> and a discussion about the problem can be found at
> http://www.s9y.org/forums/viewtopic.php?p=7923#7923. I would really
> appreciate if you guys could take a look at the problem.
>
The realpath call in -
<?php
echo realpath('/whatever');
?>
works for all non-directory accounts. I am getting 'No input file specified'
with http://leary.csoft.net/~shayan/ideas/real.php.
It may be a problem with httpd.conf or it may be a problem associated with
the switch to php-cgi.
Did you try initializing this variable with ini_set()?
http://us4.php.net/manual/en/function.ini-set.php
> Regards,
> Shayan
nekhbet
I am posting here my communication with one of my admins. Please let me know what you think.
Also, I tried the simple php file you gave me and it worked when I run it on command line.
Thanks,
Shayan
==============================================
> Guys,
>
> I am having trouble using realpath() function in my pages hosted on Leary.
> The page is hosted on http://leary.csoft.net/~shayan/ideas/ and the source
> and a discussion about the problem can be found at
> http://www.s9y.org/forums/viewtopic.php?p=7923#7923. I would really
> appreciate if you guys could take a look at the problem.
>
The realpath call in -
<?php
echo realpath('/whatever');
?>
works for all non-directory accounts. I am getting 'No input file specified'
with http://leary.csoft.net/~shayan/ideas/real.php.
It may be a problem with httpd.conf or it may be a problem associated with
the switch to php-cgi.
Did you try initializing this variable with ini_set()?
http://us4.php.net/manual/en/function.ini-set.php
> Regards,
> Shayan
nekhbet