Re: [PHP] ASP to PHP

2012-02-17 Thread Marc Guay
But has anybody had any experience of translating the asp code over? I've gone the other way and translated some PHP to ASP, which felt pretty dirty. Are you dealing with simple includes and small bits of logic? That's all that I had (also fairly static sites) and I found the process quite

Re: [PHP] ASP 2 PHP

2007-12-30 Thread Richard Lynch
On Wed, December 26, 2007 10:26 am, tedd wrote: I have a client who has an entire site done in asp and wants me to convert it to php -- is there an easy way to do this or do I have to do it line by line? There once was an asp2php script that would convert the brain-dead code-by-click-wizard

Re: [PHP] ASP 2 PHP

2007-12-26 Thread Daniel Brown
On Dec 26, 2007 11:26 AM, tedd [EMAIL PROTECTED] wrote: Hi gang: I have a client who has an entire site done in asp and wants me to convert it to php -- is there an easy way to do this or do I have to do it line by line? Line-by-line translation is going to be your best bet. I've done a

Re: [PHP] ASP to PHP language problems

2004-03-11 Thread Stuart
Richard Davey wrote: unset($type); $type = $_GET['action']; (Please note - you don't HAVE to unset each variable, but if you are working in a Register Globals ON environment, it's a good safety measure). I've seen a few people recommending this type of thing. Please explain how this is any safer

Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Richard Davey
Hello Alistair, Wednesday, March 10, 2004, 10:26:03 PM, you wrote: AH dim Type AH Type = CStr(Request.QueryString(action)) (getting parameter from URL) unset($type); $type = $_GET['action']; (Please note - you don't HAVE to unset each variable, but if you are working in a Register Globals ON

Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Alistair Hayward
Richard: Thank you so much! Richard Davey wrote: Hello Alistair, Wednesday, March 10, 2004, 10:26:03 PM, you wrote: AH dim Type AH Type = CStr(Request.QueryString(action)) (getting parameter from URL) unset($type); $type = $_GET['action']; (Please note - you don't HAVE to unset each variable,

Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Alistair Hayward
Richard Davey wrote: A few ways to do this: $total_records = mysql_num_rows($result); for ($i=0; $i $total_records; $i++) { $data = mysql_fetch_assoc($result); print_r($data); } $data will now be an array holding the first set of information. The print_r line just displays it so you can

Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Raditha Dissanayake
Hi. There is an ADO simulator for PHP (i think it's called ADODB PHP but i can't remember the link). There is also a asp to php converter called (can you guess? ) asp2php. Alistair Hayward wrote: Hi , What is the equavilant in PHP to creating a recordset in ASP using a query? This is what I

Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Alistair Hayward
Richard Davey wrote: Hello Alistair, Wednesday, March 10, 2004, 11:26:53 PM, you wrote: AH I get this error: mysql_num_rows(): supplied argument is not a valid AH MySQL result resource Then your database connection failed OR the SQL query did. Check those steps over before anything else. Maybe

Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Alistair Hayward
Sorry, was the query! Richard Davey wrote: Hello Alistair, Wednesday, March 10, 2004, 11:26:53 PM, you wrote: AH I get this error: mysql_num_rows(): supplied argument is not a valid AH MySQL result resource Then your database connection failed OR the SQL query did. Check those steps over

Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Rodrigo Castro
On Wednesday 10 March 2004 18:54, Raditha Dissanayake wrote: Hi. There is an ADO simulator for PHP (i think it's called ADODB PHP but i can't remember the link). There is also a asp to php converter called (can you guess? ) asp2php. http://php.weblogs.com/ And Pear::DB must work too :P

Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Alistair Hayward
To everyone, especially Richard, Thanks a lot for the help. I have accomplished everything I needed to do with your help, and I have never used PHP before. Thanks again! alistair -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ASP to PHP

2002-04-23 Thread Cal Evans
Having moved a moderately sized website last year from ASP to PHP I can say from experience that if you can re-write it, the move will go smoother and you will have fewer lines of code. I ended up with about 1/2 as many lines of code to maintain after the port was done. =C= * * Cal Evans *

RE: [PHP] ASP to PHP

2002-04-23 Thread .ben
Message- From: Cal Evans [mailto:[EMAIL PROTECTED]] Sent: 23 April 2002 12:53 To: Chuck PUP Payne; [EMAIL PROTECTED] Subject: RE: [PHP] ASP to PHP Having moved a moderately sized website last year from ASP to PHP I can say from experience that if you can re-write it, the move will go

RE: [PHP] ASP to PHP

2002-04-23 Thread Maxim Maletsky \(PHPBeginner.com\)
. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: .ben [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 2:00 PM To: PHP Subject: RE: [PHP] ASP to PHP I am in the process of porting an ASP site to PHP

RE: [PHP] ASP to PHP

2002-04-23 Thread Martin Towell
I used it for a site I did. The code wasn't doing anything too funky. Just simple accesses to adodb and also simple form manipulation - worked like a treat. Although, the database stuff, it converts it the standard PHP functions, but I had some classes for that, so I still had to manually go

RE: [PHP] ASP vs PHP

2002-03-28 Thread J. Scott Johnson
I've seen a tool called Code Charge which claims to do that. http://www.codecharge.com/index2.html And, I think that the new Zend tools make this easier (but I really haven't started evaluation yet). www.zend.com Scott * * * * * * * * * * * * * * * * * * * * * * * * * * J. Scott Johnson PHP

Re: [PHP] ASP to PHP ...

2001-12-04 Thread Jim
This really depends how complicated your ASP system is. Presumably, your current system has many components that make it work correctly with the server and MS Access. The hardest part will be getting PHP to function as expected in that environment. The actual code is easy to translate, but

Re: [PHP] ASP and PHP

2001-11-28 Thread py
Hello, Please make searchs in the archives of this newsgroup as this was discussed many many times before. The bottom line is always that both language are valuable and will do the job. But PHP will do the job on both MS and Linux, Unix, *BSD... That in itself is the biggest Yippers for PHP ;)

Re: [PHP] ASP and PHP

2001-11-28 Thread Luis Espinosa
Sorry for the duplicate post. I didn't know that. I'll search for other similar posts. Thank you Py [EMAIL PROTECTED] wrote in message 035e01c17825$ac820610$0100a8c0@py">news:035e01c17825$ac820610$0100a8c0@py... Hello, Please make searchs in the archives of this newsgroup as this was

Re: [PHP] asp to php

2001-07-27 Thread Willie Dresler Leiva
RedHat 7.1 (Linux) has a package that converts from ASP to PHP pages. I didn't use it, so I don't know if it is useful neither if it is available for Windows. Kind regards, Willie _ Seja avisado de novas mensagens do Hotmail e use

Re: [PHP] asp to php

2001-07-26 Thread mike cullerton
on 7/26/01 9:52 AM, kaab kaoutar at [EMAIL PROTECTED] wrote: Does anyone of u has alreday tried successfully converting asp file to php file ? Is it worth doing so or restarting from scratch? Thanks i've only tried this once, but i'd do it again. you will definitely have to edit the code

Re: [PHP] ASP 2 PHP?

2001-05-09 Thread Tom Carter
I don't have any direct experience using it, but colleagues I know have given it great reviews. ASP2PHP script (nice name ;o) ) http://asp2php.naken.cc/ Tom Carter Web Architect roundcorners ltd. On Wed, 9 May 2001, Brandon Orther wrote: Hello, I am looking at a complete database with it

Re: [PHP] ASP 2 PHP

2001-05-09 Thread Max Pyziur
On Wed, 9 May 2001, Brandon Orther wrote: Hello, I am looking at a complete database with it interface written in ASP. All of our company programs are written in PHP and that is what I want to use. I believe I remember seeing ASP 2 PHP converts before. Does anyone know of any. They

RE: [PHP] ASP 2 PHP

2001-05-09 Thread Maxim Maletsky
, 2001 9:13 AM To: Brandon Orther Cc: PHP User Group Subject: Re: [PHP] ASP 2 PHP On Wed, 9 May 2001, Brandon Orther wrote: Hello, I am looking at a complete database with it interface written in ASP. All of our company programs are written in PHP and that is what I want to use. I believe I

Re: [PHP] ASP vs PHP

2001-03-12 Thread Simon Garner
From: "Chris Anderson" [EMAIL PROTECTED] This is going to sound like heresy, but is there any way to use ASP and PHP in the same fle/page? Seperated of course. What if you put: !--#include virtual="path/to/file.php"-- in your ASP page? -- PHP General Mailing List

Re: [PHP] ASP vs PHP

2001-03-12 Thread Michael Kimsal
Carsten Gehling wrote: Are you sure? The #include is an SSI directive, not ASP. It should create a separate internal HTTP request for the included file. I know for sure that for example you can include a JScript ASP page inside a VBScript ASP page like this - although I realise

Re: [PHP] ASP vs PHP

2001-03-11 Thread Michael Kimsal
You're comparing a framework to a language. ASP is a technology which allows code for different languages to be embedded in a file parsed by a webserver (IIS). To accomplish this, different languages need to be written as modules for that webserver. MS has VBScript (default language), JScript

Re: [PHP] ASP vs PHP

2001-03-11 Thread Steve Edberg
At 11:48 PM -0500 3/11/01, Rick St Jean wrote: I was told by someone that it is possible with apache. You can have something parse the page once then be parsed by something else. I don't know how and I have never seen it but I have been told that it is possible. Rick That would be 'stacked

RE: [PHP] ASP to PHP

2001-01-17 Thread Michael Simcich
Try asp2php: http://asp2php.naken.cc/home.php Michael Simcich AccessTools -Original Message- From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 8:48 AM To: PHP Mailing List Subject: [PHP] ASP to PHP Is there such thing as program that will convert