Click here to ask a question or provide feedback on this topic Bookmark this topic Print this topic     Next

PHP, ASPX and other files

IntraWeb Studio can even be used to manage PHP, ASP or ASP.NET driven web sites. The example below shows how to add PHP files, the same approach will work for ASP or even ASPX files (aspx requires dynamic deployment mode). See the Link by Document ID HowTo for an ASPX example.

You can easily import all your php files as file type "other" (like images) and IWS will happily deploy them - but variables, IWS identifiers won't get resolved. As managed documents are IWS' domain, you will want your php files to be "managed documents". This way you can use all the advanced features for these files as well. (Languages are not supported though). 

To deploy managed PHP files follow these steps:

  1. Create a new document, and give it the PHP file type extension:


  2. Change its Type from HTML document to "Managed document". This makes it deploy with the extension you have given (PHP). If you leave it an HMTL document, then IWS would deploy it in this example as:
    • Static deployment mode : Hello_World.php.html
    • Dynamic deployment mode (ASPX): Hello_World.php.aspx
      Which is not what you want.


  3. Now assign an external editor to php files an edit the content. In theory you can even use IWS' integrated editor, but then you have to be careful that no HTML "dirt" gets added, thus you should the source view only:



Feedback? Bookmark this topic     Next

We use the ABCpdf .NET PDF component for HTML to PDF conversion...