Re: [PHP] PHP vs JAVA

2013-08-20 Thread PHP List
On 8/20/2013 10:00 AM, Tedd Sperling wrote: > Hi guys: > > A teacher at my college made the statement that JAVA for Web Development is > more popular than PHP. > > Where can I go to prove this right or wrong -- and/or -- what references do > any of you have to support your answer? (sounds like a

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Dan Munro
Zmap works by being stateless, so while nmap records which requests go out, zmap "fires and forgets", and encodes the request in such a way that the response can provide whatever details it needs to continue the scan. No magic here. On Tue, Aug 20, 2013 at 2:28 PM, Lester Caine wrote: > Tedd Sp

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Lester Caine
Tedd Sperling wrote: I'm just trying to get documentation to back up my what I think I know. http://en.wikipedia.org/wiki/Programming_languages_used_in_most_popular_websites may be a better starting point, but there are no citations to the facts, they are a little dated, and some sites are a

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stuart Dallas
On 20 Aug 2013, at 22:00, Ashley Sheridan wrote: > On Tue, 2013-08-20 at 21:44 +0100, Stuart Dallas wrote: >> On 20 Aug 2013, at 21:30, Dan Munro > > wrote: >> >> >> in my opinion, that would be like asking "how big is the internet?". >> > >> > >> http://www.washingtonpost.com/blogs/the-switch

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Ashley Sheridan
On Tue, 2013-08-20 at 21:44 +0100, Stuart Dallas wrote: > On 20 Aug 2013, at 21:30, Dan Munro wrote: > > >> in my opinion, that would be like asking "how big is the internet?". > > > > http://www.washingtonpost.com/blogs/the-switch/wp/2013/08/18/heres-what-you-find-when-you-scan-the-entire-inte

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stuart Dallas
On 20 Aug 2013, at 21:30, Dan Munro wrote: >> in my opinion, that would be like asking "how big is the internet?". > > http://www.washingtonpost.com/blogs/the-switch/wp/2013/08/18/heres-what-you-find-when-you-scan-the-entire-internet-in-an-hour/ That's scanning IP addresses and doesn't come clo

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stuart Dallas
On 20 Aug 2013, at 21:08, Sebastian Krebs wrote: > 2013/8/20 Steven Staples > >>> My recent question was simply an attempt to get documentation to support >>> which server-side Web Language is the most popular. Both PHP and Java can >>> be used server-side. >>> >>> I also realize that Java is

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Dan Munro
> in my opinion, that would be like asking "how big is the internet?". http://www.washingtonpost.com/blogs/the-switch/wp/2013/08/18/heres-what-you-find-when-you-scan-the-entire-internet-in-an-hour/ On Tue, Aug 20, 2013 at 1:08 PM, Sebastian Krebs wrote: > 2013/8/20 Steven Staples > > > > My re

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Steven Staples > > My recent question was simply an attempt to get documentation to support > > which server-side Web Language is the most popular. Both PHP and Java can > > be used server-side. > > > > I also realize that Java is used for native Android because I also teach > > Mobile

RE: [PHP] PHP vs JAVA

2013-08-20 Thread Steven Staples
> My recent question was simply an attempt to get documentation to support > which server-side Web Language is the most popular. Both PHP and Java can > be used server-side. > > I also realize that Java is used for native Android because I also teach > Mobile Application Development (MAD -- I even

Re: [PHP] Output to File Instead of Browser

2013-08-20 Thread Jim Giner
On 8/20/2013 3:20 PM, Daniel Pöllmann wrote: Buffering is the more comftable way because if you write all html to a variable, output that might be created in a function, you did not modify will not be included. Non critical errors that create an output (notice/warning) will not ve included as we

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Andy McKenzie > On Tue, Aug 20, 2013 at 3:18 PM, Dan Munro wrote: > > > > 1. There are no statement terminators. Lose your indentation for ANY > > > reason and your program is well and truly screwed, in ways you can't > > > imagine. > > > > > > 2. Python programs fail in the most ungra

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 2:19 PM, Sebastian Krebs wrote: > Thats interesting. I am from Berlin and here, when you say you know PHP and a > little bit of one, or two frameworks, they will jump onto you I'll stay away from Berlin. :-) tedd ___ tedd sperling t...@sperling.com -- PHP Gene

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Andy McKenzie
On Tue, Aug 20, 2013 at 3:18 PM, Dan Munro wrote: > > 1. There are no statement terminators. Lose your indentation for ANY > > reason and your program is well and truly screwed, in ways you can't > > imagine. > > > > 2. Python programs fail in the most ungraceful way I've ever seen in an > > inte

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 12:24 PM, Pete Ford wrote: > tedd, > > Java is a meticulously-constructed language with very strict typing and a > large commercial organisation which purports to support and develop it. > PHP is a scruffy heap of loosely typed cruft which is easy to knock together > and bui

Re: [PHP] Output to File Instead of Browser

2013-08-20 Thread Daniel Pöllmann
Buffering is the more comftable way because if you write all html to a variable, output that might be created in a function, you did not modify will not be included. Non critical errors that create an output (notice/warning) will not ve included as well. Another way would be to create a script wh

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Dan Munro
> 1. There are no statement terminators. Lose your indentation for ANY > reason and your program is well and truly screwed, in ways you can't > imagine. > > 2. Python programs fail in the most ungraceful way I've ever seen in an > interpreted programming language. 1. Indent properly. In php, if yo

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 12:24 PM, Paul M Foster wrote: > On Tue, Aug 20, 2013 at 05:09:37PM +0100, Lester Caine wrote: > >> shiplu wrote: >>> During PHPvsPython search I found this info graphic >>> https://www.udemy.com/blog/modern-language-wars/#. Some of the >>> statistics contain Java too. Also y

Re: [PHP] Output to File Instead of Browser

2013-08-20 Thread Serge Fonville
> > How can I have the form generated from my script but either saved to a > file or the output returned to another script? if you just want to output the generated output of the script to a file you can use output buffering http://www.php.net/manual/en/book.outcontrol.php HTH Kind regards/met v

[PHP] Re: Output to File Instead of Browser

2013-08-20 Thread Jim Giner
On 8/20/2013 12:38 PM, Floyd Resler wrote: I have a php file that generates a form. Of course, this displays in the browser. How can I have the form generated from my script but either saved to a file or the output returned to another script? Thanks! Floyd Store your generated web page (fr

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Andy McKenzie > I'll chime in on this one. > > I've been job hunting recently, and I can say that while I've seen a lot of > people asking for Java experience, I'm not sure I've seen a single posting > asking specifically for PHP. There've been a few looking for Drupal, or > Wordpress,

Re: [PHP] Output to File Instead of Browser

2013-08-20 Thread Bastien
On 2013-08-20, at 12:38 PM, Floyd Resler wrote: > I have a php file that generates a form. Of course, this displays in the > browser. How can I have the form generated from my script but either saved > to a file or the output returned to another script? > > Thanks! > Floyd > I guess it d

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Lester Caine > Sebastian Krebs wrote: > >> 1. He's not my teacher -- he is a fellow teacher AND a smart one! He knows >>> >the difference between Java and JavaScript. >>> > >>> >> OKOK, sorry -_- >> But @topic: For example see >> http://w3techs.com/**technologies/overview/**programming_

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Andy McKenzie
I'll chime in on this one. I've been job hunting recently, and I can say that while I've seen a lot of people asking for Java experience, I'm not sure I've seen a single posting asking specifically for PHP. There've been a few looking for Drupal, or Wordpress, but no "You must be able to write PH

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Larry Garfield
On 8/20/13 9:00 AM, Tedd Sperling wrote: Hi guys: A teacher at my college made the statement that JAVA for Web Development is more popular than PHP. Where can I go to prove this right or wrong -- and/or -- what references do any of you have to support your answer? (sounds like a teacher, huh?

[PHP] Output to File Instead of Browser

2013-08-20 Thread Floyd Resler
I have a php file that generates a form. Of course, this displays in the browser. How can I have the form generated from my script but either saved to a file or the output returned to another script? Thanks! Floyd

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Pete Ford
On 20/08/13 15:00, Tedd Sperling wrote: Hi guys: A teacher at my college made the statement that JAVA for Web Development is more popular than PHP. Where can I go to prove this right or wrong -- and/or -- what references do any of you have to support your answer? (sounds like a teacher, huh?)

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Paul M Foster
On Tue, Aug 20, 2013 at 05:09:37PM +0100, Lester Caine wrote: > shiplu wrote: > >During PHPvsPython search I found this info graphic > >https://www.udemy.com/blog/modern-language-wars/#. Some of the > >statistics contain Java too. Also you can search "PHP" and "Web > >Development" in big job sites

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Lester Caine
shiplu wrote: During PHPvsPython search I found this info graphic https://www.udemy.com/blog/modern-language-wars/#. Some of the statistics contain Java too. Also you can search "PHP" and "Web Development" in big job sites and compare with same search but with "Java". 'Python is arguably the mo

Re: [PHP] PHP vs JAVA

2013-08-20 Thread shiplu
What a co-incidence! I was searching PHP vs Python in google and reading articles. Now a similar mail on my inbox. When any language war goes on, everyone gets biased by the language he/she loves. It applies here too. I think your college teacher loves Java. During PHPvsPython search I found this

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Daniel Brown
On Tue, Aug 20, 2013 at 10:00 AM, Tedd Sperling wrote: > Hi guys: > > A teacher at my college made the statement that JAVA for Web Development is > more popular than PHP. > > Where can I go to prove this right or wrong -- and/or -- what references do > any of you have to support your answer? (so

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Lester Caine
Sebastian Krebs wrote: 1. He's not my teacher -- he is a fellow teacher AND a smart one! He knows >the difference between Java and JavaScript. > OKOK, sorry -_- But @topic: For example see http://w3techs.com/technologies/overview/programming_language/all Really: Java is a good and mature languag

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Tedd Sperling > On Aug 20, 2013, at 10:29 AM, Sebastian Krebs wrote: > > Just tell your teacher: Java isn't more popular than PHP as > _web_-language ;) > > I think too, that he actually meant javascript, which is indeed a very > popular client-side language. But javascript and PHP has

Re: [PHP] PHP vs JAVA

2013-08-20 Thread David OBrien
On Tue, Aug 20, 2013 at 10:56 AM, David OBrien wrote: > > > > On Tue, Aug 20, 2013 at 10:43 AM, Tedd Sperling wrote: > >> On Aug 20, 2013, at 10:36 AM, "Liam" wrote: >> > You do realise you are on a PHP based user subscription, so the vast >> > majority will go with PHP, so you will get a one s

Re: [PHP] PHP vs JAVA

2013-08-20 Thread David OBrien
On Tue, Aug 20, 2013 at 10:43 AM, Tedd Sperling wrote: > On Aug 20, 2013, at 10:36 AM, "Liam" wrote: > > You do realise you are on a PHP based user subscription, so the vast > > majority will go with PHP, so you will get a one sided argument. > > > > Regards, > > Liam > > > I realize that many,

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Marc Guay
Here are two references from the Wikipedia article on Java in case you haven't looked at them already. http://www.langpop.com/ http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html On 20 August 2013 10:43, Tedd Sperling wrote: > On Aug 20, 2013, at 10:36 AM, "Liam" wrote: >> You do r

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 10:36 AM, "Liam" wrote: > You do realise you are on a PHP based user subscription, so the vast > majority will go with PHP, so you will get a one sided argument. > > Regards, > Liam I realize that many, maybe the majority, will be bias. HOWEVER -- there are professionals on

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 10:29 AM, Sebastian Krebs wrote: > Just tell your teacher: Java isn't more popular than PHP as _web_-language ;) > I think too, that he actually meant javascript, which is indeed a very > popular client-side language. But javascript and PHP has different use-cases, > thus say

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Bastien Koert
I think the big takeaway there is that JAVA is one of the primary language for larger companies and applications. Start ups tend to use smaller easier to use tools like php / javascript / python / ruby. I saw one figure recently that put php at 75% of websites out there (i think that came out when

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
> The article very clearly says.. > > No language can be considered as good just because there are more jobs for > the same. > Yes, but I am not making a value (good/bad) judgment -- Instead I am asking for references supporting which language (Java or PHP) as being the most popular for Web D

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Tedd Sperling > On Aug 20, 2013, at 10:04 AM, Ashley Sheridan > wrote: > > Is he possibly getting confused with Javascript? > > > > Thanks, > > Ash > > No, this guy is smarter than that -- he's pretty sharp -- so I listen to > what he has to say. > > Here's an interesting link: > > htt

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stephen
On 13-08-20 10:19 AM, Tedd Sperling wrote: On Aug 20, 2013, at 10:04 AM, Ashley Sheridan wrote: Is he possibly getting confused with Javascript? Thanks, Ash No, this guy is smarter than that -- he's pretty sharp -- so I listen to what he has to say. Here's an interesting link: http://www.s

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 10:04 AM, Ashley Sheridan wrote: > Is he possibly getting confused with Javascript? > > Thanks, > Ash No, this guy is smarter than that -- he's pretty sharp -- so I listen to what he has to say. Here's an interesting link: http://www.sitepoint.com/best-programming-language

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stephen
On 13-08-20 10:00 AM, Tedd Sperling wrote: Hi guys: A teacher at my college made the statement that JAVA for Web Development is more popular than PHP. Where can I go to prove this right or wrong -- and/or -- what references do any of you have to support your answer? (sounds like a teacher, hu

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Ashley Sheridan
Tedd Sperling wrote: >Hi guys: > >A teacher at my college made the statement that JAVA for Web >Development is more popular than PHP. > >Where can I go to prove this right or wrong -- and/or -- what >references do any of you have to support your answer? (sounds like a >teacher, huh?) > >Here are

[PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
Hi guys: A teacher at my college made the statement that JAVA for Web Development is more popular than PHP. Where can I go to prove this right or wrong -- and/or -- what references do any of you have to support your answer? (sounds like a teacher, huh?) Here are my two references: http://w3te