
LordDan
Members-
Posts
66 -
Joined
-
Last visited
LordDan's Achievements
Newbie (1/14)
0
Reputation
-
I have no problems paying an upgrade fee for an updated copy of the engine. I'll email you shortly.
-
I just came here because I tried to download a fresh copy of NEaB only to see the site was down/under construction. How saddening. Most important question is, as I have proof of purchase; will I be required to purchase all over again? Can existing customers at least still download the latest version up until the point you have taken over? It would be such a shame to lose this product. Naturally, I take interest in your progress, but with an original $200 price tag way back when I'm sure you can understand my frustration. Regards, Dan
-
Interesting thoughts. I recently upgraded my development machine and whilst backing up my projects I stumbled across my very first, from scratch PHP project. It was looking through that old code from 2005/06 that got me to thinking of Procedural again. Admittedly, this was back when it was possible to waste a day away developing and enjoying every second of it. Being able to just make **** work whether it conformed to some sort of convention, or having your code perceived as poor quality because it isn't "pro-something" or "anti-some-other-crap". I miss these times.
-
I wish to hear peoples reasoning for staying with procedural for all this time. When I first joined this forum, I was still using procedural too, but I've 'progressed' if you will, into OO, MVC and I truly enjoy working with it. I seem to shudder looking back at procedural code, particularly when I see large chunks of HTML mixed in with PHP, or lack of comments, lack of consistency and convention. It truly annoys me and I've struggled to go back to procedural, even for tiny projects where it makes more sense. So, a genuine question, why are you all seemingly sticking with it? Surely this goes deeper than the common excuse of "Performance" right? As snobby as I may sound here, I ask with good intent, I'm currently building up a Game Framework using OO and MVC, strictly sticking to conventions and so on etc etc. So far I have good progress, every feature is a self contained module, allowing features to be disabled, removed and installed easily with the bonus of creating hybrid genres by mixing modules. This works great, and creating a Module called Signup will override the default Signup controller, should you wish to extends it's functionality without editing the core application. Much of the code is reused from objects I have already created and I have a lot of work done already in such a small amount of time. However, if you're still so passionate about procedural, I'm likely wasting my time marketing it here in the future when it is ready. So, I'd really enjoy your thoughts and reasoning for staying with procedural for so long. Regards Dan
-
It seems no one is yet to mention how much quicker Windows 8 is over 7? Personally, I am not the biggest fan of Windows 8, there are things I like (It's simplicity and ease of use (in some areas)) however, Windows 8, without all the fancy glass rubbish and shadowy glamour uses far less Memory, CPU and is less intensive on the GPU. This, is why I went to Windows 8. I am gamer, I do not care for my hardware running fancy junk on my desktop when I want every ounce of juice going into my FPS. In terms of development, I still use the same tools (PHPDesigner 8 IDE, XAMPP, Firefox etc) and nothing has really changed there. All in all, I think it really depends on what you want to do with your computer, whether you play a lot of games, or care too much about how fancy your desktop looks. (Side note: I do not have a touchscreen monitor, which is of course what Windows 8 is all about, because of this, there are a few "menus" that can be a little awkward to use with a mouse)
-
Hey guys, Do any of you know a method to escape an array using MySQLi? For normal MySQL I'm using array_map public function escapeArray( $array ) { return array_map( "mysql_real_escape_string", $array ); } However, I'm having trouble doing the same thing for MySQLi as I'm using the OO method, not procedural. public function escapeArray( $array ) { return array_map( "$this->_mysqli->real_escape_string", $array ); }
-
Unless i've made a mistake then you should be able to change the width paramter and the width attribute to the same +4 [img=draw_bar.php?per=95&bar=gold&width=150]
-
Goddamn art theives.... Well, good to know who to avoid, thanks for the info.
-
Last time i did this i used an include rather than going to the page itself. if( isset( $_POST['use_item'] ) ){ if( !empty( $item['itm_addon'] ) ){ include( './modules/item_functions/'.$item['item_addon'].'.php' ); } else { // Stuff to run normal item functions.. } }
-
Well if you're okay with spending, the only two I know of are IonCube and Zend Guard. I'm not sure if the latest versions have been reversed yet, but I know they have been in the past. I think one of those two are your best bet. Also, I'm not sure about Zend Guard, but with IonCube, you need to IonCube Module on your server to read the files, I know this because about four years ago i purchased a Game Script only to find I couldn't use it or modify it because it was IonCubed and the bastard who sold it never stated that anywhere on his website. Make sure you do state it, but keep in mind this tells everyone what your using to Encode the files. Your best bet is to just get a beer and discuss it with Google for an hour. Look around, do some research and see what has and hasn't been reversed yet. That's as much advice i can give.
-
Why has nobody mentioned this is just a waste of time? You pay money for Encryption Software, which can then just be Decrypted by someone who knows what they're doing. Both Zend Guard and IonCube have been Decrypted many times before. There is no true way of completely securing your software against Piracy, Software or Web App. As far as I am aware the only thing you can really do is register yourself as the official software owner (Not sure how it is done outside the UK) but even this doesn't help much. It'll probably cost you more to sue for Intellecual Property than your software costs anyway. If you don't want to be pirated, don't sell.
-
ID using Auto Increment, for me, have always started at 1 in phpMyAdmin.. Which is what i was reffering to. I've never seen 0 or negative ID rows myself.
-
Sorry my fault, I should learn to read what i type -_- Anyway, i think i can see one advantage with the mention of Database ID's.. The majority of the time, abs(), for me above returned 0 so long as the string didn't start with a valid INT such as the "3g33" example.. This could be used to avoid an extra query, as there is no such thing as ID 0? if( abs( $_GET['id'] ) == 0 ){ exit( 'No such query ID'); } else { $query = "SELECT id FROM users WHERE id=".abs($_GET['id'])." AND `username`=".mysql_real_escape_string($_SESSION['user'])." LIMIT 1"; } Am i on the right track here?
-
Hmm, i overlooked that, i wanted a way to allow negatives because i usually just use (int). I'm still not seeing the advantage of abs() though, any examples of when it's better than just (int)?
-
I've never used abs() for security, that's just a bit dumb isn't it? Correct me if i am wrong but abs() will not always give you a result you're after. A simple preg_replace with (int) will give you an INT without trailing 0's, abs() on the other hand can be really retarded with cleaning up INT's depending on what your after. function filter_int( $val, $negatives = false ){ $regex = ($negatives) ? "/[^0-9-\s]/" : "/[^0-9\s]/" ; return (int)preg_replace( $regex, "", $val ); } echo filter_int( '00h-h3Ll0' ); // 30 echo abs( '00h-h3Ll0' ); // 0 echo filter_int( '3g33' ); // 333 echo abs( '3g33' ); // 3 echo filter_int( '-11abc', true ); // -11 echo abs( '-11abc' ); // 11 echo filter_int( 'a-s200abc', true ); // -200 echo abs( 'a-s200abc' ); // 0 So, what exactly is the advantage of using abs() over what i am doing? :huh: