Jump to content

kewley

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by kewley

  1. <?php$contents = '';$handle = fopen("http://r6vegas.eu.xbox360.gamebattles.com/stats/868.htm","r");$Content = fread($handle, 1000 * 1000);$Content = str_replace(" " , "_" , $Content);echo strip_tags(substr($Content, 3000 , 3010 ));?>

    This is supposed to access the site mentioned and then store the code. It is then replaces all spaces with "_" and strips the html tag before searching for a specific character and echoing it. It not working too bad, except for I don't seem to be able to get it to echo any part of the string about about the 2600th character, it just returns black space? Any help would be greatly appreciate, as I have been trying to get this to work for about 2 hours now.

  2. Lets say I have two variables:

    $var1 = 4;$var2 = 9;

    If I add them together:

    $var1+$var2=$var3;

    And output them:

    echo $var2;

    I get 49.......How would I make it actually adds the values (=13)?

  3. Do you want the Movie Clip the script is on to go to the 2nd frame, or the main time line?If the answear is the main timeline, the you need to change: gotoAndPlay(2);to:_root.gotoAndPlay(2);

  4. Hi,I have a basic knowledge of PHP (very basic actually, still learning) but I am curious how to load data from another site using it.Example: This page loads the amount of players on a server, located here (Once the page loads click "play RuneScape existing user" and then click "low detail" you will then see the server list). Any help or advice is greatly appreciated.

  5. would like to check how to make the background image go fade for a while for text to appear upon clicking onto those button that are make onto the imagethe text need to be there for sometime b4 clicking onto another buttoneg singapore map. if i have map dots on the map to show the location.Once user click onto the dots information wil show out.. but how to make the map go fade for some time
    Thats a little hard to understand sorry?
  6. <IFRAME SRC="" width=772 height=630 name="worldframe" frameborder="0" scrolling="no"></IFRAME>

    How would I go about updating that once an option has been selected from a drop down list?For instance when the user selects "w3 schools" from a drop down list, the iframe updates to show the W3Schools homepage. However, if the user clicks "w3schools forums" the iframe updates with to show these forums?Any help is greatly appreciate, thanks.

×
×
  • Create New...