|
PHP Runner Help :
List of
Contents :
●
Introduction
● Requirements
●
Installation
● How to use
● Notes
Introduction :
PHP
Runner is a free and open source program to edit and Preview PHP
files easily like an HTML file.
Installation and working with PHP Runner is very easy. You
insert your codes in the design mode of program and just press a
button to preview your file. Also there are buttons in program to
insert most used PHP functions in your page to make your design
easier and faster. A friendly interface with useful tools in PHP
Runner, has made this program ideal for a small script or page
designing.
Requirements :
- PHP version 4 or
higher
- Standard HTTP server (tested on IIS and Apache)
- Web browser (tested in Microsoft Internet Explorer , most of
functions didn't work in NS)
Installation :
- Unpack downloaded
file to your hard disk.
- Copy all files and folders to your local server (e.g.
http://localhost/phprunner) or your website (e.g.
http://www.site-name.com/phprunner )
- It's done !
- In *nix servers you must make files/preview.php writable (CHMOD
777)
- Now go to your PHP Runner by browser and start working.
How to use
:
After
successful installing of program you may start to working with
PHP Runner. Open your PHP Runner . It must automatically
redirect you to design mode .
There is three modes in this program :
1- Design
2- Code
3- Preview

you can use code tab to browse coding mode of program if you want to
write only your codes without using other tools of program. By
pressing Preview tab , your designed page (in code or design mode)
will preview in a new window.
Note! code and design modes of this program are different sections
and by changing the mode entered codes will be removed and didn't
switched together.
Open a new file using HTML or PHP buttons .
or
copy and paste your desired codes form another file.
there is three groups of buttons in the toolbars of program. with
buttons in right side of bottom toolbar you can do simple actions
like select, copy, paste and etc.

1-
Clears all codes and content of your page.
2- Copies selected codes in clipboard.
3- Cut selected codes in clipboard.
4- Pastes copied content where the curser is.
5- Selects all codes in your designed page.
6- Set a parameter for your page (defined in number 7)
7- define your variable like test.php?id=1 or test.php?page=home&day=sunday
In the left side of bottom toolbar you see the buttons for browsing
your ftp server , using help docs and about this program.

By pressing FTP
button a popup window opens and you may enter your username,
password and server to connect your FTP server.
Top toolbars of
Program contains the most used PHP functions and codes to insert
easily in your page. by clicking on function buttons , the function
code will be entered where you want. You can change variables or
formats of functions or add and remove other tags depending on your
design.
For example you want to display today's date with "yy/mm/dd format
in your page.
Simply insert "date vars" codes by clicking this button. You must
see this codes :
Now delete unused
lines then insert "echo" and write this codes:
Press Preview button
and see it.
Also you can do it
by another way like "date()" function and using same format for page
date :
Notes :
- PHP Runner is a
free program under GNU GPL and you can use or modify it under terms.
A copy of copying terms is in the "files" directory named
COPYING.TXT .
- If you want to use
this program in your website's server , do policies to keep your
server's security.
- By using this
program with more than one person like using it in your website or a
network , your files preview could be changed by writing the file by
another user in the same time.
- PHP Runner like as
other programs may have bugs or problems. Use this program at your
own risk. However you can report bugs in program to us through
website contact page.
|