« first day (669 days earlier)      last day (4505 days later) » 

06:00
Okay.
@daviesgeek I'm glad it helped :) I will move my domains from Bluehost as soon as possible.
@ShaquinTrifonoff Sent you an email.
@Troy Did you get the address right? I put @hotmail instead of @live, but then edited it.
does it end with nospamlive.com ?
$email = str_replace('nospam', '', $email);
No.
uuugh... I sent it to that...
Hold on again then.
Sent.
user895378
0
A: how to upload video with GET through http in PHP?

rdlowreyThe accepted answer ignores the much more pressing issue here ... namely that the HTTP specification requires that GET requests be both safe and idempotent. Uploading video will likely be neither of these. Section 9.1.1 Safe Methods in RFC 2616: In particular, the convention has been establi...

@rdlowrey - You have a very good answer!
user895378
Hehe, thanks. The accepted answer has nothing to do with anything.
user895378
GET does not allow for enough bandwidth for a video. Use POST or PUT instead.
user895378
Really? WTF?
06:24
@rdlowrey - Yeah, it depends on the video.
06:36
@ShaquinTrifonoff Sent you another reply.
06:49
@rdlowrey j/w, why did you accept then?
user895378
@Troy Unless my user name has changed to @LeTruffle without my knowledge, I did nothing of the sort.
LMAO! I just realized you're not the one who asked.
:D
My apology sir.
user895378
No problem :)
@rdlowrey I really don't want to be seen as a d*ckhead here, like (I think) teresko think about me (I really don't know what I did to him). I just want to make some new friends, that's it.
user895378
I wouldn't worry about it too much. As long as you hang around and are friendly you'll be fine.
06:59
@Troy, don't worry about tereško. :-)
He's like that.
@ShaquinTrifonoff Okay, I won't.
Thanks guys.
here is the hint , you don't come to development channel to "make some friends"
@tereško So you mean that you're not considering people here as your friends?
07:21
morning
@rdlowrey Don't tell me you're still awake
Alright, I'm leaving. Bye people.
07:48
・ω・)ノ
morning, chaps. :)
bonjour :)
hi @salathe, the strict-key-master ;)
@salathe morning
hello
@salathe You know anything about teh php rfc site? nvm it's working again :)
07:55
good morning everyone
@ShaiAharoni ola
Good morning @PeeHaa, @ShaiAharoni
@PeeHaa :)
@hakra hiya @hakra
@hakra I've just been burned so many times by the OP subtly changing the question, or not being precise enough to start with. I try now just answer the question being asked, as you did.
user895378
08:01
@PeeHaa sadly, I am still awake. I made the mistake of skipping the gym to program. I find that if I don't exercise its very hard to fall asleep.
@rdlowrey Well. Think about this: I'm already at my job :(
user895378
By the time I wake up tomorrow you'll likely be close to leaving. It's like I time travel right through your work day :)
@salathe Well I can see that argument, but also the other. Actually on that question I first wrote something with preserving keys, but I had the feeling OP was just looking for some small code not a full blown routine.
@rdlowrey Insteads of gym you can denise-system around a bit, too. Does work quite well to fall asleep, too.
user895378
Lol yeah but not at my house ;)
Yes drama can keep one awake, true :)
08:08
@hakra exactly, there's no knowing whether the OP is asking the question that he really wants answered or not. :)
@salathe It's a guessing game which can lead to vicious circles and help vampires. :)
-1
A: How to define an action as separated class in SF2?

tereškoSymfony 2.x is not an MVC framework. There is no defined way how you must create your controllers, views or the model layer. The framework is only providing the supporting structures. That said, the idea to create a separate object of action is stupid (it was stupid when Symfony 1.x did it and i...

sometimes is feel unappreciated
too late PeeHaa
@Jocelyn Either way it is gone. Mission accomplished :)
08:15
^ that question is not clear IMHO.
morning
Good morning @NikiC
thanks @hakra :)
Yesterday I posted a comment to ask for clarification. And now I get from the OP: "I think I have made everything clear in the question, including what you are asking."
(nothing changed in the question)
It's funny that some people refuse to take comments in account and edit their questions accordingly
@Jocelyn Please provide a link to that question. It might be that it is just "not a real question" or "not constructive".
08:24
morning @nikita
@Jocelyn But the OP was so clear. Twice! :D
0
Q: Trigger an update on a column of a row if a select partially matches one of that row's columns

