Welcome to TalkGraphics.com
Results 1 to 10 of 46

Thread: PHP, SHTML, etc

Threaded View

  1. #6
    Join Date
    Aug 2010
    Posts
    28

    Default Re: PHP, SHTML, etc

    Quote Originally Posted by sledger View Post
    PHP is a scripting language designed for producing dynamic web pages, often with MySql database backends to serve the content dynamically to the page.
    You cannot create a HTML page in Web Designer and convert it to a PHP (for example) simply by changing the extension name.
    A php page source is entirely different to standard HTML.

    Web Designer hasn't been designed to create PHP scripted sites.

    PHP is a server processed scripting language using the CGI model. Converting a DBP or WD site to use php is as simple as changing the extension to php and embedding <?php ?> sections containing code. You can even do the PHP in placeholders on different layers to make it easier within the software.

    The only issues with WD and DBP is you gotta change the extensions post-export, and use CSS overflow-y:auto; property on placeholder DIVs. If you don't like ugly scrollbars don't bother though, and don't bother asking for dynamic placeholders even though the feature is a lot easier to implement then a lot of the stuff they keep implementing in releases and has been requested a trillion times.

    HINT: use XAMPP for local testing, it can also be done inside the software
    Last edited by xobo; 22 April 2011 at 09:29 AM.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •