Hangar.La tienda de software del Amiga

asp2php 0.76.25

asp to php converter

Short:        asp to php converter
Author:       Mike Kohn
Uploader:     jocke birging gmail com (Jocke Birging)
Type:         comm/www
Version:      0.76.25
Requires:     AmigaOS 4.0
Architecture: ppc-amigaos >= 4.0.0

Just an OS4 compile of asp2php. From the homepage:


There are no requirements for asp2php. You do not need a web server installed on
your system to run this program. This is a stand-alone program that converts
text files written in asp/vbscript (soon jscript) into text files written in
PHP.

Usage: asp2php <-options> <infile.asp>
    -o <output filename>
    -dir (input and output files are directories so copy recursively)
    -mysql -odbc -oracle -sybase -postgres (to select database)
    -uid <database username>
    -passwd <database password>
    -database <database name or sid>
    -address <database ip address or ip name>
    -dsn <database ODBC dsn>
    -pngs (for converting links to gifs into png)
    -y2k (if your asp came from non-y2k compliant NT Box)
    -php3 or -php4 (change extension to .php3 or php4 instead of .php)
    -toupper (change all variables to uppercase)
    -tolower (change all variables to lowercase)
    -html (change links to .htm files to .html)
    -includes (change #includes to php requires())
    -addextension .xxx (filenames with .xxx extension get asp2php translated)
    -spacer (Space out php code differently)
    -gif2png (use gif2png instead of ImageMagick [-pngs mode only])
    -nomagick (don't convert gif files to png [-pngs mode only])
    -global_asa (include global.php in all pages)
    -fixwinpaths (fix windows paths [ '' becomes '/' ])
    -longexternvars (use, for example,  instead of Array)
    -fulltags (asp2php will use <?php instead of <?)
    -change_response_links (in response.write text as .asp will change to .php)

Basically you can just type:

asp2php myaspfile.asp

asp2php will create a php file called: myaspfile.php

Asp2php will use default options to convert your pages. If you have database
connections in your asp, asp2php will automatically try and figure out what to
use for username, password, etc. for the PHP app. If you'd like to override
these you can do so with command line options. Other command line options let
you tell asp2php which type of database you'll be using on the PHP side, what
the output file should be, or if asp2php should convert links to gifs to php.

The -pngs mode allows asp2php to convert image tags to point to pngs instead of
gifs (this is due to the fact that web pages that use GIF's must pay a big
unnamed company $5,000 for licensing). For example:

<img src="mike.gif"> will get converted to:
<img src="mike.png"> in the new php code.

License:
asp2php now falls under GPL


Gratis

Descargar 265 KB

Desde el Amiga: abre Hangar y busca asp2php.

AutorMike Kohn
Categoríacomm/www
Tamaño265 KB
Parappc-amigaos >= 4.0.0
NecesitaAmigaOS 4.0
OrigenAminet