Installation of Ide.php is easy:
the latest distribution from this website.
- Unzip or untar the contents of the distribution archive in
the directory were you want to put Ide.php. Obviously, this directory
has to reside somewhere in your web space.
- Make sure that the web server has write access to the directory
where you put Ide.php, the 'data' directory (which was created
when unpacking the archive), and the files in the 'data' directory.
If you don't know how to do this, contact your system administrator.
On my Linux system it's: 'chmod 777 . ./data ./data/*', executed
in the chosen directory.
- Be sure to read the section about
security, and take relevant steps for protection.
Using Ide.php should be fairly self explanatory. In your web browser,
go to the URL where you unpacked Ide.php. The main page should appear.
If it doesn't, you should adjust your web server to accept 'index.php' as a Directory Index.
The big textarea is where your code goes. This could be any code that's acceptable on your server,
like PHP, HTML, ASP, CGI etc.
- The current context is determined by the suffix set in the lower middle: 'Run as'.
To execute your code in ASP context, select '.asp' in the 'Run as' list.
(Obviously, your server has to support ASP for this to work). Additional suffixes can
be added through the 'Options' dialog.
- To view the result, press '- RUN -'. The output of your code should appear in a separate browser window.
- Additional adjustments can be made through the 'Options' dialog. Notably, running CGI (Perl) on UNIX
may require changed settings for file permissions and line endings.
- Different browsers handle HTML entities in textareas (> etc in the edited code) in different ways.
Adjustments for this can be made in the 'Options' dialog.
- 'Fancy view' shows your code in a colorful way through the built-in PHP source viewer. Optionally it can
also show line numbers. If you are using password protection for Ide.php (you are, aren't you?), you will
most likely have to enter your username/password in the Options dialog to make 'Fancy view' work correctly.
- Use 'Save as tpl' to save your current code as a template. Press 'Open tpl' to open
the template. The template could be the basic <HTML>...</HTML> stuff to avoid typing it every time.
- 'Clear' will erase all code in the code-window.
- To the right is the File dialog for the 'data' directory. Use this to open or erase files from your
private code archive. Use the 'Save as' button in the second row to save the current code in your archive.
- The size of the code-window is adjustable through the fields at the bottom of the page.
Press 'Save settings' to make the new size your default.