[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/wdg/ - Web Dev. General
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 34
File: 1463678551723.png (335 KB, 1280x720) Image search: [Google]
1463678551723.png
335 KB, 1280x720
Las thread: >>54969158

'Don't Let Me Die So Fast' Edition

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

> Discord
https://discord.gg/0qLTzz5potDFXfdT

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/
https://www.youtube.com/watch?v=JxAXlJEmNMg&feature=youtu.be&list=PL7664379246A246CB - "Crockford on JavaScript" lecture series.

>Frontend development
https://github.com/dypsilon/frontend-dev-bookmarks

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
backendDevelopmentBookmarks.md

>Useful tools
https://pastebin.com/q5nB1Npt/ (embed) (embed)
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
https://developer.mozilla.org/en-US/docs/Web - Guides for HTML, CSS, JS, Web APIs & more.
http://www.programmableweb.com/ - List of public APIs

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/
>How to get started
https://www.youtube.com/watch?v=pB0WvcxTbCA - "WATCH THIS IF YOU WANT TO BECOME A WEB DEVELOPER! - Web Development Career advice"
https://www.youtube.com/watch?v=zf_cb_Nw5zY - "JavaScript is Easy" - If you can't into programming, you probably won't find a simpler introduction to JavaScript than this.


>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
>NEW!
https://www.openshift.com/
>>
first for javascript is the best
>>
node.js everytime, everywhere
>>
File: out.gif (105 KB, 979x682) Image search: [Google]
out.gif
105 KB, 979x682
finished writing a php frontend shell. works pretty flawlessly except for parsing tabs in a json embeded object, perhaps i overlooked something

Opinions, recommendations?
>>
Remember our webscale'd 2.0 and loved database, MongoDB? And how it, in some cases, didn't persist all the records? Welp, now it doesn't even RETURN all the records for a query! YAY!
>https://engineering.meteor.com/mongodb-queries-dont-always-return-all-matching-documents-654b6594a827#.sh5tig08c

>Specifically, if a document is updated while the query is running, MongoDB may not return it from the query—even if it matches both before and after the update! If you use MongoDB, you should be aware of this subtle edge case and make sure your queries don’t fall victim to it.

>Reading while updating data? That's an edge case!
WEBSCALE
E
B
S
C
A
L
E
>>
So Javascript objects are pretty much the same as Ruby and Python dictionaries?

Except in Javascript the key
"string"
will be the same as the key string.

Am I learning this right?
>>
>>54991483
Yeah, JavaScript objects are basically maps of strings to values. They're slightly different to, say, Ruby Hashes because they don't allow any type of object to be a key, just strings (and recently, Symbols.) If you use something that isn't a string as an index, it's coerced to a string, so
myObject[7]
is the same as
myObject['7']
.

Also you shouldn't actually use JavaScript objects like real dictionaries unless you're aware of all the edge cases, it's just convenient to think of them like that. For example, if you use an object to map usernames to user objects, someone could make a user with the name '__proto__' and just ruin your day.
>>
>>54991483
>>54991656
There's also this if you want a proper key/value map:
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Map
>>
>>54991280
>MongDB
Not even once.

>>54991483
>>54991656
Also, for actual dictionaries in JS, use ES6 Map(). https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Map
>>
>>54991656
What's wrong with the name '__proto__'?
>>
>>54991797
It's an internal property used by JavaScript to keep track of the object's prototype chain. I can't remember if it's just not writable or if assigning to it changes the prototype because you're not supposed to use it directly. It might depend on the browser/runtime.
>>
I'm working on my first Node.js project ever (a MAL clone).
Should I look into Meteor.js or Express.js?
Which technologies / environments would be the best for such a project?
>>
>>54992418
Hey, I'm new to Web Dev too. How did you learn Javascript? I'm still figuring out how CSS works
>>
File: s.jpg (98 KB, 1280x853) Image search: [Google]
s.jpg
98 KB, 1280x853
Does anyone here work in a web-dev related job?

What does your day look like?
>>
>>54991656
And I thought I knew alot about JS...turns out I know fuck all.
>>
>>54992542
>One month project
>figure out the project was really overestimated in time
>Do it in one week, make some little fix on other project in production
Well this day, i mostly chill and watch movie
Sometime i help my boss for his "big" personnal project
>>
>>54992610
>Sometime i help my boss for his "big" personnal project

This sounds like the start of a chink porn film...
>>
>>54992542
>get in at 9
>read emails, grab coffee
>open project im currently assigned
>pull latest commits from bitbucket
>browse around in the code until I find where I left of yesterday
>start reading reddit, hackernews, 4chin, twitter
>banter with colleagues about stuff we read
>eventually finish some work, write a few simple functions, fix some bugs
>get lunch
>check youtube
>a few new bug reports come in, fix them
>do my Hearthstone dailies
>get together with dev sprint team, talk about project, set goals for the next days
>make sure everything is commited, documented and pushed
>go home
>>
>>54992830
why bitbucket?
>>
>>54992903
free private repo's

github is full of fucked up sjw's
>>
>>54992925
nice
>>
>>54992418
Express is fine. Meteor uses MongoDB, so avoid like the plague.
>>
>>54993015
which type of database would you recommend then?
All I've ever tried is MySQL, but I bet it's not the preferable option nowadays.
>>
>>54993079
mariadb, postgre
>>
>>54993079
Use postgresql.
>>
>>54993079
MySQL is still the industry standard. MariaDB is a modern fork that most people (and big companies use. It has the reliability of MySQL but with modern features and it's hella fast.
>>
Would node.JS be suitable for a website selling digital products? I've already learned quite a bit of Python because I was going to learn Django but I'm not sure if I should anymore.
>>
>>54993079
Depends on how your data is structure. If you make a document per user and query statistics with map-reduce-*, NoSQL is fine. I recommend RethinkDB, Riak or CouchDB. Otherwise PostgreSQL/MariaDB.
>>
>>54993155
Python would do the job fine, you don't have to use django
>>
>>54990991

You know what I always found ironic?

PHP is a shit langauge, but the guy who made it is pretty cool.
Rails is an cool piece of software, but the guy who made it is an asshole.

Makes you think..
>>
>>54993155
Either is fine. Pick whichever you are more comfortable with.
>>
>>54992903
github has pronounced themselves against the evil, dangerous white women
>>
>>54993212
this really made me think
>>
I want to make a website that I can put on my portfolio that actually does something cool. It's so hard to come up witb ideas that are not lame and/or too easy.
>>
>>54993212
>>54993612
Linux is also pretty good and we all know Torvalds is an asshole. Asses make the best software.
>>
>>54993645
Eventually you get to a place where you have a backlog of ideas that you would love to work on but don't have any time for.
>>
>>54991257
That's pretty neat, not sure when I'd use it but it's pretty cool.
>>
>>54992542
It's mostly just sitting at a desk doing bullshit websites and html5 ads, you eat lunch at some point, maybe go for a cigarette. It's nothing to write home about. People are usually quite nice though.
>>
>>54993734
Things like that are nice for having if you are tired of alt-tabbing. Just pop the module onto your application and go from there.
>>
>>54993752
>>54992830
>>54992610

can't you just leave work when you get your work done?
>>
>>54993752
>willingly making ads
fuck you
>>
>>54993878
Work is work, I get paid for it and most of the time it's kinda fun, I even made my own html5 animation editor complete with timeline and a 10k runtime. We use it for all our ads now and even sell it on the app store.
>>
>>54992542
It varies as I'm a designer/developer for a startup. Today has been mainly sat in Visual Studio hoping it doesn't crash, other days I'll be designing frontend all day.
>>
>>54993955
>complete with timeline
What's that?
>>
what might trigger an error here regarding the mysql?

// mysql-connection.js:
var mysql = require('mysql');

var mysql_connection = mysql.createConnection({
host: 'localhost',
user: 'root',
password: 'rootpassfornow',
database: 'mmldb'
});

module.exports = mysql_connection;

// api.js:

var mysql = require("./../require/mysql_connection");

// ...

router
.get('/user/:user_id', function(req, res, next) {
if (isNaN(req.param('user_id')))
res.json({
error: "yes",
error_type: "illegal_id"
});

mysql.connect(function (err) {
if (err) {
res.send(err);
return;
}

res.json({ "success?" : "yess!"});
});

res.json({
id: req.param('user_id')
});
})
// ...
>>
File: undergrad composer install.png (41 KB, 800x531) Image search: [Google]
undergrad composer install.png
41 KB, 800x531
>>54990991
Is there a good crash course to Ruby on Rails and Angular.js for a backend developer, to be able to do stuff in 1 to 2 months?

I'm going to read the tools and use their official documentation/handbooks I wanted to ask the /g/entoomen present because I trust the opinion random strangers with above average IQ.

is there something like learn Angular/RoR in the same fashion as Laracasts or Learn C/Python the hardway?

I do NOT know node.js, and I assume that if I know javascript I can take up angular fairly easy or in parallel while learning Angular. I come from a Groovy (Java), Django, Laravel (etc like Worpdress, Joomla) background so using MVC or DevOps stuff like vagrant, docker, aws, PaaSes, isn't something new to me.

I want a better job since where I currently am, only do small php backends or Wordpress themes, and I think while it is fairly easy it will stagnate my development in the long run.

>TL;DR what's /g/ 2-months max crash course for Angular.js or Ruby on Rails?
>>
>>54992542
I'm this guy
>>54994943
>php backend developer, primarily custom wordpress themes with site specific plugins
>business owner keeps accepting projects and not hiring programmers
>business owner gives me a project
>asks my deadline
>I give a realistic deadline
>he lowers the deadline by about 38%, I know this is from a linear model I did with my deadline statistics
>from the interview day I keep saying I can implement scrum and optimise deadlines with pert/cpm so that he can give realistic delivers to his customers
>business owner ignores me anyway since it says it is too complex and he has something that works
>we don't even use git, we use insecure ftp, because it's cheaper and simpler
> tried to use a paas (OpenShift) one time to show how quickly it was to setup shit and lets team work on the same shit while not fucking the others work (using branches)
> business owner says he needs something that people understand and not command line stuff
>we delayed 2 weeks ago with a project since a junior couldn't handle it, literally the other senior didn't sleep 2 days to meet deadline
>I was hired 2 months ago as a senior programmer
>I'm going to quit at 3 months and start my own up
>>
>>54993734
Thanks, I was looking for a nice php shell for pentesting but i couldn't find anything that used ajax, you'd have to make a POST per command and wait for a full refresh, then it kinda just started expanding from there into a shell-clone.
>>
>>54994943
https://docs.angularjs.org/misc/faq
https://angular.io/docs/ts/latest/quickstart.html

Learn Angular 2 it's going to be in high demand next year.
>>
>>54991483
You should watch in the Crockford on JavaScript lectures in the op if you want a more in depth explanation of how the language works for someone who can already program.
>>
>>54995229
Thanks for confirming all of my preconceptions about php dev shops
>>
>>54995229
So you had prior experience to get hired as the senior dev?

Seems strange to me that people hire senior devs outside of their company.

Are people inside the company really that useless? It's now more painful that I still cannot find a web developer job.
>>
>>54992504

If only we had some sort of sticky that answered this? Read a fucking book.
>>
>>54995623
>Angular 2 it's going to be in high demand next year.

Legitimately? Or are we talking "Cali start up" high demand.
>>
Why didn't any of you niggers tell me about Elm before? It's fantastic.
>>
>>54996429
it's too new to tell if it's actually gonna be popular. if it was just angular but better it would be for sure, but it's completely changed.
>>
>>54996464
Because TypeScript exists. Admittedly the Java parts of it are cancer, but the ES6/7 parts are solid.
>>
>>54996464
elm is pretty good
if elm doesn't do enough for you (e.g. server side rendering), try purescript + pux
>>
>>54992504
literally read the OP.
>>
building the tic tac toe game for the freecodecamp challange

currently building the UI and I think I'm doing it the hard way
I want to make 9 X and 9 O with canvas that will be toggled during the game (havent coded it yet)
so I have to build 18 canvas elements and calculate the positions for each of them.. this is not difficult but I think there is a better way
can you give me some tips

http://codepen.io/faires123/pen/Nrxgjr
>>
>>54990991
What books are you reading /wdg/?

Test-Driven Development with Django - 10/10 very solid guide teaching you how to create clean, safe code with TDD. Even gets into depth with basic DevOps and JS tests

Javascript: The Good Parts - 7/10 informative, but it doesn't tell you a variety of things to avoid. It's mostly just patterns

angularjsbook.com - Just starting it. I probably won't use angular at any point considering it's a very heavy framework and Django is already a heavy framework, but I am loving the idea of it. I'll probably read up on knockout.js, react.js, backbone.js, etc just to see which one would fill my need most
>>
>>54994943
>above average IQ.

lol
>>
>>54997462
A book on Spring MVC. Bit of a learning curve but the modularity is impressive.
>>
>>54995229
pls hire me when you start it
>>
In case anyone is interested (as a educational resource), here's the content of the private repository for Rutgers Coding Bootcamp (https://codingbootcamp.rutgers.edu/)

http://u.pls.press/RutgersCodingBootcamp/

Protip: Don't use github if you care about security.
>>
>>54997901
>Don't use github if you care about security.
Nobody does for professional private projects. A private repo costs money, whereas you can get it pro bono on bitbucket
>>
>>54997930
you'd be surprised how many semi-reputable companies do it, and then add a bunch of members that keep reusing their passwords everywhere. from the 000webhost dump alone, I managed to find a few hundred active accounts with major private repositories.
>>
Thinking of creating a programming meetup for my area since we dont have any. Does anyone have experience with them? What are some essentials for meetups like this?
>>
>>54997930
We use bitbucket, too, but many use github, pecause bitbucket charges per user.
>>
>>54992679
top kek
>>54993780
Yes, i can actually work at home most of the time
>>
File: sweat.jpg (17 KB, 590x300) Image search: [Google]
sweat.jpg
17 KB, 590x300
>>54997930
>Nobody does for professional private projects.
>>
>>54998343
a-anon, you're not suggesting..
>>
>>54998385
My work does.

I don't know why since we're such a small company it'd probably be way cheaper with bitbucket.
>>
>his company doesn't use Beanstalk
m8s...
>>
>>54997384
Pretty sure you could manage with one canvas- just redraw it when something changes. And keep data in array. And you could probably get relative coordinates from lick event. Fuck i think i will try to create my version tomorrow if i will still remember it.
>>
>>54998490
We just self-host with GitLab, straightforward
>>
What the HTML attribute that already has text contained inside say an input box. A placeholder is greyed out, but some ones do have text that can be posted?

Sorry for explaining like a retard
>>
>>54999303
<input type="text" name="text" value="default value">
>>
>>54999303
Are you sure the box actually lets you post it unfilled purely through html? It's possible that in the backend, it changes an unfilled box's text into the default placeholder
>>
>>54999392
What I am looking to do is input a URL to the front end, back end processes the HTML, parses it and scrapes of stuff it needs. From the scrapings, that populates the form. In the meantime while regexes get nurtured, the user can check the input and amend if necessary before it gets posted to the web server.
>>
what's the deal with web devs who live and die by meteor?
It's such shit
>>
File: chrome_2016-06-09_18-00-09.png (117 KB, 1920x911) Image search: [Google]
chrome_2016-06-09_18-00-09.png
117 KB, 1920x911
I've been working on an imageboard software that I wrote. A kind anon in a previous thread "hacked" it (put some js into a text-box I'd forgotten to escape or filter.) This is useful to me, as it helps me find bugs I may not have otherwise discovered so soon, so please continue to do this if you feel so inclined.
I'm also looking for someone to help me with the front-end; I don't have an eye for design. I'd also like any opinions or suggestions you have to improve the software.

A live site is running here: http://4tran.bid
The software is free and open-source, and can be found here: https://github.com/4tran/VIB
>>
>>54999574
Why is it called tran? Are you a tranny?

Also, I'm not sure about the black, a softer colour may be more appropriate, a really light pastel colour.

You also need to harmonise the font colour, perhaps make divs a different colour from the background too
>>
>>54999617
I'm not very creative. Whenever I name something, I kind of just pick whatever pops into my head. Fortran is what first came to me, and then I thought "if I replaced the for with a 4, then it'd look sorta like 4chan."
Could you give me some examples of colors to use? I'll try them, then take a screenshot, and you can tell me what you think about them when it's applied to the site.
>>
>>54999617
Probably because of FORTRAN
>>
Working on an expense tracker web thingy. Most of the UI is built with google closure library controls, but I want to style them.

What's a good CSS framework that does not impose their own JS functionality, i.e. style-only? Preferrably themeable.

Can be LESS or SASS, too.

Bourbon looks good, or would you go with something simpler like purecss or skeleton and modify it?
>>
>>54999574
>I'd also like any opinions or suggestions you have to improve the software.

Try to keep your view and actual code separate. The file thread.php alone is a clusterfuck for me to understand since it mixes both the view and the logic to retrieve a thread and its posts. You usually try to keep these 2 apart.

Second, your commit log is all but helpful since with nearly all commits I can't make out what you've actually changed.

203
>>
>>54999804
I'm new to php (which I'm sure is obvious to you.) I'm also new to project management in general. Could you go into further depth what you mean by "separate view and logic," as well as provide an example of what that would look like/how I would manage to do such a thing?
Also, you're right, my update log isn't really helpful. I'm terrible at commenting and such, but I'm going to work on it.
>>
What's the easiest way to implement a signup with paypal while you're still developing from your own computer? (i.e. localhost)

