Re: [PHP] PHP from ASP using AJAX?
On Mon, 2012-09-17 at 23:03 -0700, Girish Talluru wrote: Hi There, Can we able to call PHP script from ASP using AJAX? Thanks, Girish AJAX is just Javascript making a call to a remote web service, so it doesn't really matter what that web service is written in. -- Thanks, Ash http://www.ashleysheridan.co.uk
[PHP] PHP vs ASP .NET
Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big personalities, articles to response ? Regards Reynier Pérez Mira 3ero. Ing. Informática Entre más inteligente me siento, más me doy cuenta de lo ignorante que soy.
Re: [PHP] PHP vs ASP .NET
Reynier Perez Mira wrote: Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big personalities, articles to response ? Rather than get into an open ended discussion/argument, perhaps it would be best to ask the community why ASP.NET is better? Perhaps for the usage they envision is _is_ better, perhaps not. I have found over the past 32 years that passionate discussions/arguments over what language is better than another to be less than constructive anyway. Better to just do your work and let it speak for itself. Mark C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs ASP .NET
On Saturday 23 April 2005 19:33, Reynier Perez Mira wrote: Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big personalities, articles to response ? My meaning about this: ASP .NET is not just a scripting language but more a plattform for Enterprise (web) applications. It really has many more features then PHP and i would compare ASP .NET more with JAVA/J2EE. I don't know much about ASP .NET since i am more familiar with PHP and maybe some little bit JAVA. I think it is better to compare with a scripting language like Python or Ruby. You could compare the old versions of ASP with PHP because this was nearly the same. I never have coded with ASP since i very rarely touch a windows box but it looked like VisualBasic code. Take a look here (Search Google: asp .net vs php5 ): http://www.oracle.com/technology/pub/articles/hull_asp.html Regards Johannes Findeisen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs ASP .NET
I don't recommand this article at Oracle at all!! It's a very biased one and intends to misguide as a marketting gig. I'd like you to read healthy articles that truely compare. BTW ASP.nethttp://ASP.netcan not be compared with PHP5 because they are totaly different. It's like comparing Apples and Oranges. PHP can be compared to ASP not ASP.net http://ASP.net because it's totaly a different thing. HTH. Been there, done that. On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 19:33, Reynier Perez Mira wrote: Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big personalities, articles to response ? My meaning about this: ASP .NET is not just a scripting language but more a plattform for Enterprise (web) applications. It really has many more features then PHP and i would compare ASP .NET more with JAVA/J2EE. I don't know much about ASP .NET since i am more familiar with PHP and maybe some little bit JAVA. I think it is better to compare with a scripting language like Python or Ruby. You could compare the old versions of ASP with PHP because this was nearly the same. I never have coded with ASP since i very rarely touch a windows box but it looked like VisualBasic code. Take a look here (Search Google: asp .net vs php5 ): http://www.oracle.com/technology/pub/articles/hull_asp.html Regards Johannes Findeisen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- M.Saleh.E.G 97150-4779817
Re: [PHP] PHP vs ASP .NET
On Saturday 23 April 2005 20:27, M Saleh EG wrote: On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 19:33, Reynier Perez Mira wrote: Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big personalities, articles to response My meaning about this: ASP .NET is not just a scripting language but more a plattform for Enterprise (web) applications. It really has many more features then PHP and i would compare ASP .NET more with JAVA/J2EE. I don't know much about ASP .NET since i am more familiar with PHP and maybe some little bit JAVA. I think it is better to compare with a scripting language like Python or Ruby. You could compare the old versions of ASP with PHP because this was nearly the same. I never have coded with ASP since i very rarely touch a windows box but it looked like VisualBasic code. Take a look here (Search Google: asp .net vs php5 ): http://www.oracle.com/technology/pub/articles/hull_asp.html I don't recommand this article at Oracle at all!! It's a very biased one and intends to misguide as a marketting gig. I'd like you to read healthy articles that truely compare. BTW ASP.nethttp://ASP.netcan not be compared with PHP5 because they are totaly different. It's like comparing Apples and Oranges. PHP can be compared to ASP not ASP.net http://ASP.net because it's totaly a different thing. HTH. Been there, done that. Okay, please read my post again! I would not compare PHP with ASP .NET. This is what i wrote. I found that link to Oracle within 5 seconds via Google and did not read the whole text but Reynier Perez Mira could understand the difference with it. Please read carefully before reply and please don't top post! Regards Johannes Findeisen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs ASP .NET
I did not say that you compared! Sorry if I put it that way. I said the article at Oracle does that. In all the cases that article does not fairly illustrate anything. It's a merketing trick for novices! On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 20:27, M Saleh EG wrote: On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 19:33, Reynier Perez Mira wrote: Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big personalities, articles to response My meaning about this: ASP .NET is not just a scripting language but more a plattform for Enterprise (web) applications. It really has many more features then PHP and i would compare ASP .NET more with JAVA/J2EE. I don't know much about ASP .NET since i am more familiar with PHP and maybe some little bit JAVA. I think it is better to compare with a scripting language like Python or Ruby. You could compare the old versions of ASP with PHP because this was nearly the same. I never have coded with ASP since i very rarely touch a windows box but it looked like VisualBasic code. Take a look here (Search Google: asp .net vs php5 ): http://www.oracle.com/technology/pub/articles/hull_asp.html I don't recommand this article at Oracle at all!! It's a very biased one and intends to misguide as a marketting gig. I'd like you to read healthy articles that truely compare. BTW ASP.net http://ASP.nethttp://ASP.netcan not be compared with PHP5 because they are totaly different. It's like comparing Apples and Oranges. PHP can be compared to ASP not ASP.net http://ASP.net http://ASP.net because it's totaly a different thing. HTH. Been there, done that. Okay, please read my post again! I would not compare PHP with ASP .NET. This is what i wrote. I found that link to Oracle within 5 seconds via Google and did not read the whole text but Reynier Perez Mira could understand the difference with it. Please read carefully before reply and please don't top post! Regards Johannes Findeisen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- M.Saleh.E.G 97150-4779817
Re: [PHP] PHP vs ASP .NET
On Saturday 23 April 2005 20:57, M Saleh EG wrote: On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 20:27, M Saleh EG wrote: On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 19:33, Reynier Perez Mira wrote: Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big personalities, articles to response My meaning about this: ASP .NET is not just a scripting language but more a plattform for Enterprise (web) applications. It really has many more features then PHP and i would compare ASP .NET more with JAVA/J2EE. I don't know much about ASP .NET since i am more familiar with PHP and maybe some little bit JAVA. I think it is better to compare with a scripting language like Python or Ruby. You could compare the old versions of ASP with PHP because this was nearly the same. I never have coded with ASP since i very rarely touch a windows box but it looked like VisualBasic code. Take a look here (Search Google: asp .net vs php5 ): http://www.oracle.com/technology/pub/articles/hull_asp.html I don't recommand this article at Oracle at all!! It's a very biased one and intends to misguide as a marketting gig. I'd like you to read healthy articles that truely compare. BTW ASP.net http://ASP.nethttp://ASP.netcan not be compared with PHP5 because they are totaly different. It's like comparing Apples and Oranges. PHP can be compared to ASP not ASP.net http://ASP.net http://ASP.net because it's totaly a different thing. HTH. Been there, done that. Okay, please read my post again! I would not compare PHP with ASP .NET. This is what i wrote. I found that link to Oracle within 5 seconds via Google and did not read the whole text but Reynier Perez Mira could understand the difference with it. I did not say that you compared! Sorry if I put it that way. I said the article at Oracle does that. In all the cases that article does not fairly illustrate anything. It's a merketing trick for novices! Okay, but it defenitly says this: snip from=http://www.oracle.com/technology/pub/articles/hull_asp.html The latest incarnation of ASP, ASP.NET, is not completely backward-compatible with previous versions of ASP, as it is a complete rewrite of the software. Previous ASP technology actually has a lot more in common with PHP than with ASP.NET, which is a complete framework for building Web applications. One of the principal features of this model is the flexibility to choose your programming language. ASP.NET works with scripted languages such as VBScript, JScript, Perlscript, and Python, as well as compiled languages such as VB, C#, C, Cobol, Smalltalk, and Lisp. The new framework uses the common language runtime (CLR); your language source is compiled into Microsoft Intermediate Language code, which the CLR then executes. /snip This text says, that ASP .NET is a complete framework for building web applications. All the other stuff maybe is some marketing strategy for selling Oracle software but i don't take care about that. BTW, i think there is some more usefull information in this article (Anyway, i will not buy Oracle software). Sorry for starting this flamewar. This was not my goal... ;-) Regards -- Johannes Findeisen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP vs ASP .NET
On 4/23/05, Reynier Perez Mira [EMAIL PROTECTED] wrote: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big personalities, articles to response ? .NET is a framework, not a language. Many other languages qualify as .NET languages besides just C# and VB.net. So if you don't like the Microsoft ones you can try others: http://php-sharp.sourceforge.net/ http://www.startvbdotnet.com/dotnet/languages.aspx -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php and asp
Hello all I seem to recall php being able to provide some suport for asp. How would I turn this feature on? is it a line in the php.ini or is it a compile time option? -- Jerry M. Howell II -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and asp
The only thing PHP can do that's related to asp, is use the % like asp does. This is not recommended though.. Clint - Original Message - From: Jerry M. Howell II [EMAIL PROTECTED] To: PHP Mailing List [EMAIL PROTECTED] Sent: Monday, January 06, 2003 7:34 PM Subject: [PHP] php and asp Hello all I seem to recall php being able to provide some suport for asp. How would I turn this feature on? is it a line in the php.ini or is it a compile time option? -- Jerry M. Howell II -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php and asp
Maybe you mean that PHP can use COM on windows platforms and load .NET modules http://www.php.net/manual/en/ref.com.php (com) http://www.php.net/manual/en/ref.dotnet.php (.NET) Regards, Khalid Hello all I seem to recall php being able to provide some suport for asp. How would I turn this feature on? is it a line in the php.ini or is it a compile time option? -- Jerry M. Howell II -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?page=features/virus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP vs. ASP
There is one minor difference that caused a major change in structure of the two scripting language. PHP offers the isset() function but ASP don't. in a way there are the pros and cons. For PHP, you can create the whole site in one page, even though that would not be advisable. Because of isset(), you can get input and display output using the same page. However, this would result in security loop holes. Whereas for ASP, without the isset() keyword, ASP structures are usually made up of at least 2 pages. One for receiving input and the other for display the result, output. This of cos patches the security holes. In a way, PHP provides a simpler way for programmer. Also, one can chose not to use isset() !! But ASP only supported on win platforms... =( -Original Message- From: Anthony Rodriguez [mailto:[EMAIL PROTECTED]] Sent: 04 January 2003 10:50 To: [EMAIL PROTECTED] Subject: [PHP] PHP vs. ASP Hi! How does PHP differs from ASP? Are there any advantages in using PHP over ASP? Or the other way around? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP vs. ASP
I'm not really sure what you mean in terms of ASP needing two or more pages? % dim pageAction pageAction = Request(action) select case pageAction case postit: InsertFormData() case else : ShowForm() end select sub InsertFormData() end sub sub ShowForm() Response.Write(htmlhead/headbodyTheForm/body/html) end sub % or whatever. as far as isset goes? function isset(byval checkVar) dim ret if (len(checkVar) 0) then ret = true else ret = false end if end function The ONLY thing I can think of that ASP misses that can be done easily in PHP, is dynamic includes, ie: $code = _GET['code']; include($code.'.php'); the asp inlude equivelent is !--#include file=whatever.asp-- and thats handled by the SSI engine before it gets passed over to the ASP engine. So no dynamic includes for ASP. Ofcourse there are other features that PHP has that ASP does not, and vice versa. Right tool for the job, right tool for the job. -Original Message- From: See kok Boon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 6:29 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] PHP vs. ASP There is one minor difference that caused a major change in structure of the two scripting language. PHP offers the isset() function but ASP don't. in a way there are the pros and cons. For PHP, you can create the whole site in one page, even though that would not be advisable. Because of isset(), you can get input and display output using the same page. However, this would result in security loop holes. Whereas for ASP, without the isset() keyword, ASP structures are usually made up of at least 2 pages. One for receiving input and the other for display the result, output. This of cos patches the security holes. In a way, PHP provides a simpler way for programmer. Also, one can chose not to use isset() !! But ASP only supported on win platforms... =( -Original Message- From: Anthony Rodriguez [mailto:[EMAIL PROTECTED]] Sent: 04 January 2003 10:50 To: [EMAIL PROTECTED] Subject: [PHP] PHP vs. ASP Hi! How does PHP differs from ASP? Are there any advantages in using PHP over ASP? Or the other way around? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP vs. ASP
oops function isset(byval checkVar) dim ret if (len(checkVar) 0) then ret = true else ret = false end if isset = ret end function meh -Original Message- From: Sean Malloy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 6:42 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] PHP vs. ASP I'm not really sure what you mean in terms of ASP needing two or more pages? % dim pageAction pageAction = Request(action) select case pageAction case postit: InsertFormData() case else : ShowForm() end select sub InsertFormData() end sub sub ShowForm() Response.Write(htmlhead/headbodyTheForm/body/html) end sub % or whatever. as far as isset goes? function isset(byval checkVar) dim ret if (len(checkVar) 0) then ret = true else ret = false end if end function -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP vs. ASP
Hi! How does PHP differs from ASP? Are there any advantages in using PHP over ASP? Or the other way around? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php vs asp
If ASP is as slow with MySQL as it is with native Microsoft DBs (Access, SQL Server), then you may be in trouble. I did some work for a friend who owns a hosting company on a site done in ASP and the worst part of the whole thing was testing because the database was so slow. He's got some high-end servers, too, so it wasn't the system slowing it down. I have my personal site with him and it seems to load stuff from MySQL about 2-5 times as fast as the ASP-based sites load from SQL Server. My two cents. Mike Frazer Jon Farmer [EMAIL PROTECTED] wrote in message 025001c1a810$587b6730$[EMAIL PROTECTED]">news:025001c1a810$587b6730$[EMAIL PROTECTED]... sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with mysql however a friend of mine is adament that asp will work just as well. i am not sure Hmm I have to say it would depend on the quality of the ODBC driver you would be using. For instance: would you be able to get the insert id with ASP as easily as PHP? Look at all the MySQL functions in PHP and ask your friend hwo they would accomplish this in ASP. I would be interested to hear what your friend has to say to this, I would appreciate if you would drop me his/her reaction.. Regards Jon -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 PGP Key available, send email with subject: Send PGP Key -- 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] php vs asp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then liz lynch blurted can someone tell me whether or not asp can be used with mysql and is there any drawbacks to using it as opposed to php erm are you looking for an unbiased opinion on a /php/ mailing list? If you're serious you might want to post your question on the MySQL list or something similar. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8VWVPHpvrrTa6L5oRAoIHAJ4q43y5nSlmvMlfzTn/9VRC8NHy/gCdHfVy qa2Ni5E2SyqkysDBY4IbEJ4= =mx6e -END PGP SIGNATURE- -- 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] php vs asp
sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with mysql however a friend of mine is adament that asp will work just as well. i am not sure - Original Message - From: Nick Wilson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 28, 2002 2:50 PM Subject: Re: [PHP] php vs asp -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then liz lynch blurted can someone tell me whether or not asp can be used with mysql and is there any drawbacks to using it as opposed to php erm are you looking for an unbiased opinion on a /php/ mailing list? If you're serious you might want to post your question on the MySQL list or something similar. - -- Nick Wilson Tel: +45 3325 0688 Fax: +45 3325 0677 Web: www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8VWVPHpvrrTa6L5oRAoIHAJ4q43y5nSlmvMlfzTn/9VRC8NHy/gCdHfVy qa2Ni5E2SyqkysDBY4IbEJ4= =mx6e -END PGP SIGNATURE- -- 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] php vs asp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then liz lynch blurted sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with mysql however a friend of mine is adament that asp will work just as well. i am not sure Hehe, well truth is I'm not sure either but I expect that performance wise it would be very similar. It's when you start talking about documentation and envoirnment as Micheal said that you'll notice the difference. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8VWxxHpvrrTa6L5oRAkCUAJ9aeWdNyTOXPBCi09C2tznk7Fw02QCgnCoC RhQrSJDs4mw8WzWAMWBmXx8= =GRe3 -END PGP SIGNATURE- -- 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] php vs asp
sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with mysql however a friend of mine is adament that asp will work just as well. i am not sure Hmm I have to say it would depend on the quality of the ODBC driver you would be using. For instance: would you be able to get the insert id with ASP as easily as PHP? Look at all the MySQL functions in PHP and ask your friend hwo they would accomplish this in ASP. I would be interested to hear what your friend has to say to this, I would appreciate if you would drop me his/her reaction.. Regards Jon -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 PGP Key available, send email with subject: Send PGP Key -- 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] php vs asp
On Monday 28 January 2002 23:15, liz lynch wrote: sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with mysql however a friend of mine is adament that asp will work just as well. i am not sure Still, you're not really going to get an unbiased opinion from this list. What you'll hear is probably something that reinforces your already biased point of view :) For me, the drawback of using asp (and anything MS stuff) is the cost. - Original Message - From: Nick Wilson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 28, 2002 2:50 PM Subject: Re: [PHP] php vs asp -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then liz lynch blurted can someone tell me whether or not asp can be used with mysql and is there any drawbacks to using it as opposed to php erm are you looking for an unbiased opinion on a /php/ mailing list? If you're serious you might want to post your question on the MySQL list or something similar. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* When neither their poverty nor their honor is touched, the majority of men live content. -- Niccolo Machiavelli */ -- 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] php vs asp
With ASP the only cost is the OS. Clint -- Original Message -- From: Jason Wong [EMAIL PROTECTED] Date: Mon, 28 Jan 2002 23:45:57 +0800 On Monday 28 January 2002 23:15, liz lynch wrote: sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with mysql however a friend of mine is adament that asp will work just as well. i am not sure Still, you're not really going to get an unbiased opinion from this list. What you'll hear is probably something that reinforces your already biased point of view :) For me, the drawback of using asp (and anything MS stuff) is the cost. - Original Message - From: Nick Wilson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 28, 2002 2:50 PM Subject: Re: [PHP] php vs asp -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then liz lynch blurted can someone tell me whether or not asp can be used with mysql and is there any drawbacks to using it as opposed to php erm are you looking for an unbiased opinion on a /php/ mailing list? If you're serious you might want to post your question on the MySQL list or something similar. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* When neither their poverty nor their honor is touched, the majority of men live content. -- Niccolo Machiavelli */ -- 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] php vs asp
With ASP the only cost is the OS. Clint ASP = Cost of hardware + Cost of OS + Cost of 3rdParty components. PHP = Cost of hardware. Regards Jon -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 PGP Key available, send email with subject: Send PGP -- -- 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] php vs asp
On Monday 28 January 2002 16:21, you wrote: I could be very very very wrong on this, but I think that if you want to access MySQL through ASP you need an ODBC in between it and I think that will slow things down. Far as I know PHP uses the MySQL libraries and that SHOULD (again, I'm NOT sure) take away some of the extra overhead ODBC has and it should thus be faster with PHP. (Assuming you don't run PHP on a windows box, in which case you might need to use ODBC as well, but again, not sure about that, I never use any of these on windoze machines why get things so complicated when it runs so smooth with apache/php/mysql under linux...) -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then liz lynch blurted sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with mysql however a friend of mine is adament that asp will work just as well. i am not sure Hehe, well truth is I'm not sure either but I expect that performance wise it would be very similar. It's when you start talking about documentation and envoirnment as Micheal said that you'll notice the difference. - -- Nick Wilson Tel: +45 3325 0688 Fax: +45 3325 0677 Web: www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8VWxxHpvrrTa6L5oRAkCUAJ9aeWdNyTOXPBCi09C2tznk7Fw02QCgnCoC RhQrSJDs4mw8WzWAMWBmXx8= =GRe3 -END PGP SIGNATURE- -- 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] php vs asp
You can use ASP with Mysql, as long as you have myodbc installed on your machine. For me, ASP has been a bit slower, but you can still use it. - Original Message - From: liz lynch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 28, 2002 7:14 AM Subject: [PHP] php vs asp can someone tell me whether or not asp can be used with mysql and is there any drawbacks to using it as opposed to php -- 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] PHP vs. ASP
Hello there, I need some help. I have to do a technical report(about 2200 words) comparing PHP to ASP. I have already decided to make PHP the winner becasue it is superior. But I am kinda stumped on what areas to compare the two. If you could help me out in suggesting some possible areas of comparison. Keeping in mind that I need about the same amount of info on both PHP and ASP. Also if you could point me in the right direction by including some web links that deal with the topic. Thank You, Jake -- 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] PHP vs. ASP
Hi Something I dont think anyone's mentioned yet is that PHP is also great for running stuff from the command line - e.g. for background scripts for a site or mailing scripts or whatever... In case that doesnt sound so useful, it measn you can use all the same libraries for the online site as for the offline processing bits :) -- Shane On Wednesday 09 Jan 2002 1:43 pm, Jake wrote: Hello there, I need some help. I have to do a technical report(about 2200 words) comparing PHP to ASP. I have already decided to make PHP the winner becasue it is superior. But I am kinda stumped on what areas to compare the two. If you could help me out in suggesting some possible areas of comparison. Keeping in mind that I need about the same amount of info on both PHP and ASP. Also if you could point me in the right direction by including some web links that deal with the topic. Thank You, Jake -- 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] PHP to ASP ?
Hi ! I work with someone who use ASP :-(( ... Is someone could translate this function to ASP ?? I don't think it's hard, but when you don't know ASP... function encrypt($str) { global $STRCRYPT; $i = strlen($str); $newstr=; for ($j=0;$j$i;$j++) { $car = substr($str,$j,1); $car = ord($car); $car = $car + ord(substr($STRCRYPT,$j,1)); $car = sprintf(%03d,$car); $newstr.=$car; } return $newstr; } EuroVox 4, place Félix Eboue 75583 Paris Cedex 12 Tel : 01 44 67 05 05 Fax : 01 44 67 05 19 Web : http://www.eurovox.fr -- 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] PHP to ASP ?
This is a PHP mailing list, I doubt you'll find anyone who knows, or wants to know ASP. Why not use PHP for this, and dump ASP (along with the slow, bug-ridden webserver it runs on [unless you're using Apache::ASP])? On 26 November 2001 9:00, Jean-Arthur Silve wrote: Hi ! I work with someone who use ASP :-(( ... Is someone could translate this function to ASP ?? I don't think it's hard, but when you don't know ASP... function encrypt($str) { global $STRCRYPT; $i = strlen($str); $newstr=; for ($j=0;$j$i;$j++) { $car = substr($str,$j,1); $car = ord($car); $car = $car + ord(substr($STRCRYPT,$j,1)); $car = sprintf(%03d,$car); $newstr.=$car; } return $newstr; } EuroVox 4, place Félix Eboue 75583 Paris Cedex 12 Tel : 01 44 67 05 05 Fax : 01 44 67 05 19 Web : http://www.eurovox.fr -- Casey Allen Shobe [EMAIL PROTECTED] GCS/CM d+ s+:-+: a-- C++() ULU$ P- L+++ E- W++ N++ !o K- w-- !O M V- PS++ PE Y+ PGP++ t+ 5+ X R+ tv-- b++ DI+ D G++ e h-(*) r--- z-- -- 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] PHP to ASP ?
Thank for your help ! At 08:08 26/11/01 -0700, JSheble wrote: Oh really? I know ASP, PHP, ColdFusion and a few others. You really shouldn't make such global statements... just because you don't know ASP doesn't mean it's not a viable tool, nor is it a good idea as a web developer to lock yourself into one singular technology. Knowing more than one makes you a bit more marketable. Here's your Encrypt function in ASP, the only difference being I passed the encryption key in while in the PHP counterpart it was a GLOBAL. You can make it a global type of variable in your ASP too. function Encrypt( strEncryptThis, strEncryptionKey) dim i dim strNewString dim strCurChar for i = 1 to Len( strEncryptThis ) strCurChar = Asc( Mid( strEncryptThis, i, 1 )) strCurChar = strCurChar + Asc( Mid( strEncryptionKey, i, 1)) strNewString = strNewString strCurChar next Encrypt = strNewString end function At 09:24 AM 11/26/2001 -0500, Casey Allen Shobe wrote: This is a PHP mailing list, I doubt you'll find anyone who knows, or wants to know ASP. Why not use PHP for this, and dump ASP (along with the slow, bug-ridden webserver it runs on [unless you're using Apache::ASP])? On 26 November 2001 9:00, Jean-Arthur Silve wrote: Hi ! I work with someone who use ASP :-(( ... Is someone could translate this function to ASP ?? I don't think it's hard, but when you don't know ASP... function encrypt($str) { global $STRCRYPT; $i = strlen($str); $newstr=; for ($j=0;$j$i;$j++) { $car = substr($str,$j,1); $car = ord($car); $car = $car + ord(substr($STRCRYPT,$j,1)); $car = sprintf(%03d,$car); $newstr.=$car; } return $newstr; } EuroVox 4, place Félix Eboue 75583 Paris Cedex 12 Tel : 01 44 67 05 05 Fax : 01 44 67 05 19 Web : http://www.eurovox.fr -- Casey Allen Shobe [EMAIL PROTECTED] GCS/CM d+ s+:-+: a-- C++() ULU$ P- L+++ E- W++ N++ !o K- w-- !O M V- PS++ PE Y+ PGP++ t+ 5+ X R+ tv-- b++ DI+ D G++ e h-(*) r--- z-- -- 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] EuroVox 4, place Félix Eboue 75583 Paris Cedex 12 Tel : 01 44 67 05 05 Fax : 01 44 67 05 19 Web : http://www.eurovox.fr -- 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] php and asp
You can use this code: set fso = Server.CreateObject(Scripting.FileSystemObject) set fs = fso.GetFolder(Server.MapPath(/images)) for each file in fs.Files Response.write file.name br Response.write file.size next You'll have to use the FileSystemObject in order to get data from a text file, or get the file type, size, etc... []'s Luiz Vitor - Original Message - From: todd kennedy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 11, 2001 12:42 AM Subject: [PHP] php and asp i've got a problem...i've written some stuff in PHP and now the person I wrote it for is looking for an ASP version to play with as well... I've gotten most of it working in ASP now (eek. VBScript is downright archaic compared to php4), but I'm having problems finding an equivelent for one PHP function that's pretty central to the code (it's a photogallery)... the funciton is: getImageSize does any one know of an ASP equivelent to this? thanks in advance todd kennedy -- 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] php and asp
I forgot to tell you... you don't need to install any component in your server. The FileSystemObject already comes with IIS 5.0. []'s Luiz Vitor - Original Message - From: todd kennedy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 11, 2001 12:42 AM Subject: [PHP] php and asp i've got a problem...i've written some stuff in PHP and now the person I wrote it for is looking for an ASP version to play with as well... I've gotten most of it working in ASP now (eek. VBScript is downright archaic compared to php4), but I'm having problems finding an equivelent for one PHP function that's pretty central to the code (it's a photogallery)... the funciton is: getImageSize does any one know of an ASP equivelent to this? thanks in advance todd kennedy -- 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]
[PHP] php and asp
i've got a problem...i've written some stuff in PHP and now the person I wrote it for is looking for an ASP version to play with as well... I've gotten most of it working in ASP now (eek. VBScript is downright archaic compared to php4), but I'm having problems finding an equivelent for one PHP function that's pretty central to the code (it's a photogallery)... the funciton is: getImageSize does any one know of an ASP equivelent to this? thanks in advance todd kennedy -- 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] php and asp
Generally, you'd have to use a COM object written specifically to deal with files. There are some ways to look at the raw data from an image and file and extract that info, but it's frankly beyond me at this time of night. :) If you have control over the server the ASP code is on, you might consider visiting http://www.aspobjects.com/ASP_Components/Graphics_Charts/Images/ and trying one of the 'free' DLL files there. There seem to be a couple that claim to let you query image file dimensions. HTH On Thu, 10 May 2001, todd kennedy wrote: i've got a problem...i've written some stuff in PHP and now the person I wrote it for is looking for an ASP version to play with as well... I've gotten most of it working in ASP now (eek. VBScript is downright archaic compared to php4), but I'm having problems finding an equivelent for one PHP function that's pretty central to the code (it's a photogallery)... the funciton is: getImageSize does any one know of an ASP equivelent to this? thanks in advance todd kennedy -- 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]