You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: 'DFox'

We found 9,474 matches.


<< < > >>

Viewing 1-30 of 9,474 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7161316

1.

None

Topic: Programming Regs Lounge

Posted: 11/17/09 09:59 PM

Forum: Programming

I don't understand how reseller hosting makes economic sense anymore. Do you really expect to make any money with companies selling shared hosting plans for practically nothing?

The thing is, all these $5/month hosting plans are pretty much the same. You get a ton of space, ton of bandwidth, but no substantial system resources. That's why I think the new grid hosting plans that companies like GoDaddy are offering is awesome.

So really, if you're going into the hosting business, at least try something fresh like the grid hosting idea. It's really a great idea. All these crummy shared hosts are fine for personal/no-traffic websites, but GoDaddy is now offering this cheap alternative that has NO resource limits since it is grid. At least it might bring an end to this "unlimited" space and bandwidth garbage that all these hosts spew out now. I hate that.


2.

None

Topic: Can PHP do location-based apps?

Posted: 11/15/09 10:15 PM

Forum: Programming

Yes, this is called geo-ip, where you use the user's IP address to find their approximate location.

I use this service: http://www.maxmind.com/app/ip-location

They are really good, pretty cheap, and have a really good API.


3.

None

Topic: Programming Regs Lounge

Posted: 11/15/09 04:17 PM

Forum: Programming

At 11/15/09 09:32 AM, citricsquid wrote:
At 11/15/09 08:25 AM, DannyIsOnFire wrote: I barely program these days but when I did I was about as far away from the stereotype as you can get.
how's alcoholism treating you?

Hahaha, omg, I seriously lol'ed.

At 11/14/09 10:22 PM, Jessii wrote: I'm totally not a programmer so nope! No stereotypical geek here. The other day I yelled at one of the idiots that works for my Dad and Uncle who called me because he has no idea how to use the scanner or where I scan the documents to.

Wait, why does this guy ever have your phone number in the first place???


4.

None

Topic: txt file script (php)

Posted: 11/15/09 04:11 PM

Forum: Programming

At 11/15/09 08:05 AM, mayoarm11 wrote: bump - this still isn't working, and I can't figure it out =/

What's not working? Do you get any errors? What have you completed so far and how are you testing it?


5.

None

Topic: [php] Cookie Problem

Posted: 11/13/09 04:25 PM

Forum: Programming

At 11/13/09 07:28 AM, Deja-Vu wrote:
At 11/11/09 04:01 AM, DFox wrote: I still think it's a piss-poor practice...
Who is this reply aimed at?

Anyone who is thinking about putting any sort of primary key unique ids in a cookie as a sole form to use for login authentication.


6.

None

Topic: Good programmer = Bad mathematician

Posted: 11/13/09 02:14 AM

Forum: Programming

Not sure if it's true or not, but add me to the list of programmers that are terrible at math.


7.

None

Topic: Help me

Posted: 11/12/09 11:48 AM

Forum: Programming

H1N1, it won't be too hard to find!


8.

None

Topic: txt file script (php)

Posted: 11/11/09 01:36 PM

Forum: Programming

Some of blah569's examples are incorrect. I suggest you look them over and read up on each method so you'll know where the mistakes are.

Also, if you aren't making a game, and rather a website or app, Adobe Flex would make things MUCH easier.


9.

None

Topic: [php] Cookie Problem

Posted: 11/11/09 04:01 AM

Forum: Programming

At 11/11/09 03:09 AM, Deja-Vu wrote:
At 11/11/09 02:47 AM, Nishinku wrote: And just to clarify for you guys, because there seems to be some confusion. I give all users an id in the database, and thats what i save in the cookie, even if you did modify the cookie you wouldnt know how to alter it to fit another user unless you could access the DB. So i dont put up any usernames passwords or whatsoever in cookies.
As long as the ids cannot be enumerated.

I still think it's a piss-poor practice. You're effectively making it so you're primary key can't be used anywhere on your site, and if it is, every user just became a joke to "hack". Unless you're always using a user alias instead of the ID (like Newgrounds, still less efficient though), then I don't see how you can do much at all without exposing user ids.


10.

None

Topic: A web design question.

Posted: 11/11/09 03:54 AM

Forum: Programming

At 11/11/09 03:03 AM, citricsquid wrote: I do agree with her, in part. In general part of being a web designer is being a graphics designer, but they're far from the same. I'd consider myself a "web designer" in that I design and build websites, but I don't do graphic design at all. It also depends entirely what you mean by "web designer"; someone who simply designs a website or someone who actually builds it from the ground up?

Yeah I mean there's no doubt that it is a VERY inexact definition. The term is always used very loosely. I think once you touch the backend of a site, you become a programmer or developer. Just HTML/CSS, then you're a web designer. But if you're doing PHP and HTML/CSS, then you're a programmer. That's how I look at it at least.