afaik, paypal needs to send a message back to you when its done, and you can do that with localhost.
>>
>>54999696
http://colors.findthedata.com/saved_search/Pastel-Colors

Basically, this link should help. The background colour of your imageboard should be the lighter colour and your divs should be darker.

In your case, black could work, but you need to make your divs charcoal, or gun metal gray. Text should maybe me black again or a softer grey with more white.

I would personally go with a nice pastel blue on the background and dark pastel blue as the div, try it out see what it looks like. It's quite similar to this board.

One thing I should mention, don't worry about copying other site's styles. Just think, Facebook and Twitter both have a blue theme, just imagine if they both were red or green, wouldn't look right would it? So safe bet is always blue, some people I'm sure have done research on why blue is better which you can read up on, connotations of calm or whatever bullshit, but your own eyes won't lie.

Look at orange + green, if you think its horrible then you have an eye for what goes. If it doesn't bother you then yeah, you need someone else to help
>>
File: Screenshot - 100616 - 00:21:43.png (13 KB, 650x557) Image search: [Google]
Screenshot - 100616 - 00:21:43.png
13 KB, 650x557
>>54999574
>http://4tran.bid
i tried to make a post and got pic related
>>
>>54999909
*you can't
>>
>>54999921
Did you try to upload an image larger than 5mb? my php post max size is 5mb
>>
>>54999909
>>54999925
I don't remember the details, but it is possible. Does it not work if you just use a route at localhost as callback? You do need to have a server, of course.

