Recent content by Spasm

  1. S

    Installing Pastebin

    Sounds like you're having an index page problem. The webserver needs to know which file to open when someone tries to view a directory. It's usually set up to use index.php or index.html, so one of those files doesn't exist or you need to double check your server configuration.
  2. S

    Visual Basic 6

    If you just want to open the page in the user's default web browser, read this: http://www.devx.com/vb2themax/Tip/18339
  3. S

    Installing Pastebin

    Are you getting any errors, does it not work correctly, what's the dealio yo yo?
  4. S

    PHP Script Trouble

    Try putting this at the top of whatever script is executed/included first: error_reporting(E_ALL);
  5. S

    MIDI Note On/Off

    What you're looking for is called a sequencer. Look at this: http://en.wikipedia.org/wiki/List_of_MIDI_editors_and_sequencers or type "midi sequencer" into google. I haven't personally used any sequencers that don't come packaged in a digital music studio, and you're probably looking for...
  6. S

    what is this...... plz help

    The result from mysql_query isn't valid. It should be something like this: connect to mysql and what not $result = mysql_query("SELECT * FROM my_table"); if (! $result) { die("mysql_query() failed!"); } $numRows = mysql_num_rows($result);
  7. S

    Installing Pastebin

    What version of pastebin/php/mysql are you trying to use, what guide/intall tutorial are you following, what error messages are you getting, what have you tried to fix it already, where can I download a copy to try myself, what's your mother's maiden name? Help me help you :)
  8. S

    Passing JS variables from one function to another

    Ummm... There isn't any other way to do it besides putting the variable outside the function. :nuts: Variables declared inside of a function will die when the function exits. These are called local variables, and can only be accessed from inside of that particular function. Local variables...
  9. S

    JS files...

    In terms of networking, it will be faster, but not anything significant or measurable. In general, you don't have to worry about how fast plain text files will be downloaded, unless it's especially large. Images and other types of media account for most of the load time on your average web...
  10. S

    php htmlentities()

    str_ireplace is the same as str_replace, except it ignores case (ie "<br>" and "<BR>" would both be replaced). Most string functions have a counterpart that ignores case, that's what the "i" stands for. I don't know how experienced you are with PHP, so this explanation may be a little...
Top