How to add php script in 9 version
Autor: Santhoshkumar G.
Visitado 6872,
Seguidores 2,
Compartilhado 0
how to add php script. I wanted to add php scrit in a page but unable to do it. please guide me.
Publicado em
Hello,
In order to make use of custom PHP code inside a page you need to:
Hope this helps
Autor
tried but not working. please do something. atleast give an option to include php. Please think seriously on this as most of users will benefited with this.
Hello Santhoshkumar,
It should work, what error do you get? Could you please expain the steps you take in order to reach the result? thank you
Autor
The script calculates horoscope. we ned to give input like date, time etc... after submitting it shows birth chart. I have pasted total sctipt in html widget. it dispayed form, but after submitting, nothing coming.
You have to change the extension of the page where the HTML widget is installed.
As Michele told you above:
Go in step 2, select the page that holds your HTML widget, click on the Page Properties icon, click in the Expert tab, and change the File name format from the default Html to php.
Save and export.
It should work.
Php code will run in php pages...
B
Autor
I have did that one also, no use. Main problem is websitex5 not changing the code in to php if we change extension, only extension changing, not the html source code, 2nd thing is if we use html widget, its becoming like frame, which is not fitting in site properly and looking ugly. why dont you work on this. this is a major problem with x5. coming to php issue, i am attching the file, you check it yourself, and then give me the solution. you need to run this on localhost or online to see result. it contains 2 files, 1 php and other exe to run the php file. plz put these 2 in same folder. I need to fit that php file with my new x5 site.
Use the iFrames provided by the Astrotheme company:
www.templarwebsites.co.uk/test.html
This is the most simplest and effective way of integrating with X5!!
.
www.frankscybercafe.com
.
Autor
please let me know how to add iframe in x5 9
Hello Santhoshkumar,
you can use the Html & Widgets object in order to use your custom code, hence you can use it for adding iframe also.
Hope this helps
Autor
no use, tried with iframes also, not working. Please try with files i have sent to you, then you can understand the problem.
Autor
working now. thanks