55M get
>>
File: maga.png (1 MB, 940x940) Image search: [Google]
maga.png
1 MB, 940x940
>>54999961
no i tried to upload pic related(1 MB)
>>
>>54999999
>>55000000
>>55000001
>>
>>54999995
ah, forgot to change it in my server block. should work now.
>>
is there an easy way to practice truncating strings in python?

you know, like what [:3][-2:] does or whatnot
preferably a website similar to regexr.com
>>
>>54999916
Thank you anon, this tool will be useful to me. I appreciate your help.
>>
Is anyone making a website that needs some help? Would love to work on a website but have no ideas.
>>
>>54999574
>>55000621
See
>>
>>55000621
as this anon said
>>55000662
I'd be happy to have some help.
>>
>>54997901
>>54997986
are you the guy that was asking about selling some code a while ago?
man, you should improve your opsec... and brag less about your stuff
>>
>>55000468
why? that shit is so easy
fire up your terminal and test

>>> a = 'ambulance'
>>> a[:3][-2:]
'mb'
>>>

>>
>>55000468
>https://repl.it/languages/python3
>>
>>55000794
Alright I'll take a look. So you're not using any php framework?
>>
>>55000958
why would you do that?
>>> a = 'ambulance'
>>> a[1:3]
'mb'
>>
>>55000997
Not currently. I'm considering doing a rewrite, however, as my code is trash, (this has been a learning project more than anything) at which point I'd be up to considering a framework if the benefits are significant enough.
>>
>>55000997
Well now I see you don't actually want any 3rd party code. Ambitious.
>>
>>55001069
Have you ever used a PHP framework? MVC makes life very easy once you have everything setup
>>
>>55001073
Thank you. But as I said in this post
>>55001069
I said that mainly because the goal of this project was more to learn php than to actually make something.
But after making this project, I realized I really like doing web development, and would love to do more of it, so I have nothing against taking on another large project.
>>
File: fhfgfg.png (3 KB, 310x58) Image search: [Google]
fhfgfg.png
3 KB, 310x58
am I wasting my time using Lynda video content to learn the fundamentals?
>>
>>55001083
Nope. And prior to this project, I'd never even used php. Could you tell me about the benefits of using such a thing?
>>
>>55001133
I'm no expert but I've been developing in a Symfony environment and having the PHP logic completely seperate from your HTML templates makes everything very easy to get your head around. I'm really keen to take a look at your project though. I'm browsing through it now. Maybe we'll be partners one day anon. What did you use before PHP?
>>
>>55001172
I've learned a little c#, a little python, js, etc. I'm not too picky about the language, I see benefits and practical uses for all of them.
Another learning project I did was:
https://github.com/BigLoadGames/GodSmite
it was supposed to be a little js game similar to risk, but around the same time I started this project, I also got into project euler. So most of the actually learning is in a file called math.js, which is basically just project euler problems in functions. I find the functions a lot more fun than the game itself, personally, as in most of the functions I didn't just complete the problems, I also made it so you could mess around with some variables and see what you get for an answer if you input other things.
>>
I need to build a website, what do I need to know?

