15.04.2013, 15:15 | #1 |
Новичок
Регистрация: 15.04.2013
Сообщений: 17
Вес репутации: 0
|
problems to Install the PHP code
Hello,
I have 500 websites in travel area. I would like to include the code to displays ads to test the waters and if evrything fine to extend to all 500. All my websites are simple .html but supports PHP. So I have selected the code for PHP. I have uploaded it the folder. Now I have to insert the code to display link text. Here I have the problem because I don't understand very well what I should do. On the help page is saying that first to add this code: <? PHP if new SAPE_client (); ?> When I add this code my website give me an error: Parse error: syntax error, unexpected T_NEW, expecting '(' in /home/strcentr/public_html/index.html on line 8 Thank you for any answer. UnikBIT |
15.04.2013, 15:44 | #2 |
Эксперт
Регистрация: 03.07.2007
Адрес: Chinatown
Сообщений: 7,265
Вес репутации: 609
|
give code in index.html on line 8
Добавлено через 1 минуту Sorry, did not see the main Последний раз редактировалось MonAmur; 15.04.2013 в 15:44. Причина: Добавлено сообщение |
15.04.2013, 17:23 | #6 |
Добрый модератор
Регистрация: 09.07.2007
Адрес: глобус Украины
Сообщений: 27,600
Вес репутации: 1025
|
The code to paste into page:
PHP код:
__________________
Правильный хостинг. В личке бесплатно не отвечаю обычно. |
15.04.2013, 18:01 | #9 |
Эксперт
Регистрация: 03.07.2007
Адрес: Chinatown
Сообщений: 7,265
Вес репутации: 609
|
|
15.04.2013, 22:52 | #10 |
Новичок
Регистрация: 15.04.2013
Сообщений: 17
Вес репутации: 0
|
@zhegloff is working your code, no errors so far
Добавлено через 1 минуту now I would like to display ads so I have added this code <? echo $sape->return_links(1); ?> but.. got the error Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/strcentr/public_html/index.html on line 258 on line 258 is <? echo $sape->return_links(1); ?> thx again Последний раз редактировалось unikbit; 15.04.2013 в 22:52. Причина: Добавлено сообщение |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
CODE 4106? | ThisNameWasFree | Ошибки при работе с системой | 2 | 01.05.2012 11:16 |
chek code | SoFuWa | Ошибки при работе с системой | 9 | 06.08.2010 16:59 |
Ошибка при install | noggano77777 | Курилка | 13 | 18.06.2010 14:34 |
Check code | jay-forum | Вопросы от новичков | 3 | 01.07.2008 02:19 |
<!--check code--> | kreker | Вопросы по работе системы | 2 | 23.08.2007 21:14 |
Часовой пояс GMT +3, время: 00:45.