51 Results
[QUOTE=ifaux;44567820] Are you fucking serious the kid i used to get into skype arguments with in the general web dev chat™ made this shit what the fuck this is insane i'm late as fuck but i had no clue you made this gab what the fuck dude [editline]17th April 2014[/editli...
Crhem van der B Developers Reply
Well to be fair, he is correct regarding speed. 99,9% of PHP frameworks slow down execution time by a huge factor. The only execptions being Phalcon and Yaf which are written in C so experience 0 slowdown when compared to plain PHP..
Crhem van der B Developers Reply
May have been posted, hopefully not: [img]http://img.pandawhale.com/post-18529-Yes-mlkshk-2jkG.gif[/img]
Crhem van der B Developers Reply
[QUOTE=jung3o;39137158]you gave me an idea. [url]http://jsfiddle.net/jung3o/qD87W/[/url] probably not what you wanted, just wanted to make something. probably the best bet is to use javascript (jquery library)[/QUOTE] This is actually a very clever hack. Nice one.
Crhem van der B Developers Reply
[QUOTE=swift and shift;38354353]an array is an ordered collection of elements. an array does not map values to values (that would be a associative array, hashmap, hashtable, whatever you want to call it). php 'arrays' are not actually arrays. different languages may have diff...
Crhem van der B Developers Reply
I do know him enough as he helped me quite a lot when I was looking at RoR. He was very helpful and friendly. But for some reason he really likes to take a shit on people in here the forums as if he got some kind of split-personality
Crhem van der B Developers Reply
[QUOTE=swift and shift;38351864]are you serious? spoken like a true php programmer[/QUOTE] Uhm see Python Arrays? They are different to Ruby arrays for example, but work the same as in Java or C#. Spoke like a true kid turb, as always. Still waiting for the day that you ge...
Crhem van der B Developers Reply
Depends on the language, turb, doubt there is a global standard or definition to what an array is..
Crhem van der B Developers Reply
Yes, but Javascript without jQuery is a hellhole. Any sane person would agree.
Crhem van der B Developers Reply
Setting up mail to work on a VPS/dedi is a fucking pain in the arse, so if you're doing that - good luck.
Crhem van der B Developers Reply
You don't really need a framework for a simple personal website, but whatever. Beside CodeIgniter there is CakePHP which is also very popular.
Crhem van der B Developers Reply
localhost should work the same as 127,0,0,1...
Crhem van der B Developers Reply
Yeah, I'm pretty sure it's not limited, or if it is, it's limited by a huge number. I just tried array inside an array times 12 and it works perfectly fine.
Crhem van der B Developers Reply
I'd recommend CakePHP, it's very RoR-like and just nice to work with in general.
Crhem van der B Developers Reply
Anyone has any idea what the fuck is going on in this line: [php] return $this->{'_find' . ucfirst($type)}('after', $query, $results); [/php] Seriously, curly brackets in this context? And it's a function? I seriously have no idea what this means. [editline]13th July 2012[/e...
Crhem van der B Developers Reply
[url]http://net.tutsplus.com/tutorials/php/30-php-best-practices-for-beginners/[/url] Even though they were hacked themselves just yesterday.
Crhem van der B Developers Reply
Visual Web Developer Express is free..
Crhem van der B Developers Reply
Interesting. Guess all non-standard Latin alphabet letters work in PHP variables. Just tried ąčęėįšųūž.
Crhem van der B Developers Reply
I created myself a class for hashing: [php] /*** A little class for different hashing methods * hash_salted_sha512 is simple hash+salt of hashed str+salt * hash_bcrypt uses blowfish and returns hashed blowfish. * Average times with different blowfish strengths: * ...
Crhem van der B Developers Reply
What's the problem, you're not stating the problem.
Crhem van der B Developers Reply
Check [url]http://themeforest.net/[/url]
Crhem van der B Developers Reply
I got error reporting set to whatever maximum level is possible, it reports everything.
Crhem van der B Developers Reply
Yes, I agree, right after your comment I actually change it in all of my classes. Thanks.
Crhem van der B Developers Reply
[QUOTE=swift and shift;35425535][php] <?php namespace a; class b { public function b() { echo 'a\b::b() called!\n'; } } namespace main; $b = new \a\b; [/php] nothing gets printed out on 5.3.6[/QUOTE] Oh, I never use namespaces so obviousl...
Crhem van der B Developers Reply
[QUOTE=StinkyJoe;35424647]As of php-5.3.3 IIRC it's treated as a regular method in namespaced classes, that's why.[/QUOTE] I was using php 5.3.8 up until 10 minutes ago and it was definitely treated as __construct rather than a regular method..
Crhem van der B Developers Reply
[QUOTE=swift and shift;35417427]no that's deprecated[/QUOTE] Why?
Crhem van der B Developers Reply
You can also just use "public function <ClassName>", it will work the same as __construct.
Crhem van der B Developers Reply
[QUOTE=swift and shift;35352946]A couple of hints here: the 'text' type is designed for storing data that's several kilobytes long, you probably shouldn't use it for the password, pin, or salt. It's fine to use it for the post description though. Secondly, (this is just stylis...
Crhem van der B Developers Reply
Oh, then yeah, easiest way would be $.post() in jQuery.
Crhem van der B Developers Reply
Or, if he's using php, and the form page is called "form.php", he can just change to this: [code] <form action="form.php"> ... </form> [/code]
Crhem van der B Developers Reply
[QUOTE=swift and shift;35342957]that makes no sense at all Can I see your schema.rb?[/QUOTE] I completely agree with you, it doesn't. Here it is: [code] ActiveRecord::Schema.define(:version => 20120321200514) do create_table "posts", :force => true do |t| t.string ...
Crhem van der B Developers Reply
Interestingly enough my question is yet to be answered ([url]http://stackoverflow.com/questions/9863900/dynamic-methods-wont-work-in-app[/url])
Crhem van der B Developers Reply
[QUOTE=MitchvW;35302733]Fuck it I never work with HTML. And I don't want to make like 30 different php files, I just want it to be a bit more compact you know. Ofcourse I could make it refer to a new page and use the method there, but that will result in my message system havi...
Crhem van der B Developers Reply
[QUOTE=Ac!dL3ak;35302281]What's the user table as defined in db/schema.rb?[/QUOTE] [code] create_table "users", :force => true do |t| t.string "name" t.text "password" t.text "pin" t.datetime "created_at", :null => false t.datetime "updated_at...
Crhem van der B Developers Reply
[url]http://stackoverflow.com/questions/9863900/dynamic-methods-wont-work-in-app[/url] Help would be appreciated..
Crhem van der B Developers Reply
Still barely learning Ruby and RoR, but I'm having trouble understanding something. I've created a scaffold for the users table (and etc.), however, afterwards, I edited it and added fields such as 'salt' and 'pin'. Now, methods such as User.find_by_id and find_by_name work pe...
Crhem van der B Developers Reply
[QUOTE=jung3o;35216206]Works that you are impressed about and think others will be impressed about too. PHP is not the type of language that people seem to be impressed about IMO[/QUOTE] The (mostly) client seriously doesn't give a shit about what languages you use as lon...
Crhem van der B Developers Reply
[QUOTE=jaybuz;34679067]Single quotes so it gets highlighted by the text editor.[/QUOTE] Sublime highlights vars in double quotes too. [editline]13th February 2012[/editline] oops, didn't notice new page
Crhem van der B Developers Reply
Somebody posted a jQuery "plug-in" (not sure what to call them?) few weeks ago with what you want Sprite, it should be in the "What are you working on?" thread.
Crhem van der B Developers Reply
I still prefer not to use <?= because, as said before, you're not guaranteed that their server will support it if you're making a website for a client.
Crhem van der B Developers Reply
What's the difference between hash() and hash_hmac()?
Crhem van der B Developers Reply
I also like PHP's syntax and yes, I do know "better" (Java, Python, C#), but I still find PHP's syntax just as good as any other language. Seriously turb, I understood your infantility a year ago or two, but seriously dude, it's time for you to grow up and stop being a kid..
Crhem van der B Developers Reply
Jesus just use whatever you're comfortable with. Fuck everybody else, if you'll need or want another language, you'll learn it. But really, as long as you're fine and not limited by a language, I do not find a reason to change.
Crhem van der B Developers Reply
C'mon man.. There's more than enough slideshows available in the net: [url]https://www.google.com/search?sourceid=chrome&ie=UTF-8&q=jquery+slideshow[/url]
Crhem van der B Developers Reply
[QUOTE=Jallen;27277835]They are very similar, but Computer Science is more techy / programmerish whereas Software Engineering has more design and project management stuff. Computer Science is the better of the 2 IMO.[/QUOTE] (Late respond) Thanks, I looked at some websites...
Crhem van der B Developers Reply
Even though I have a year and a half until university, I was thinking more towards Software Engineering instead of Computer Science (looked only at Edinburgh). What's the difference between them?
Crhem van der B Developers Reply
No, you must set $dir yourself.
Crhem van der B Developers Reply
Again, I didn't learn any JavaScript at all and I'm using jQuery just fine, and we already talked about them few months ago.
Crhem van der B Developers Reply
Learning jQuery is way way easier than learning plain JavaScript.
Crhem van der B Developers Reply
Just regular CSS file. But take note that neither of these commands work in IE (obviously) so the shaddow won't appear in this browser.
Crhem van der B Developers Reply
[php] .galerija ul a:hover img{border:0px; box-shadow: 0 0 10px rgba(255,255,255); -webkit-box-shadow: 0 0 10px rgb(255,255,255); -moz-box-shadow: 0 0 1em rgb(255,255,255);} [/php] This is what I use for shadows around objects, it's CSS3. It's applied 3 time...
Crhem van der B Developers Reply