When i have some more time @ school and @ work.. i will be writing some PHP and MYSQL tutorials.
Was thinking 'bout creating something like a 'downloaded' movie database?
hi i have a request I need a search bar equal to this site hao123- Easy and convenient access to Internet services
When i have some more time @ school and @ work.. i will be writing some PHP and MYSQL tutorials.
Was thinking 'bout creating something like a 'downloaded' movie database?
Can somebody please make a tutorial on to protect my php source code from viewing it?
I'd like to see a a tutorial on how to fully convert a PSD to HTML document for 'noob's.
Hello, I'm making a private server for a game, and I've made this website with a registration page.. but I don't want people messing around with my code.
So my question is: How do I hide parts from my code when people view the source?
For example, on the register page of http://play9d.to/ when you right-click -> view source you can see there is no PHP code or any HTML form codes that make the registration form.
So how do I approach this?
Programming languages: PHP/HTML
Thanks in advance,
Chasm
There is a form code.
You have no need to worry really, the php is the important thing and that is hidden, the best thing i can think of for you to do is to just disable right clicking on the page (however that can be bypassed with ctrl+u etc...)PHP Code:
form name="register" id="register">
<div id="reg_warp"> <div class="lk_tr">Username</div> <div class="lk_fr"> <input type="text" name="username" value="" id="username" maxlength="16" onblur="new Ajax.Updater('reg_username_errors', 'do.php?do=validate_form&tipo=userid&val='+document.getElementById('username').value, {method: 'get', asynchronous:true});"> </div> <div id="reg_username_errors" class="reg_errors">Forbidden username</div> </div> <div id="reg_warp"> <div class="lk_tr">Password</div> <div class="lk_fr"> <input type="password" name="password" value="" id="password" maxlength="16" onblur="new Ajax.Updater('reg_password_errors', 'do.php?do=validate_form&tipo=pass1&val='+document.getElementById('password').value, {method: 'get', asynchronous:true});"> </div> <div id="reg_password_errors" class="reg_errors"> Your password's length must be between 6 and 15 characters. </div> </div> <div id="reg_warp"> <div class="lk_tr">Repeat password</div> <div class="lk_fr"> <input type="password" name="password2" value="" id="password2" maxlength="16" onblur="new Ajax.Updater('reg_password2_errors', 'do.php?do=validate_form&tipo=pass2&val='+document.getElementById('password').value+'-'+document.getElementById('password2').value, {method: 'get', asynchronous:true});"> </div> <div id="reg_password2_errors" class="reg_errors"> Retype your password here </div> </div> <div id="reg_warp"> <div class="lk_tr">E-Mail address</div> <div class="lk_fr"> <input type="text" name="email" value="" id="mail" maxlength="120" onblur="new Ajax.Updater('reg_email_errors', 'do.php?do=validate_form&tipo=email&val='+document.getElementById('mail').value, {method: 'get', asynchronous:true});"> </div> <div id="reg_email_errors" class="reg_errors"> You must use an valid E-Mail address for manage your account </div> </div> <div id="reg_warp"> <div class="lk_tr">Captcha</div> <div class="lk_fr"> <div id="captcha_container"> <img src="functions/captcha.php"> </div> <input type="text" name="captcha" value="" id="captcha" style="width: 80px;" maxlength="4" onblur="new Ajax.Updater('reg_captcha_errors', 'do.php?do=validate_form&tipo=captcha&val='+document.getElementById('captcha').value, {method: 'get', asynchronous:true});"> </div> <div id="reg_captcha_errors" class="reg_errors"> Type the captcha here </div> </div> <input type="button" id="register_btn" onclick="new Ajax.Updater('create_newuser_errors', 'do.php?do=create_newuser', {method: 'post', asynchronous:true, parameters:Form.serialize(document.register)})"> </form>
There is a topic on right click dissabling here:
http://forum.ragezone.com/f578/click...safety-975399/
Can someone post how to make a stable SpawnSystem, in C++ and if is possible in Java
I mean for example if I have 6.000 mobs I don't like to show all of them to the player so I got a for, and the for check EVERY MOB (6.000 mobs are checked) and if someone have distance < 20 It spawn to player, so that get laggy because, imagine are 30 players, so checks 6.000 mobs for one player and if somemob are with distance less than 20 show to the player, and make it 30 times... so how can i make it better? Or the best way to do that
Anyone post a tutorial on how to remove the functionality of VK_SnapShot (known as the Print Screen key on keyboards) once an application is running?
YOU COME IN PEACE, BUT YOU WILL LEAVE IN PIECES.
This is specific enough, you should just ask on Coder's Paradise. A tutorial for something so specific would have to be a tutorial on several other pieces of the software as well. For example, this would require a tutorial on an entire multiplayer game with a map and mobs, etc. Far too complicated for a tutorial here.
To solve your problem, you may as well assume there are much more than 6,000 mobs and 30 players. Assume m as mobs, and p as players. Every time a p moves, query for all of the m that are in the p's view. I don't know what database you use, but if you cannot query the db for entities using a geospatial index, then you should use a db that does support that. Think in terms of events, not massive loops. Massive loops, as you found out, do not scale in this scenario.
Tutorial on Ranking Ladder System for competitive teams?
[Java]
I'm currently looking over the internet for examples or decent explaination on:
- Lambda Expressions
- Method Reference
- Generics (ik how they work but with extending T is always nice to see more examples on)
If someone could link me a few websites or show some full written examples with comment on wich part does what it'dd help me out for sure!
I know that there is a topic with Lambda expressions in C#, but it only helped a bit so i'm looking for more info.
Tutorial Step By Step Make MMORPG emulator please