« first day (692 days earlier)      last day (4272 days later) » 

12:25 AM
Know your standard library, people!
 
good night
 
@LeviMorrison I think you forgot to write it as an answer :)
 
@PeeHaa Fine. If you insist.
 
@LeviMorrison the needs higher vote caps :)
 
12:39 AM
Nice and clean
 
12:53 AM
Hello all
 
hello
 
anyone know how to add $subject headers to PHP email mime-version1.0 content-type text/html
Hey PeeHaa how are you..
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($email,"NO-REPLY@ME.com",$body,$headers);
 
@FA''''''''''''''''''''''' prety good
 
as soon as i try to add a $subject -- it breaks the message body
 
Where are you adding subject?
 
12:57 AM
before the body
or should it be: $headers .= "Subject: Blah Blah \r\n";
 
No you should just pass it to the mail function
 
I see
trying it out
thanks
 
np
 
work greattt.. however I had to do: $headers .= 'From: NO-REPLY@ME.com' . "\r\n";
to make my email show properly. Not sure why.. but it works..
 
1:21 AM
how many downvotes does an answer have to have to be dv-ed
that's just downright wrong
 
> down-right wrong? :-)
 
indeed :P
 
@Lusitanian You sound genuine shocked about a bad answer on SO :P
 
@PeeHaa but it's never happened before!
 
:D
 
1:25 AM
I was more surprised that he has 20000 rep tbh
 
@Lusitanian maybe with enough downvotes the text becomes invisible :-p
 
@Jocelyn No, it doesn't seem to... See this!
 
-66 ???????????
 
that's such a bad answer
 
Someone said
> Congrats on having the lowest-rated answer on the site
It's true, that is the only answer that is still on the site that is not from an election.
 
1:29 AM
You should tell that to Ruby on Rails because it couldn't disagree more strongly. — tadman 2 mins ago
 
how can he be sure this is the lowest rated answer?
 
This is where @tereško needs to come in and write one of those
8 paragraph answers
 
@Jocelyn Here
+9
-75
 
the results do not match
it is listed as -57
 
@Jocelyn They update the data ~ once a month.
 
1:32 AM
I thought it was every quarter
 
It's every quarter --- hasn't been updated since 6/28
 
@PeeHaa I'm just going by what I skimmed through, it probably is every quarter.
 
@ShaquinTrifonoff a wait they are going to be updated every week
13
Q: When will data.SE get updated data?

WardZypher promised that data.SE would "soon" get live data: How to count the number of times I earned 200 daily reputation? http://chat.stackexchange.com/transcript/message/5865764#5865764 I realize it's a long weekend, but given that data.SE is now over 2 months out of date, it would be nice if...

 
some people are really begging to be hacked: stackoverflow.com/questions/12310606/…
 
@Jocelyn lol i felt bad -- so i replied to the it..
*comment
 
1:46 AM
@Lusitanian Your point is moot
You should tell that to Ruby on Rails because it couldn't disagree more strongly. — tadman 19 mins ago
:)
 
anyone see the new sitepoint website.. I just noticed the new design
i like it...
 
@FA''''''''''''''''''''''' I don't know what the old one looked like, but this looks pretty bad.
 
@Jocelyn I added a comment to the main question, too.
 
@Nile You're kidding right? I have 1920 by 1080 on 24in display and it looks very nice to me..
perhaps your monitor/settings is distorting the site.
 
@FA''''''''''''''''''''''' cl.ly/image/2Q3j1o1L1z3o?
 
1:51 AM
@FA''''''''''''''''''''''' and @Shaquin PDO and prepared statements may of course be used, but there are not necessary to ensure security. Using mysql_real_escape_string would already improve security. And switching to mysqli (and using mysqli_real_escape_string) would be very secure. (Yes, PDO and prepare statements are nice tools)
 
@Jocelyn Have you heard of the ways to get around mysql_real_escape_string and mysqli_real_escape_string?
That's why people use PDO.
 
@Jocelyn - PDO is much more versatile than MYsqli
 
@ShaquinTrifonoff Nothing is invulnerable.
 
@Shaquin: yes, that's what I was refering to
there is a good post by ircmaxell
Using mysqli_* in PHP5.5 is secure
 