Tolga HoşgörTo be more clear: The table thetable (id int, a int, b int, c timestamp, d timestamp, e) has the following row: (1, 1, 1, 0, 0, 5) I want select id from thetable where a=1 and b=2 and e=5; to update the c columns of all the rows with a=1 AND e=5 to CURRENT_TIMESTAMP. So the example row would b...

@decereé: you got bored with your previous nickname?
@Jocelyn You must've missed Gender Friday too.
OP has failed to clearly demonstrate his case since yesterday. stackoverflow.com/questions/11953511/…
08:28
@PeeHaa morning
@hakra , he want this symfony-project.org/api/1_1/sfAction in SF2.x
@hakra nice
both of which are retarded ideas
you can delete my question. I'll ask it in another (friendly) forums. — user986086 2 mins ago
08:34
some days i just don't want to live on this planet
I have seen several times new users complain about SO users being unfriendly. Each time the OP had asked very stupid / poorly-worded / irrelevant / unconstructive questions
-3
Q: Is it possible in PHP to call a variable as function?

James VinceI want to perform a conditional function call but I don't necessarily know what what the function will be, so that would be a long switch. For example; $userSelection = "calculator"; /* or "stocks" or whatever widget */ $widget->get_widget($userSelection); public function __construct($user...

exact duplicate of one or two other questions
0
Q: Extend an abstract class that extends another abstract class and need to override the interface the parent abstract class implements

Thomas KI have an entity class called Post. Post's parent is based on an abstract class called AbstractPost. AbstractPost has a variable "author" who's setter's signature is defined in an interface called PostInterface. I am in a situtation where I need to override the author's setters, but don't want t...

^ Too abstract for me O_o
$password = mysql_real_escape_string(htmlspecialchars(trim($_POST['password'])));
T_T
-1
Q: PHP password function

Ruble Gomeswill this function be safe for password and email hash/crypt? $password = mysql_real_escape_string(htmlspecialchars(trim($_POST['password']))); $hash_algo = "sha512"; $raw_output = false; $hash = hash($hash_algo, $password, $raw_output); $hash_20 = substr($hash, 0, 20); $salt = substr($hash, -...

too many people never bother searching. It is so much funnier to let others do the searching for you.
08:45
@tereško Sound like a MethodObject kind of Action implementation which well why not? But err. Can be done in Symfony2 by plugging into routing in kernel. But if OP does not know that he probably should not ask about it.
Hence I voted to close. A look in the source would answer that.
actually SF does not have any kinda of base controller
you do not plug into anything , because it has no mvc-ish parts
Well from which base class you extend your ActionClass is business of the consumer, not the framework in Symfony2.
That's the way I would coin it.
lol...what is it with me and arguing with people lately.
09:08
buenos morgen freunds
god morgon webarto
yes yes my english is still bed, too.
hi @webarto ;)
hola chica
buenaz diaz guappo
@webarto morgen
09:14
LOL, they changed it? ^
traitor Petra :D
Aug 9 at 8:35, by deceze
^ Being stranded and baking in the sun?
i would say it is insult to injury
dead guy strung up and posed as pimp
20 hours ago, by Leigh
@Petra Btw, you can probably sign up to a new SE site, link the profile, then copy across all
but I told you that already and you said it doesn't work :( (or something like that)
09:19
@PeeHaa I know. I don't really feel like doing that though. :P
:)
@webarto The difference is in singing up for a new SE site
If you already said that I misunderstood you :)
Anyone here ever worked with client certificates for authentication?
@PeeHaa I haven't said it coerctly :)
09:40
Hey everyone, how can I have the letter Ž show up when I'm seraching with the letter Z
So Žoo = Zoo
database has to be set as a certain encoding? what would it be
When I use the browser's find function, it finds Ž as Z
When I use the browser's find function, it finds Ž as Z
At least define what database and how you "search"... =_=;;
InnoDB and where username = 'Žoo'
mysql
phpmyadmin -> innodb*
and where username = 'Žoo'
mysql version 5.5
right now it's set to utf8_unicode_ci
I just got called a cock on SO: stackoverflow.com/questions/11965669/… :P
@Darius Should already work as is with the utf8_unicode_ci collation.
@decereé i'm doing htmlspecialchars(Ž) when adding into database, should i be doing a decode when reading it again?
09:50
-_-;;
also, I'm using this in urls so site.com/Žoo
should come as site.com/zoo .. :x dumb question?
Don't htmlspecialchar something when not in an HTML context!!!
@Darius Why are you encoding the chars when the db is utf-8?
The name should already give it ways **html**specialchars()
old coworkers taught me htmlspecialchar everything.. o.o''
stupid markdown
@Darius Your old coworkers are stupid :)
@decereé So basically, from reading this, I set headers to utf8, html to utf8, can set forms to utf8, and database to utf8, and would not need to do htmlspecialchars()
and all should be working
Indeed. If you store "Žoo" as "Žoo" in your database, the database will find it equal to "Zoo" using the utf8_unicode_ci collation rules.
which is actually probably better thing to do...
since c = ć, c = č ... I mean people sometimes don't write ticks...
@decereé wut abut fulltext binary search? will it loosely match?
@decereé Thank you. (now thinking of all the places i will have to get rid of htmlspecialchars T_T'') Thank you again!
@webarto Not sure. Haven't used MySQL's fulltext search that much. I usually go for a full search server directly. :)
10:04
@Darius You should use htmlspecialchars(). The thing is you should only do it when you are outputting stuff to the browser
When OUTPUTTING, meaning I store the raw data inside the database. Got it, am doing tesitng with this now
thanks
10:17
just escape for database insert (used to be known as mysql_real_escape_string) and htmlspecialchars on output...
$this->escape($text); (zend framework) ?
I saw $this->escape being used when outputting info in a tutorial vid -__- plz don't tell me that's wrong too
I'll try what you said. Ill let you know what I have now, tell me if you see something wrong.
because it's half way working
Database: utf8_unicode_ci , has value "Žoo". My header says Content-Type text/html; charset=UTF-8 . I htmlspecialchar() when echoing the content. I get black diamonds with question mark inside
1
A: How can I escape complex sql in Zend Framework?

