Prev: PHP v.s. ASP include once("*.inc") - [Expert]
Next: ASP Problem to CRONTAB + file_get_contents [Expert]
From: Pseudonyme on 24 Mar 2010 03:49 ASP and PHP are much more powerful that internet browsers. The code in PHP and ASP is read once while million of the browsers would have to play the javascript (electricity volume). Browsers are little softwares with low-skills on board. How many times do you have to stop the browsers processes due to javascript problems ? Flash is fine, because you avoid scripts based on the browsers applications. Well ASP Please .......................... How please to convert $homepage = file_get_contents(''http://andersen.times.com/adveruser/ adverpay.php?country=1270331545&time=1236928998'); echo $homepage; INTO ASP The ASP architecture is different from PHP ... Home to do get the content of a http page using ASP ? Have a nice day, Cougloff
From: Erwin Moller on 24 Mar 2010 04:12 Pseudonyme schreef: > ASP and PHP are much more powerful that internet browsers. The code in > PHP and ASP is read once while million of the browsers would have to > play the javascript (electricity volume). Nonsense. Each invocation of a script (request by a client) makes the server execute the script. I don't understand your electricity story at all. Are you saying that letting the server fetch the time is cheaper than letting the browser do it? > Browsers are little > softwares with low-skills on board. That is your opinion. I say most modern day browsers are delicate pieces of softeware. > How many times do you have to stop > the browsers processes due to javascript problems ? That depends on the quality of the javascript code en the quality of the browser. You cannot forbid all knifes because some guy killed with a knife. > Flash is fine, > because you avoid scripts based on the browsers applications. Flash is dead soon. I predict in the not too distant future you will see more javascript/canvas based apps and less Flash. (ef: Apple stopped supporting it on I-phones.) > > Well ASP Please > ......................... > > How please to convert > $homepage = file_get_contents(''http://andersen.times.com/adveruser/ > adverpay.php?country=1270331545&time=1236928998'); > echo $homepage; > > INTO ASP > > The ASP architecture is different from PHP ... Home to do get the > content of a http page using ASP ? Possibly by stopping to post this question to 2 PHP related newsgroups. > > Have a nice day, > Cougloff You too. Erwin Moller -- "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." -- C.A.R. Hoare
From: +mrcakey on 24 Mar 2010 08:04
"Pseudonyme" <normancougloff(a)gmail.com> wrote in message news:9b7d88d8-557b-4479-b3a5-6ac9ea53fa3d(a)k13g2000yqe.googlegroups.com... > > ASP and PHP are much more powerful that internet browsers. The code in > PHP and ASP is read once while million of the browsers would have to > play the javascript (electricity volume). Browsers are little > softwares with low-skills on board. How many times do you have to stop > the browsers processes due to javascript problems ? Flash is fine, > because you avoid scripts based on the browsers applications. Wow. Somehow you've picked up some very wrong ideas. The script would be executed *every time a request was made* to YOUR SERVER if you did it in PHP and YOUR SERVER would have to fetch the information from the time servers. If you did it in JavaScript it would be executed on the USER'S BROWSER (i.e. the client) and THEIR CLIENT would fetch the information from the time servers. -- +mrcakey |