Can anybody help me with *any* information on MMOG (Massive Multiplayer Online Gaming) engine development ? I'm trying to develop simple (as a start point) MMOG engine using PHP + MySQL (or PostgreeSQL). Main questions are: 0. Is it necessary to put game logic on DB triggers and stored procedures ? 1. Can Apache's 1.3.x (or 2.x ???) build-in multithreading support be used to serve, say, 1000 users simultaneously ? 2. What are the mechanisms of collision evasion when two or more users trying to access the same game resource (say, building) ? 3. The main idea is to use …

Member Avatar
Member Avatar
+0 forum 1

i went to php.com and downloaded this version 5 thing what is it for?

Member Avatar
Member Avatar
+0 forum 4

Just to let you know, I'm not here advertising anything, I just need some help. On the forums that I have whenever you login, you can check a box that lets you stay logged in. But it doesnt let you stay logged in. Sometimes it will just log you out for no reason and I don't know how to fix this. Can anybody help me?

Member Avatar
Member Avatar
+0 forum 4

Hi, We lost our website and have to start over (long story). I have made new forums: [url]http://www.hellsknights.southietech.net/forum/[/url] The problem is that there is no link to go to the home page from the forum page. I was hoping somebody could show me how to be able to click the logo and go to: [url]http://www.hellsknights.southietech.net/forum/[/url]

Member Avatar
Member Avatar
+0 forum 1

PHP 5 [i]fast&easy [/i] [i]web development[/i] [i]By: Julie Meloni[/i] So far this has been one of the better books that i have read. it has alot of examples and has actually inspired me to write some of my own unique code. Though the book has some faults in the Code, it makes up for this by the layout of the code and the commenting of all the lines of code so that the user knows exactly the what and the how. It does lack in the section however, of the how to correctly install and run PHP5. still though a …

Member Avatar
Member Avatar
+0 forum 2

i want any one tell me how can i used session and cookies ??? :o :o :o

Member Avatar
Member Avatar
+0 forum 3