bobinceYou can do the concatenation of $input at the SQL level: $sql=$DB->quoteInto("SELECT * FROM t WHERE myname LIKE '%'|| ? ||'%'",$input); Unfortunately this isn't usable when you want $input to be able to contain literal ‘%’ or ‘_’ characters. To get round this, specify an explicit LIKE-ESCAP...

I just understood I can rewrite all my mySQL search queries with utf8_unicode_ci collation...it will be much better than what I am using so far
@Darius is your file Unix | UTF-8 ? Make sure collations are set to UTF-8 also... (used to be known as SET NAMES UTF8)
let me double check
10:22
Database connection encoding...?
@webarto If I'm using zend framework and one of the library files are not UTF-8 could that mess everything up? Or i just need to make sure the controllers, models, and views are utf8
the page that is displaying it... so probably templates (which is not a view)
If you're outputting values from the database, the encoding of the PHP file doesn't make any difference.
which leaves database encoding, connection collation, table collation, and field encoding? :]
Seems it's my database connection
if i go into phpmyadmin and run the query it finds the result
if i get php/zendframework to run the query
it comes up with zero results
10:37
Why the ef would you mention you are a christian on your SO profile: stackoverflow.com/users/1432392/c-a-vuyk?
I mean: jesus c'mon ;)
my mysql_client_encoding(); is latin1!!!
@PeeHaa Well Christians. They need to tell everyone. It's part of their social behavior to have a sense of mission.
@PeeHaa here's what i find scary : a developer which believes in thunder-deity , that was conceived by bronze age goat-hoarders from middle east
and quite nasty deity at that
@tereško Religion and programming goes especially well. For example the trust paradigm, the belief in the afterlife of an application (skip the maintenance period, just declare it EOL, Jesus will take care) and all these benefits.
@PeeHaa I've seen many of that... Like if you are a Christian, that makes you a better person or a programmer... FFS...
10:46
I believe in the inversion of control of the god_of(Super::$tatic);
And don't tell me, there would be something else. I will kill you. ^^
in the name of super static :D
hehe
ehh .. i don;t understand religious people
back in the socialist/communist days, it was forbidden to glorify religion publicly ... it was a private thing, and everyone respected each others religion... I personally hate religions because they are just lame excuse for wars... and I witnessed one...
opium for the masses
s/poison/opium
10:53
"The defining moment of my life was becoming a christian after years of living without noticing anything (or caring) about the existence of God."
It's so out of context in his profile. Like he just crammed it in there.
i wonder how he "noticed existence of god" ?
meh funk dat
i bet he felt it in his heart.
:D
that is called heart attack
10:56
nah it's called he felt something because he wanted to feel it badly enough.
:P
I'm back again, I'm having issues setting up my mysql connection encoding.. default-character-set = utf8 isn't letting me start mysqld on linux centos 6
unless it actually was a heart attack. that would make a much more interesting profile.
in my.cnf
@Corbin or he had a stroke and suddenly realized... something...
10:57
hrmm, i imagine hallucinating during a stroke wouldn't be unheard of
13 mins ago, by tereško
ehh .. i don;t understand religious people
God bless internet banking
0
Q: How can I close the TextWriter stream on Windows XP successfully?

