Idea for a PHP Page Template

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Idea for a PHP Page Template

Postby codeowl » March 27th, 2013, 10:25 pm

Hey guys,

How about a PHP Page template. Quite often I want to do a quick test, and need a PHP Page that has all the HTML for a standard webpage but has the PHP extension.

Eg; create file TestPHPPage.php and it creates a file with:

Code: Select all
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>

<?php
       
?>

</body>
</html>


This way you have the PHP Script like the .cs file and the PHP Page like the ASPX file.

Just a thought ;-)

Regards,

Scott
codeowl
 
Posts: 51
Joined: February 10th, 2013, 10:05 am

Re: Idea for a PHP Page Template

Postby Jakub Misek » March 27th, 2013, 10:31 pm

Good idea. For now you can create any template in File -> Export Template.

Does it work for you?

Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 45 guests

cron

User Control Panel

Login

Who is online

In total there are 45 users online :: 0 registered, 0 hidden and 45 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 45 guests