K, I'll try and answer your questions.
1) Default PHP file contents.
a. Open up phpDesigner 2008.
b. Goto Tools > Preferences... > Editor > Templates
c. In the text box to the right, replace the text that's there with the following:
<?php
/**
* @author [$username]
* @copyright [$year]
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[
www.w3.org];
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<?php
[$cursor]
?>
</body>
</html>
Modify to your liking, as this will be what you see every time you create a new PHP file. The '[$cursor]' tag is where the edit cursor (aka. the caret) will be placed, to make editing quicker. Those square tags won't be in the actual document when you create, instead they'll be replaced with the appropriate text. Here's some examples:
[$username] = your Windows user name
[$email] = the email you registered phpDesigner with, i think
[$company] = the company you registered phpDesigner with, i think
[$year] = the current year
[$month] = the current month
[$day] = the current day
[$time] = the current time
[$project] = the project the file is being added to
[$filename] = the file name of the new file, might include the path
2) I'm not sure about that, since i usually just open a browser window, and navigate to the script i'm testing.
a. Open the browser of your choice.
b. In the address bar, type the following:
[
localhost];
The PHP scripts must be located in a directory that the Apache server has access to (eg. <wamp_directory>/www/).
I personally don't like phpDesigner for a couple of reasons: a) it isn't free, it's trialware; b) the syntax highlighter isn't very good, it leaves parts of the file discolored; c) it's not laid out efficiently.
I like Adobe Dreamweaver and ActiveState Komodo IDE/Edit. Dreamweaver isn't free either, but it's better than phpDesigner. Komodo IDE isn't free either, but Komodo Edit is, and Komodo Edit is just a lighter version of Komodo IDE. It has everything Komodo IDE offers, just not the more advanced features, that could be considered 'enterprise' tools.
Hope this was of some help.
Timeless Thoughts of Imagination
-----------------------------------------------------
I am pessimistically optimistic.