Question: |
I found on your website php script (after checking the operability of USBwebserver`e), but on the website it is not displayed |
Answer: |
Hello. we kindly request results in a ticket full information about the problem. What script s which site is it? Give specific links, and error, and the issue will be resolved as quickly as possible. |
Question: |
In General, I was tied to a website script \"basket\" in other words added feature, the online store, but the basket does not appear in the right place. Doing all of this weird instructions:1. Unzip the folder containing the script to the server in the root directory (where the main page of your website)2. In the admin panel in your hosting or in any ftp client, set the attributes of all files and folders of the script to 777 (or sufficient to run php scripts on your host-this information, it appears your hosting provider) 3. Here in the control panel at http://ваш_сайт/папка_скрипта/admin (the script folder is the default bas) Login admin Password 111 Change the username and password in the Username and password.4. On your chosen page, where you want to see the basket, place this code (in either case, the code should be in the above directory)//Installation of the basket.$strpath=\"bas/index.php\";$adrself=getcwd();for($i=0; $i<100; $i++) { if(file_exists(\"public_html\"))break; if (!file_exists($strpath)) chdir(\"..\"); else break; }include ($strpath);chdir($adrself); ?>5. Please note file .htaccess located in the archive script. It is necessary if you place the script code in an html page!Place it in the root of the site. If you have root already has such a file, copy the lines from my file. If this does not help, please contact your hosting provider with the question: how to run a php script on an html page. |
Question: |
Tested on a private server, everything works |
Answer: |
never put the rights 777, they are dangerous. the rights to folders should only be 755 , files 644 on vapro php in html http://www.erahost.ru/faq.php Tell me how to make html files be processed as php? answer the question
Code .htaccess add the line AddHandler application/x-httpd-php .htm .html
AddHandler application/x-httpd-php5 .htm .html |
Question: |
I tried that, no results |
Answer: |
What exactly are you pointing? Provide a link to the page where you can see the problem. |
Question: |
Thank you, found the error, everything works fine |
Answer: |
OK
|
|