I'm trying to get seconds and a URL off my friend's website that is stored in a file. He has it in a PHP file that displays it on the screen as text. I'm not sure if I can rip that off the page and then use it. He said he can change it to an XML file for me to get it off of.
Here's my question: How would I get the information from the file and then use that information? His PHP displays like this:
30#
The 30 represents seconds. The # symbols are separators between the seconds and the URL. How would I get the seconds out and set them to a Integer variable and the URL to a String variable?
Here's my question: How would I get the information from the file and then use that information? His PHP displays like this:
30#
The 30 represents seconds. The # symbols are separators between the seconds and the URL. How would I get the seconds out and set them to a Integer variable and the URL to a String variable?