11.

None

Topic: A web design question.

Posted: 11/11/09 12:12 AM

Forum: Programming

No, your teacher isn't an idiot. In fact, for the most part, I agree with her.

I'm a programmer. When I'm working with a "web designer", if they can't do all the graphics for the project, then they are useless to me. If they can do all the graphics, but can't do the HTML/CSS, then that's OK, because me, and 99% of other programmers can do HTML/CSS, but it doesn't work the opposite way.

So the bottom line is there will always be demand for web designers who can do graphics and not layout code (HTML/CSS), but there is rarely a need for web designers who can ONLY do HTML and CSS since pretty much all programmers can do that.


12.

None

Topic: Screencaps of upcomming projects?(2

Posted: 11/05/09 07:40 PM

Forum: Programming

I agree with bgraybr, Megan Fox is gorgeous.

Also, just because she's thin, it doesn't mean she has had expensive work done or anything... Some girls are just naturally very thin. Of course, a lot in Hollywood have had work done to further their careers, and I agree, that is silly and shouldn't be respected, but just because a girl is thin it doesn't mean she had spent a lot on "cosmetics".


14.

None

Topic: Web hosting for a flash arcade?

Posted: 10/29/09 02:34 AM

Forum: Programming

Take a look at Godaddy virtual dedicated servers. I think they're great. I've had my VDS plan through them for about five years now, and I've never had a problem.


15.

None

Topic: Programming Regs Lounge

Posted: 08/12/09 11:22 PM

Forum: Programming

Heh, this discussion reminds me of a really funny story.

One of my friends, who is in to scheming, once made this pyramid site. He was selling all this stuff like PS2's, flat screen TVs, etc, for like $25 a pop. He put your name on a list, and when you got to the top of the list, he would send the item. SOMEHOW, people actually went for this. I told him it was illegal and there's no way it can possibly work, and eventually he would get in trouble. And eventually, he did. But it brings back memories :)


16.

None

Topic: Rate My iPhone App

Posted: 08/12/09 11:16 PM

Forum: Programming

This looks/sounds really cool. Makes me wish I had an iPhone. But I like Sprint.

Maybe down the road think about bringing it to the Windows Mobile platform. Then I would buy it.


17.

None

Topic: Check my work?

Posted: 08/07/09 01:34 AM

Forum: Programming

I like it, but since I've become a photography enthusiast, I'm going to be harsh.

First off, you have way too many forums and not enough of the important ones. When I go to the froum I get a headache because there's so many.

You have a Nikon and Canon forum. OK, but they should be split up somehow by P&S and DSLRs.

That's just a few things off the bat, and also, you should have some things to differentiate yourself.


18.

None

Topic: The Flash 'Reg' Lounge

Posted: 07/13/09 06:05 PM

Forum: Flash

At 7/13/09 01:21 AM, Blackfang wrote: I'm gonna leave the Lounge for a bit and find other things to do. Luis made me feel bad. Bye reg lounge, see you soon.

I swear one night a few years ago Luis drunk IMed me it was hilarious and I'll never forget it. I haven't been on this forum in months but you made me remember it. Just reading through some of these pages brings back soooo many memories :)


19.

None

Topic: Programming Regs Lounge

Posted: 05/17/09 12:05 AM

Forum: Programming

At 5/16/09 11:13 PM, DanielZ wrote: Speaking of high-school dropouts, look at smulse. Didn't he drop out? Last time I checked, he's doing pretty well. However, I'm not planning on failing out of high school. My grades so far have been pretty good, with mostly B's and a few A's. I'm running a B+ average, with an 1890 on the SAT.

So what's the issue here? You're doing fine in high school and with that SAT score you can get into a ton of good colleges...

But I'm sorry, it's 2009 and pretty much everyone graduates from high school. Even people who have ZERO need for most of high school graduate from high school. I mean highly skilled baseball players who are going to make millions of dollars anyway, they all graduate from high school.


20.

None

Topic: Programming Regs Lounge

Posted: 05/16/09 08:43 PM

Forum: Programming

My apologies, I'm in a rush and I typed that post incredibly fast and it's filled with embarrassing mistakes, but I hope I still got my point across.


21.

None

Topic: Programming Regs Lounge

Posted: 05/16/09 08:41 PM

Forum: Programming

Wait, are we walking about finishing high school, or college? There's a huge difference. If we're talking about High School, then I agree with Jess.

I don't care what you're skills are, if you can't finish high school, changes are you can't use your skills properly. I can't think of anyone successful I know who didn't finish high school, and that's because I don't KNOW anyone who didn't finish high school. At this point, at least in the United States, it takes much more effort not to graduate high school than to actually graduate.

