Hello.
I have no idea how i can copy the text from a web page to a string variable ?

I dont want the HTML code of the page to be stored in the string..
i want the output of the web page to be stored into the string..

If there is a webpage containing just the text saying "Hello World" i would like to store "Hello World" to a string variable..

I'm quite new to php..it would be really grateful if anyone can assist me with a solution.

Thank You.

Thanks slyme. It solved my query. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.