Hello, i wanna ask if here is any way to save website as php, not htm.
Printable View
Hello, i wanna ask if here is any way to save website as php, not htm.
Welcome, sakulmore.
Yes, you can: https://help.xara.com/article/423-ca...-php-into-xara
sakulmore - PHP is a different language than HTML. XARA only exports HTML.
sakulmore, Boy has indicated how you can set up a PHP initialisation section.
You can then add ".php" to the filename of index, accepting the Xara Rename dialog.
You should still have a first page named index; Xara expects a blank index.htm file.
Thereafter, you add in Placeholders of PHP code into your design.
All this is client-side, you still need PHP on your server and server scripts.
At the server, change the .htaccess file in the root directory to:
- AddType application/x-httpd-php .htm .html
Acorn
Thanks all for advices :) .
BJ, anyone can say anything on TG; they just might not be right and the Mods have to right to remove salacious material. lordgoku appears to be a one-shot wonder that we refer to as a drive-past. It is difficult for TGers not to rail up, the better option is to stick to clear advice instead.
In lordgoku's case, he is also a spammer who added a hidden link. He is now Toast.
Acorn
good catch I think I missed that...