Search results

  1. T

    [php] Cookies

    I need to make a cookie that expires ~5 seconds after it was created. Does anybody know what I should set the time to?
  2. T

    [php] Fuctions

    I need 2 separate functions: 1. A function that will cause a certain script to run at x time of day, every day (or just every so often, it doesn't matter) 2. A function that will enable me to UPDATE every table named duels_* (star meaning there will be multiple tables with different names)...
  3. T

    Hosting Advertising

    I want to put ads on my site to generate revenue. Does anybody know who will give me the best deal. I am looking to host one banner (or 4ish text ads) on my website.
  4. T

    [php][mysql]Select From issues.

    In my mysql entries, many of the entries contain [enter] characters. (These are also known as /n or newline) When I pull them from the table, all of the /n are turned into spaces. Does anybody know how I can fix this? I am currently using mysql_query("SELECT * FROM ...");
  5. T

    [.exe] Web Browser

    For a school project, I am thinking about building a web browser, such as Mozilla, or IE7. I have no idea where to start, or even what language to use. If someone could tell me what language to use and/or point me to somewhere I could get a tutorial in the language that would be great. I...
  6. T

    [php][mysql] UPDATE function

    mysql_query("UPDATE wiki_quotes SET Quote = '$Quote' WHERE id = \"$counter\""); That line of code is a working line of code. I need to set a column named Submitted By equal to another variable. If I try... ...SET 'Submitted By' it gives me an error becuase of the 's...
  7. T

    [mysql][php]

    I am having trouble with this code: mysql_query("UPDATE wiki_quotes SET Quote = $quotes WHERE id = '$counter'") or die(mysql_error()); The error I recieve is: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use...
  8. T

    Pockets of Downtime

    I am experiencing frequent pockets of downtime (5-6 times a day). They last under 2min each, so it's of no huge concern, but does anybody know what is/could be happening?
  9. T

    [PHP] form problems

    I am having trouble with this script: $quote_result = mysql_query("SELECT * FROM wiki_quotes ORDER BY $submit ASC"); while($quote_row = mysql_fetch_array($quote_result)){ echo "<p class = \"wiki_data\"> <tr><td>" .$quote_row['Quote']. "</td><td>" .$quote_row['Importance']...
  10. T

    [php] isset or similar function

    I made a form: echo "<form action = \"users_create_account_process.php\" method = \"post\">"; echo "<tr><td>"; echo "E-Mail Account: "; echo "</td><td>"; echo "<input type = \"text\" name = \"email\">"; echo "<br>"; echo "</td></tr><tr><td>"; echo "Veirfy E-Mail: "; echo "</td><td>"; echo...
  11. T

    XXX material

    Corey, I really appreciate the fact that you are now removing all XXX material from your servers. The web has too much of it, and I'm glad you are doing your part to keep it to a minimum.:biggrin: Keep up the good work:hahano:
  12. T

    Website page width

    I am trying to put together a website that looks good on any monitor, any resolution. If there is a widescreen monitor, I want everything blockquoted, so that my page does not look all spread out. But if they have a full screen, all the blockquotes will make the page appear crammed. I...
  13. T

    Name Servers

    When I try to change my nameservers to ns1.x10hosting.com and ns2.x10hosting.com, I get errors spit back at me. I use 1and1, but I don't think that the problem is on their end.
  14. T

    Tables

    Here is the code I'm using, I have 3 tables: <? echo "<table border = \"1\" width = \"13%\">"; //stuff that goes in the table echo "</table>"; echo "<table border = \"1\" width = \"35%\">"; //stuff in the table echo "</table>"; ?> <table border = "0" align = "center" valign =...
  15. T

    ATI Video Cards

    I noticed that ATI has a line of HD 2000 series video cards. I was wondering how they compare to some of the NVIDIAs for about the same price.
  16. T

    phpMyAdmin still slow

    phpMyAdmin is still being extremely slow. I haven't said anything about it because of the server alert, but it has been several days now. Why is it being so slow?
  17. T

    phpBB2

    I have a phpBB2 app on my site, and when the changes were made to the mysql servers and stuff, my forum stopped working. Does anyone know an easy way to change the script in phpBB2 so it stops trying to access localhost and instead tries to access mysql.x10hosting.com?
  18. T

    Mysql Help.

    Whoops. I give the admins permission to delete this thread.
  19. T

    Purchase item script

    Here is what I want [item] [price per] [input (how many you want to buy)] [text file that updates as you type into the input, which multiplies the price per by the number in the input] obviously, to prevent errors, I'd also need something that kept people from typing letters into the...
  20. T

    Login Script

    I have created a login script, but I am having problems with the spaces. Is there any way that I can disallow the space character in my signup forms? something like if (username has a space in it){ echo "You cannot have spaces in your username"; }else{ ...
Top