When i use qooy.com scripts ,it need to set path . How do I know the path of site_path , upload_path, php_path and config_ini <?php $site_path = "//"; // Path $site_upload_path = "//"; //Path to the uploads directory $php_path = "/usr/local/bin/php"; // PHP Path $config_ini = "/usr/local/lib/php.ini"; // Php.ini Path How do I know the path of site_path , upload_path, php_path and config_ini
I would recommend you ask that in the programming forums. I think that will be answered better there.
By $site_path I assume you want to know in which directory your website is located. This can be done by the following PHP code: <? $site_path = system("pwd"); echo $site_path; ?> To get $php_path: <? $php_path = system("which php"); echo $php_path; ?> This will not work if exec() function in PHP is disabled. Can't help you with the others, though.