Jump to content

alexville

Members
  • Posts

    71
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

alexville's Achievements

Member

Member (2/5)

0

Reputation

  1. Yes. I tried both restarting apache through cPanel and then restarting the whole VPS. It still spits out an Error 500 error after changing that one line. I'm so confused.
  2. Thank you, Well I tried what you suggested and I still receive the same error as before. And the weridest part is when I try to put quotes around the a=href,area=href,frame=src,input=src,form=fakeentry part like you suggested it totally makes every PHP page on my website Error 500. Even commenting out that line makes every page Error 500! This is insane :C
  3. Hello, I'm so mad at PHP right now... I'm trying to run a php shell file from SSH but when I run it I get thrown this error from PHP: root@server1 [/home/alexvill/www/3.0/socketchat]# ./socketShell.php PHP: Error parsing /usr/local/lib/php.ini on line 811 On line 811 of that php.ini file this is what occurs: url_rewriter.tags = a=href,area=href,frame=src,input=src,form=,fieldset= I have no idea what is wrong with this line. I have added quotes to it and that causes my whole site to get 500 errors. If anyone can help me out I would be so grateful! Here are the lines before that and after: ; session.use_trans_sid: (ini file field description not available) session.use_trans_sid = 0 ; url_rewriter.tags: (ini file field description not available) url_rewriter.tags = a=href,area=href,frame=src,input=src,form=,fieldset= ; sybase.allow_persistent: (ini file field description not available) sybase.allow_persistent = On
  4. Probably a simple thing to fix, but I have forgotten how to fix this problem. Here is my code: $query = "INSERT INTO $table (user_id, chat_data, chat_message) VALUES ('$uniqid','$date','$output')"; When the text in the $output variable includes a quote ( ' or " ) the query fails. What can I do to fix this problem? Thanks Freaks!
  5. Thanks for the reply, but it doesn't work. What I want is to have a bar that stays on the bottom of the visitors browser window, even if they scroll down the page. So That it is always in view. I dont want to use frames for this, but is it possible?
  6. Hey guys, I'm wondering how I can select the rows in my data base that have over 1000 views. I know its easy but I forgot...
  7. Im not sure if this would be HTML or CSS, but im trying to get a bar on the bottom of my visitor's web browser when they visit my site, and so that it stays there when they scroll the page, much like on Facebook's chat. Anyone know how to do this?
  8. Hey guys, Well my site works on a mysql database system where I have locations of flash game files stored and all the information about them and then I have a gameviewer.php page that has a ?id=11(whatever number) ending. But google is not indexing these dynamic pages, is there a way i can get this to happen? http://www.alexville.com/games.php
  9. Okay, It works when the person has more than 0 views, but when they have no views it just shows up as this: Your games have received views all together! The number zero doesnt show up where it should be between received and views. $a = mysql_query("SELECT SUM(`views`) FROM games WHERE uploader = '$session->username'"); $views = 0; if (mysql_num_rows($a) > 0) { $views = mysql_fetch_array($a); $views = $views[0]; } echo "Your games have received <strong>$views</strong> views all together!";
  10. One more thing, how would I check if the result was empty, and instead say it was 0 views?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.