I program in java and C# and am not pajeet
>>
>>55001273
>I program in java and C# and am not pajeet
Thats not how it works friendo
>>
File: 1363376193880.jpg (21 KB, 493x259) Image search: [Google]
1363376193880.jpg
21 KB, 493x259
>>55001336
pls no
>>
File: IMG_20160512_145754.jpg (2 MB, 2448x3264) Image search: [Google]
IMG_20160512_145754.jpg
2 MB, 2448x3264
>>54990991
OP's image speaks to me on a level I'm ashamed to admit. im still proud of the fact that I got to where I am by fooling suckers in the thinking that I know what the fuck I'm doing. Serves them right for not knowing what the fuck I'm talking about.
>>
>>55001273
c# aspnet mvc, some of it's parts are abstracted as hell with barely any good documentation to go with it, once you've gone pass the steep learning curve it'll be ok. Good luck.
>>
>>55001485
kek
>>
File: filename.jpg (30 KB, 366x495) Image search: [Google]
filename.jpg
30 KB, 366x495
>>54997901

>mfw almost extracted the zip before realizing it wasn't from the Rutgers server
>>
>>54997901
thanks!
>>
>>55001584
what?
>>
>>55001653

Sorry Mr. Shkreli. You cannot expect people to trust an unverified source, particularly when you're a web dev whose pay depends on having a secure system
>>
>>54997930
What about GitLab? It's private isn't it?
>>
>>55001827
i downloaded the zip and its fine. lots of material but whatever dude
>>
>inb4 404
bump
>>
bumpper
>>
>>54994764
in api.js change it to

var mysql = require('blahblah').mysql_connection;
>>
For the love of me, I can't fucking wrap my head around higher order functions and reduce.

Say I have an array:
var arr = [1, 2, 3, 4, 5, 6, 7];


If I use reduce to get the sum of everything in the array:

console.log(arr.reduce(function (a, b) {
return a + b;
}
));



The function returns the sum of all the numbers in the array which is 28.

So it uses the first item in the array as the accumulator?

But the following code:

console.log(arr.reduce(function (a, b) {
a[b] = b * b;
return a;
}), { });


It seems to use { } as the accumulator which is a in the function. If the function runs and it starts with
a = { }
won't a[b] be undefined and cause it to crash? It instead returns an object with the square of each key:

Object: {1: 1, 2: 4, 3: 9, 4: 16, 5: 25, 6: 36, 7: 49}


Send help
>>
>>55003159
>So it uses the first item in the array as the accumulator?
No. It doesn't use anything supplied as an accumulator.
"a" is always a copy of the return value of the previous execution of the callback (or the supplied initial value for the first execution)
"b" is always the value of the element in the array being reduced at the index "c" (the execution iteration number)

>It seems to use { } as the accumulator
No. Stop.

