« first day (2210 days earlier)      last day (2754 days later) » 

1:40 AM
Is it just me, or does ZipArchive's extractTo function flatten zips (as in removes the folder structure), when the zips were created on windows and extracted on linux?
 
 
1 hour later…
2:51 AM
maybe
 
3:03 AM
I had a question. I recently read about setting up smtp servers on my servers to send emails to my users.
I read about postfix, and was wondering, how's it different from using a simple mail() function to send confirmation emails to users.
I also checked out PHPMailer.
 
3
Q: Postfix + Php Mail() VS Postfix + SMTP

NeelMost CMS (Joomla for example) comes with php mail() as default and has the option of changing it to SMTP if we want. I will be setting up both the webserver and mail server (Postfix) in the same VPS on Debian 7. What I am trying to understand is: Delivery Reputation: Would using php mail() vs S...

here you go
 
So I wanted to know the best way to send confirmation email to users in large numbers.
 
then use an mailserver
i had in the past serval problems with simple mail()
 
morning
 
morning
 
3:10 AM
That means that I will have to setup postfix in the server right?
 
yes but please read about how to run an mailserver :D
 
I will, thanks. Postfix is the mail server application right?
I'm quite new to this, sorry.
 
i run postfix and dovecot for smtp and imap
@JoeWatkins i found the problem with pthreads and win32....
@JoeWatkins it throws an ETIMEDOUT which means "abstime elapsed before success."
 
What will be your recommendation for sending out confirmation email to about 1000 users everyday? @Stricted
 
if you only need to send mails then is postfix (smtp) enough
 
3:23 AM
How about the PHPMailer? Would that be good?
 
4:10 AM
Morning
can anyone please help me in stackoverflow.com/questions/40387511/…
 
4:39 AM
@CoderDudeTwodee Mailgun ?
@MazharIqbalRana what collation are you using for your DB ?
 
@Valentincognito utf8_unicode_ci
 
@MazharIqbalRana As state in my answer of your post i work with korean chars on a daily basis and I never had any problems with this is everything is correctly set to utf 8
have you tried to run the query directly in a DB managment software ?
mysql workbench or sequel pro ?
that would be my first test: run your query outside your code and see if you get results
if not try to change the collation to the arabic one
 
