AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/www/asp2php.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:asp to php converter
Author:Mike Kohn
Uploader:jocke birging gmail com (Jocke Birging)
Type:comm/www
Version:0.76.25
Architecture:ppc-amigaos
Date:2005-11-06
Requires:AmigaOS 4.0
Download:comm/www/asp2php.lha - View contents
Readme:comm/www/asp2php.readme
Downloads:1796

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




Contents of comm/www/asp2php.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  956     956 100.0% -lh0- 1cb0 Nov  4 03:25 asp2php-0.76.25/a2pcolor.png
[generic]                89828  223696  40.2% -lh5- 9afc Nov  4 03:25 asp2php-0.76.25/asp2php
[generic]                  558     971  57.5% -lh5- a318 Nov  4 03:25 asp2php-0.76.25/CHANGES
[generic]                 7009   18007  38.9% -lh5- fa00 Nov  4 03:25 asp2php-0.76.25/LICENSE
[generic]                  350    1047  33.4% -lh5- 1320 Nov  4 03:25 asp2php-0.76.25/Makefile
[generic]                  254     555  45.8% -lh5- 9c62 Nov  4 03:25 asp2php-0.76.25/README
[generic]                  157     265  59.2% -lh5- fda8 Nov  4 03:25 asp2php-0.76.25/sample/class_test.asp
[generic]                  203     342  59.4% -lh5- 8f27 Nov  4 03:25 asp2php-0.76.25/sample/filesystem.asp
[generic]                  245     394  62.2% -lh5- 10d7 Nov  4 03:25 asp2php-0.76.25/sample/mailer-test.asp
[generic]                  548    1129  48.5% -lh5- 52ef Nov  4 03:25 asp2php-0.76.25/sample/testfile.asp
[generic]                 3432   27160  12.6% -lh5- 0b39 Nov  4 03:25 asp2php-0.76.25/src/asp.xpm
[generic]                 4266   15741  27.1% -lh5- b06d Nov  4 03:25 asp2php-0.76.25/src/asp2php.c
[generic]                 5460   44786  12.2% -lh5- 9796 Nov  4 03:25 asp2php-0.76.25/src/asp_old.xpm
[generic]                  642    1850  34.7% -lh5- 5059 Nov  4 03:25 asp2php-0.76.25/src/class.c
[generic]                 1803    4308  41.9% -lh5- 236c Nov  4 03:25 asp2php-0.76.25/src/class.o
[generic]                 1154    5228  22.1% -lh5- 5319 Nov  4 03:25 asp2php-0.76.25/src/conditionals.c
[generic]                 3370    8444  39.9% -lh5- 15b1 Nov  4 03:25 asp2php-0.76.25/src/conditionals.o
[generic]                  300     678  44.2% -lh5- 56b2 Nov  4 03:25 asp2php-0.76.25/src/database.c
[generic]                  930    2272  40.9% -lh5- bb3f Nov  4 03:25 asp2php-0.76.25/src/database.o
[generic]                 1572    6924  22.7% -lh5- d431 Nov  4 03:25 asp2php-0.76.25/src/eval.c
[generic]                 4164   11032  37.7% -lh5- 7f60 Nov  4 03:25 asp2php-0.76.25/src/eval.o
[generic]                 2381   15448  15.4% -lh5- 5c0f Nov  4 03:25 asp2php-0.76.25/src/evalelement.c
[generic]                 7131   19412  36.7% -lh5- 84ef Nov  4 03:25 asp2php-0.76.25/src/evalelement.o
[generic]                  767    2529  30.3% -lh5- fcb0 Nov  4 03:25 asp2php-0.76.25/src/expression.c
[generic]                 2252    5692  39.6% -lh5- 855e Nov  4 03:25 asp2php-0.76.25/src/expression.o
[generic]                  747    3390  22.0% -lh5- 8a87 Nov  4 03:25 asp2php-0.76.25/src/filesystem.c
[generic]                 2369    6460  36.7% -lh5- 1ac4 Nov  4 03:25 asp2php-0.76.25/src/filesystem.o
[generic]                  686    2961  23.2% -lh5- ee01 Nov  4 03:25 asp2php-0.76.25/src/fileupload.c
[generic]                 2082    7787  26.7% -lh5- 12f2 Nov  4 03:25 asp2php-0.76.25/src/function.c
[generic]                 3767    8552  44.0% -lh5- cda7 Nov  4 03:25 asp2php-0.76.25/src/function.o
[generic]                 1085    4835  22.4% -lh5- a3b5 Nov  4 03:25 asp2php-0.76.25/src/functions.h
[generic]                 2324    7322  31.7% -lh5- 380b Nov  4 03:25 asp2php-0.76.25/src/general.c
[generic]                 4207   10004  42.1% -lh5- a9c7 Nov  4 03:25 asp2php-0.76.25/src/general.o
[generic]                 1364    5470  24.9% -lh5- 1a45 Nov  4 03:25 asp2php-0.76.25/src/gettoken.c
[generic]                 2334    5220  44.7% -lh5- c367 Nov  4 03:25 asp2php-0.76.25/src/gettoken.o
[generic]                  424     909  46.6% -lh5- ef6a Nov  4 03:25 asp2php-0.76.25/src/globals.h
[generic]                 3134   14516  21.6% -lh5- 118a Nov  4 03:25 asp2php-0.76.25/src/gtkasp2php.c
[generic]                 2016    7945  25.4% -lh5- 1442 Nov  4 03:25 asp2php-0.76.25/src/html.c
[generic]                 4302   10328  41.7% -lh5- ef1f Nov  4 03:25 asp2php-0.76.25/src/html.o
[generic]                 9073   22226  40.8% -lh5- e198 Nov  4 03:25 asp2php-0.76.25/src/jscript.o
[generic]                  518    1758  29.5% -lh5- 65ca Nov  4 03:25 asp2php-0.76.25/src/jscript/conditionals_j.c
[generic]                 1408    3552  39.6% -lh5- 5624 Nov  4 03:25 asp2php-0.76.25/src/jscript/conditionals_j.o
[generic]                  525    1725  30.4% -lh5- 3cc0 Nov  4 03:25 asp2php-0.76.25/src/jscript/eval_expression_j.c
[generic]                 1360    3320  41.0% -lh5- 2704 Nov  4 03:25 asp2php-0.76.25/src/jscript/eval_expression_j.o
[generic]                  624    2075  30.1% -lh5- 2252 Nov  4 03:25 asp2php-0.76.25/src/jscript/eval_token_j.c
[generic]                 1784    4580  39.0% -lh5- 7243 Nov  4 03:25 asp2php-0.76.25/src/jscript/eval_token_j.o
[generic]                 1830    6766  27.0% -lh5- 61f1 Nov  4 03:25 asp2php-0.76.25/src/jscript/function_j.c
[generic]                 2246    4896  45.9% -lh5- d584 Nov  4 03:25 asp2php-0.76.25/src/jscript/function_j.o
[generic]                 1466    6358  23.1% -lh5- 9d01 Nov  4 03:25 asp2php-0.76.25/src/jscript/gettoken_j.c
[generic]                 2244    4832  46.4% -lh5- cc29 Nov  4 03:25 asp2php-0.76.25/src/jscript/gettoken_j.o
[generic]                  248     731  33.9% -lh5- 9dcc Nov  4 03:25 asp2php-0.76.25/src/jscript/loops_j.c
[generic]                 1097    2996  36.6% -lh5- 07ee Nov  4 03:25 asp2php-0.76.25/src/jscript/loops_j.o
[generic]                  517    1782  29.0% -lh5- 5db2 Nov  4 03:25 asp2php-0.76.25/src/jscript/main_parser_j.c
[generic]                 1545    3876  39.9% -lh5- 2616 Nov  4 03:25 asp2php-0.76.25/src/jscript/main_parser_j.o
[generic]                  252     699  36.1% -lh5- e1cc Nov  4 03:25 asp2php-0.76.25/src/jscript/Makefile
[generic]                  588    1834  32.1% -lh5- e5bb Nov  4 03:25 asp2php-0.76.25/src/jscript/request_j.c
[generic]                 1740    4260  40.8% -lh5- d3e8 Nov  4 03:25 asp2php-0.76.25/src/jscript/request_j.o
[generic]                  817    3327  24.6% -lh5- b39f Nov  4 03:25 asp2php-0.76.25/src/jscript/response_j.c
[generic]                 2554    6684  38.2% -lh5- 4e60 Nov  4 03:25 asp2php-0.76.25/src/jscript/response_j.o
[generic]                   70     131  53.4% -lh5- ab2f Nov  4 03:25 asp2php-0.76.25/src/jscript/template.c
[generic]                 1032    4439  23.2% -lh5- ba54 Nov  4 03:25 asp2php-0.76.25/src/loops.c
[generic]                 3474    9184  37.8% -lh5- b54f Nov  4 03:25 asp2php-0.76.25/src/loops.o
[generic]                  695    2420  28.7% -lh5- c564 Nov  4 03:25 asp2php-0.76.25/src/mail.c
[generic]                 1754    4464  39.3% -lh5- 5fde Nov  4 03:25 asp2php-0.76.25/src/mail.o
[generic]                 2360   10157  23.2% -lh5- 412c Nov  4 03:25 asp2php-0.76.25/src/main_parser.c
[generic]                 6233   15320  40.7% -lh5- b197 Nov  4 03:25 asp2php-0.76.25/src/main_parser.o
[generic]                  431    1525  28.3% -lh5- fd32 Nov  4 03:25 asp2php-0.76.25/src/Makefile
[generic]                 1393    6215  22.4% -lh5- bdd6 Nov  4 03:25 asp2php-0.76.25/src/mysql.c
[generic]                 1386    6188  22.4% -lh5- f263 Nov  4 03:25 asp2php-0.76.25/src/mysql.c.bak
[generic]                 3750    9840  38.1% -lh5- 2a0f Nov  4 03:25 asp2php-0.76.25/src/mysql.o
[generic]                  380    1582  24.0% -lh5- dc4a Nov  4 03:25 asp2php-0.76.25/src/object.c
[generic]                 1305    3576  36.5% -lh5- 21e5 Nov  4 03:25 asp2php-0.76.25/src/object.o
[generic]                 1286    5757  22.3% -lh5- 490b Nov  4 03:25 asp2php-0.76.25/src/odbc.c
[generic]                 3664    9772  37.5% -lh5- f70c Nov  4 03:25 asp2php-0.76.25/src/odbc.o
[generic]                 1481    6844  21.6% -lh5- 09e2 Nov  4 03:25 asp2php-0.76.25/src/oracle.c
[generic]                 3803    9952  38.2% -lh5- d763 Nov  4 03:25 asp2php-0.76.25/src/oracle.o
[generic]                 1355    6051  22.4% -lh5- bab7 Nov  4 03:25 asp2php-0.76.25/src/postgres.c
[generic]                 1343    5811  23.1% -lh5- 878d Nov  4 03:25 asp2php-0.76.25/src/postgres.c.bak
[generic]                 3711    9508  39.0% -lh5- 5217 Nov  4 03:25 asp2php-0.76.25/src/postgres.o
[generic]                  627    2137  29.3% -lh5- dc3a Nov  4 03:25 asp2php-0.76.25/src/request.c
[generic]                 1869    4584  40.8% -lh5- a65e Nov  4 03:25 asp2php-0.76.25/src/request.o
[generic]                  844    3355  25.2% -lh5- 00dc Nov  4 03:25 asp2php-0.76.25/src/response.c
[generic]                 2608    6844  38.1% -lh5- c0b7 Nov  4 03:25 asp2php-0.76.25/src/response.o
[generic]                  432    1214  35.6% -lh5- d0e8 Nov  4 03:25 asp2php-0.76.25/src/server.c
[generic]                 1386    3472  39.9% -lh5- d892 Nov  4 03:25 asp2php-0.76.25/src/server.o
[generic]                  859    2791  30.8% -lh5- 8ad5 Nov  4 03:25 asp2php-0.76.25/src/session.c
[generic]                 2393    5624  42.5% -lh5- c4a9 Nov  4 03:25 asp2php-0.76.25/src/session.o
[generic]                 1280    5738  22.3% -lh5- 4277 Nov  4 03:25 asp2php-0.76.25/src/sybase.c
[generic]                 3650    9540  38.3% -lh5- f125 Nov  4 03:25 asp2php-0.76.25/src/sybase.o
[generic]                  527     527 100.0% -lh0- df88 Nov  4 03:25 asp2php-0.76.25/tinya2p.png
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        90 files  260390  777404  33.5%            Nov  6 11:24
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>