How to add php script in 9 version
Auteur : Santhoshkumar G.
Visité 6938,
Followers 2,
Partagé 0
how to add php script. I wanted to add php scrit in a page but unable to do it. please guide me.
Posté le
Hello,
In order to make use of custom PHP code inside a page you need to:
Hope this helps
Auteur
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
Auteur
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
Auteur
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
.
Auteur
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
Auteur
no use, tried with iframes also, not working. Please try with files i have sent to you, then you can understand the problem.
Auteur
working now. thanks