Jump to content
MakeWebGames

Sim

Members
  • Posts

    2,392
  • Joined

  • Last visited

  • Days Won

    62

Everything posted by Sim

  1. Nic
  2. I am working on a project where almost every page needs to used mod-rewrite. after filling in the form http://rpg.antgaming.com and i hit submit i get this:   Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email][email protected][/email] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at rpg.antgaming.com Port 80     my mod-rewrite code is this: RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|gif|bmp|png|avi|zip|mp3|midi)$ /images/nohotlink.jpe [L] RewriteRule ^game/(.*)/crimes$ /crimes.php?game=$1 [NC,L] RewriteRule ^game/(.*)/estates$ /estates.php?game=$1 [NC,L] RewriteRule ^game/(.*)/invetory$ /inventory.php?game=$1 [NC,L] RewriteRule ^game/(.*)/shop$ /shop.php?game=$1 [NC,L] RewriteRule ^game/(.*)/train$ /train.php?game=$1 [NC,L] RewriteRule ^game/(.*)/userlist$ /userlist.php?game=$1 [NC,L] RewriteRule ^game/admin/(.*)/crimegroupadd$ /admin/crimegroupadd.php?game=$1 [NC,L] RewriteRule ^game/admin/(.*)/crimegroupmanage$ /admin/crimegroupmanage.php?game=$1 [NC,L] RewriteRule ^game/admin/(.*)/crimeadd$ /admin/crimeadd.php?game=$1 [NC,L] RewriteRule ^game/admin/(.*)/crimemanage$ /admin/crimemanage.php?game=$1 [NC,L] RewriteRule ^game/admin/(.*)/estateadd$ /admin/estateadd.php?game=$1 [NC,L] RewriteRule ^game/admin/(.*)/estatemanage$ /admin/estatemanage.php?game=$1 [NC,L] RewriteRule ^game/admin/(.*)/newsadd$ /admin/newsadd.php?game=$1 [NC,L] RewriteRule ^game/admin/(.*)/newsmanage$ /admin/newsmanage.php?game=$1 [NC,L] RewriteRule ^game/admin/(.*)/itemadd$ /admin/itemadd.php?game=$1 [NC,L] RewriteRule ^game/admin/(.*)/itemmanage$ /admin/itemmanage.php?game=$1 [NC,L] ErrorDocument 404 /404.php php_value session.gc_maxlifetime 14400   how can i stop this from happening?
  3. Sim

    How to...

    RewriteEngine On RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\.php\ HTTP/ [NC] RewriteRule .+ http://www.mydomain.com/%1 [R=301,QSA] i believe he posted the answer...
  4. http://www.cafepress.com is one place that makes shirts. google = "costum t-shirts"
  5. Sim

    Game Community

    whats up with this?
  6. will to make me a template and i'll do some php coding for you?
  7. for mccodes?
  8. no luck...
  9. that fits the style of my site www.antgaming.com for all company consoles like Nintendo -> N64, Gambecube, Wii, DS anyone able to do this?
  10. MOD IS NOW READY TO SELL: Mod uses 1 new file 1 new table and 4 file edits, gym.php attackwon.php attacklost.php and docrime.php   10$ with install instructions and you install yourself 15$ with install instructions and i'll install for you =) First person that buys for 10$ I WILL INSTALL IT MYSELF =) mod only works for mc-code lite
  11. 1 Database entry per active user per day. I will also be selling it for 10$/copy
  12. what will this mod do? It will track your training stats, money gained or lost, exp gained, attacks won, lost, and crimes succedded, failed each day =)
  13. works like a charm. thanks.
  14. returns 0 results but shouldn't
  15. don't know what i'm doing wrong here. game_id = 2 all my fields are right in the query anybody see a problem? $game_id = mysql_real_escape_string($_GET['id']); //retreive game data $result = mysql_query("SELECT game_data.name, game_data.platform_id, game_consoles.console FROM game_data, game_consoles WHERE game_consoles.id='game_data.platform_id' AND game_data.id='$game_id'") or die(mysql_error()); $game_data = mysql_fetch_assoc($result); var_dump($game_data);
  16. www.antgaming.com
  17. if ($dh = opendir("downloads/")) { while ($file = readdir($dh)) { if(is_dir($file)) { if (($file <> ".") && ($file <> "..")) { echo $file; } } } closedir($dh); }   i have like 15 directorys in downloads directory. it only shows like 5. why?
  18. You stole my idea. I just told you that idea like 2 minutes ago. j/k.
  19. do you do v1 templates too?
  20. I need a good/fast way to mail this many users. Currently i have code something like this $headers = "From: MehSite.Com <my email>\n\r"; loop trhough users in DB mail($email, $subject, $message, $headers); end loop this just takes to long. to even mail 30,000 users it takes like 3hours or so. lols.
  21. Sim

    Teach me?

    got money? =)
  22. Sim

    Studying php

    rent a book from library =)
  23. http://www.phpbb.com/community/viewtopic.php?f=70&t=1830775
  24. loooks great!!
×
×
  • Create New...