Search results

  1. Salvatos

    Problems with Form submitting (HTML/PHP)

    Well as a proofreader I first noticed this: $ob = "----=_OuterBoundary_000"; $ib = "----=_InnerBoundery_001"; which is probably a typo. But for the rest I don't know enough to help you, sorry.
  2. Salvatos

    MySQL entries limit?

    I'm not sure how to explain this, but I'll start with the problem, how I resolved it and the summarized question. So to make things short, I run a little php game (still in development) where players fight each other. Battle information goes to a table called "battle", which is kept afterward...
  3. Salvatos

    Help with Variable error in PHP

    16. mysql_query("UPDATE players SET lastlogin='$lastlogin' WHERE id='$sessid' LIMIT 1") or die(mysql_error()); Unexpected T_VARIABLE means a variable is stated when it shouldn't, usually meaning something just before has not been closed.
  4. Salvatos

    PHP versions

    Yea they ask for it but I can't either ^^' Anyway I'm still confused about your code sending you an e-mail, but it's probably actually Bravenet that gets the info and their servers take care of the e-mailing, from what I get.
  5. Salvatos

    PHP versions

    Well I guess this is the answer to your question. If there is another file containing php and using a mail() function, I do think you will need PHP v2, but with that alone you won't.
  6. Salvatos

    Display User Login after user has logged in.

    I think the easiest way would be to set a session variable. When you validate the user's logging in, you most likely make a query to your DB to check if the login and password match. If they do, you can do something like this: (If the user has logged in succesfully) $_SESSION[logged_in] =...
  7. Salvatos

    Please Help, Urgently...

    I think you should show your language.php code, especially from lines 1 to 30. I've never used constants, but it seems that something is missing in that file and others will be able to help you working from the code.
  8. Salvatos

    How do you create a Comment Box? Script help please

    Hum, I don't have time for a complete code for you, but here's something I use on my website to add blog-like articles. I did a bit of editing to make it easier for you to use and to fit a bit more with what you're looking for, I hope you'll be able to work from that. <?php //Form already...
  9. Salvatos

    ????

    Well it's apparently a PHP-Nuke theme from http://www.realmdesignz.com... Unless you are a PHP-Nuke user, reusing this template might be tricky. Otherwise you can just find it on their website, download it and install it using PHP-Nuke's guides or those provided with the template, if any.
  10. Salvatos

    !!!READ NOW! - An Error Has Occurred!!!!! DO NOT POST!

    An error has occurred to me too... I saw two similar threads about this from today. I am Salvatos on an ad-enhanced advanced plan as far as I remember. salvatos.x10hosting.com In another thread, someone asked to the original poster when was his last connection; mine was an hour ago. I...
  11. Salvatos

    404 error , how'd you make one ???

    That page doesn't show me a 404 but you're welcome (I just get an "Internet Explorer cannot display this page" error).
  12. Salvatos

    404 error , how'd you make one ???

    Go to your cPanel, under the Advanced table click Error pages, select your domain, the type of error for which you want to create a page (in your case 404) and have fun! You also have a few useful code buttons at the top (user IP, browser, referrer, etc.). Hope this helps!
  13. Salvatos

    PHP & SQL help

    I'm not a php pro yet so maybe my question will be dumb, but if it can help... Why is there a dot before the "="? $sql .= "asc"; Though this part looks even weirder to me ("mysqli"): $result = mysqli_query($cxn,$sql) or die("SQL failed"); $num = 1; while ($row =...
  14. Salvatos

    Connection from forum<->website

    I can't help much without a little more details, and won't give you a pre-made code since I don't have one, but all you have to do is set a PHP file on your site that will fetch the information from your forum's database. A quick example: You want to know who is the latest member registered...
  15. Salvatos

    Can't figure out how to use my cron job

    Yep, I had put it there temporarily. Now it's in /etc, I think that's what you recommended in another thread. And your command does work like charm, thanks a lot! For your information, I read on the web that the "-q" part prevents the cron from sending you an e-mail (of course it doesn't...
  16. Salvatos

    [Game Programming] Highlander

    As a matter of fact, I am currently working on my own browser-based rpg. I haven't had any kind of education related to computing, so I'm doing it entirely in PHP (and HTML of course...). I'd say that most of what I have done up to now was easier than I thought it would, but it's still a...
  17. Salvatos

    Can't figure out how to use my cron job

    Well, first off, I did use the search function and everything, Google lots of stuff, try different methods... but I can't get my cron job to work, although I am sure it's a pretty basic thing I'm trying to do. Goal: Having a cron job that will update a particular table of my database everyday...
  18. Salvatos

    Separate CSS for just one page

    Hey there. I use includes to get my header, sidebars, footer, etc. together. I'd like the links in the left sidebars to show differently than those in the regular text. I'm not that used to CSS, but I normally can edit some and make it work. Though now I've tried a lot of things and wasn't able...
  19. Salvatos

    My ads don't show up

    Starting today (I think) my ads stopped showing up. All the rest of my pages works perfectly, but although the ad codes are there, nothing shows up. I'm using this code: <DIV align="center"> <!-- Ad Code --> <script type="text/javascript"...
  20. Salvatos

    5 Easy Points for English Speakers

    Hello people, I am translating some interviews for a website, from English to French, and I came across an abbreviation that I have never seen and that is not in my dictionnaries...So...Here are the two quotes with the abbreviation underlined, 5 points to the first person to tell me what is the...
Top