Now, if we're talking about a college education, then I agree for the most part with diuqscirtic. A college education is great, most people should get one. But it is by no stretch of the imagination a requirement to be successful. One of the most successful and wealthiest people I know is also one of the few I know who only has a high school diploma. I also know people who graduated college, and from good colleges, who aren't successful... But, these people are the exceptions. In reality, graduating from college can't hurt.

But for people who go through college like "must have 4.0 GPA", I just find that sad. Graduating is graduating. I always look at it like this: you go for a job interview, and you're competing against someone who graduated college with a 4.0 GPA, but you have a much better skillset. Of course they are going to pick you. Any company that knows what they are doing knows how to spot talent and not just look at a meaningless number.


22.

None

Topic: Security question

Posted: 05/07/09 09:26 AM

Forum: Programming

Preventing "JavaScript" injections has nothing to do with removing javascript:. Just worry about turning brackets into entities (htmlentities()), that way a JavaScript tag can never be interpreted...


23.

None

Topic: Women

Posted: 05/06/09 05:43 PM

Forum: Programming

At 5/6/09 06:55 AM, CronoMan wrote: Nice support for input devices though

WIN.


24.

None

Topic: PHP: Ordered timestamp

Posted: 05/06/09 05:42 PM

Forum: Programming

At 5/6/09 05:32 PM, Super-Yombario wrote: Since when does Date = Time?

date(m.'/'.d.'/'.Y);

...would be a suitable date function

That's not even close to how you would actually use it. You aught to actually look at the documentation. Also, if you don't know how to properly utilize a function after looking at documentation, time to re-learn the basics because you don't know them well enough to go on yet.


25.

None

Topic: $_files['file'][' type']=='zip';

Posted: 05/04/09 03:02 PM

Forum: Programming

At 5/4/09 02:47 PM, elbekko wrote: Actually:
http://www.h-online.com/security/Risky-M IME-sniffing-in-Internet-Explorer--/feat ures/112589

OK, so I guess you want to check the integrity of image files also, although I'm not sure the easiest way to do that. Do you know of any classes for this?


26.

None

Topic: $_files['file'][' type']=='zip';

Posted: 05/04/09 12:02 PM

Forum: Programming

At 5/4/09 10:49 AM, CronoMan wrote: Extract the 4 last characters of the filename.

But why? What if the extension is 1 character? 2 characters? 3 characters? 4 characters? Then you have a messed up script. So no, that logic wouldn't work. Rather, like other people have suggested in this thread, you would use explode() to get the last part, which has to be the extension, and it doesn't matter how many characters long it is.

So instead of yelling at PHP, learn how to write working, adaptable algorithms first because from this example it doesn't really seem like PHP is the problem.

I personally don't think it's such a bad idea to assume that a file is a zip-file, if it ends with the string ".zip" - I mean, that's what extensions are for, right?

No, it isn't. When you're working with files like exe's, zips, etc, that can actually contain executable/dangerous code, I think you want to know if the file is what the extension says it is. When you're working with jpg's, gifs, pngs, etc, it doesn't really matter if the file integrity isn't there. What's the worst that can happen? An invalid image error?


27.

None

Topic: $_files['file'][' type']=='zip';

Posted: 05/04/09 08:56 AM

Forum: Programming

At 5/4/09 06:04 AM, CronoMan wrote: if(stricmp(substr($filename, strlen($filename) - 4)), ".zip") == 0)
....

Why make it more complex than it has to

Because you might as well use syntax that works and a function that actually exists...


28.

None

Topic: Kartoffels = Zendra

Posted: 05/03/09 02:16 PM

Forum: Programming

At 4/29/09 12:11 PM, Kartoffels wrote: I tried using PDO, but -again- my host did not seem to accept that (while I tested it on a localhost first), so that leaves me with creating an entire new database class and integrate that within the system; so that is taking some time.

What's wrong with mysqli?


29.

None

Topic: $_files['file'][' type']=='zip';

Posted: 05/02/09 10:18 PM

Forum: Programming

At 5/2/09 10:04 PM, WoogieNoogie wrote: It would be pretty difficult to determine if it was a zip file before it was uploaded with that method.

Odds are any time you check ANYTHING about a file, it's already "uploaded". Any time the form posts to the page on your server, the file being uploaded is stored in the temp directory. So, any time you use the $_files array, the file is already "uploaded". Since it's on your server already, you might as well check the contents.


30.

None

Topic: $_files['file'][' type']=='zip';

Posted: 05/02/09 02:23 PM

Forum: Programming

At 5/2/09 05:03 AM, WoogieNoogie wrote:
At 5/2/09 02:50 AM, Nano256 wrote: http://us3.php.net/zip
Wow, what a useless post.

Actually, that was the most useful post so far. If you just use the open method of that class, it'll tell you if it's a zip file for sure...


All times are Eastern Standard Time (GMT -5) | Current Time: 10:14 AM

<< < > >>

Viewing 1-30 of 9,474 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7161316