yes Nile -- I like the scroll down bar with the opacity.. and the drop down menu.. its clean
NOTHING IS SECURE
lol
 
1:53 AM
@FA''''''''''''''''''''''' It looks like my grandma designed it in the 2000's
 
human error is inevitable.
 
and she's an english teacher...
 
lol nile -- i just like the drop down bar menu when u scroll down
 
14
Q: SQL injection that gets around mysql_real_escape_string()

Richard KnopIs there an SQL injection possibility even when using mysql_real_escape_string() function? Consider this sample situation. SQL is constructed in PHP like this: $login = mysql_real_escape_string(GetFromPost('login')); $password = mysql_real_escape_string(GetFromPost('password')); $sql = "SELECT...

 
@Jocelyn It was by Richard Knop, not ircmaxell. ircmaxell edited it.
 
1:55 AM
@Shaquin no, read the very long answer by ircmaxell
the one with 28 upvotes
It's 4am here, good night
 
@Jocelyn good night morning ;)
 
@Jocelyn I see his answer now.
Good night.
It's 1:56pm here, afternoon...
<del>night</del>
@Nile How do you do that? test
Oh, I see.
 
1
Q: How to index a web into google search?

X-menHow to index a web example : http://www.stackoverflow.com into google search ? If I try to search stack overflow, It will show the index of Log in, Android, Careers, Questions, etc...

wat
 
@Lusitanian And again a mystery upvote
 
@Lusitanian Aha, it is by the same user, X-Men...
@Lusitanian I posted an answer, now I'm hoping it's relevant to what he wants :-)
 
2:07 AM
i'm upvoting just for your bravery
 
@Lusitanian Thanks.
zerkms just pointed out what he wanted, so I updated my post :P
 
3:01 AM
I cannot believe you responded to that @ShaquinTrifonoff. That user is a waste of time. Look at my comment. People are idiots.
And I wouldn't suggest that explode() comment... try fgetcsv
 
CSV is Comma Separated Values, not Newline Separated Values.
Or am I wrong?
 
okay, sorry, i thought he said he wanted commas... but still, that question is crap
I'd append that last line with: and don't exploit others to do work you're fully capable of.
yawn good night
 
Good night @Nile.

Everyone goes to bed at 3pm :D
 
3:16 AM
@ShaquinTrifonoff it's actually 10:16 PM :p
 
@Nile In New Zealand, it's Friday, 17 September 2012, 3:17 p.m.
 
@ShaquinTrifonoff well have fun in tomorrow, I'll see you there in 2 hours
 
3:57 AM
hi...
hi all...
 
hello all
 
Hey all
 
@ShyamK How has your cron / installation work gone? Is it working? I'd be interested to know what you ended up with.
 
Sam
@ShyamK how folks...
hi @Paul
 
@Paul its working fine... :D
@Sam folks? they're good. Thanks for asking :D
 
4:08 AM
hi Sam
 
Sam
Paul.......king of Linux
you use vim instead of gedit, correct?
 
@Sam Found a good hacker movie yet?
 
@Sam lol, no, I use emacs. I only use vim through ssh.
 
Sam
lol......I've perused the list you gave last night.......will begin checking out the rental places for some of them
I've always heard about emacs, but I haven't really come across them
 
what do you use Sam?
 
Sam
4:10 AM
gedit
that's my main editor
 
there is a very steep learning curve to emacs, but it has good syntax highlighting and automatic indentation. Then heaps more features like rectangle insertion and deletion (no need to go through tens of lines adding spaces or deleting them).
 
Sam
@ShyamK, anytime I log into my system now, i have a log that records the time I logged in, sends both an email and text message
I got my answer in a CLI :-P
 
@Sam hehe, yes, but the steep learning curve kills. It takes a long while to get used to it (years). You would want to be the sort of person who likes to use keyboard shortcuts. You would also be the kind of person who likes to learn another programming language just so you can configure your editor.
 
Sam
well.....I figure if I'm gonna be a software developer, I have to go all the way in
so, I'm reducing my dependence on point-n-click, and using CLI when I can
 
CLI is the way to go... :D
@Sam text message? SMS? how?
 
Sam
4:20 AM
not SMS though....it's similar to an email address; the only difference is that it uses your phone number as part of the address number@phone_company_domain; and you'll receive it on your phone
 
@Sam oh so two emails? right?
nice...
 
Sam
yeah......i used Python for that :-P
 
three cheers for Py scripts :D
 
Sam
lol......yup
I read that Dropbox was created with Python.....I wonder how it was done
 
@Sam oooh...
how'd you send the mails? Mine keep landing in the Spam folder of my Gmail account.
 
Sam
4:35 AM
I send it to my Yahoo account......I'm not sure if it'll go into the Spam folder if it were sent to my gmail account
 
herroo
 
Sam
The Nick
 
Zombie @Sam
 
Sam
Nick....The Furious Face of LulzSec
:-P
 
@Sam hehehe, hey @ShyamK
 
Sam
4:40 AM
how's your night?
 
not bad, getting ready to write some code
 
Sam
nice.....who's the offender? :-P
 
the offender?
 
Sam
lol....I figure you are about to break into someone's system...:-P
 
ohh no haha, some PHP
I finished my linux box last night
 
Sam
4:44 AM
you got Linux now? On Mac?
 
haha, im running windows right now
but im usually on OSX lol
 
hey @Nick
 
@ShyamK How's it goin'
 
Sam
when are you starting Obj-C?
 
so far so good :D And whats up at ur end?
Nick must already know Obj C
 
4:45 AM
@ShyamK not much smooooth sailing
@Sam Haha, I've been so busy, I stopped looking into it
 
Sam
lol......you develop for Apple, you make quick money
 
@Nick how come? whats wrong with the waves?
@Sam quick money and big money too
but that may go down... after the Apple Samsung show down
 
@ShyamK Nothing wrong with Obj-C just been too busy to dive into another language
 
Sam
@ShyamK; it'll take a while before ppl (non-IT) stop using Apple
 
Jailbroken it's pretty awesome
 
Sam
4:49 AM
and since majority of apps are being used by them, Apple developers continue to laugh all the way to the bank
 
I wouldn't use it un-jailbroken
 
Sam
lol.... I won't use it at all
 
yeah basically a media company at this point lol
@Sam die hard fan haha, in too deep
 
Sam
lol...I know; I heard Steve Jobs gave a shout to you during his final conference speech
 
@Sam, @ShyamK ever use memcached?
 
Sam
4:52 AM
I've read about it......but never implemented it yet
I actually planned to do so a couple of weeks back, but totally spaced out....until now
 
@Sam hmmm same, I really want to give it a gooo..
 
Sam
that and apc too
wanna see if it's as good as they claim it to be
 
hmmm maybe over the weekend
what's ShyamK doing? hacking the pentagon
 
Sam
maybe tomorrow.....but I have to use the Win version
cause my main PHP dev is on Win
lol.....he's hacking the hackers
 
What are you on right now ?
 
Sam
4:57 AM
Ubuntu 12.04 LTS
 
Damn, I gotta admit it looks like OSX
I have it dual booted on this laptop, I use it for pentesting XD
I'm too cool for Backtrack 5 r3
 
Sam
lol....what r u using Backtrack 5 for?
 
@Sam I'm not haha
I'm too cool for it ^^
 
@Nick really? never felt so (then again I never used OSX)
 
@ShyamK Yeah, It used to not be as much.. I recently installed it and was stunned how much the new Ubuntu looks like OSX
Nothing wrong with that XD
 
Sam
5:01 AM
I'm not familiar with many of the open source tools (especially the hacker tools).....so, I guess I still have tons to learn
the new Ubuntu is a little slower booting up than the previous editions
unless, it's just acting like that on my system
but it sure looks sleeker
 
@Nick so when someone asks what have you been upto... what do you say? I'm a Pen tester or maybe a Penetration Tester?
 
@ShyamK No haha, that's some spare time stuff
 
Sam
what tools/languages do you use for that?
 
metasploit, nmap, wireshark
 
@Sam 12.04 is new... and got couple of bugs here and there... atleast thats what they say at AU
 
Sam
5:04 AM
AU?
 
@Nick I wanna be a hacker (ethical or not) someday...
@Sam Ask Ubuntu
 
@ShyamK Yeah I've always been into pentesting
I used to practice sqli
 
Sam
I'll check out those tools
 
@Sam metasploit is pretty awesome lol
 
its a new concept for me... sure would love to learn all the vulnerabilities of a system
@Nick been reading about that... guess I got something nice to do on the weekend :D
 
5:07 AM
I'm more familiar with web vulnerabilities
 
Sam
that's true......the more one is aware of them, the better one gets at securing the systems
lol.....so, basically, it's easier for you to break things down than to build them? :-P
 
yeah ... and it makes you feel like a badass
 
hehe...
 
Sam
lol......and wanted by the feds
 
watch Live Free or Die Hard... Thomas Gabriel character is awesome :D
 
5:10 AM
im not from the U.S
 
Sam
lol.....Canadian feds
 
Mounties*
:P
I'm kiding btw lol
 
Sam
lol
I was about to say it too, but wasn't sure if it's offensive to Canadians or not
it's funny here though
 
lolol its not offensive, stereotype
@ShyamK Firestorm
 
@Nick firesale right?
 
5:22 AM
@ShyamK lmao right, my bad
 
Sam
that's a code for something?
 
5:32 AM
@Sam watching the movie will explain it :D
something abt hitting all 3 things that run the US gov at the same time
 
Sam
got it......will hunt it down this weekend
so, what do you do with your free 8 hrs at work? just munching chips and surfing porn?
 
@Sam please tell me he's not doing those two things at the same time
 
nah... reddit... open php.net occasionally and read up as u rightfully suggested :D
 
@ShyamK reddit! my man
 
@Sam ugh!!!
 
Sam
5:36 AM
lol.....you never know
 
what do I have ... like three hands? :P
 
lol you need two hands to fap ?
 
Sam
lol....since he's at work
one hand for the job, the other to cover up tracks
:-P
 
haha
 
Ha ha ha... :P who is gonna type? is not like I use a speech to text converter...
 
Sam
5:40 AM
text to speech converter will be cool; I'll develop one as soon as I know how to....:-P
metaspoilts seem fun
 
...semi-colon....question mark.... OHHH GOD.... Greater-than sign
yeah it even has a nmap module
 
Sam
the site didn't mention how to use it though
holy crap..300 MB
 
yeah there like pre-added exploits/modules/payloads
 
Sam
so, after downloading it, you specify a URL, and run the program?
 
but still 300MB is a little bloated lol
depending on what type of exploit you're running
 
5:52 AM
hmm... maybe we should ask the mods here to rename this chat from PHP to Crazy talk... atleast while the three of us are here :)
so are there any good tutorials or test sites that we can try pen testing on? to learn of course... the practical way is always the best way :D
 
Sam
lol......what's crazy about white hat hacking?
good question
first tutorial.......get (download) your tools...:-P
 
6:10 AM
@Sam nothing.. it's all about being a grey hat
;)
@ShyamK Was thinking that not too long ago lol
@ShyamK it's really hard to find good resources and examples.. but it's about learning different exploits types and following sites like exploit-db.com (I have a few more links if you need some). metasploit's a good deployment tool
The java 0day previously mentioned exploit-db.com/exploits/20865
I'm still learning though haha
 
6:36 AM
book marked them :D
 
why would one page not pick up my session variable
 
Sem
Good morning
 
morning @Sem
@Nick not started the session?
 
nah my framework's running session_start() everytime
 
and session_destroy( ) immediately after that?
 
6:52 AM
no
 
hmmm... drawing a blank here...
 
7:10 AM
@ShyamK weird why would the www. matter?
 
www? of a site URL? it normally doesn't afaik
 
apparently the session doesn't work if i have it without the www
 
Sam
www. is a subdomain; cookies specified for http://domain.com won't work with http://www.domain.com
 
i see
`session_set_cookie_params(0, '/', '.example.com');
session_start();`
jeez why does the code markup never work
 
Sam
you forgot the ending tick ``
 
7:16 AM
@Nick use Ctrl + K instead...
 
blah blah blah
gotcha thanks @ShyamK
 
np
:D
 
Sam
Shyam and his cool tricks :-P
 
:P
`` work for single lines. Ctrl + K for more...
 
Sem
7:30 AM
@ShyamK Which IDE do you use?
 
I mostly use vim... Eclipse at times
 
I was gifted a sublime text license, no excuse now :D
 
I was gifted with OSX and Coda
 
I never really got on with Coda
 
Sem
I'm so happy with Apple ruining their image vs. Samsung :D
 
Sam
7:34 AM
lol....me too
let's bash Apple for a second
:-P
 
haha all good
 
image was ruined way before the Samsung ordeal. For me it was around the time they tried to sell the same thing as everyone else for 2x the price.
 
Sem
@Sam I hope they will do the same to Samsung nexus phones so Google can play with them.
 
Sam
for me, it was when they closed their platform, said sayonara to Flash, and basically gave open source developers the finger
:-P
 
@Sam lol flash is dead ask google
 
Sam
7:37 AM
lol......not yet, but in a vegetative state
 
@Sam apple is a closed platform, its a different model
 
oo, what's this Nexus Q?
 
Sam
Apple's model is an Anti-Pattern, :-P
 
it's meant to be a consumer product
 
7:39 AM
looks like a tit
 
Sam
sadly, the other competitors are migrating towards it too
 
Sem
@Leigh Can't see here in the Netherlands.
 
google image search "nexus q"
 
@Nick the only reason hackers don't kill Apple is cos of its closed design... hard ware and software
@Leigh Not visible here either.
 
Sem
Oh, I prefer the Ouya that's coming next year
 
7:40 AM
yea I got one on pre-order :D
 
@ShyamK it's not bullet proof..
 
@Leigh what is it? is it a ball? is it a sphere?
@Nick thats there...
 
Sem
@ShyamK Jailbreak lolwut
 
media streaming thing
the cables are the back, going to tv+speakers
 
Sam
you can only jailbreak it after purchasing it
how many hackers like to spend money on purchasing computers?
 
7:42 AM
@Sam People who like good looking products
 
Sam
lol....they r hackers
 
@Sam I don't get your question
 
@Sam yeah you'd think their computers would be their babies
 
@Sem nice....
 
Sam
@Leigh; if you are a hacker, will you spend a thousand dollars on a machine so you can study how to break it, when you can easily break thousands of PC without spending a penny
 
7:46 AM
both
 
Sam
can an OSX be installed on a PC?
 
@Sam hackintosh
 
Sam
@Nick so, Apple sells the OSX, or just floating copies on the web?
@Leigh both how?
 
@Sam no, always ways around that.. torrents
@Sam botnet, and buys expensive rigs
 
Rich friend buys an OSX... another one tries to hack into it :D Simple
 
Sam
7:49 AM
lol.....aren't those (torrents) always laced with viruses?
 
Sem
@Sam The OS isn't their money maker. 39.99... that's free in their eyes :)
 
ya... torrents are loaded with viruses... but who cares when you can get it for free (until your system gets fried)
 
Sam
@Sem Apple doesn't sell its OS directly, does it?
 
isn't it a package deal... OS and the Mac to go?
 
@Sem cheaper now i think
@ShyamK Yeah they make money on hardware
@ShyamK trusted sources
 
Sam
7:52 AM
it's not on Apple's site.......so, I don't suppose they sell their OS directly
 
Sem
@Sam Don't know and don't care. Just heard some apple fanboys screaming in their golden cage flaming all the way
 
Sam
but guess what.......what hackers can't do with the Mac, they are already venting it on the iPhones and iPads
 
@Sam haha...
 
meh everythings getting hacked now a days..
 
Sam
7:56 AM
 
Sem
@Nick That's an upgrade
 
Sam
Lulzsec got owned by ICE.........expect retribution soon?
 
@Sem That's how they jump versions.. mountain lion is 10.8
 
Sem
@Nick 19.99 for a 0.1 update. NOW I UNDERSTAND :D
 
@Sem lol alright... better then the windows model... linux doesn't make money
 

« first day (692 days earlier)      last day (4272 days later) »