Nice got almost everything to work.
However what i am confused about is the following
curl opens a page (any page)
page executes whatever it needs to execute
and returns a var or whatever.
curl page receives this return
Now that return and receiving that return is what i am missing. How to do that