Well what I had as code was PowerShell Script (.ps1) I'm not sure how PHP code can be put together with it, can it? I tried to run the code you wrote in PowerShell Script ISE and it said:
Missing 'in' after variable in foreach loop.
At line:4 char:16
Sorry for my lack of knowledge..
Thanks, that seems quite easy. Do you know how I could search the variable $pageSource for a list of words? Does it need to be printed somewhere, or can it be done directly? I'm not good with PHP at all, and that would be an overstatement.
It's meant to search for the URLs mentioned in urls.txt and as you can see, search for the word "Test" in the content of the URL, this is the code so far:
$webClient = new-object System.Net.WebClient
$webClient.Headers.Add("user-agent", "PowerShell Script")
$info = get-content...
I got 114.7 bars by putting in all the values, but how do I know the pressure after a given amount of time? For example, it will not be the same at 5 minutes as it was at 2 minutes? When was it 114.7 bars, is that when it completely evaporates?
By the way ,114.7 bars sounds like a lot
I'm basically looking to find out how I could code a program to read the textual contents of a website (in either batch, dev c++ or powershell script - or a combination) and then search for a specific word, which when found, will trigger a set of commands. It's basically like the findstr command...
If you have a cooker with a volume of 3000 cm^3, then you add 200 ml of water, and let it turn into vapor at 100 C over time, how would you calculate the pressure at any point during the evaporation? It's not homework, just an example so you get what I am saying.