WebSite X5Help Center

 
MD Kamrul Hassan
MD Kamrul Hassan
User

How to change file extension from html to php?  en

Автор: MD Kamrul Hassan
Просмотрено 4090, Подписчики 1, Размещенный 0  
Тэги: file,textension

In some of my page, i have php code. and if the file extension is html php code is not working..

so, i need to change the file extension to php from html? but how?

i have tried to set file name as "example.php" but software set it as "example.php.html' and that's not working..

so, any help would be highly appreciated..

thanks in advance..

best regards

Размещено
8 Ответы - 1 Полезно - 1 Корректно
Der Zwoemti
Der Zwoemti
Moderator

Same window - go to last tab

Press f1 for help

Читать больше
Размещено От Der Zwoemti
MD Kamrul Hassan
MD Kamrul Hassan
User
Автор

what does that mean.. ? i have read help file already but didn't found anyting special :( that could solve the issue..

Читать больше
Размещено От MD Kamrul Hassan
MD Kamrul Hassan
MD Kamrul Hassan
User
Автор

and yes in file name format i set "php" but softwae still save as html :( and thus script not works :(

Читать больше
Размещено От MD Kamrul Hassan
Incomedia
Claudio D.
Incomedia

Hello,

You need go to in step 2 - Sitemap creation - select the page you wantto change the extension and open the "Page Properties". In the Page Properties window open the "Expert" tab and there you can choose wich extension you want to use like you see in the picture in attachment.

Please let me know if I can help you any further! Thank you!

Читать больше
Размещено От Claudio D.
MD Kamrul Hassan
MD Kamrul Hassan
User
Автор

thanks a lot for your reply sir..

for your kind information, i have extactly doen that.. :) but still file extension .. is "html" :(

whatever file type i set there (in the screenshot) you shows.. result file extenion is always html :(

any idea?

please sir, leave a reply asap

best regards

Читать больше
Размещено От MD Kamrul Hassan
Der Zwoemti
Der Zwoemti
Moderator

Only online is php generated!

Читать больше
Размещено От Der Zwoemti
MD Kamrul Hassan
MD Kamrul Hassan
User
Автор

???

Читать больше
Размещено От MD Kamrul Hassan
MD Kamrul Hassan
MD Kamrul Hassan
User
Автор

i see. i m sorry. now i understand. if i export the proejct (to web/disk) only then it change the file extension to php right? i have noticed that..

i was so confued.. because i have changed my wamp server location to preview folder and each page extenson was html thus not working properly..

but now i have understand :)

Читать больше
Размещено От MD Kamrul Hassan