5:08 AM
@Valentincognito query is running and showing results but on ENGLISH alphabets only Please tell am i doing it correct in preg_match? I am writing this.. if(preg_match("/^[a-zA-Z0-9,]+$/", $_POST['emp_number'])){
//if(preg_match("/\p{Arabic}/u", $_POST['first_name'])){

how will it be for both english and arabic because here preg_match is for english only unable to put for arabic
 
@MazharIqbalRana I am not sure to understand why you need the preg_match
 
@Valentincognito how will i search the database then? preg match matches the words entered in textbox
 
@Stricted it's meant to do that
 
where does security expats like ircmaxell hangout?
 
@MazharIqbalRana I dont understand your query
  $sql="SELECT  * FROM employees WHERE emp_number LIKE '%" . $emp_number .  "%' OR first_name LIKE '%" . $emp_number."%'";
 
5:14 AM
the problem is it throws it too early
 
@MazharIqbalRana you just have a textbox and people can search by employye numbr or employee name
right ?
 
@Valentincognito Yes and employee name can be arabic also.
@Valentincognito When I write arabic name it does not search
 
just try to remove the pref_match here: if(preg_match("/^[a-zA-Z0-9,]+$/", $_POST['emp_number'])){
 
@Vale
@Valentincognito OK Sure I try
@Valentincognito No Luck
 
@MazharIqbalRana Have you tried what I said earlier ? testing your query via phpMyadmin or mysql workbench or sequel ?
if you do SELECT * FROM employees WHERE first_name LIKE '%YOURARABICTEST%'"
in a DB management programm do you get results ?
 
5:23 AM
@Valentincognito NO when I tried SELECT * FROM employees WHERE first_name LIKE '%فاطمة %'" its giving error
 
all right
@MazharIqbalRana Then you should try another collation
 
@Valentincognito but my db columns are set at utf8 unicode ci
 
but maybe arabic doesnt like utf8 ?
 
@Valentincognito but it displayes the text in arabic on browser. in arabic how come then?
if it not supporting arabic
@Valentincognito because there its also fetching arabic text from database isnt it?
 
good qustion, but I would try to change the collation of the table just for the test
i dont understand your second question
 
5:26 AM
@Valentincognito Ok which collation I should go for then?
@Valentincognito I mean that it is showing results on browser chrome when I make a select there and arabic text is shown there how? Ofcourse text is coming from my table where it is stored in arabic
 
you said before your collation is utf8_unicode_ci have you tried utf8_general_ci ?
@MazharIqbalRana
 
Sorry it was not error SELECT * FROM employees
WHERE first_name LIKE '%فاطمة%' but It did not return anything
@Valentincognito yes I tried both of them first general then unicode
 
what f you do a simple select with a where and not a like statement
does it return something ?
 
@Valentincognito OK i tried it in mysql SELECT first_name FROM `employees` WHERE `emp_id`=15

it returned me : فاطمة أح...
 
5:39 AM
@Valentincognito But here in myql its doing it but its showing proper arabic in browser
@Valentincognito Just not searching with arabic text
 
hum ...
Im thinking
 
@Valentincognito can type matter? Its varchar(255)
 
i dont think
Im checking my koreans tables right now
 
I am attaching output on my quetstion which I am getting on employee number see it shows arabic properly on browser
 
I have encoding set to: UTF-8 unicode and collation set to utf8_general_ci and I can do like select direclty in sequel pro and it displays it correcltly
 
5:48 AM
@Valentincognito Added Please chek image at stackoverflow my question
 
but i understand that you see arabic charachter correclty in your browser
 
@Valentincognito Yes
see image there please once
 
u said
I have encoding set to: UTF-8 unicode and collation set to utf8_general_ci and I can do like select direclty in sequel pro and it displays it correcltly
what is encoding set? its in php t set?
Because i wrote this at top

<?php
header('Content-Type: text/html; DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci');
mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
?>
 
no this is an option of your mysql DB
To change the character set encoding to UTF-8 for the database itself, type the following command at the mysql> prompt. Replace DBNAME with the database name: ALTER DATABASE DBNAME CHARACTER SET utf8 COLLATE utf8_general_ci
 
6:07 AM
@Valentincognito No Luck still
 
6:19 AM
gd morning
Any know how to set ip address instead of domain name in url in codeigniter
 
also morninz
I just nearly choked on my tea, it was scary ... also there is tea all over my desk ...
I did choke, nearly choked to death ... probably ...
being killed by a cup of tea is so British, I was happy to go that way ... happier than I am with a soaking wet desk ...
 
ing
 
@MazharIqbalRana I tried its not working
now it returns google search result instead of 404 error
 
7:05 AM
LibUI wrappers for PHP. Yes, for PHP. Desktop apps because we can. http://blog.krakjoe.ninja/2016/11/expanding-horizons.html
@JoeWatkins people like it :) good job.
 
user6619012
please help me for below link :
 
user6619012
0
Q: login not working after changing MD5 to Password_default

user5348fh8y5For both registration & login , i am saving password in userPass column [Password_default ] with help of below code, Registartion is working fine, but login is not working. registartion $password = password_hash('upass', PASSWORD_DEFAULT); $upass = password_hash($_POST['txtpass'], PASSWORD_DEFA...

 
session_start(); is an array??
 
its a function
 
thank you @amit
session_start(); is a function calling??
 
user6619012
 
@user5348fh8y5 please dont ping me.
 
user6619012
sorry @Gordon
 
7:48 AM
morning
 
@Gordon :)
 
Wes
8:05 AM
morning
 
ormin
 
morgen
 
morning
just wondering
can we send ajax request from server to client
 
hello does anyone using codeigniter?
 
yup
shoot codeigniter question
 
8:15 AM
can i return both result() and row() in model?
something like

return $q->result();
return $q->row();
in one function
 
why don't you just return $q?
alternative: return ['result' => $q->result, 'row' => $q->row()];
 
i think it needed to have result() or row() to return
 
you seem to be unsure?
 
im a newbie
thank you sir gordon
 
8:31 AM
@SohaibAsif you want the server to do something and push it to the client?
 
Anonymous
mornijg
 
and the wtf of today goes to earlypregnancytester.com
3
 
8:52 AM
@PeeHaa Sure, what way are you thinking about?
> How does it work? Using our patented Cyber Sensor Technology (CST) software in combination with a standard web browser Flash plug-in, over 80 of your key physical health attributes are analysed. The Cyber Sensor Technology (CST) system processes the attributes and, after evaluation, displays your early pregnancy test results at up to 99.9 percent accuracy.
Wat
 
morning
 
It told me I wasn't pregnant, then I refreshed the results page and now I am
 
Anonymous
congrats @Sean <3
 
@Gordon Our remote testing did not detect any apparent signs of pregnancy. There is always a 0.01% chance of error during remote testing operations
Love it how they build in a fail safe :D
 
A long way to go, but I think we're going to be fine :) Thanks @Jay
 
8:57 AM
@Sean congrats. boy or girl?
 
A boy, and you don't want to see the father
Wait
 
Anonymous
@PeeHaa ?
 
mornin
 
Anonymous
moin ekin
 
@Sean :D
 
9:01 AM
@Sean Is it possible on popularity or release date desc? E.g. house of cards or narcos didn't result in what I expected
Or maybe that was just two bad searches?
@JayIsTooCommon yo
 
Anonymous
@PeeHaa I was just suggesting you were the father of @Sean's child, no biggy.
 
Dunno about narcos, but house of cards won't show eps at the moment because it's limited to films.
 
I have a problem.
I don't know where my old avatar is.
 
I can fix that. :)
 