>If the function runs and it starts with a = { } won't a[b] be undefined
Yes. "b" is "1" in this first iteration, and a[1] is currently undefined.
>and cause it to crash?
What? Why? You're doing assignment. "Set a[1] to 1*1"
It doesn't need to be defined before that. You're defining it now.

You should really get more comfortable with basic aspects of the language before trying to tackle a clusterfuck like reduce.
>>
>>55003159
>won't a[b] be undefined and cause it to crash? I
Not at all. This is javascript. You don't need to define a key inside an object (a is an object here) before assigning it a value. In fact, you define it when you assign a value to that key.
>>
>>54999894
Check out the laracasts video series on SOLID principles.
>>
why the FUCK is it so hard to deploy a rails app? holy shit im not using heroku fuck that
>>
>tfw shit aint working but it should
Sometimes I think my browsers hate me.
>>
Which version of Node should I install?
>>
Is there a resource that can give you a quick overview of a language?
I am thrown into this project which uses js.
I can see that the website (html) calls a lot of js files, but how do I see how they are connected and how should I add files without making changes in the core files?
>>
>>55006347
it sounds like you have a long ways to go but:
1. the js files being called could be various js libraries or just custom code
2. you can add your own js in a custom.js file linked after the other js files or in script tags
>>
I got an image in a div (specifically a swiper slide) and the image is being cut by the limits of the div. Using z-index or anything else doesn't work. Any ideas?
>>
>>55006611
neither is overflow visible working
>>
How can I call a function when a variable changes in javascript? When I google this question the answers are 4+ years old and are either deprecated stuff or people saying "not possible".

For example I have a Rectangle(x, y, w, h) class and I want to change the xMin/xMax/yMax/yMin variables whenever the x/y/w/h variables change to match it.
>>
what's wrong with mongodb? people seems to hate it here
>>
>>55006655
it doesnt scale great and everyone on g sees them selves as the next zuckerjew or at least the twinklebaum kids from the hit movie Facebook is God
>>
Is it possible in a sane manner to make a single page application while using SEO?
>>
>>55006649
http://www.tutorialspoint.com/design_pattern/observer_pattern.htm
It's not javascript but you should be able to comprehend how to apply this theory to Javascript.
>>
>>55006308
Stable.

>>55006649
ES6 Proxy, but getters/setters, if you are stuck with ES5.

>>55006655
See >>54991280 as an example. There is always some kind of data loss problem with. A DB that loses data need not exist. It's only popular because of marketing spam and fuckass lazy devs.

>>55006990
Yes.
>>
I need to implement analytics into a quiz app. It's supposed to track how many people answered a question correctly, how far they got in the quiz etc...
Would this be easily achievable in google analytics or do I have to make something custom?
>>
>>55007088
So what's the alternative for NoSQL? CouchDB?
>>
>>55007618
CouchDB, RethinkDB, Riak.
>>
>>54991257
>>54995545
Neato.
Could probably use websockets for a persistent connection to make it closer to a shell clone, but I'm not sure how PHP handles websockets.

>>54999574
  $imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);

You might not want to determine file type by the extension.
I was able to upload a file (in this case a WebP) just by renaming the extension to .PNG
I could have instead uploaded an SVG file, which would be a potential cross-site scripting risk.
>>
>>55008087
>I was able to upload a file (in this case a WebP) just by renaming the extension to .PNG
that's the least of that guy's worries
I was able to inject raw javascript into the page twice using two different methods (what he calls """hacking"""), his escaping is all over the place
>>
>>55000852
lmfao kys no-ones going to get me buttraped for cracking github accounts using more or less publicly available dumps.
>>
>>54992542
I make web-based gambling games at a big company. Most of the time I'm programming and occasionally I take a 10 minute break to browse the chan.