I have been writing a CMS script and Im now debugging the whole thing and I have come accross an error I have never seen before or understand. The error is as follows **Parse error**: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in **c:\vhosts\squarehybrid.com\content.php** on line **61** The lines are all in a custom function (the line is marked) function ShowContent($section, $page='') { $section = URItoTitle($section); $page = URItoTitle($page); if($page != 'index' && $page) $result = mysql_query("SELECT c.cid, c.title, c.page, c.eval, c.bbcode, c.smiley, c.postdate, c.editdate, s.sid, s.sname, s.navigation, u.userid, u.username, u.email FROM content c LEFT JOIN section …

Member Avatar
Member Avatar
+0 forum 1

does anyone know where i can find a complete list of mysql commands. Im in the proccess of writing a live mysql database interaction for web use. and right now i need to store all mysql commands to an array and have the php script read the array and modify the words as it sees them. so if i typed in UPDATE TABLE..... the script would read up until the first white space. take the string of characters that it had been reading up to that point, check it against the array, and if it found it. it would read …

Member Avatar
Member Avatar
+0 forum 3

As usual, download and read about it at [url="http://www.php.net/"]http://www.php.net/[/url]

Member Avatar
Member Avatar
+0 forum 9

Just a quick question... I was wondering if there is a way of coding, in PHP, that I can have possibly mail(.......) send out a response email, as soon as it receives an email!? Unfortunately, the mailserver we have doesn't do auto-responders, and I just even simply need a small text file, not anything close to what these auto-responder softwares are offering! Any and all help is appreciated! --- Charles!

Member Avatar
Member Avatar
+0 forum 3

Having problems with a site that is built in php and mysql. The goal it for a page to list the name, city and phone of a service from a state, with no hyperlinks and this is currently setup and working correctly. Then I wanted to add a bonus if someone signs up they would have a featured area that would be hyperlinked from the list of names and would leave the other with no hyperlink. What I did was add another field which was called ‘bonus’ to the mysql table and it creates a ‘Y’ in the column to …

Member Avatar
Member Avatar
+0 forum 1

I have made a news script, but I now want to modify it so that it puts like 75 words insted of 500 characters followed by ..., I just think it looks crap. I have created the code that should explode all the words by spaces ' ', and them stick that into a for loop that will count to 75 and stick them onto a variable including spaces. [php]$preview = explode(' ', $news['post']); $i = 0; $news['preview'] = ''; for($i = 0; $i > 250; $i++) { $news['preview'] .= $preview[$i]; if($i != 249) $news['preview'] .= ' '; }[/php] for …

Member Avatar
Member Avatar
+0 forum 4

I am not much of a web designer/programmer I need some help this might be a easy question for most but, not me. You guys know when you upload pictures to a site and most sites have a standard format. Example I upload 1000 pictures via FTP it will assort them out in a nice looking format on the web page atomically. This is what I want to do can anybody help if so holler.

Member Avatar
Member Avatar
+0 forum 2

[b]Hello, I am trying to access a link in website and I got the following error message. I cannot detect the problem. I don't know much about the script but I believe it should be able to do it once I get guidance.[/b] [b]Thanks[/b] [b]Warning[/b]: mysql_connect(): Access denied for user: 'htcom@localhost' (Using password: YES) in [b]/home/u1/htcom/html/ecards/include/db_mysql.inc.php[/b] on line [b]37[/b] A { text-decoration : none; }TD,TH,P,BR,BODY,LI { font-size: 12px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;}FORM,INPUT,OPTION,SELECT,TEXTAREA { font-size: 12px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;} sound_fileURL = 'http://66.226.86.75/ecards/music/'; MsgWinMusicNote = 'Choisissez une option.'; query_string = ''; [b][font=Arial][size=3][color=#FF0000]SVP activez le javascript ![/color][/size][/font][/b] [center][center][b][font=Verdana, …

Member Avatar
Member Avatar
+0 forum 3

Thanks for lookin :D and hey :) Well yea, I'm a newb @ this whole web scripting thing, and I was wondering if there were any good PHP starter guides you could point me to. I've googled about 3 times, and always end up finding something that's too complicated for me right now. Alot of the MySQL stuff I pull up just confuses me, and I want to learn how PHP and MySQL interact, but I can't find any easy tutorials or guides. Any help would be greatly appreciated. :mrgreen: P.S. If you happen to stumble onto my website, they're …

Member Avatar
Member Avatar
+0 forum 5

Ok here it goes i was wondering if anyone here knew of all the specs a good cms (content management system) should have. i have planning on writing one to help me learn php. and i know this would be a nice project as it is complicated and has alot of stuff needed so if anyone can tell me what kind of features and specs they expect out of a cms that would be great thanks [img]http://www.programmingforums.org/forum/html/emoticons/smile.gif[/img] i have been told this mite be something not a good idea and have been recommended to do a "write an XHTML Strict/CSS …

Member Avatar
Member Avatar
+0 forum 4

the following code read from database by limit to show 2 records now i want to make link or button to show the next 2 records or the previons 2 records please tell me how i can do that ??????????????? :o the cod is <? $link = mysql_connect("localhost","","") or die("error connect"); $dbrusult=mysql_db_query("mydata","select * from table LIMIT 0, 2 "); echo ("<table border=1>"); echo ("<td align=center>NO</td>"); echo ("<td align=center>NAME</td>"); echo ("<td align=center>Country</td>"); while ($row=mysql_fetch_array($dbrusult)) { echo "<tr>"; echo "<td align=center>$row[0]</td>"; echo "<td align=center>$row[1]</td>"; echo "<td align=center>$row[2]</td>"; echo "</tr>"; } echo ("</table>"); mysql_free_result($dbrusult); mysql_close($link); ?>

Member Avatar
Member Avatar
+0 forum 1

Hey all! Sorry I haven't been around much lately. Hope things are well cscgal! :cheesy: I'm working on a new function for the admin control panel of my site. When a user logs in, it checks to see if it's a normal user, and then if not, checks to see if it is the administrator (me). I've set up a select menu that allows me to log in as the "normal user" after I've logged in as admin. That part works fine, and I am logged in with admin permissions, yet, am viewing the control panel as the normal user …

Member Avatar
Member Avatar
+0 forum 1

i keep getting this error at the top of my page when i go to my forum index. i jst installed it and have never gotten this error before. [code]Warning: set_magic_quotes_runtime, set_time_limit, version_compare, zend_version, getmyinode, getmypid, getmyuid, getmygid, getopt, getrusage, assert_options, assert, extension_loaded, dl, mysql_pconnect() has been disabled for security reasons in /home/content/b/i/g/bigk105/html/forum/index.php on line 45[/code] i also get this error when i go to my admincp [code]Warning: set_magic_quotes_runtime, set_time_limit, version_compare, zend_version, getmyinode, getmypid, getmyuid, getmygid, getopt, getrusage, assert_options, assert, extension_loaded, dl, mysql_pconnect() has been disabled for security reasons in /home/content/b/i/g/bigk105/html/forum/admin.php on line 60[/code] i cant even get into my …

Member Avatar
Member Avatar
+0 forum 7

I have created a function for a script I am doing for my website to help with manage navigation but something inside the function is causing the PHP Engine to stop running the script. I'm not to good with match expresions so I have a feeling it will have something to do with them. [php]function navigation($navigation) { if($navigation) { preg_match("#\[coverage\](.*?)\[/coverage\]#is", $navigation, $navCov); preg_match("#\[media\](.*?)\[/media]#is", $navigation, $navMedia); } if($navCov[0]) { $coverage = explode("\n",$navCov[0]); foreach($coverage as $link) $nav .= "&nbsp;&nbsp;<img src=\"images/arrow.gif\" alt=\"\" /> $link\n"; $return = <<<HTML <table width="149" border="0" cellpadding="0" cellspacing="0" style="padding-top:5px;" align="center"> <tr> <td><img height="22" width="149" src="images/coverage.jpg" alt="Coverage" /></td> </tr> <tr> …

Member Avatar
Member Avatar
+0 forum 1

please [B]iam ask about[/B] how can i delete and update from table ? :confused: please i want example to delete data from table and aother example to make update data from table please help me :o

Member Avatar
Member Avatar
+0 forum 5

I'm trying to make a manager that works with MySQL to create, delete and update classes in a database. I'm having trouble with the update/modify portion. I have a login page in HTML that has the action of manager.php, which shows a list of all the classes in the database and allows the user to check some checkboxes to modify or delete the selected classes. When I check some classes and try to modify them, the information is passed to the $_SESSION superglobal. When I run the update commands on the modify page, I use unset() to unset the class …

Member Avatar
Member Avatar
+0 forum 2

I am trying to use the command foreach to create a drop down menu. That I can usually do, the problem is I am also adding some linking. Here is some my code: <?sql $sql2 = "SELECT mn.map, mn.route FROM maps m JOIN map_name mn ON (m.map_name = mn.map) WHERE `ship`='".$POST['ship']."'"; $result2 = mysql_query($sql2) or die("Query Error".mysql_error()); while ($row = mysql_fetch_array($result2)) { $mapname[$row['mn.map']] = $row['mn.route']; } ?> <form action="edit_map_which.php" method="post"> <table border=0 cellspacing=1> <tr> <td> Map : </td> <td> <SELECT name="map"> <option value="" SELECTED>Select a Map</option> <?php foreach( $mapname as $map => $route ){ ** ?> <option value="<?php echo $map …

Member Avatar
Member Avatar
+0 forum 1

It is: Parse error: parse error, unexpected ';' in Untitled-3 on line 93 Here is the code: <? include ("config.php"); include ("functii_mail.php"); db_connect($dbserver,$dbuser,$dbpass,$dbname); //variabile lang global $sign_up_title; include ($lang); if (is_banned($REMOTE_ADDR)) { echo "IP banned!"; exit(); } function inregistrare($nume,$password,$email,$sex,$sexuality,$personal_ad,$location,$country, $age ,$birth_date,$zodia,$marital_status,$icq,$msn ,$web,$eyes_colour="",$hair_colour="",$weight=0,$height=0, $music,$partner ,$question,$newsletter ) { $sql="insert into users values (' ','$nume','$password',now(),' ','$email',0,'$sex','$sexuality','$personal_ad', '$location','$country', $age ,'$birth_date','$zodia','$marital_status','$icq','$msn' ,'$web','$eyes_colour','$hair_colour','$weight', '$height','$music','$partner' ,'$question',0,0,$newsletter,0)"; $res_logger = mysql_query ($sql); if (!$res_logger) { echo "An error occured in the logger.: \n"; echo mysql_error(); return FALSE; } else { return true; } } function password_check($password1,$password2) { if ($password1==$password2 ) { return TRUE; } ELSE { return FALSE; echo …

Member Avatar
Member Avatar
+0 forum 3

I have a form in my search.php page and want to know how to search on more than one field in my Mysql Database to give me the result. This is my form for searching one field: <form action="results.php" method="post"> Search:&nbsp;<select name="searchtype"> <option value="date">Date</option> <option value="wk no.">Wk #</option> <option value="year">Year</option> <option value="artist">Artist</option> <option value="title">Title</option> </select>&nbsp;&nbsp;<input name="searchterm" type="text">&nbsp; <INPUT type=image src="search.gif" value="Search"></div> </form> The thing is I wish to search on both the [B]wk no.[/B] field and the[B]year[/B] field to give the result I want. The think is that the Year is on multiple records (about 50 records) the Wk No. …

Member Avatar
Member Avatar
+0 forum 4

I am new to PHP and MySQL so am in need of some help please. I am using MySQL through PHP MyAdmin. I have a results page to a MySQL search and formatted it so that they come up as an HTML table. This is it's code: <table border="0" align="center"> <tr><!--Change colspan number as appropriate --> <td colspan="7">Number of records found: <?php echo mysql_num_rows($result); ?></td> </tr> <tr> <th>TW</th> <th>LW</th> <th>Wks</th> <th>Title</th> <th>Artist</th> </tr> <?php $i = 1; while($row = mysql_fetch_array($result)){ ?> <tr> <td><?php echo stripslashes($row['TW']); ?></td> <td><?php echo stripslashes($row['LW']); ?></td> //image or formatted RE <td><?php echo stripslashes($row['Wks']); ?></td> <td><?php echo …

Member Avatar
Member Avatar
+0 forum 3

ive been working on my login script, and ive come to a halt. i need some help with writing somthing that will check if the name has already been used like if ( $current_Username = $Database_username) echo "sorry user name taken"; else { continue with rest of functions } where current_username = $_POST[username] (from the form) and Database_username = "SELECT * FROM reg_info WHERE name = '$current_Username') ive tried things along those lines, but i always get errors. Does anyone know how to correctly do it?? thanks for any help that anyone can offer :)

Member Avatar
Member Avatar
+0 forum 11

Right first of all i'm new to php and i know that this is simple, but i just can't figure it out... 1st, I set up a php site that on the first page it has a textbox, lets say its name is text1... I set up the sql so that the value of text1 was a criteria to serch for in the title record of the database... Now the 1st page of results are correct but the next are wrong because the value of text1 is gone... i've tried this: echo "<input type='hidden' name='hiddenField' value = '"; echo $_REQUEST['festname']; …

Member Avatar
Member Avatar
+0 forum 1

Does anyone here have any phpbb experience? I'm looking for a rss newsfeed display for my index page of the board. I've looked at phpbbhacks.com and the main site but haven't found anything to tell me how to do it. I know that IM Portal and Integramod and other portal blends for phpbb have solutions but I'd really like to stay with the board layout. I've already hacked it enough to make it feel like a home/portal and I don't need to take it any further in that direction. But I would like to have a block at the bottom …

Member Avatar
Member Avatar
+0 forum 1

[php]<? $DBhost = "localhost";//location of mySQL on server/site $DBuser = "michael";//User name for logging onto mySQL $DBpass = "";//Password for logging onto mySQL $DBName = "user_login_info";//Name of the databse for logging into $table = "login_info";//Name of the Table to be used steps to create are included $name = "$_POST[name]";//Name that the person gave on the form $email = "$_POST[email]";//Email that person gave on the form $con_email = "$_POST[confirm_email]";//confirm their email is correct $sex = "$_POST[sex]";//sex of the person $month = "$_POST[month]";//month person was born $day = "$_POST[day]";//day person was born $year = "$_POST[year]";//year person was born if ($email != $con_email) …

Member Avatar
Member Avatar
+0 forum 4

The End.