Re: Help converting ASP->PHP

From: Date: Fri, 19 Oct 2001 21:24:49 +0000
Subject: Re: Help converting ASP->PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71632@lists.php.net to get a copy of this message
In article <MPG.163a50522b60daef989684@news.php.net>, mrbaseball34@hotmail.com says... >Goto yahoo and do a search for ASP2PHP - it is a script that converts >asp pages to php. Never used it so I can't say how good it works, but >I'm guessing it will do all the basic stuff really well, but db stuff >might get a bit messy. Worth a shot though. > >Cheers >Casey Swenson > Messy isn't the word...<bg> Here is how it converted the sample I provided: $datCurrent=$CDate[$intMonth."/1/".$intYear]; $intCurrentMonthDays= $Day[$DateAdd["d",-1,$DateAdd["m",1,$datCurrent]]]; $intWeekday=$Weekday[$datCurrent]; Don't look like it did a very good job, huh? It took Consts in ASP and just made them as scalars instead of using define() Bad product for anything even remotely complex. Besides, any kind of converter like that is bound to screw up...

« previous php.general (#71632) next »