pretty comfy
>>
>>55008291
You've got to reveal the secrets, how do you decide whether a user wins? How do you generate your RNG?
>>
>>55008224
>that's the least of that guy's worries
SVG can be displayed in <img> tags (thus won't be noticed as an error by a normal user), and won't execute code like that, but as soon as they open it in a new tab (or on their computer) it executes any embedded javascript.
It's just another form of Javascript injection.
>>
>>55008316
What's the most harmful thing JS can do? Can it shut down your computer and shit? Install malware?
>>
>>55008322
It can download files to your computer, if you're not aware of what you're doing. It could use you as a botnet of some sort, or redirect you to sites for ad revenue.
I could have your cookies and/or passwords forwarded to me depending on the site.
>>
>>55008313
revealing company secrets will land me 50k yurobucks fine mate, I aint gonna risk that shit
>>
>>55000852
lmfao not going to get buttraped in prison over cracking a few github accounts using public db dumps.
>>
>>55008708
It is current year, you most definitely could.
>>
Anyone use Leapforce? How is it and is it worth it? The hourly wage is obviously bullshit, but is it like clickworker? I tried clickworker long ago when I was doing really bad and once they had all my information, the work was required to be done in internet explorer, it sucked, made no sense, and most of the time was broken. Took them months later to send me one fucking dollar. One fucking dollar. And this was after my account was closed for months. So, is Leapforce and all these other places bullshit and not worth it? I'd be happy doing web dev but I need money to start it off and build a portfolio so to speak.

Any advice on what to do from home that's actually ideal? I'm trying to better my life but everyone seems to take advantage of you at this point early on.
>>
So I have a very ordinary link on a website, when I right click on it, and press "open link in a new tab", the link will stay highlighted even after the context menu closes and my mouse cursor is not over it anymore, what gives?
>>
>>55009414
In the CSS set outline to 0
>>
>>55009425
That doesn't seem to have any effect.
>>
>>55008378
That's mental
>>
>>55009468
Then I'm not really sure what you mean. The hover effect stays active? Or does it look different?
>>
>>55009619
It kinda ignores the custom style applied that has a different color and defaults to whatever color "a" element has defined in the stylesheet.
>>
>>54996474
>>54996429

Thanks anons, I'm goint to learn as fuck
>>
File: 1447309757985.jpg (106 KB, 406x464) Image search: [Google]
1447309757985.jpg
106 KB, 406x464
Hey /g/ ,you must help me.
So i gotta download a pdf from my small college site.After you login ,you click the resource and it will open the file in a new tab(if you have adobe reader it loads else it prompts you to download ).,so a typical link to a .pdf file.

Now the problem is that the administrator removed that .pdf from the courses page and when i manually enter the link to that resource it tells me i dont have access.
Any way to bypass this?
>>
>>54996296
>>54996364
what do you think bros?
should I quit at 3 months, I know that'll be something harsh for my CV/resumé?
but yolo, I think I'm undervalued based on
>>
>>55009757
No.
>>
>semi large company posts job listing on Indeed
>lists the position as 'Remote/Work from home'
>accepts my application and schedules an over the phone interview
>itshappening.swf
>airhead blonde calls on the day of the interview
>"where in Texas are you right now?"
>turns out she listed it as remote by accident
>mfw my one opportunity in months turns out to be the result of an error
whats the best way to off myself without my student loan debt being transferred to my parents?
>>
Why would this trigger an error?

// db.js
var mysql = require('mysql');

var mysql_connection = mysql.createConnection({
host: 'localhost',
user: 'root',
password: 'rootpassfornow',
database: 'mmldb',
port: 3306
});

module.exports = mysql_connection;

// api.js
var express = require('express');
var user = require('./../models/user');
var router = express.Router();

router
.get('/user/:user_id', function(req, res, next) {
if (isNaN(req.param('user_id')))
res.json({
error: "yes",
error_type: "illegal_id"
});
res.json(user.findById('*', req.param('user_id')));

})

// user.js

var mysql = require('./../db');

var User = function() {};

User.prototype.findById = function(sel, id) {
mysql.connect();
var res;
var query = mysql.query('SELECT ?? FROM ?? WHERE id = ?', [typeof sel === 'string' ? sel : Array.prototype.join.call(sel, ','), 'users', id], function(err, result) {
if (err) throw err;
res = result;
});
mysql.end();
if (res == null)
return 0;
return res;
}

module.exports = new User();
>>
>>55009967
Can't you re-locatE?
>>
>>55008378
he did not ask you to copy paste the live code dumbnugget.

just the generic idea.
fucking java securerandom?
or just echo 5?
is it really random?

we don't even know which company is it, fuckwit.
>>
>>54996429
I guess it's more than legitimately, I know some devs at RedHat that do OpenShift stuff and said that the new OpenShift was going to be Angular based instead of Ruby and also was going to deprecate cartridges in order to implement pure docker files.
>>
>>54997901
>implying it isn't a honeypot
>>
>>55009757
Well, I am pretty sure you get a cookie if you log in.
If you have the link cached somewhere, or in history (ask people maybe they do have the link), try downloading it after you log in, in a new tab.

IF they physically removed it, your fugged.
>>
>>54997901
probably their passwords we something simple as fuck, not like 123456, but rcb24newbrunswick
>>
>>54997901
>also using wordpress for your main website where you need security
>>
>>55010355
when you click the course it opens a link in a new tab that redirects to the pdf link and lets you view it The link is a typical php file with an ID tag argument which i guess is for the resource ID that i must get redirected to.But now the course got removed and when i manually enter that link it tells me that its not disponible for now and the same thing tells me for the direct link to the .pdf
In my browser cache all i have saved is the the today stuff ..
>>
>>55010247
I'm too broke to relocate. I have no family there and no money to get started (rent, food, transport) until my first paycheck.
>>
>>55008917
>I'd be happy doing web dev but I need money to start it off and build a portfolio so to speak.
what do you need money for? hosting? if so, use openshift, it's free, and while it's not a "normal", unrestricted VPS (but something else), you can adapt it if you know how to do it. make sure to read the documentation, though.
>>
File: failed.jpg (13 KB, 301x418) Image search: [Google]
failed.jpg
13 KB, 301x418
/g/ im desperate
I have two websites

I have a form to select a file & send it to a php file on MySite.com
My php file should then forward the file to a php file on MyOtherSite.com
MyOtherSite.com then responds with either upload failed or a direct text link to the file

Now I tested just uploading on MyOtherSite.com, works fine, so the php there is good to go
However when I try to forward a file from MySite.com to MyOtherSite.com, it always responds with upload failed.

I KNOW my php code must be forming the request wrong, i know it must be a simple mistake, but i cannot see it

heres my code -

php file which hosted on MySite.com which forwards the file to upload it to MyOtherSite.com
http://pastebin.com/embed_iframe/RY3Zwy0g

my upload form on MySite.com
http://pastebin.com/embed_iframe/b1LmNkLe

Pic related, although its not very helpful
whats wrong with my php code /g/
reeeeeeeeeeeeeeee
>>
>>55010868
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS probably
>>
>>55010887
no, it has nothing to do with CORS same origin shit

if you see my picture, the other site responds, it just responds that the upload failed

if it was an origin issue that would not happen, the response would be blank, CORS would block any text from returning from the second site

also i have enabled proper cross origin rules on both sites

anyway thank you, i know my php code is just messed up somewhere
>>
>>55010868
myothersite is probably refusing your upload because your request doesnt look like a valid client request
fake a chrome user agent or something in it and see if it works
>im not going to read your code
>im not gonna do your homework
>>
>>55010936
no, thats not it either

i think it may be my use of http_build_query() which cannot be used when dealing with $_FILES

but i dont see any other way....

and no its not fucking homework anon dont be silly
>>
>>55010868
>>55010930
well, how about you add some print statements for debugging or something? don't be lazy...

>>55010936
>>im not going to read your code
>>im not gonna do your homework
this t-b-h f-a-m
>>
File: 1445050385322.jpg (21 KB, 415x302) Image search: [Google]
1445050385322.jpg
21 KB, 415x302
>>55011017
anon i will give you 20 dollars
>>
dumb frogposter
>>
>>55011012
>i think it may be my use of http_build_query() which cannot be used when dealing with $_FILES
holy fuck are you dumb, are you seriously trying to put the file data on the query string? that shit must goes in the body of the request/post!
come on man, that shit is webdev 101...
>>
File: php-obfuscation.png (10 KB, 474x210) Image search: [Google]
php-obfuscation.png
10 KB, 474x210
I'm looking for a way to obfuscate my email address ($to) in a php page which processes data from a contact form on my website (because I know spammers could find it and beat the living shit out of me with spam), all this without affecting the php to actually understand the address and send the form. How do I do?
>>
>>55011092
IM TRYING TO BUILD A POST REQUEST WITHIN MY PHP FILE WHICH WILL THEN BE SENT TO ANOTHER WEBSITE

REEEEEEEEE

$file = $_FILES['f'];
$url = 'http://MyOtherSite.com/u/upload.php';

HOW THE FUCK DO I SEND THE FILE TO THE OTHER WEBSITE VIA POST
>>
>>55011128
>obfuscate email
>php side
im sure you mean that you want to spit the email obfuscate into the html client return
two ways, either the client needs js active and a custom decode procedure to do it on page load/idle or you must send the email address verbatim
>rot13
>base64
>spit aes+key
>...
all those flavors are available already implemented in php (encode) and js (decode) on stackoverflow, im sure of it
>>
http://pastebin.com/mH5KKbVY
>>
>>55011128
>all this without affecting the php to actually understand the address and send the form
if php can understand it, it can be retrieved using a debugger
i dont think it's possible to completely hide it like that
>>
What's the best alternative to PHP?
>>
>>55011211
>>55011229
Well, my e-mail never shows in my html, I'm afraid of spammers accessing the php file and reading it.
>>
>>55011146
if you dont know the difference between the query string and the post body data, you should be reading examples on google/stackoverflow/etc and the php documentation, not on /g/
>thinking of you hurting
>>
>>55011223
why doesn't this work?
>>
>>55011249
nigga you what? ayy....
>>
>>54999995
She looks lie she'd vote for whoever her Dad tells her to.
>>
>>55011248
Python FLASK
>>
>>55011309
This.
>>
>>55011248
Go (golang)
>>
>>55011252
oh my god you silly little cuck i swear to go
all i wanted was a method to do this without using fucking cURL

you're misunderstanding the problem, my posts, everything AND trying to insult me
so again
cuck yourself my man
>>
>>55011248
Node
>>
>>55011275
Simply put, friendo, I made a cool contact form in html and css, then a php page on the server sends automagically all the data to me, but in this php file there's my email address written in plain text: since anyone can request this php page I have on the server, is there a way to avoid the email address from showing crystal clear to everybody?
>>
guys, I'm trying to solve something in jquery:

I want to remove all elements but one, which is deep down in the DOM tree.

This code works (even leaves html tags, I am ok with that):
var save = $('#divname').detach();
$('html').empty().append(save);


However, isn't there a neater way, something like:

$('html').not('#divname').remove();


However, this removes everything.
>>
>>55011355
>you're misunderstanding the problem
no im not, you are the one that know not what he is doing
put the file data in the post body! dont know what methods to use? search google, php docs, or do you still use diapers so you dont have to flush the toilet?
>all i wanted
>all i wanted
>all i wanted
...
>>
Can anyone assist me with this?

I have an input box, a user should enter a URL into this and click the button.

Backend, the Controller, should scrape off the title using bs4 and search for other things in the HTML. This should then populate a field for the user, where the can make changes before posting to a database.

Now I have the website already set up working perfectly, and I also have the code for scraping HTML which works in a single script.

How do I implement it into my web app?

Should I put the code in my controller (app.py) a model .py file and reference it within the controller?

Anyone have any documentation or tutorials which tries to run scripts when a button is pressed but not do database stuff?
>>
>>55011381
i dont want to sound too rude again, but im having a hard time understanding that post
so your contact form posts the data to that "php page" of yours, ok. and that "php page" wraps it up in a nice email and sends it to your email, ok. then the same "php page" returns a 200ok or a 301redir to the html page with the contact form,. is all this ok?
in what step is "that page"s php content visible to the outside? does php not parse&execute it sometimes? does it crash and spit some debug code onto the response?
i really dont know what you are refering to..
>>
File: 1430811909522.jpg (27 KB, 508x524) Image search: [Google]
1430811909522.jpg
27 KB, 508x524
>>55011428
you feel good about yourself right now you pathetic cuck?
you clearly don't know how to do it
but you're more than willing to belittle me for asking for help
im sure your wifes son would be really proud of you right now
>>
>>55011403
>2016
>needing jquery
const targetElement = document.getElementById('#divname')
const detached = targetElement.parentNode.removeChild(targetElement)
document.body.innerHTML = ''
document.body.appendChild(detached)
>>
>>55011528
why da fuck should i promptly know which method spits binary data onto a post body request in any language? i dont use that all the time and the documentation is readily available
the time it took you to post that comment would have gotten you there, but you know, demanding spoonfeeding on a chinese carton board is better...
>>
is spamming memes how you ask for help
>>
>>55011602
No id hash needed here actually.
>>
File: me.jpg (85 KB, 680x680) Image search: [Google]
me.jpg
85 KB, 680x680
>>55011602
>misusing constants
>>
>>55011646
If you're going to mutate your variable, use let, otherwise use const
Not hard.
>>
>>55011602
that doesn't look much neater to me
>>
>>55011670
It adds a little more boilerplate, but it's more effective and prevent loading and parsing a 80kb library for two selectors.
>>
File: 1429042599667.jpg (29 KB, 295x418) Image search: [Google]
1429042599667.jpg
29 KB, 295x418
>>55011604
>documentation is readily available
which I read, and googled, and because of cURL, no one has bothered to do it any other way
so there was very little to no information

So against my better judgement i decided to ask /g/
I totally forgot that theres always someone out there looking to make themselves feel superior

I really love this part though

>why da fuck should i know
>BUT YOU'RE AN IDIOT FOR NOT KNOWING LOL XDDDD

I don't know why you're having a bad day or maybe you discovered you've developed a 5th chin, but you better watch yourself before i teleport behind your fat fucking ass & do something to you which won't be personnel but will be extremely painful
>>
>>55011686
but he asked for a neater way to do it using jquery
>>
>>55011670
your first try at it bretty gud, you need to preserve the element outside of the dom tree and re-add it.
even if you are selecting all the nodes that are not the one to delete, once jquery reaches the parent of th elem that you are truing to save its going to remove it, and subsequently its children, effectively removing your element from the dom. sowwy
>>
>>55011695
if you ask nicely and appologise for being a bullyfag demanding for info on a taiwanese animation board im going to post a link to a working example on stackoverflow (5 secs search on google btw)
other wise you can keep you salt and non-working solution to yourself :^)
>>
>>55011695
>I totally forgot that theres always someone out there looking to make themselves feel superior

