Re: [PHP] Multiple ASP 2 PHP conversion

2001-05-15 Thread elias

yes, almost same for MS platforms with batch files:

converall.bat:

for %%a in (*.php;*.php3) DO asp2php %%a


-elias
http://www.eassoft.cjb.net

"Brandon Orther" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I found asp2php to be a great tool.  Does anyone know of a way to make it
> convert a whole directory or more than one file at a time?
>
> Brandon
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Multiple ASP 2 PHP conversion

2001-05-12 Thread Christian Reiniger

On Saturday 12 May 2001 00:51, Brandon Orther wrote:
> Hello,
>
> I found asp2php to be a great tool.  Does anyone know of a way to make
> it convert a whole directory or more than one file at a time?

I don't know asp2php, but a simple

cd src
for i in `find -name '*.php'` ; do
  asp2php $i ../dest/$i
done

should do it in any decent environment (i.e. any Unix flavor :)

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

Install once, run forever. Linux.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Multiple ASP 2 PHP conversion

2001-05-11 Thread Brandon Orther

Hello,

I found asp2php to be a great tool.  Does anyone know of a way to make it
convert a whole directory or more than one file at a time?

Brandon


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]