Milad IrannejadI have a code like the following one for working with a TextWriter stream. TextWriter TR = new StreamWriter(@"") try { //Logic } catch (Exception exception) { //Error Reporting } finally { if (TR != null) TR.Close(); } My .Net version is 4.0 and this code works prope...

I thought this was PHP 5.5 (finally) :)
11:24
which reminds me that i should work a bit
oh f***, Wednesday, 0 LoC this week... good luck, bye :)
@webarto same here
@RochesterFox , you cannot
you would be better off explaining why you want this
@decereé Read it, seems my server has setups needed internally and some of the stuff i find online is not letting mysqld to start, so looking little by litte elsewhere
@Darius You don't need to change anything on the server config, just properly set the connection encoding from your app.
11:32
ok ^^ i want to take screenshots using PHP, javascript, flash or somthing else
-1
Q: How to take a screenshot of a div with Javascript, PHP, flash or something else?

RochesterFoxI need to take a screenshot of an html div but i don't know how to do that. I found on this forum a lot of topics where people speaks of html2canvas : http://html2canvas.hertzen.com/ But there is no many tutorials about, and the documentation is very short... Thanks !

he nice, microsoft is still releasing IE6 security fixes.
@RochesterFox: Try with single-color, text-only rendering first. lynx is your friend.
@hakra They dug that hole for themselves... :P
@RochesterFox why ? why do you want to make a screenshot ?
what is toe problem that you are trying to solve ?
all you have told us is your solutions which does not works
foo
Rezervacije za učinjene a neproknjižene transakcije (b): 728,47
On-line stanje računa (c)=(a-b): 752,63
I should have gone to shopping with wifey, now I don't have half of the salary...
11:40
I'll propose `E_DOES_NOT_WORKS` to be included in the next PHP version. Then a lot of non-questions will suddenly become relevant.

Muwhawhawha!
@decereé , what we need is E_PEBKAC
E_PEBKAC will cover all those cases
E_DOES_NOT_WORKS can be an alias for E_PEBKAC
Good Morning
heil
11:44
morning @ircmaxell
date_default_timezone_set('UGT');
Looks like I'll be going to PHPNW after all
also , while we are extending php , we could add date_default_timezone_set('LATE')
And the way I've pulled it, I'm going to need to figure out who to spend 2 weeks in Europe...
11:47
@hakra I'm thinking date/time stuff would be another good candidate for an article....
@decereé After much headache, and changing server configs and breaking stuff and putting it back together, simply adding that in the application.ini file for ZF worked....
@Darius Thar you go.
Can't believe that took 3 hours of my life.. lol
Thank you deceree
@decereé Actually we should develop some PHP script you can paste your errro message in. It get's a bit parsed and then, based on error, some example answers on SO (the better ones) should be suggested.
@ircmaxell who or how?
11:49
Oh, how
Just avoid scotland, you'll be fine.
@hakra Except nobody who should use will use it... :(
@Leigh but, but, I wanted to go to Scotland? :D
@ircmaxell What's your opinion, on using client ssl certificates for authentication, and using the userid as a serial number, and that in turn as a session id
11:52
I'm just playing, do you see a fatal flaw in doing that?
Clients get issued with a certificate, they install it in their browser to identify themselves, the certificates all have serial numbers (which is their userid in the db), and that is in turn used to identify the session without using extra cookies (since in essence, the client cert is a giant cookie)
In cryptography, X.509 is an ITU-T standard for a public key infrastructure (PKI) and Privilege Management Infrastructure (PMI). X.509 specifies, amongst other things, standard formats for public key certificates, certificate revocation lists, attribute certificates, and a certification path validation algorithm. History and usage X.509 was initially issued on July 3, 1988 and was begun in association with the X.500 standard. It assumes a strict hierarchical system of certificate authorities (CAs) for issuing the certificates. This contrasts with web of trust models, like PGP, where anyon...
@PeeHaa Ha, I social engineered my nick back. ;P
@deceze Well duplicate finder ;)
@hakra Well, there already is one that nobody's paying any attention to...
@ircmaxell I know what X509 is, I was asking if you see any fatal flaw in what I was proposing. You can't tamper with serial numbers without breaking the certificate, right? So it should be fine to rely on the serial number to identify a particular user? (they're still prompted for a password)
12:02
@deceze :) you pinged a mod?
sorry three pings :P
@PeeHaa Just send a nice email to support. :P
Heh, alright. Just this once. But please don't do this kind of thing again without knowing the consequences, mmkay? ♪
hehe
YO SKRILL DROP IT HARD!
You did explain gender friday? :)
Yup. :D
12:04
@flyingarmadillo Something wrong with your keyboard?
@deceze hehe
@flyingarmadillo @decereé is most familar with Kyoto
THIS IS TRUE!
Stop doing that please
@Leigh Not with that particular branch, whatever it is.
@deceze dubstep :x
12:06
people get real upset at capslock
@Pee
YES THEY DO
That's going over my head...
Is this an IRC channel or some ajax polling or what?
@deceze what do you think you're better than me cause of your 105K rep?
God damn weather sucks...

