
galdikas
Members-
Posts
139 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by galdikas
-
Ok.. Will gonna attempt to have a go at coding attacvking system. So I am now trying to come up with a way to make sure that if someone is in attack. so that he wont be able to browse any other page without losing an attack. So if i set a session variable in attacking: $_SESSION['attack']=1; but do not declare this in any other page. And then something like that' if(isset($_SESSION['attack'])) { battlecode goes here } else $_SESSION['attack']=1; So if someone visits another page while in attack... will this variable get destroyed???
-
place it in images directory, and append the filename to URL????
-
Developer May Be Needed - Mild PHP Coding [Prison Survival]
galdikas replied to daftrude's topic in Partnerships
Prison Survival Registration Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/daftrude/public_html/register.php on line 66 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/daftrude/public_html/register.php on line 78 here is what I got when trying to register -
Its the guys that do it for hobbie that ussually create anything worth a damn ;) Add me on skype= Eketgolt :)
-
Labas... Ok i know ths is is offtopic.. but how do you send message for someone on this site?? Cant find link anywhere (I just want to PM the starter, so thought it would be appropiate to post it here lol) And on topic: I wouldn't use Lithuanian in your code.. ;) English is more universal.. and what if your game ever becomes big an popular, and you will want to hire a non-Lithuanian dev??
-
lucky3809, did you actually thought it will be someone serious? :P From very first post I could see it wasn't? ;)
-
Sometimes when PHP says that there is . or ; missing in the line 58 for example, you have to look for problem in line 57 :)
-
I dont find w3 schools particulary good for learning PHP... Try looking for "phpacademy" in youtube, lots of good vids there ;)
-
[]Rob is not coded yet :) The jail was fully coded, but then i accidentally deleted the file that blocked you from accessing certain parts of the game when youre in jail, ill fix it when i code hospital fedjail etc :) Thanks for feedback! :)
-
So you looking for someone to finish it for you for free?? And you don't even post the URL here to show us what needs to done... Man i don't think you will find anyone :)
-
http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/ the above is $49... I really think you should reconsider your pricing ;]
-
Ok talking about the online editors.... The one integrated with host is probably pridy much erm... notepad online version??? What do you guys think about some of the proper online IDE's??? For example: http://shiftedit.net/?? I just read about it today in .NET magazine. And decided to try it out. Well quite good i would say... I didnt spent too much time on it, but thought it was quite great (though my connection might be a little too slow for it:D) One thing I really liked is that if you make a syntax error, it instantly notifies you, and tells you where it is. + it is meant to be really good for collaboration experiences. Another thing.. you can access it from any platform (iPad, iPhonem android etc...) Well I personally find it pridy usefull. What is your opinions?? Is there any other good online IDEs yous would recommend? PS. If you want to try it, its really easy cause they have facebook connect, and you can log in with google account as well :)
-
Get MCcodes lite :P
-
It costs too much :P
-
OK.. Just another quick word. So I switched to notepad++, and I really love it. However, for anyone starting php, I would really recommend starting with CONtext. Simply because of way better syntax highlighting, which will really help you when starting, believe me :)
-
Well I just thought since there was no solution in it, yous mught as well :) Well if yous dont... Maybe when I will have time ill explain how I did, maybe it will help someone else :D
-
Ok.. I managed to come up with system myself :) I think yous can delete this thread now.. :)
-
Wait a moment? There are people actually using ordinary notepad??? I cant believe that :D
-
Well decided to change my editor... And so picked the one with most votes,.. Hm... I like the block collapse feature in Notepad++, and it looks like there is more advanced than Context. But due to different syntax highlighting i find it difficult to code. Probably just need to get used to new highlights :P But still I think that Context has better hightlighting than N++, but N++ has better features
-
This + Another issue is that you will not be able to run crons.
-
Ok.. I am trying to implement friends system. Where you have to send reqyest ti become friends, and it then can be accepted or declined.. I have a good idea how I will make the request/accept/deny system. But not how to make table for actuall friends list. So: if(accept_invitation) { what here? my idea: mysql_query(INSERT INTO friends (ID1,ID2)) mysql_query(INSERT INTO friends (ID2,ID1)) } then generate the friends list $friends=mysql_query(SELECT * FROM friends WHERE ID1=$_SESSION['userid']) while($f=mysql_fetch_assoc($friends)) { $name=mysql_query(SELECT userame FROM users WHERE userid=ID2) echo"$name['username']" } I hope yous can get the idea from the mock up code what im thinking of doing.. And can make some comments wether its the good way, or is there bettter ways??
-
I think he just wasnt aware that you dont need access to cPanel to drop DB
-
Restore the database from the most recent back-up? You have back up right??:P Then find where he did the injection, and secure that bit of code :P
-
this makes no sense :S You need HTML if you want to use PHP.. And HTML on its own is useless :( Code from scratch or use engine?