How To Directly Integrate A Php-page Into Incomedia Website?
Autor: Alexandre D.
Besucht 4914,
Followers 2,
Geteilt 33
Hi
How can I directly integrate PHP-pages into a normal Incomedia-HTML-Website?
For example, like this:
//<? include("tradutempo.de/multi/multi-level-menue.php"); ?>
?
As far as I could test it, this doesn't work... : (
Gepostet am
If that line of code has to be inserted at line 1 of a particular, select your page, click on the Page Property Icon, Expert tab, and change the page extension from the default html to php
Then, insert your code Before HTML tags, by choosing the appropriate option in the drop down menu.
Save and upload.
If you want to insert pph code in your pages, preferably use an HTML object to do it. You can use a Text or table Object to insert php code and enable the HTML code option </>, but some php characters like the { and ! are incorrectly recognized by the text editor and generate error.
Always change the extension of a page from html to php, if you want those php code to work.
B
Change your page to PHP (Map Creation/Page Properties)
www.frankscybercafe.com
SORRY BMT POSTED THE SAME TIME!!!
lol !
Autor
hmmm... following your above instructions, at the time I'm getting just this:
http://tradutempo.de/php/php.php
Autor
...and what I really want to do is to integrate the result of this form Application in my INCOMEDIA-website:
http://codecanyon.net/item/unlimited-form-builder-manager/489367
Autor
Thanks guys, I'm getting much better results than I thought:
1 - After trying BMT 3000 and Cheeky Man instructions whithout success, using the code snippet: <? include("tradutempo.de/multi/multi-level-menue.php"); ?>,
I tried to open the file with a web editor (in this case DREAMWEAVER) and came to following conclusion:
Allthough it is a PHP page, it starts and endes like a normal HTML one, but it is a PHP and not an HTML so...
...The first problem now is to identify WHERE did I insert first my CODE and why doesn't work...
I must confess that in this case, REQUIRE and INCLUDE won't bring me any result.
I needed instead to include the whole file as in
http://tradutempo.de/multi/multi-level-menue.php
Where?
Right here:
The result is quite nice, as you can see... Allthough this was a manual approach:
http://tradutempo.de/php2/php.php
I guess I can do this directly, inserting the PHP-code into an HTML-Object
Now I just need to work the desired code. ;)
Best regards!
I am intrigued about the drop-down menu on the Page Properties where BMT said you may select "Before HTML Pages" as one of the options. Is this new in Version 9? I am using Version 8 and do not have that option. I have a php file that MUST be in line 1 on the page to work properly. If I insert the php script with Version 8 on the Page Properties advanced area as a php page, it inserts in into the HEAD of the page (of course). The php script comes out further down the page in the code and does not work. If I ftp to the server, edit the page and move the code to the line 1 position as needed, it works perfectly. Everything is fine until I update the site, even if I only select the partial update, and then the pages are overwritten and the php script moved back to the HEAD area. Will Version 9 solve this if I upgrade, or do you have any other suggestions? I am using version 8.0.16.