You are here: why is which not working? « PHP Programming Language « IT news, forums, messages
why is which not working?

Posted by yusuf on 09/27/06 05:24

Hi,

I uploaded the following file to my site:

<?php
header("Content-type: text/plain");

echo "latex is at: ";
system("which latex");

echo "ls is at: ";
system("which ls");

echo "convert is at: ";
system("which convert");

echo "gs is at: ";
system("which gs");

?>

and none of the paths are being printed out, only the echo statements
are... I would think atleast ls should show up? Execute permissions
have been given to it too.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация