This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 122170 - index.php should be changed
Summary: index.php should be changed
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks: 122115
  Show dependency tree
 
Reported: 2007-11-16 17:10 UTC by Victor Vasilyev
Modified: 2009-04-28 15:38 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Vasilyev 2007-11-16 17:10:11 UTC
The index.php file template is used to create initial file (i.e. initial Web entry point) in the new PHP project.
The final implementation of the index.php file template should look like this:
--- File: index.php -----------------------------------------------------------------------------
<!-- 
    Document   : ${name}
    Created on : ${date}, ${time}
    Author     : ${user}
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=${encoding}">
  </head>
  <body>
    <?php
	// put your code here
    ?>  
  </body>
</html>
---EOF: index.php -----------------------------------------------------------------------------

Now, it is impossible to provide such implementation and still be usable, because there are
issue 122115 and macro variables are not supported in the PHP project for templates at all.

Currently, a temporary solution without macro variables is used instead.
Comment 1 Filip Zamboj 2009-04-28 15:38:31 UTC
should work in new builds like described