Anonymous
9:03 AM
lol
 
@JayIsTooCommon Oh right.
 
:D
 
@FlorianMargaine Use google image search
I had the same problem :P
 
@Sean Ah I see. Fix it fix it fix it fix it :)
 
Wes
9:04 AM
lol Florian
 
Anonymous
@Wes Did you create an avatar for yourself in the end?
 
I used wayback.archive
 
Wes
i didn't
 
Anonymous
How selfless of you
 
Wes
but i made nikic of borg
 
Anonymous
9:05 AM
I need to catch up on starred
 
I found a JS library a while back, but I forgot what google keywords I used. What do you call that thing where you see days on the x axis and you can plan in things using blocks spanning days?
 
does anyone know a good video lecture about API backend and mobile development ?
 
Wes
timeline? @PeeHaa
 
Yes but that's not what I told google to find it
 
b"Mornings!"
 
9:07 AM
IIRC there is a specific term for it
 
@PeeHaa gantt chart
 
<3
 
@PeeHaa you mean y axis?
ah, no, x :)
 
@FlorianMargaine :D
 
@pmmaga utf-8 everywhere!
 
9:08 AM
tnx gurden
 
it's what your mom and I use to schedule our meetings
 
Microsoft Project, oh memories.
 
Hey at least you have the decency the plan something in. @Jimbo just cums and goes
Ugh damnit. The thing I wanted is gpl :(
 
@PeeHaa we will switch to musical scores though
4
 
lol
That's pretty cool
 
9:20 AM
Moin
 
Anonymous
@Archer Halloween has passed, the barely legal avatar can go now
 
:P
 
Anonymous
!!wotd
 
galimatias: confused or unintelligible talk.
 
9:23 AM
@Sean so basially you're the first man ever to be pregnant? :) - (not counting Arnold Schwarzenegger)
 
Arnie did it first
!!imdb Junior
 
Junior (1994) [ http://www.imdb.com/title/tt0110216/ ] - As part of a fertility research project, a male scientist agrees to carry a… [♥ 4.5 | 🍅 4.7]
Junior Bonner (1972) [ http://www.imdb.com/title/tt0068786/ ] - Ace Bonner returns to Arizona several years after he abandoned his family,… [♥ 6.8 | 🍅 7.4]
Problem Child 3: Junior in Love (1995) [ http://www.imdb.com/title/tt0114188/ ] - Bratty Junior Healy is back to bring you chapter 3 in the rambunctious, sla… [♥ 3.1]
 
Anonymous
@Sean Awesome, was it difficult to do?
 
@JayIsTooCommon Nah, the hardest part was getting to terms with yeild / amp. After that it was pretty easy because of the tools provided.
 
Anonymous
noice
 
9:26 AM
Like being able to just pass a bunch of URLs as an array and have amp concurrently fetch and only report back when they've all resolved
 
Anonymous
I really need to learn this shit :P
 
The eval plugin was the example I used
 
@Jeeves lol the trailer
"Available on Videocassette"
 
hehehehe
 
How did "Problem Child 3" get made, srsly
moin
 
9:36 AM
morgen
 
> Bratty Junior Healy is back to bring you chapter 3 in the rambunctious, slapstick Problem Child trilogy!!
... rambunctious is a new word for me.
 
They make shite like that and they fuck Firefly up royally
<farnsworth_i_dont_want.jpg>
 
@DaveRandom How did @PeeHaa get made, srsly
 
@Gordon when a daddypee and a mummyhaa love each other very much...
 
Anonymous
@Gordon extensive negative DNA mutations
 
9:38 AM
lol nice one @JayIsTooCommon
 
> Mutant Enemy Productions
such naming
 
:p
 
moin
 
err
"Junior Boner"?
2
ah, no, "Bonner"
 
Hey @Archer. You are always saying how much you love that material crap right?
Get me a gantt chart component
 
9:42 AM
I do. I do
 
with Steve McQueen
 
lol the rodeo rider
 
No that is a google docs thing
I need it self hosted
 
oh...
 
9:45 AM
Or is that self hosted?
 
the whole thing comes bundled with google charts...
 
tnx will try some things
 
material ftw ... :B
 
Anonymous
\o/
 
Oh nice!
No "all ok message" though?
 
@FlorianMargaine Yeh, just like a semi
 
lol
 
Anonymous
I assume he was restarted before that happened? Hard to debug without using storage
 
Anonymous
9:50 AM
!!uptime
 
@JayIsTooCommon I have been running for 15 hours, 8 minutes and 13 seconds, since 2016-11-02 18:42:11
 
20 hours ago, by Jeeves
@PeeHaa Only 1 day, 10 hours and 21 minutes left until Rebeccaday, OMG!
Probably a restart yeah
 
I think @Jeeves should have an Elephpant Of The Day command displaying a random picture of an Elephpant
 
oh wauit. that's friday :P
/me was confused :D
 
Anonymous
:P
 
Haaha
 
Who was it in here that did that v8 wrapper / alternative thing for php?
 
@PeeHaa @pinepain
 
tnx
 
np
 
Anonymous
9:55 AM
@PeeHaa Eh no :/ the status changed after an hour and I doubt he was restarted around that time. I'll convert it to use storage so that we can debug - Is it still bugging shit out or did bob fix that?
 
Bob fixed the leaks. But IIRC @DaveRandom wanted to change the repeat() to a normal call and new Pauses
 
I did, to avoid the complication of having to keep track of a watcher
Which, btw, we don't do at all atm
 
He made a valid point that currently it always requests every n seconds instead of every n seconds after the last call
 
^ also that
 
Anonymous
that makes sense
 
9:59 AM
Also because we don't track the watcher, if every room disables the plugin then it will still keep running
Not a super big deal but no point in doing stuff when disabled, and thing like that can make it hard to debug
 

« first day (2210 days earlier)      last day (2754 days later) »