>I don't know why you're having a bad day or maybe you discovered you've developed a 5th chin, but you better watch yourself before i teleport behind your fat fucking ass & do something to you which won't be personnel but will be extremely painful

lol
>>
File: image.png (38 KB, 901x835) Image search: [Google]
image.png
38 KB, 901x835
>>55011507
>your contact form posts the data to that "php page" of yours, ok.
Yes.
>your contact form posts the data to that "php page" of yours, ok.
Yes.
>then the same "php page" returns a 200ok or a 301redir to the html page with the contact form
If everything is fine with all the fields, mail.php sends an email to me; the user never goes through mail.php but waits for his mail to be sent in contact-form.htm (a notify appears when it's finished). Even if the user does not see mail.php, this file is on the web server and anybody can see my email address in it. I feel bad, I'm a total noob with php.
>>
File: ss+(2016-06-10+at+01.20.13).png (14 KB, 752x310) Image search: [Google]
ss+(2016-06-10+at+01.20.13).png
14 KB, 752x310
>>55011695
>post a link to a working example on stackoverflow
bullshit, lies ALL LIES
pic related is the ONLY thing you'll find
http://stackoverflow.com/questions/4223977/send-file-via-curl-from-form-post-in-php
which is using cURL

and youll find some posts like pic related, where they claim you cannot do it without cURL
>>
>>55011901
meant to reply to
>>55011799

i am literally shaking right now & cannot even post correctly
i hope you're happy
>>
>>55011248
Golang
>>
>>55011891
fuck, the second implying is:
>and that "php page" wraps it up in a nice email and sends it to your email, ok.
Yes.
>>
>>55011891
Unless you somehow fuck up the mime-type settings on your server or the "Hackers" have access to your files and folders of your server there's no way for them to retrieve the php script.
>>
>>54997017
How mature is PureScript on the server? They have a C++ backend, right?
>>
>>55011901
>bullshit
no, it doenst use curl, its just pure php with no outside calls (php v >= 4.3.0)
but its ok pally, if you are not that desperate for it and/or dont wnat to apologise its your choice, nothing wrong with that
>>
>>55011955
Ok, so let's assume:
/contactform.htm
and
/mail.php

Then a visitor, writes website.com/mail.php in his url bar: he should get that mail.php, no?
>>
>>55011901
then how can someone see your address? i really having a hard time trying to come up with a way of leaking the info other than crash/debug/no-php-execution
can you come up with a way of that php code leaking if a user requests that page?
if you cant dont sweat it, no one will
>>
>>55011891
mailconf.php:
<?php
define('EMAIL_ADDR', '[email protected]');


mail.php:
<?php
include('path/to/mailconf.php');
do_stuff(EMAIL_ADDR);


then put mailconf.php outside of the web root where a browser can't access it
that way it can't be leaked

>>55012032
server misconfiguration
it's happened to 4chan and facebook
>>
File: 1462922866292.png (100 KB, 419x310) Image search: [Google]
1462922866292.png
100 KB, 419x310
>>55011986
you think you have me by the short hairs right now
fine
you want me to say im sorry
im sorry that you're such a lying cuck who has no such url and/or information
im sorry i don't know where you live so i can come over there
>>
>>55012018
The server parses it, it doesn't send the file.

Unless you echo the email address, nothing will show up on the client side except for an empty html page.

That's why it's called server side scripting.
>>
>>55012018
oooooh. i see....
no man, everything inside php code is never spit onto the response unless you echo it, otherwise all your php code would be spit onto the hmtl pages you serve
relax, its all fine and dandy as is
>>
>>55012054
i was about to say the offer was off the table for that, but thats just sad so its still up (unless other anon posts a working solution too)
and no i wont budge :^)
>>
>>55012059
>>55012056
Oh my god, I feel dumb now. Thank you A LOT!
I was experimenting client-side until now and of course, without actual php execution on the server, I just got the php code in plain text while accessing the file.
Again, thank you very much.
>>55012051
Very elegant solution, even if i already sorted out.
>>
>>55012095
ok, listen to me little shit
I'm sorry
I'm sorry for being such an asshole
now give me that goddam link and prove that you're not just a lying fucker
>>
File: 1464382183963.jpg (95 KB, 800x762) Image search: [Google]
1464382183963.jpg
95 KB, 800x762
I'm using Node.js/Express, and I'm doing my best to write a good looking backend. When you nest, how far do you let yourself nest in before you write a different function to make it cleaner?

