Habbowood 2007 (Movie maker + Player)

Results 1 to 8 of 8
  1. #1
    Apprentice Aleas is offline
    MemberRank
    Mar 2017 Join Date
    5Posts

    information Habbowood 2007 (Movie maker + Player)

    Hi,

    Habbowood 2007 (Movie maker + Player) available here works great but saving movies isn't possible anymore since PHP 5.5 version.

    Anyone to solve this problem ?


  2. #2
    The **** Keiz is offline
    MemberRank
    Nov 2015 Join Date
    238Posts

    Re: Habbowood 2007 (Movie maker + Player)

    Use PHP < 5.5 ...

    Or re-write deprecated code.

  3. #3
    Apprentice Aleas is offline
    MemberRank
    Mar 2017 Join Date
    5Posts

    Re: Habbowood 2007 (Movie maker + Player)

    Quote Originally Posted by Keiz View Post
    Use PHP < 5.5 ...
    Impossible for me.

    Quote Originally Posted by Keiz View Post
    Or re-write deprecated code.
    I don't know how to make it. I'm just looking for someone who knows how to do it.

  4. #4
    The **** Keiz is offline
    MemberRank
    Nov 2015 Join Date
    238Posts

    Re: Habbowood 2007 (Movie maker + Player)

    Well post some errors / deprecated code.

  5. #5
    Apprentice Aleas is offline
    MemberRank
    Mar 2017 Join Date
    5Posts

    Re: Habbowood 2007 (Movie maker + Player)

         
    Last edited by Aleas; 15-03-17 at 10:10 AM.

  6. #6
    Novice Aleaz is offline
    MemberRank
    Mar 2017 Join Date
    1Posts

    Re: Habbowood 2007 (Movie maker + Player)

    savemovie.php :

    PHP Code:
    <?php
    require("config.php");

    $data $_POST["data"];

    mysql_connect($mysql_host$mysql_user$mysql_password) or die(mysql_error());
    mysql_select_db($mysql_database) or die(mysql_error());

    if (isset(
    $data))
    {
    mysql_query("INSERT INTO `movies` (`data`) VALUES ('" $data "')");
    $id mysql_insert_id();
    echo(
    $id);
    }
    else
    {
    header("HTTP/1.0 500 Internal Server Error");
    }
    mysql_close();
    ?>
    Error :

    Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/???/public_html/habbowood2007/savemovie.php on line 6
    movie_xml_data.php :

    PHP Code:
    <?php
    require("config.php");
    header ("Content-Type:text/xml");
    $id $_GET["id"];

    mysql_connect($mysql_host$mysql_user$mysql_password) or die(mysql_error());
    mysql_select_db($mysql_database) or die(mysql_error());

    echo 
    utf8_encode(mysql_result(mysql_query("SELECT data FROM movies WHERE id = '" mysql_real_escape_string($id) . "'"), 0));

    mysql_close();
    ?>
    Error :

    This page contains the following errors:

    error on line 2 at column 1: Extra content at the end of the document
    Below is a rendering of the page up to the first error.
    movie.php :

    PHP Code:
    <?php
    require("config.php");
    ?>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Habbowood</title>
    </head>
    <body bgcolor="#292929">

    <object type="application/x-shockwave-flash" data="<?php echo $script_url?>flash/movie_player_skin.swf?figuredata_url=<?php echo $script_url?>xml/figure_data_xml_hc.xml&movie_data_url=<?php echo $script_url?>movie_xml_data.php?id=<?php echo(mysql_real_escape_string($_GET["movieId"])); ?>&localization_url=<?php echo $script_url?>/xml/locale.xml" width="536" height="360">
    <param name="base" value="<?php echo $script_url?>flash/" />
    <param name="allowScriptAccess" value="always" />
    </object>

    </body>
    </html>
    Error :

    Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/???/public_html/habbowood2007/movie.php on line 10

    Warning: mysql_real_escape_string(): Access denied for user '???' (using password: NO) in /home/???/public_html/habbowood2007/movie.php on line 10

    Warning: mysql_real_escape_string(): A link to the server could not be established in /home/???/public_html/habbowood2007/movie.php on line 10
    Last edited by Aleaz; 11-03-17 at 09:20 AM.

  7. #7
    The **** Keiz is offline
    MemberRank
    Nov 2015 Join Date
    238Posts

    Re: Habbowood 2007 (Movie maker + Player)

    Switch to mysqli, PDO, o̶r̶ ̶s̶u̶s̶p̶r̶e̶s̶s̶ ̶d̶e̶p̶r̶e̶c̶a̶t̶i̶o̶n̶ ̶w̶a̶r̶n̶i̶n̶g̶s̶ (please don't)

    Although mysql will be deprecated, (and is in newer versions), this is not the error that is stopping your movie maker from working.
    It's this:
    Warning: mysql_real_escape_string(): Access denied for user '???' (using password: NO) in /home/???/public_html/habbowood2007/movie.php on line 10
    Insert the database you must've got while downloading the movie maker, and change your config.php to a valid MySQL connection.

  8. #8
    Apprentice Aleas is offline
    MemberRank
    Mar 2017 Join Date
    5Posts

    Re: Habbowood 2007 (Movie maker + Player)

    It's this:
    Warning: mysql_real_escape_string(): Access denied for user '???' (using password: NO) in /home/???/public_html/habbowood2007/movie.php on line 10



    Insert the database you must've got while downloading the movie maker, and change your config.php to a valid MySQL connection.
    config.php is correctly set, it works when I test with php version < 5.5 (but I have to use PHP version 5.6).

    Switch to mysqli, PDO
    I tried but I don't know enough to get there.



Advertisement