1) [login to view URL] would look like this:
(sent in e-mail)
So when [login to view URL] is executed, it would go to the URL in Line 1 and
compare the prices with the parameters in line 1.
- If a price below the set value is found it would send an e-mail,
like the Escapes script did.
- If a destination is listed twice, it would only notice the lowest price.
- It would store the last price found, just like the other script
did. The one difference would be that it would need to store the
destination based on the URL. Because for
example in [login to view URL] above, you can see that the URL from lines
1 and 5 contain the same destinations. So it would need to store the
last price found, but the last price for Cape Town from the URL in
line 1 would be different than the last price for Cape Town from the
URL in line 5.
- It would only send an e-mail again if the price changes from the stored value.
- Each time [login to view URL] is executed it would move to the next line in
[login to view URL] to process the next URL. For example, the first time
[login to view URL] is executed, it would process line 1. The next time
[login to view URL] is executed, it would process line 2. The next time
[login to view URL] is executed after that, it would process line 3. And then
start over once it is at the end.
- The script would use only files, no MySQL, like the other script.