https://github.com/radicalzephyr/cfm2php
A set of perl regex's that translate simple ColdFusion markup language into php
https://github.com/radicalzephyr/cfm2php
Last synced: 3 months ago
JSON representation
A set of perl regex's that translate simple ColdFusion markup language into php
- Host: GitHub
- URL: https://github.com/radicalzephyr/cfm2php
- Owner: RadicalZephyr
- Created: 2011-10-25T15:49:52.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-10-25T16:29:32.000Z (over 13 years ago)
- Last Synced: 2025-02-15T12:13:52.661Z (3 months ago)
- Language: Perl
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
cfm2php
This converter will get you about 60% there on simple ColdFusion
sites. It was created to help with translating a web app that was
pretty much entirely simple database query results interpolated into
HTML, so that's the only thing that it's likely to be useful for.It's a perl script, so no install (unless you live in a cave and don't
have perl), just chmod u+x cfm2php.perl and you're good to go.SYNOPSIS
cfm2php [OPTION]... FILE...DESCRIPTION
cfm2php does a search and replace on all named input FILEs
with a .cfm extension, and output's the changed context in
file of the same base name with a .php extension.OPTIONS
--out-prefix=PREFIX
Prepend the output filename's with PREFIX. Literal text
concatenation, so relative or absolute path's, as well as
simple name prefixes should all work.