you may get this error you are not a PHP guy ,
| Fatal error: Call to undefined function session_start() |
then what’s wrong? the answer is short. this functio has been removed since php 5.4, so your php is too new for this code.
| private static String ReplceSpecialChars(String s) { |
there are couple ways to get the processed of a given application pool, here is some quick ways to do that.
Using WMIC, this works for IIS6/IIS7
Go command prompt, type “wmic”
put the query like “process where name=”w3wp.exe” get processid, commandline” , you will see the app pool name and the processid.
or just put in one line,
using task manager for windows 7 or 2008,add commandline to the columns
Or run cmd as admin, go to “c:\Windows\System32\inetsrv” run “appcmd.exe list wp”, using the IIS admin tools , this works only for iis 7 and above
or using DebugDiag, this works for all IIS version,
go to the process tab, it has the web application pool name,
Quick test: setup the node.js to pull the contents from twitter in a parallel, and parse the json data back,
If search, http://search.twitter.com/search.json?q=lakers&rpp=5&include_entities=true&result_type=mixed, will show lakes news.
Here is one quick code to search 5 NBA teams, and get the text back.
| function getwebPageContents(keyword,callback) async.parallel([ |
Sublime Text is a Super IDE for developers, if you are looking the same experience for Node.js, there is one plug-in which supports Both. you can check it here, https://github.com/tanepiper/SublimeText-Nodejs
for the installation, if you don’t have any GIT on windows, just go to https://github.com/tanepiper/SublimeText-Nodejs
click the zip to download all the bits,
then unzip the file, to F:\Users\Androidyou\AppData\Roaming\Sublime Text 2\Packages\Nodejs, must be no further subfoder in this directory. otherwise, the build wont work, so the final resutlsl looks like<
once done, restart the sublime, you can see the node.js build /and run profle are there.
| String s = "Department May 89 , 2012 - May 09 , 2011, June 12, 2011"; |