Jump to content

Pythondev

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Pythondev's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok, I want to read a RSS feed and extract some of its contents and put them into arrays. For example take a look at this snippet of an RSS feed from my site: [code]<item> <title>Glass Material</title> <link> http://www.tutorialdash.com/tutorial/3d-studio-max/textures/view/Glass-Material </link> <description>Glass Material - 3D Studio Max Tutorials</description> </item> <item> <title>Cool Explosion</title> <link> http://www.tutorialdash.com/tutorial/3d-studio-max/special-effects/view/Cool-Explosion </link> <description>Cool Explosion - 3D Studio Max Tutorials</description> </item> <item> <title>Cigarette Smoke</title> <link> http://www.tutorialdash.com/tutorial/3d-studio-max/special-effects/view/Cigarette-Smoke </link> <description>Cigarette Smoke - 3D Studio Max Tutorials</description> </item>[/code] There are three items here - after running it I want to have an array something like the following... $item[0] = first item $item[1] = second item $item[2] = third item $item[0][0] = first items title $item[0][1] = first items link etc..... How can this be done? Remember this will in fact go through 25+ items each time not just 3... Thanks
  2. Ok, What I have is this... I have a link which when clicks redirects you to another page... For example lets say this link is example.com/website/hello/329472 and this redirects to domain.com/page.html What I want to do is have a script where you type in the original url, in this case example.com/website/hello/329472 and it finds out what the page that it redirects to is... This needs to be done with no user input though apart from typing in the original URL. and if possible id like it so it doesnt show the website loading or anything... How can I do this? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.