• What are you working on? v6
    4,671 replies, posted
[QUOTE=AzzyMaster;32610941]What is a good php MVC framework you guys could recommend?[/QUOTE] All recognized frameworks are "good". It just depends on what you need. I recommend Code Igniter. The only framework I've used.
Just wasted about 15 mins or so, on something that may scare you. And me. And make turb potentially scream out in terror when he sees this. [url=http://deep-winter-1975.herokuapp.com/]http://deep-winter-1975.[B]heroku[/B]app.com/[/url]
[QUOTE=a2h;32616669]Just wasted about 15 mins or so, on something that may scare you. And me. And make turb potentially scream out in terror when he sees this. [url=http://deep-winter-1975.herokuapp.com/]http://deep-winter-1975.[B]heroku[/B]app.com/[/url][/QUOTE] NO WHY
Isn't Heroku for Ruby? aaaaa
[QUOTE=TehWhale;32617414]Isn't Heroku for Ruby? aaaaa[/QUOTE] They've added support for Node.js, Java, Scala, PHP and Python over the past couple of months.
why would you use a shit language like php on heroku WHY
[QUOTE=anton;32617559]why would you use a shit language like php on heroku WHY[/QUOTE]PHP is not shit if you use it correctly.
[QUOTE=Known Havok;32617949]PHP is not shit if you use it correctly.[/QUOTE] Except 99% of the time it's used incorrectly. Not to mention there are fundamental things wrong with the language itself.
[QUOTE=Jelly;32618148]Except 99% of the time it's used incorrectly. Not to mention there are fundamental things wrong with the language itself.[/QUOTE] I hear this now and again, but haven't learned from other developers what they meant. Could you explain?
[QUOTE=amcfaggot;32618253]I hear this now and again, but haven't learned from other developers what they meant. Could you explain?[/QUOTE] Most of the functions are a clusterfuck and don't follow a certain ruleset. str_replace($search, $needle, $haystack); then you have strstr($haystack, $needle); Stupid things like file(), which opens a file and splits all new lines into an array, which instead it should act like file_get_contents().
[QUOTE=Jelly;32618308]Most of the functions are a clusterfuck and don't follow a certain ruleset. str_replace($search, $needle, $haystack); then you have strstr($haystack, $needle); Stupid things like file(), which opens a file and splits all new lines into an array, which instead it should act like file_get_contents().[/QUOTE] Those are inconveniences, bad choices with the core library, if you want actual things wrong with the language, take its closures, for example, or the tacked-on OOP support which is only now being improved (since PHP5.3). Despite that, it's still a solid language, and super fun to work with.
[img]http://puu.sh/6v98[/img] This is in a browser. The only images are the noise in the background and the slight glow as well. Been working on this for a fair bit, I like the end result. It's a remake of a PSD I found. Here is the PSD for comparison: [img]http://puu.sh/6v93[/img]
[QUOTE=RusselG;32620478][img]http://puu.sh/6v98[/img] This is in a browser. The only images are the noise in the background and the slight glow as well. Been working on this for a fair bit, I like the end result. It's a remake of a PSD I found. Here is the PSD for comparison: [img]http://puu.sh/6v93[/img][/QUOTE] who did you skim that one off?
Make something yourself for once.
[QUOTE=Jelly;32620898]Make something yourself for once.[/QUOTE] You serious? I actually made this myself, but as any normal designer would, I used the colorzilla gradient maker for gradients, basing the design from [url]http://www.premiumpixels.com/freebies/clean-simple-login-form-psd/[/url] You can easily tell it was by me because every part of the code is messy, and the code is below. [code] <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Login Page</title> <style> ::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; } ::selection { background: #fe57a1; color: #fff; text-shadow: none; } body { background: url('100-90-5.png') #0ea4d3; overflow:hidden; } #login { font: 16px Helvetica, Arial; height: 255px; width: 376px; background: #fff; margin:30px 0 0 0; border-radius: 10px; text-align:center; -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(0,0,0,0.1); -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(0,0,0,0.1); box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(0,0,0,0.1); z-index: 99; } #header { font: 16px 'Myriad Web Pro', Helvetica, Arial; font-weight: 700; background: #fafafa; background: -moz-linear-gradient(top, #fafafa 5%, #fbfcfd 7%, #f9fbfb 27%, #ecf1f3 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#fafafa), color-stop(7%,#fbfcfd), color-stop(27%,#f9fbfb), color-stop(100%,#ecf1f3)); background: -webkit-linear-gradient(top, #fafafa 5%,#fbfcfd 7%,#f9fbfb 27%,#ecf1f3 100%); background: -o-linear-gradient(top, #fafafa 5%,#fbfcfd 7%,#f9fbfb 27%,#ecf1f3 100%); background: -ms-linear-gradient(top, #fafafa 5%,#fbfcfd 7%,#f9fbfb 27%,#ecf1f3 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#ecf1f3',GradientType=0 ); background: linear-gradient(top, #fafafa 5%,#fbfcfd 7%,#f9fbfb 27%,#ecf1f3 100%); border-bottom: #FFF; margin-bottom: 10px; text-shadow: 0px 1px 1px #FFF, #EEE 0 -1px 0; filter: dropshadow(color=#ffffff, offx=0, offy=1); -moz-box-shadow: 0px 1px 1px 0px #BBB; -webkit-box-shadow: 0px 1px 1px 0px #BBB; box-shadow: 0px 1px 1px 0px #BBB; border-radius: 10px 10px 0 0; width: 100%; padding: 12.5px 0 12.5px 0; color: #555555; font-smooth:always; } #glow { z-index:-5; position: absolute; height: 703px; width: 671px; background: url("bg.png") no-repeat center; content: ""; } input[type="text"],input[type="password"] { outline: none !important; margin-top: 20px; color: #aeaeae; width: 80%; padding: 10px; border-radius: 3px; border: 1px solid #ccd0d2; -moz-box-shadow: 0 0 0 4px rgba(0,0,0,0.1); -webkit-box-shadow: 0 0 0 4px rgba(0,0,0,0.1); box-shadow: 0 0 0 4px rgba(0,0,0,0.1); -webkit-transition: border .218s; -moz-transition: border .218s; -o-transition: border .218s; transition: border .218s; } input[type="text"]:active, input[type="text"]:focus, input[type="password"]:active, input[type="password"]:focus { border: 1px solid #7dc6dd; content: ""; color: #000; -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.25), 0 0 0 4px rgba(125,198,221,0.3); -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.25), 0 0 0 4px rgba(125,198,221,0.3); box-shadow: inset 0 1px 3px rgba(0,0,0,0.25), 0 0 0 4px rgba(125,198,221,0.3); } #rememberme { font: 13px Helvetica, Arial; float:left; margin:25px 0 0 7%; } a { color: #cbebf6; text-decoration: none; } a.button { text-decoration:none; margin:20px 7% 0 0; float:right; color: #527988; text-shadow: 0px 1px 1px #FFF, #EEE 0 -1px 0; filter: dropshadow(color=#ffffff, offx=0, offy=1); border: 0px solid black; font: bold 15px 'Myriad Web Pro', Helvetica, Arial; border: 1px solid #b7cbd1; padding: 5px 13px; border-radius: 13px; -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(100,100,100,0.1); -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(100,100,100,0.1); box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(100,100,100,0.1); background: #fafdfd; background: -moz-linear-gradient(top, #fafdfd 0%, #edf6f9 7%, #e1f0f5 48%, #cce4ee 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafdfd), color-stop(7%,#edf6f9), color-stop(48%,#e1f0f5), color-stop(100%,#cce4ee)); background: -webkit-linear-gradient(top, #fafdfd 0%,#edf6f9 7%,#e1f0f5 48%,#cce4ee 100%); background: -o-linear-gradient(top, #fafdfd 0%,#edf6f9 7%,#e1f0f5 48%,#cce4ee 100%); background: -ms-linear-gradient(top, #fafdfd 0%,#edf6f9 7%,#e1f0f5 48%,#cce4ee 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafdfd', endColorstr='#cce4ee',GradientType=0 ); background: linear-gradient(top, #fafdfd 0%,#edf6f9 7%,#e1f0f5 48%,#cce4ee 100%); } a.button:hover { background: #f2f8fb; background: -moz-linear-gradient(top, #f2f8fb 0%, #daecf2 3%, #cfe6ef 7%, #e0eff4 66%, #e5f1f6 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f8fb), color-stop(3%,#daecf2), color-stop(7%,#cfe6ef), color-stop(66%,#e0eff4), color-stop(100%,#e5f1f6)); background: -webkit-linear-gradient(top, #f2f8fb 0%,#daecf2 3%,#cfe6ef 7%,#e0eff4 66%,#e5f1f6 100%); background: -o-linear-gradient(top, #f2f8fb 0%,#daecf2 3%,#cfe6ef 7%,#e0eff4 66%,#e5f1f6 100%); background: -ms-linear-gradient(top, #f2f8fb 0%,#daecf2 3%,#cfe6ef 7%,#e0eff4 66%,#e5f1f6 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f8fb', endColorstr='#e5f1f6',GradientType=0 ); background: linear-gradient(top, #f2f8fb 0%,#daecf2 3%,#cfe6ef 7%,#e0eff4 66%,#e5f1f6 100%); } a.button:active { background: #a2bdc6; background: -moz-linear-gradient(top, #a2bdc6 0%, #c3dde7 7%, #d2e7ef 17%, #e4f1f6 86%, #e1eef4 93%, #d8e8ee 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a2bdc6), color-stop(7%,#c3dde7), color-stop(17%,#d2e7ef), color-stop(86%,#e4f1f6), color-stop(93%,#e1eef4), color-stop(100%,#d8e8ee)); background: -webkit-linear-gradient(top, #a2bdc6 0%,#c3dde7 7%,#d2e7ef 17%,#e4f1f6 86%,#e1eef4 93%,#d8e8ee 100%); background: -o-linear-gradient(top, #a2bdc6 0%,#c3dde7 7%,#d2e7ef 17%,#e4f1f6 86%,#e1eef4 93%,#d8e8ee 100%); background: -ms-linear-gradient(top, #a2bdc6 0%,#c3dde7 7%,#d2e7ef 17%,#e4f1f6 86%,#e1eef4 93%,#d8e8ee 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a2bdc6', endColorstr='#d8e8ee',GradientType=0 ); background: linear-gradient(top, #a2bdc6 0%,#c3dde7 7%,#d2e7ef 17%,#e4f1f6 86%,#e1eef4 93%,#d8e8ee 100%); } .forgot { color: #FFF; margin-top: 110px; text-shadow: 0px 1px 0px rgba(0,0,0,0.15); filter: dropshadow(color=#000, offx=0, offy=1); font: bold 10pt Helvetica, Arial; } </style> </head> <body> <div id="login"> <div id="header"> Login to Super Duper App </div> <input type="text" value="Username or Email" name="user" id="user" /> <br /> <input type="text" value="Password" name="pwd" id="pwd" /> <br /> <span id="rememberme"><input type="checkbox" name="remember" value="Remember me!" /> Remember me on this computer</span> <a href="#" class="button">Login</a> <div class="forgot">Forgot your password? <a href="#">Click here to reset it.</a></div> </div> <div id="glow"></div> </body> </html> [/code] If you mean "Make something yourself for once" as in an original design, then whatever, but I made this from scratch. But I can actually assure you guys I made this. I am doubting you guys realised I learnt from my lessons before.
Everything you've made has been a mashup of code you've found/stolen/borrowed on the internet. Pardon my skepticism.
[QUOTE=Jelly;32621072]Everything you've made has been a mashup of code you've found/stolen/borrowed on the internet. Pardon my skepticism.[/QUOTE] That is true, got the hang of CSS/HTML now. [url]http://summerglaufc.org/you/guise/over/at/fp/are/so/critical/login/[/url] Play around with it, critisize it.
[QUOTE=RusselG;32620930]You serious? I actually made this myself, but as any normal designer would, I used the colorzilla gradient maker for gradients, basing the design from [url]http://www.premiumpixels.com/freebies/clean-simple-login-form-psd/[/url] You can easily tell it was by me because every part of the code is messy, and the code is below. [code] stuff [/code] If you mean "Make something yourself for once" as in an original design, then whatever, but I made this from scratch. But I can actually assure you guys I made this. I am doubting you guys realised I learnt from my lessons before.[/QUOTE] Having actually spoken to you and witnessed how childish you can get, I highly doubt that.
[QUOTE=TerabyteS_;32621135]Having actually spoken to you and witnessed how childish you can get, I highly doubt that.[/QUOTE] I can't even remember what happened last time we talked, but it was ages ago. Times change, don't they?
[QUOTE=RusselG;32621155]I can't even remember what happened last time we talked, but it was ages ago. Times change, don't they?[/QUOTE]Hopefully. Anyway, I need to find a way to make qfi.im known to more people. Right now it has a Facebook Page, twitter account and there are a few posts about it on various downloading forums (not posted by me). What's the next step on the line?
[QUOTE=TerabyteS_;32621249]Hopefully. Anyway, I need to find a way to make qfi.im known to more people. Right now it has a Facebook Page, twitter account and there are a few posts about it on various downloading forums (not posted by me). What's the next step on the line?[/QUOTE] I'd say a Steam group, to make announcements about the site, etc.
[QUOTE=RusselG;32621256]I'd say a Steam group, to make announcements about the site, etc.[/QUOTE] What? That's like putting an ad for a computer parts in a cooking magazine.
[QUOTE=Jelly;32621276]What? That's like putting an ad for a computer parts in a cooking magazine.[/QUOTE] Yeah, but a more relevant comparison would be a member's club in a game store for people who pirate games. Not saying that's all qfi.im is used for, there's plenty of midget porn in the recently entered page too or was last I looked. :v:
[QUOTE=Jelly;32621276]What? That's like putting an ad for a computer parts in a cooking magazine.[/QUOTE] A lot of sites actually do it, and quite a few people on FP know about qfi.im, and most, if not all, have Steam. The strategy is that you get FP people in the group, they invite friends, who like the service, then they invite, etc.
If i wanna do a alertbox that verifies that the user really wanna do somthing they just klicked on, like submiting a form or the like, how should i do it?
[img]http://i.imgur.com/h7JT5.png[/img] Not quite finished yet.
[QUOTE=TBthegr81;32621631]If i wanna do a alertbox that verifies that the user really wanna do somthing they just klicked on, like submiting a form or the like, how should i do it?[/QUOTE] Javascript: [php] function confirmDelete(url, string) { string = (typeof(b) != 'undefined') ? string : 'Are you sure?'; var agree = confirm(string); if (url && agree) { document.location = url }; } [/php] HTML: [code] <a href="/this/is/the/link" onclick="confirmDelete(this.target.href)">Delete me!</a> [/code] [editline]4th October 2011[/editline] This is better: [url]http://stackoverflow.com/questions/2665413/javascript-confirm-delete-in-one-php-file-on-href[/url]
You know what's fucking backwards? Having to use tables for layouts in HTML emails.
* You know what's fucking backwards? HTML & CSS rendering in email clients.
[QUOTE=KmartSqrl;32625464]* You know what's fucking backwards? HTML & CSS rendering in email clients.[/QUOTE] For some odd reason, gmail's one of the worst offenders at this.
Sorry, you need to Log In to post a reply to this thread.