Combining PHP Pages With HTML Pages.

Hi,
I started building my site in Dreamweaver CS4 using HTML pages, not knowing until now that any pages with interactivity need to be php.
If my site has seven pages, can four of them be HTML, and the rest PHP? If so, are there any special considerations I have to take into account? Is there anything special that would have to be done at any time during the process of creating the PHP pages, uploading to a web host, etc?
If not, is there a way to convert the HTML pages directly to PHP, or do I have to basically start from scratch?
Thank you.

Better to be consistent.  You CAN have php,  htm, html and shtml pages in your site, but this could cause a server conflict if you accidentally upload more than one index page to the same folder.
Simply rename your ***.htm pages to ***.php (F2).
Remove ***.htm pages from testing and remote servers.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com

Similar Messages

  • Can not create template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • Can not build a template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • Integrating Custom page with Standard Page

    Hi
    My Doubt is,
    i m working on iRec Module.
    i m integrating Custom page with Standard Page , Is it will affect the Background running Workflow.
    Thanx

    Hi 781261,
    It seems you are familiar with OTN forums, based on your profile.
    165 posts, 50+ questions and 15 unresolved.
    I hope you know forum etiquettes(you can refer http://forums.oracle.com/forums/ann.jspa?annID=914).
    Close your previous threads if they are answered/you got out of the issue yourself.
    One of your unclosed threads is:
    Re: Can we Fire PPR on DFF?
    regards,
    Anand

  • PHP page with HTML and /HTML DOCTYPE ??

    The sample forms that come with my formmail script start out
    with a <php
    and ?> then has embeded php code within the following
    <html> - but no
    DOCTYPE is specified.
    Do I need a doctype in this kind of document?
    Where should it to?
    Above the initial <php?
    After the ?> and before the <html>
    OK - dumb question, but Quirks is bad and I don't know the
    answer.
    Dan H.
    (I'm not ready for XHTML yet.)

    > The HTML 'will' validate but I expect the PHP will cause
    the W3C valuator
    > to
    > hickup.
    The W3C validator will never see the PHP since it will have
    already been
    stripped from the page by the server before uploading the
    resulting HTML
    page to the validator.
    > Is there really any value to ending the document file
    name with '.php'
    > versus '.html'?
    Of course if the page contains PHP then there is (unless you
    have your
    server set to parse all file extensions). And, in general,
    there is a
    benefit to naming all pages with *.php extensions in that if
    you ever decide
    to add PHP scripting to any page in your site, you don't have
    to worry
    about search engine ramifications when you change that file's
    extension.
    Good luck Dan!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    <[email protected]> wrote in message
    news:C5B9D4F2.241E4%[email protected]...
    > Thank you Dave and Murray,
    >
    > This discussion is exactly what I needed.
    >
    > My plan is to produce <HTML> pages (ending in
    '.html') that also contain
    > PHP
    > code ( <php ... ?> ) within the html arguments.
    Some of this PHP will
    > calculate filenames to link to.
    >
    > The pages will begin with an 'html 4.0.1 transitional...
    Etc.' statement
    > followed by the <head> ... etc.
    >
    > The HTML 'will' validate but I expect the PHP will cause
    the W3C valuator
    > to
    > hickup. I'm guessing that this will NOT put me back into
    'quirks mode'.
    >
    > Is there really any value to ending the document file
    name with '.php'
    > versus '.html'?
    >
    > BTW:
    > I'll miss this forum. Everything I've learned about
    Dreamweaver over the
    > last several years and nearly everything I've learned
    about coding - I've
    > learned from reading posts in this forum by Dave,
    Murray, Al, Patty,
    > etc...
    >
    > Most of the information that is valuable to me came from
    responses to
    > questions asked by others.
    >
    > It's like the passing of a cherished era - you know -
    like the '50s...
    >
    > I wish you good fortune my friends.
    > I urge you to stick together, find an online home, and
    let the rest of us
    > know where it is so we can come and visit.
    >
    > Dan H.
    >
    > PS
    > My neighbor says it's President Obama's fault!
    > The fellow got elected preaching 'CHANGE'.
    > Now everybody's doing it and nobody has any ;^]
    > ...................................................
    >
    > [email protected] wrote:
    >> Do I need a doctype in this kind of document?
    >
    > If it contains HTML, yes.
    >
    >> After the ?> and before the <html>
    >
    > Immediately before the opening <html> tag.
    >
    > ...................................................
    >

  • I have a number of pages with html extension in different files. Is it possible to merge them into one file? Is it possible to convert them into another file type such as PDF, MOBI, or EPUB? Thanks

    While downloading an eBook from internet, I found a book in a folder containing around 123 files, which is equivalent to the number of pages of the book.
    My interest is to bring them together in one file so that I can read it at a time. As the interface is not comfortable with html, I also like to convert it into another more suitable file format.

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

  • Use PHP to convert html page to a pdf file for email

    I want to use my php scripts to send an email (with a pdf attachment) of the web page that is being viewed.
    My problem I have no way to convert the html page to a pdf file without the end user being prompted to (1) naming the file (2) saving it
    Is there a program or a way i can save the html as "auto_name.pdf" file on the server without user input?
    I have Adobe Acrobat 6.0 Professional on server

    There are lots of good Html to Pdf conversion tools for developers, both free and paid. I'd suggest to take a look at PD4ML Html to Pdf converter - it has lots of features (CSS support, page layout presets, etc.) and can be obtained for free for non commercial usage. There is also a topic at Stackoverflow with a list of such converters.

  • Using SSI with html page

    I've got several html pages that I made to use SSI's. The code would go like:
    <div class="footer">
         <!--#include file="../ssi/footer.html" -->
          <div class="clr"></div>
    But when I preview the page on the server, it's not showing the code. If I bypass the SSI and paste the html code in directly it shows.
    I'm sure the path is correct.  I can browse to it and I've also tried putting in the whole url just incase DW's Insert messed up.
    Inserting SSI's works fine with php files, but when I try it in htm files I can't get it to work.
    Is there something I'm doing wrong?

    Also, change this
    <!--#include file="../ssi/footer.html" -->
    to this:
    <!--#include virtual="../ssi/footer.html" -->
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Inserting php into an Html page generated in DW CS4

    Hi I am having my first attempt at running some php .
    I have inserted the php code at the top of my page but it doesn't seem to be running and shows up in the source code?
    www.matthamiltonracing.com
    My host provider assures me it is supported.
    Any suggestions, some previous posts mention htaccess. pages???
    please advise
    many thanks
    Mark

    Bregent and Ned have offered the correct answer. Your webhosting server will not know if it has to run any php code unless the page has the .php extension.
    Here's a potential problem: If you are monkeying around with php, you'll need a testing server to upload your work to test. Dreamweaver won't allow you to test your work on your own computer, unless you set up Apache and create a testing server on it.
    One of the things I have done recently was to create a testing server on my own home network using an older computer. Works great, but you may not have an older computer handy. So here's what I did with my webhost:
    Generally your website has to be built so that its home page and its root is in /public_html/ on your server. You can "trick" Dreamweaver to think it's actually underneath that by creating a folder called /test that is underneath /public_html/ and nobody will be able to access your work as you work on it (unless you point a client to a specific page and specify the exact URL with the extra path for them to test). The advantage with this is that your testing server is set up to run php code with exactly the same php configuration as the server that will wind up serving your web page because it is your hosting server.
    So, while you are testing, create a /test folder. And any page that is supposed to be processed by your php server needs to end in the .php extension.
    Here's another trick:
    Regular HTML can end in .php as well. So can rename your entire website with .php if you have a number of pages that use it.
    You can also make your entire website .html, save just the pages that use php (this is what I do). So if I have a form that is going to do something that results in php, I'll make the form entrance html and the page that actually does the processing php.

  • How can I send email from an JSP page  with HTML format either using jsp

    hi,
    I have an jsp page with online application form,after compleating the form if i select submit it will send all the compleated data to the mail id we mentioned in the form tag,for this i am using javascript,but instead of receiving the data in the format of strings,my client want to receive the data in the same format as he's filling in the jsp page(html format) through e-mail.any help would be appreciated.the fallowing is the code right now i am using for email application.
    <code>
    function send()
    if(validatePersonalInfo(document.theform))
         document.theform.submit()
         location.href=location.reload()
    function validatePersonalInfo(form)
         var tmpStr ="";
         if (form.Name.value == "") {
              tmpStr = "Name";
              document.all.dName.style.visibility="visible";
              document.theform.Name.focus();
         else{
              document.all.dName.style.visibility="hidden";
         if (form.SSN.value == "") {
              tmpStr = tmpStr + ", Social Security Number";
         document.all.dSSN.style.visibility="visible";
         if(form.Name.value != "")
              {document.theform.SSN.focus();}
         else{
              document.all.dSSN.style.visibility="hidden";
    if (tmpStr == "") {
              return true;
         } else {
              alert("Please Fill the Following Fields: " + tmpStr);
              return false;
    <FORM NAME="theform" METHOD="post"
    ACTION="mailto:[email protected]?subject=Online Application Form for MinorityDealer." ENCTYPE="text/plain">
    <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="10" NOF="LY">
    <TH>
    <P>
         <FONT SIZE="3" FACE="Arial,Helvetica,Univers,Zurich BT">Online�Application</font></TH><BR>
    </TABLE>
    <table width="718" border="1" cellspacing="0" cellpadding="3" bgcolor="#CCCCFF" align="center">
         <tr>
    <td colspan="2"><font class="captionText">Name*�</font><br><input type="text" size="25" name="Name" class="bodyText">
    <div id="dName" name="dName" style="position:absolute;visibility:hidden"><font color="red">Name is Mandatory*</font></div>
    </td>
              <td colspan="2"><font class="captionText">Social Security Number*�</font><br><input type="text" size="9" name="SSN" class="bodyText">
              <div id="dSSN" name="dSSN" style="position:absolute;visibility:hidden"><font color="red">SSN is Mandatory*</font></div></td>
    </tr>
    <tr>
    <td colspan="2"><font class="captionText">Total Personal Assets</font><br><input type="text" size="10" name="TotPersAss3" class="bodyText"></td>
              <td colspan="2"><font class="captionText">Total Personal Liabilities & NetWorth</font><br><input type="text" size="10" name="TotPerLiab3" class="bodyText"></td>
    </tr>
         </tr>
    </TABLE>
    <IMG Valign="middle" name="imgSubmit" src="images/buttons/Submit.gif" width="66" height="29" border="0" alt="Submit">
    </code>

    Can any one do some help to solve this problem.
    Regards.

  • Please help to send an email with html page in body

    I need an html page on the body of an email to send an email blast to our customers.

    HTML Emails can be a bit tricky. You can design them in Dreamweaver, but you really shouldn't send mass email through your personal email account (or your company account). That could get you blacklisted by corporate spam filters and make your email addresses pretty much useless.
    For mass email campaigns (over a few hundred email addresses) I use http://www.icontact.com.
    You can build the email right through their site (without DW) or you can import your html from DW to their service.
    Some things to keep in mind with HTML email...
    1. Use absolute links to images and files on a server you control
    2. Use a limited amount of inline css (no external or embedded css)
    3. Use table based layouts, css support is spotty at best with email clients
    4. The <head> will be stripped from a number of email clients, don't rely on anything between the <head> tags making it to your recipients
    5. Don't use an image-only email. HTML text is very important to keep it from being labeled spam, make the images secondary to the message, many email clients will not download images without the user's say-so
    6. Include an opt-out link so people can get off your list
    There are more things to watch out for, but those are the big ones. Here is some more good info: http://alt-web.com/Articles/HTML-Emails.shtml

  • Embedding with html page

    Hi,
    I want to make a pdf fill able form by livecycle or acrobat pro. In which there will be a button.By clicking this button I want to embed it with a html page.Is it possibe for abobe acrobat pro or adobe livecycle? I f possible how can I make thos button?

    Hi,
    I want to make a pdf fill able form by livecycle or acrobat pro. In which there will be a button.By clicking this button I want to embed it with a html page.Is it possibe for abobe acrobat pro or adobe livecycle? I f possible how can I make thos button?

  • Php script on html page?

    how would i insert a php {login script} on a .html page? would i have to externally link to the file?

    any ideas? i have tried putting "<?php" and "?>" at the begining and end, but it still does not like it... on the webpage, "Click Here to Register'); } while($info = mysql_fetch_array( $check )) { $_POST['pass'] = stripslashes($_POST['pass']); $info['password'] = stripslashes($info['password']); $_POST['pass'] = md5($_POST['pass']);  //gives error if the password is wrong if ($_POST['pass'] != $info['password']) { die('Incorrect password, please try again.'); }else {  // if login is ok then we add a cookie $_POST['username'] = stripslashes($_POST['username']); $hour = time() + 3600; setcookie(ID_my_site, $_POST['username'], $hour); setcookie(Key_my_site, $_POST['pass'], $hour);  //then redirect them to the members area header("Location: test_members.php"); } } } else {  // if they are not logged in ?>" shows, then the login box.

  • Applet and interaction with html page

    Hi,
    I want to create an applet that send parameter to html page like a <FORM>.
    Can I do this? How?
    thanks

    An applet is Client based, runs inside of HTML page.
    The applet can send data to the server it came from, or to another html page on the SAME server using URLConnection.

  • Create custom web-part page with OOTB page layout using CSOM (Javascript)

    Hi,
    I need to create a custom webpart page with a OOTB page layout (eg. Header 3 column footer) using JSOM.
    I found a link to do this using CSOM: http://spdevlab.com/2013/03/28/creating-wiki-web-part-and-publishing-pages-via-csom-in-sharepoint-2010/
    But here i have to copy the page template from 15 hive and store it in a resource file and I am also getting error as "The request message is too big" and to fix this I need to run a powershell script but I need the code to run in SharePoint online
    also.
    Isn't there a simpler piece of code in which I can enter the name of the page layout(OOTB/Custom) while creating a page in JSOM as we have in SSOM?
    Thanks for the help
    sunny

    Hi,
    According to your post, my understanding is that you want to create a custom web part page layout template.
    There are some articles about how to create the custom web part page layout template, you can refer to them.
    http://www.manageprojectsonsharepoint.com/blog/2011/03/14/creating-your-own-web-part-page-layout-template/
    http://sandeeppawar.blogspot.com/2012/06/create-custom-web-part-page-template.html
    http://doitwithsharepoint.blogspot.com/2011/08/create-web-part-pages-with-custom.html
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • Creating a WRT160N + AM200 network.

    I am currently using an AM200 modem with a RFC 1483 Routed network, but right now I have it connected in one of the 4 WRT160N ports (the blue ones). I can't seem to find a way to use the yellow one instead.   A friend was able to set it up (he has a

  • Creation of Idocs from the change pointers by the program RBDMIDOC

    Hello, I'm Creating Idocs from the change pointers by the program RBDMIDOC. The IDOCS Created using the message type HRMD_A are Correct but when i try to RUN RBDMIDOC for message type HRMD_B no Data is selected for distribution. All the customizing a

  • Internal table with an internal table

    Hi, I have following definition: TYPES:  BEGIN OF ty_pos,              numbertype(29)            TYPE c,              number(29)                TYPE c,              END OF ty_pos. DATA: gt_pos TYPE STANDARD TABLE OF ty_pos,       gs_pos LIKE LINE OF

  • Trouble connecting ipad to hotspot

    We have been using an iphone 4 as a hotspot for our laptop when we're away from home with no problem.   We tried to connect an ipad and had no luck.  The iphone showed up as an available network, but when we tapped to seclect it, the little circle ju

  • How To Save A Document With Lion X

    What exactly do I do to save a document with iWork 09, Pages, and Lion on an up to date 10.7.1?