Humidity
90%
12:11
GTFO please... @flyingarmadillo
@flyingarmadillo We think he's better than you because he's not a spamming retard
@flyingarmadillo No, but I can read the help...
Sarcasm people geeeez
@deceze lol
12:18
hello
hi @Olli
When I use the media requests, is it possible to have elements to automatically place fluently when I change window size
that it would look nice
going nicely to their right places
@Olli What is a media request?
@PeeHaa I mean these @media screen and (max-width:520px)
sorry I dont' remember the right name
12:21
@Olli media queries :)
yes thats what I 'm meaning
If I put some element to move with the media queries,is it possible to animate the moving
@Olli Possible
and how
It is possible with javascript and maybe with css transition (not sure about this one thoguh)
what JS you recommend to do that
12:23
vanilla
I'm using jQuery for my page, is there jQuery possibility for it
jQuery == javascript so sure
what kind of code
Idunno. It is you who needs it
but I just know that I can use jQuery to move elements, but how could I trigger media query change
12:26
Have you tried uhhhhmmmm searching the web?
There are all kinds of useful things on that
I tried but couldnt found anything
actually when I think it more, I think its unneeded
may be unconfortable for some users
so I will not implement it then
Wow, that was an easy solution.
so basically jQuery is an animation framework?
@webarto Among other things. It can be used as a substitute for javascript so I have heard
:)
12:29
I have a feeling stackoverflow.com/questions/11969234/… should be closed, but not sure what to close it as.
I really hate questions like "Is this possible" - "No"
No + Workaround(s)
witchcraft I say! @decereé
12:31
The title is valid enough to be searchable in the future.. barring a dupe, I wouldn't close it
@Leigh ^ that
@MikeB That moment you realize you've done something stupid :)
Wow. Posted a blog article to reddit.com/r/PHP late last night and already got 31 upvotes
12:47
Oh hi sea spray
Yo
Sadly though I have to go to work now and they don't like me talking to you guys there. I miss chat.stackoverflow :(
@CharlesSprayberry link?
asynchronous HTTP connections in PHP, curl_multi_* or some stream_* magic?
@webarto Artax?
12:51
@CharlesSprayberry later. btw good read
@Leigh that is what I meant by stream_*, but I can't figure out simple example of parallel connections in Artax...
@webarto @rdlowrey posted something about it this morning
@webarto I wasn't sure if it could do it, but from the README it sounds like it
@PeeHaa I remember that he mentioned something, will take a look... @Leigh it think it does, somewhere :) thank you
@webarto Not depending on cURL is a good thing.
12:58
not depending on jQuery and cURL is the best @Leigh :)
@Leigh Why do people hate cURL so much (besided the fucked up "API")?
Hey guys, i was just testing something with mysql, not actually using it in production, but im getting a weird return with this statement
$data = mysql_query("SELECT * FROM node1 ORDER BY id DESC LIMIT 7");
$data = mysql_fetch_array($data);
var_dump($data);
Not all the data is there, its all mixed up horribly

« first day (669 days earlier)      last day (4505 days later) »