Search results

  1. B

    Misleading details on prime membership plan, downgrade from doubleall

    Misleading details on prime membership plan, downgrade from doubleall2 I received an email last week, reminding me that my subscription on the forum inactivity timer was about to expire. After finding out that it is no longer possible to renew that subscription, I looked into the option of...
  2. B

    MySQL Format

    You are probably using the default MyISAM engine, which does not support foreign keys. Both tables should be of type InnoDB. Use the code: CREATE TABLE `...` ( ... ) ENGINE = INNODB; Or ALTER TABLE `...` ENGINE = INNODB; Please note that you could replace the ENGINE keyword with TYPE...
  3. B

    Javascript help

    If would have read the script itself, you can see it uses the 'create' method of OOP object 'UFO'. This was referenced at the top of the page with a <script ... src="/design/vlada2/javascript/ufo.js"> </script > tag. You should download that onto your server and reference it too. And BTW, just...
  4. B

    Ajax help.

    To clarify what AJAX is and how it works: AJAX stands for Asynchronous Javascript And XML It is a technique in Javascript that allows the programmer to have scripts download and use data from the server, without having to reload the page. An XMLHttp Javascript object will hereby function as a...
  5. B

    header function fails even on pure php pages

    Its probally because a empty line or a space just infront of the <?php tag. Make sure there is absolutely *no* text nor whitespace which is not included within a php tag before the header() functions is called. Also check any included files, they might contain that one byte that is messing it up!
  6. B

    Javascript Check Number Help

    This should work... var num = parseInt(prompt("Enter number to view more information about an album 1-6 Only")); while(num < 1 || num > 6) { num = parseInt(prompt("Enter a valid number between 1 and 6 to view more information about the album")); } What the code does: It first...
  7. B

    php mysql help

    Actually, mysql_fetch_assoc is almost the same thing. mysql_fetch_assoc($result); Is the equivelant of calling mysql_fetch_array($result, MYSQL_ASSOC); However, mysql_fetch_array has as default optional parameter MYSQL_BOTH. That means it will return an associative as well as a numeric...
  8. B

    php mysql help

    Just saw a mistake, but I do not understand why PHP does not error. There are no dots around $results['description'] // 6th line from the start of `echo` and therefor the strings are not joined. I tested a small script with something similar on my server, and it just returns a blank page, so I...
  9. B

    php mysql help

    First of all: its wise to not show your database password to the public. You should edit that out =D. But.. about your script. It seems fine, no PHP errors in it. Are you sure it can succesfully connect to the database (as there is no code to catch the error when it can't)? Try altering the...
  10. B

    FLV support

    I would recommend uploading videos to a online service like vimeo and marking them password protected. Then have your x10hosting site link to the video with the password given. For streaming direct video from a webcam or camera you could also use uStream.tv. As others said: video streaming...
  11. B

    MYSQL help

    Yep, the name field is an integer number in your setup. Change it to VARCHAR(255), TINYTEXT or another string-type. Have a look here for an overview of mysql datatypes: http://www.htmlite.com/mysql003.php
  12. B

    MYSQL help

    It could be that the mysql_query or mysql_select_db is triggering an error which is not caught. Try this: <? $firstname = $_POST['Name']; $message = $_POST['Message']; $submit = $_POST['submit']; if($submit == "Submit") { $con =...
  13. B

    how to place files in other than www folder

    I should have added to my post: Folders on the user-root level are not for public files, any security hole in the website could potentially cause a lot more damage there. Its therefor highly discouraged and I don't know if its even allowed at x10hosting! Next to that, it would probably not...
  14. B

    how to place files in other than www folder

    If you have your html file (index.html) like this: /public_html/index.html and your css file: /public_html/css/index.css, you can refer to it using "css/index.css". You could also use a double-dot to go a directory back. Say, if you have your html file (index.html) like this...
  15. B

    Numeric IP

    I have a similar setup (if I understood the question right) for my account. I have the DNS set at my registrar instead of x10hostings NS servers. This is how to do it: 1. The IP of your server can be found in the stats section of your cpanel (left side, click the top bar to expand, it should...
  16. B

    Parse error: syntax error (PHP)

    Parse errors do not have to be specifically on the line it says. The problem here is that you forgot the semi-colon behind line #6: $result = mysql_query("SELECT * FROM cds") 'Unexpected XX' errors are mostly triggered due to a forgotten semi-colon, bracket or comma. Just backtrack from...
Top