On top of that, how long do you usually let your functions be?
>>
>>55011248
- Ruby on Rails
- Django (Python)
- Phoenix (Elixir)
- Grails (Groovy/JVM languages)
PHP is best thought of as a programming language with half a Web framework bolted on out of the box. The frameworks/language pairs listed above will be pretty much equivalent to each other if you are a beginner to intermediately skilled developer. Choose any one.
>>
File: Original-I-Lied.jpg (38 KB, 300x300) Image search: [Google]
Original-I-Lied.jpg
38 KB, 300x300
>>55012142
I lied.
>>
File: 1464475517964.gif (3 MB, 426x426) Image search: [Google]
1464475517964.gif
3 MB, 426x426
>>55012095
>so its still up
oh i see whats going on here
you're attracted to me
>>
>>55012157
lol i'm not the original tanthrum-anon, i was just curious about the solution. fuck you faggot
>>
File: 1459433929277.jpg (35 KB, 445x604) Image search: [Google]
1459433929277.jpg
35 KB, 445x604
>>55012142
REEEEEEEEEEEEE YOU'RE NOT ME
YOU FUCKING DASTARDLY DICK
THIS APOLOGY IS INVALID
>>
>>55012199
nah, i'm not you but doesn't matter. the other faggot was bluffing
>>
>>55012163
keked

>>55012142
>>55012157
>pretending not to care
there you go pally
http://stackoverflow.com/a/2445332
you can shitpost at will now
>>
>>55012215
>>55012218
>damn it, i was fooled for the last time!
dolan?
>>
>>55012218
>http://stackoverflow.com/a/2445332
oh my fuck
thats literally in my original post
you didnt even read my code at all
>>55010868

the whole point is IT DOES NOT WORK FOR $_FILES, IT ONLY WORKS FOR $_POST & $_GET
>>
How do I become a manager?
Thread replies: 255
Thread images: 34

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.