I have a file webform.php that when clicked it open-up web form.
How do I place this into placeholder when creating a site with Xara??
I have a file webform.php that when clicked it open-up web form.
How do I place this into placeholder when creating a site with Xara??
That depends on what code this script produces.
1. If it produces complete HTML page (with head and body sections), then you'll have to place it within the iframe in the placeholder.
2. If it only produces HTML form element (or other not complete html file), then you have to use PHP include and export your page as PHP.
John.
Here is the CODE:
thanks man!Code:<Iframe src="PHP_FILE.php" width=100% height=100% frameborder=no scrolling=no></Iframe>
Or...
<?php
echo "yourcode";
?>
export and rename extension of your index.html file to index.php
when you export your website you can change the extension of your file to php, but w6 always save as .html (bug??)
This was explained MANY times here. You can not change the extension of the firs page to anything except htm or html, but you can have any extensions you like for the rest of your pages. So if you don't want to have index.htm, simply leave the first page blank and give it blank.htm name or something, while give the second page name index.php or whatever you need.
John.
yep.. you have so reason..
so a solution for that..
i put in one placeholder in my first html
X=delay timeCode:<meta http-equiv='refresh' content='X;URL=mypage.php'>
mypage.php= my custom php page.
i understand
"This was explained MANY" R: sorry..
Bookmarks