« first day (2350 days earlier)      last day (2580 days later) » 

12:16 AM
Oo, keybase invite finally came
Anyone want an invite?
 
So I have this login system for my admin panel based on Aura Auth which works pretty well, but I am thinking of a secure way to let the admin change their password if they forgot the password. So I have a "Reset Password" page that lets you type in a password and get the password_hash() for it, and then gives you instructions on resetting it in the database
I don't know if I could be more secure than that ^^
 
12:45 AM
@Alesana why complicate it that much?
@Alesana why dont u do it the normal way? clicks Reset pwd -> types in email address, gets the expirable url with unique token in the email, clicks it, changes pwd
 
@JapanGuy There is one user for the whole script, I don't want to require them to provide an email address to install the script
And the user would upload it to their server and would have access to the DB. I can't think of any other way to securely let them reset their password. Also, someone else accessing the script would be drastically bad.
 
@Alesana add some secret questions? trying to think of any other ways
 
@JapanGuy I thought about it, but I don't know how secure that would really be
Are you from Japan?
 
@Alesana yeah i am. it will definitely be less secure than email confirmations
 
Oh what part? I am going to visit Japan for the first time in May, I'll be staying in Kyoto!
 
12:56 AM
@Alesana Osaka! kyoto is like 30 mins away. You ll love ur stay there!
 
@JapanGuy Oh awesome, I've been wondering, do you think I will have a hard time finding English speakers in the Kyoto/Osaka area? I am spending a month there so I hope I can meet some people haha
 
INSTALL says: requires automake: 1.4+ but automake latest version is 1.15 – #74294
 
@Alesana there are loads of them here and in kyoto, dont worry. My tourist friends use an app called meet ups and it seems to work
 
@JapanGuy Oh cool I will have to look for the app. I am pretty stoked to go there
 
morning
@JapanGuy The other day I didn't understand you were from Japan, I thought you were an expat
 
1:24 AM
I think I want to be an expat but I don't have any grounds for getting residency
And I haven't visited yet
 
@Valentincognito my mum is russian, i was born here then moved to russia,lived for a few years then moved back here 6 years ago
@Alesana if you speak at least a little japanese you can apply to start ups here if you want to work in japan. not that difficult
or you can apply to rakuten, that is where i work at, i applied as a new grad and the hiring was super easy, figured that they require minimal japanese skill
 
@JapanGuy I was reading about it and I found out that the company you are working for has to convince the JP gov't that they had reason to hire a foreigner instead of a Japanese citizen, and without a 4 year degree it's almost impossible. Unfortunately I don't have that
Maybe it's not the case for programming jobs?
My sister worked for Rakuten not that long ago!
 
@Alesana You don't always need a 4 year degree if you have prior working experience
 
@Alesana never heard about that, all of the engineers here in my office came to japan to travel, then interviewed at rakuten and got the job. I am not sure if you can apply without a bachelor's tho.. we have a couple of engineers who do not have a degree. So maybe for mid-careers if you re good enough, you dont need a degree.
@Alesana oh as an engineer or BU?
 
What I read is that it's not that the company won't hire you without a degree but if they decide to they must prove to the government that you had special expertise that they wouldn't be able to find in a regular citizen, which unless you have a lot of years of experience or a degree isn't going to be easy, but I am definitely going to try it!
Right now I am looking at the site you shared
She was actually a data analysis for Rakuten Marketing which I guess is a separate company
 
1:41 AM
oh right, it is a tech company and they help you get an engineer visa if you get hired. One of the requirements for an engineer visa is a bachelors. So i am guessing, you either need a degree or be extremely skilled to work for the company in japan
it is essentially the same company, the company is huge so.
 
That make sense, maybe I will end up marrying someone over there :P
 
hahahaha if you're white, you chances to get a hottie wife are extremely high haha
 
:D Really? Japanese girls are beautiful.. I think I might enjoy that part the most
 
right, dont we all :)
 
@JapanGuy that's about as much time it takes me to get to the nearest Subway
 
1:56 AM
@littlepootis 4 years?
 
30 minutes
 
@littlepootis transportation in japan is extremely comfortable. And it is a tiny country as well
 
2:20 AM
Wait is there subway in Japan?
And what is the food like? Is it mostly meat?
I heard it was really good but nothing more than that
 
@Alesana of course there is. All of the 9 major cities in japan do have subway. And if you want to travel to another city, if you're rich you can use shinkansen (bullet train) it costs 125 usd, or you can use a bus which is around 40 usd. Food is good too, i wont say much but you ll love it regardless of where u r from
 
Japan is great.... for the sole reason of creating animes!!
 
@Saitama never watched even one in my life before, even pokemon and still enjoy it here a lot
 
2:38 AM
I want to go to Japan, I've been saying this exact thing for the past 2 months or so
 
Oh that is expensive, I am not rich haha. From Kyoto to Osaka is $40 USD? I am going to a concert in Osaka during my stay
Haha I am not huge on anime but there are some I like
 
@Alesana from kyoto to osaka it is 5$
 
@Nytrix You should do it!
 
kyoto to tokyo bus is around 40$
 
Oh that's not so bad
Is there a subway in Osaka?
 
2:42 AM
yeah second biggest after tokyo subway
in the country
 
Ah perfect! Haha I am here in Argentina for the past 2 and a half years and the food is really bad so I'm excited for a change
 
there is wifi at almost all stations in all cities. you can use hyperdia.com if you re using subway or JR (japan railways) for travelling or willerexpress.com/en for a bus transportation
 
mornings
hey there @JapanGuy
glad to see you again here
 
Hey @FélixGagnon-Grenier
 
2:47 AM
@FélixGagnon-Grenier hey Felix glad to see you too! I have been asking around here, do you do / have you done any ui testing in php?
or in your php project
 
hmmm not really. I tend to do user interfaces with javascript frameworks like react or angular these days
might be tempted to try vuejs someday
 
@JapanGuy So I have the idea to not bring much cash with me and try to exchange BTC when I need money in Japan because my perception of Japan is that it's really easy to do do BTC exchanges, do you know anything about that?
 
@FélixGagnon-Grenier ah i see.. i have a simple cakephp project with unit tests written using phpunit, and now i also want to implement/learn about interface testing. Selenium was an option but seems like phpunit doesnt support it
 
@JapanGuy I have no experience with that ;)
 
@Alesana i ve never used btc here man..
@FélixGagnon-Grenier ah i see
@Alesana you might want to reconsider not bringing cash. All of the expensive or moderate priced places accept cards, but if you are planning on having a cheaper experience, things are usually handled with cash only
 
2:53 AM
Is it pretty safe there? @JapanGuy
 
@Alesana oh yeah, no need to worry about that. Everything everywhere is pretty safe
@Alesana cant count the number of times i ve lost items like wallets, always got them back
 
yuuge props at @Fabor for joining in on a late project and helping me bring online the brand new Quebec film director's website. 5/7 would hire a smarter than me guy to do the hard stuff again.
 
@JapanGuy Ah I don't know why I was expecting it to be dangerous
Although before I go to Japan I'll be staying in Chile for a couple nights which is pretty dangerous, I might still look into exchanging BTC for Yen when I get there
 
@Alesana too much anime?
 
@JennaSloan Haha the only one I can think of that has a lot of crime is Death Note but now that I think about it I guess that's where I got the idea from
 
2:59 AM
@Gordon it was indeed a trap, yet he totally nailed it :)
 
 
1 hour later…
4:00 AM
Does anyone have any suggestion with dealing with account lockouts? Should I make it to 5 consecutive failed attempts to login within an hour locks the account out for an hour, or 5 consecutive failed attempts over any amount of time?
 
Morning o/
 
^^ Morning
 
@Alesana anything that submits more than twice a second should clearly be blocked.
 
True, so more than twice a second from the same IP blocks that IP, but then I have to look at proxies
It's only 1 username in the system so I wouldn't be locking out a username I would be locking out the whole system
Kind of makes it easier I think
 
You don't mean that you would block any login after that right?
 
4:09 AM
think he does
 
maybe they do
 
make: error related to zend – #74295
 
Yeah, for one hour I was thinking
Or they can go in the database and unlock it themselves, I would provide instructions on that when it locks
 
right, but just for this specific user. I was confused for a moment.
 
What I was trying to say is it's not really different users
It's an admin panel with just 1 username
 
4:11 AM
oic
 
So it would just block out the whole system, which would just be the specific user
I was thinking of doing a permanent lock until they unlock themselves in the database
 
by... logging with ssh?
 
how are you checking if it is submitted twice per second?
 
right or phpmyadmin if they have it
 
on mysql?
 
4:12 AM
I log each login attempt as failed or successful and the time
 
okay, makes sense
 
Yeah for now I only support mysql
 
lol dat typo, ;)
 
After launch I would think about MariaDB I have seen it a lot but I don't know anything really about it
 
haha sry
 
4:13 AM
lol
I don't really know why I can't find much information online about locking out accounts , maybe I am bad at searching
I am thinking one table has attempts and every login attempt logs it as failed or successful, if it was a failed attempt it checks if it is the 5th within the last hour, if so then it changes the locked status of the user from 0 to 1 and then changes locked_time to the time it was locked
 
what do you mean? isnt it like: you have an activated column in mysql, if activated is 0, the user cant log in, else everything loads?
 
Yeah
Well 1 would be locked 0 would good to try to login
 
I stand corrected, maybe ip throttling is not The Best Thing™ stackoverflow.com/questions/2090910/…
 
I had read about basically that in OWASP
But in my situation I don't have multiple accounts and there shouldn't be multiple people trying to login
so I can treat all IPs as either the person who is trying to login owns the account or not the person an attacker
So if any 2 login attempts are made within 1 second I could throttle all login attempts, regardless of the IP
 
let's backtrack a bit. why do we do that. is ddos something you have to be cautious about with that single user?
 
4:21 AM
It's a script someone would upload to their site, and they would have the admin panel. They would be the only one to use the admin panel.
If someone else were to enter the admin panel the damages would be drastic
So I will advise the users admins to only allow people with their IP to access it but you know people
In my situation I have a dynamic IP and the internet goes off and on a couple times a day so my IP is always changing haha
 
Not sure but if you are carrying this much risk then why can't you do it like gmail and skype as they are taking registered devices (MAC Address or something) if any other comes OTP will be mandatory. @Alesana
 
I was actually considering that @Akshay
But in the end I figured that each person who owns the app should be overall responsible for the security of their own server after a certain extent
 
well, this basically amounts to two things. either someone dedicated brute forces their way on the server, in which case no amount of php throttling will prevent the server from crashing, or someones gets a data dump of the database and can crack the password as slowly as they like
preventing any kind of sql injection from uncovered entry points to the application sounds as sensible as blocking ips to ensure security.
 
The only entry point someone who isn't the owner of the app has is the login, and I use Aura Auth for that, I think it does well to prevent sql injection.
The server crashing will be one thing that the server admin will have to deal with, with minimal losses. Gaining access to the DB or the Admin Panel could lead to bigger losses.
 
a simple timestamp and username based throttling would then be a minimum.
just to prevent someone from trying a thousand common passwords in one minute and probably logging in easily
 
4:36 AM
Right, from any ip trying to access any username
There will be only one username but it has no default name so an attacker wouldn't know what to go off of, and I give no hints as to why the user couldn't log in when they attempt
But would throttling be more effective then just having it so if you try to log in more than 5 times in an hour you're locked out for an hour?
 
allowing five tries an hour is still throttling
 
Ah I was thinking throttling is making it so it takes time to get a response back when you try to login
 
@Alesana - I'm in the same boat. That's something that drives me nuts. I can't lock anything down to just my IP address. I have a very messy workaround on a proxy of mine, all because I have a dyn IP.
 
key pairs are kinda cool for that
 
morning r11
 
4:41 AM
@jhmckimm Yeah it's pretty annoying. I was going through a proxy but the speeds speeds weren't the best so I guess I would just have to use a better proxy
Key pairs for what?
 
ssh'ing into a server, or basically dealing with changing ip's
 
Hmm so you ssh into a server to authenticate yourself?
Or am I completely missing it
 
I kinda sneakily changed topics here
 
I had a feeling haha
 
logging into a cpanel and logging into a server cli are two different things, and I took a tangent towards the latter after @jhmckimm's comment
 
4:52 AM
Ahh yeah, but now you've got me wondering if I could require them to ssh into a server to login
That might be a bit extreme though
 
... well that depends, is the job they are about to do, easily done from cli?
easily/easier(-ly?)
 
without the ly
Easily or easier
 
is there really no single word in english for "more easily"?
 
Nope you just gotta say more easily
Well the job they would be doing is going into mysql and setting their account as unlocked
 
imsadinoue.jpg
 
4:58 AM
:|
I am trying to think of situations that more easily is used in
 
"easierly"? xD
 
Haha that crossed my mine as well
 
5 mins ago, by Félix Gagnon-Grenier
easily/easier(-ly?)
 
guys sorry for off-topic, but looking at this github.com/facebook/php-webdriver can anyone help me figure out how to run the tests with this driver?
 
I always view people who quote themselves as being extremely passive aggressive. :P
 
5:02 AM
Haha
He did say easierly, but as you can see his hunch that it was not a word was correct
 
@jhmckimm :D
 
i installed it in my cakephp composer, it got installed in /vendor/facebook/ folder, i made my test file but dont know how to run it.. i must be blind but they dont mention it in their README
 
This discussion has made me realise how bad the English language is.
 
I always view people who call other people passive aggressive then put a :P face right after it extremely passive aggressive. />.</
 
>:(
 
5:04 AM
I didn't know what face to put there without being passive aggressive
@jhmckimm Oh it is such a horrible language
Is it your native one?
 
Yup.
 
Mine too, I thought it had a few flaws here and there but ya know
 
Wait, no. I am C++.
 
Hahahah
 
@jhmckimm lmao
 
5:06 AM
Then I came to Argentina and learned Spanish and by doing that I realized that English is just a horribly structured language
 
If I wrote poetry I'd totally use easierly
 
Currently doing a WS server in C#. Pondering whether or not it'd just be easier to do it in PHP.
 
What about easilyer?
 
u anarchist
 
I can't help you there I have no knowledge of C#
 
5:08 AM
Neither do I and I've been writing it for over a year.
 
lol
 
@JapanGuy is that webdriver basically a tool to use PHP as front end code on a webpage?
Nope I missed it by a mile
 
5:40 AM
hi everybody
I want load some data with ajax in my web site all of things is ok on firefox but on chrome it cant parse large json
I has some value as unicode in my json
chrom parse small json as well but when my json is large it cant parse it
any Idea?
 
@Alesana i was introduced to browser automated testing at work and i found it quite interesting, but at work we use mostly java, so i wanted to implement the same thing in my php projects
@Alesana it is basically like phpunit but for front end
 
!!dad
 
Why did the can-crusher quit his job? Because it was soda-pressing
 
@Jeeves ahahahaha
 
@JapanGuy Why are you laughing?
 
5:52 AM
@JapanGuy Yeah it seems interesting
 
@Jeeves it is cringeyly funny
 
@JapanGuy I don't understand your sense of humor.
 
@JapanGuy @FélixGagnon-Grenier You guys should be friends
 
what do u mean should be? lol
 
And write poetry with words like easierly and cringeyly
 
5:55 AM
well english is like php, you can say "broken" or "supposed to be incorrect" words and everyone will still understand you (it will still work for whatever reason)
 
Man that shit doesn't happen to me in PHP
I wish
But you are right it was well understood, we were just talking about adding ly to the ends of words though so I saw it relevant
 
haha used to happen to me all the time when i was phping every day. think it was just because i was bad at it
 
I've not really gotten into web development because I really suck with front-end stuff. If being good with HTML/CSS/JS a mandatory requirement of being a PHP dev? Nobody looks for just a PHP dev, right?
 
@jhmckimm it really depends on the job
 
My current (programming unrelated) job is going downhill and I'd really like to start my own business as a freelance programmer or something.
 
6:08 AM
Haha maybe ^^ For me stuff should work and it doesn't
 
Nobody looks for just a PHP dev, right? -- this is not quite correct. I ve seen loads of job postings where they need look for solely php developers, nothing else.
 
Yeah there are quite a lot of jobs out there that are just PHP
 
and of course if you are in web, it is assumed that you can understand at least the basic html css and js
 
I have good knowledge of HTML & CSS, but I'm far from artistic, so designing anything is out of the question.
 
Ha I'm on your boat
 
6:10 AM
i.e. I'm aware of interactions between different CSS rules, for example, but hell if I can make something pretty come of it.
 
It's like if someone tells me how a website should look I can make it look really good
 
Well, sorta. I can work from PSDs to make frontend stuff.
 
same, but you can just use front end frameworks, use their example templates as a base and design something cool
 
Yeah I've been doing that with bootstrap
I just spend like 30 minutes deciding if something should be there, or 1 pixel over
 
i ve been trying out materialize and it is also cool
@Alesana haha happens to all of us
 
6:12 AM
Ah, the 1px thing. Don't get me started. xD
 
@Alesana it should be minimal with little colors. like apple. but also with some hints of lufthansa orange, but more like salmon. and make the logo bigger. and find a way to display meetings and pdf downloads in a prominent way.
 
Yup that's how it gets going @Gordon
 
@Gordon you should definitely have some knowledge on what ive been asking
 
I'm constantly asking my family "Should this be red or yellow?"
 
1 hour ago, by JapanGuy
i installed it in my cakephp composer, it got installed in /vendor/facebook/ folder, i made my test file but dont know how to run it.. i must be blind but they dont mention it in their README
 
6:13 AM
And they're like it doesn't fucking matter
 
how do i run my tests in this?
 
@Alesana that was a summary of real requirements a customer gave me once… of course after the third protoype.
 
o_O
 
@Gordon Did you tell them that there's a reason they hired you?
 
@Alesana I did. And I also refused to cut the bill because it took so long.
 
6:17 AM
Ha I only did freelance work once
It was horrible
I would spend 2 days doing something
then the lady would be like nah I want it like this actually
I guess I didn't know how to handle it so I kept saying okay
 
There are a lot of local businesses that could use a new website around here.
 
that's how it was with this customer. only that it wasn't two days. but two weeks.
 
That's some shit
You did two weeks of work and they wanted something completely different that used nothing of your two works of work?
 
more or less
and worst of all, we've been showing them the progress inbetween and they were okay with it
 
Did you refuse their change requests?
 
6:20 AM
I'd be okay with that so long as they paid for a redesign.
i.e. "okay, this is what you want. great. any changes will cost you £ x "
 
I don't think I would ever do freelance work after working with this lady
 
Scarred for life?
 
Hah quite literally
Well no that wasn't her fault but yeah it was pretty bad then something else happened while I was doing it and I ended up in the hospital and now I've got a big scar on my back
 
@Alesana here is an example of how ui testing is done using geb framework bit.ly/AlesanaUITEST
 
@Alesana no, I did all the changes. but in the end they didnt want to pay for the extra work, which I refused. they had to pay full.
 
6:24 AM
@JapanGuy Huh what does asserting an element do? Just make sure that it is there?
@Gordon Ah that's good
 
when you run the test, it launches the browser, goes to url and follows the steps you provided. that example is very basic. And yes, asserting just checks if it is there
 
Huh I should look into that and one for backend. PHPUnit is for that right?
 
oh yeah, not sure about argentina, but here in japan writing unit tests at least for back end is required today
you should really look into it, and also test driven development
 
Hmm, I am just working on my own project right now but I am almost finished with it
I'll have to research all about it
 
i used to think it was useless and time consuming, but once i was forced to implement it, turns out it makes the development process much quicker
and better
 
6:30 AM
Here I see an image that should explain test driven development
I don't know if there's something I'm not getting here
But you basically write just enough code, check if it works, then add on to it, then check it again until it works, and so on?
 
If the test succeeds, I rewrite it until it fails? o.O
 
do if have install certs for sub-domains seprately if website using hsts?
 
@jhmckimm Yeah I am pretty confused on it
 
foo.example.com and example.com is using hsts...
 
@Alesana how we do it is: before writing the code, we make a empty test cases to have an idea of what functions we will have on the page and when to show errors and etc, then we write the actual controllers, and then complete the testcases and run them
then rewrite everything until all testcases are successfully passed. One really good thing about this testing is that in the future if you change some part of your code, you can just run the test again to see if everything is working normally like before you changed the code. You dont have to do things manually. And you can create a test-db for your actual db and insert data into it using phpunit rather than doing it manually and check if everything works
etc etc
i m really bad at explanations sorry
 
6:42 AM
I don't understand how tests work or how they're used.
 
@jhmckimm suppose i am working on a project. I want to make a pages controller that will be accessed by my.site/pages/1, where 1 is the page id in the db. I make a test file in the testing folder, like this : gist.github.com/nodirashidov/4c63bc0813a289c62a98cc46c0e0aa1c
then you open terminal or any command line tool and cd into your project root and run phpunit
if everything goes well, if you only have 2 tests (like i do in the link above) you will see two dots. If assertion didnt match what you wrote in your test it will print F instead of a dot
 
The name is misleading.
"unit" alludes to testing every individual part. :P
 
that's why it says IntegrationTest in that test case. An integration test doesnt test the unit but a greater whole
 
I was referring to units tests more generally. :P
 
Ah that actually makes a lot of sense @JapanGuy
If I was doing that with my JS earlier I would have had a much easier time gettng my project over to use webpack
Now I am still finding parts that don't work :|
 
6:56 AM
hey alll
 
Alrght I'm off to bed goodnight all
 
o/
 
in php it may not be that necessary, but a month ago when i didnt know about unit testing, I was supposed to make a javascript addon for Slack (chatbox) that would recognise specific commands, then save the data after the command in the google drive file. Every time i implemented a function i would do the checking manually and it was taking forever to send a command, close and log out, log into google drive, check if new data was there.
Then last week my sempai (? person ranked above me at work) showed me how to test it with js unit framework and i was pissed off at myself
@Alesana Goodnight!
 
how to load an external url with in my php code? like sms api and all?
 
!!docs file_get_contents
 
6:57 AM
[ file_get_contents() ] Reads entire file into a string
 
but donot redirect into that page instead it must stay in my page itself
 
@JapanGuy NOTICE ME SENPAI!!!!
 
@Saitama yeah i dont know why that word became a meme...
 
:P same here...
 
@jhmckimm in a nutshell: imagine you want to write a sort algorithm. Let's call it AscendingSort. Before you actually write any code for it, you create a testcase. in the testcase you put a test method, like itShouldSortInAscendingOrder. In that method you put the code to execute the sort algo, e.g. something like $res = asc_sort([7,4,9,3,6]) and a check that $res actually returns the numbers in ascending order. then you exec the test. it will fail because you haven't written any code yet.
then you implement just enough code to make the test succeed.
 
7:03 AM
Ah, okay. I see why there could be advantages to that.
 
so before you write any code, you are forced to think about how you want to call the unit
once you have a passing test, you can change the implementation of the unit at any time and rerun the tests to see if anything broke
so a unit test basically exercises the public api of your code and verifies it produces the correct output for a given input
 
Mornings (v1.1) o/
 
what is the complete syntax of file_get_contents() ? @Gordon can you explain?
 
Google it.
You can Google any PHP function name and it'll almost always be the top result.
 
@jhmckimm he doesn't need to. I already gave him the link
@Nazimch no
 
7:12 AM
@Gordon s/I/Jeeves :P
 
@Saitama go read some anime! :P
 
@Gordon .... I don't even....
sorry for the double ping
 
@Gordon what about exec() function?
 
@Nazimch what about it?
 
use of the function?
 
7:17 AM
!!docs exec
 
[ System program execution ] System program execution book
 
@Nazimch Execute an external program
 
you are embarrassing me @Jeeves ...
 
@Saitama Ok. But where do you live?
 
What's that about the backticks? Never seen that before.
 
7:19 AM
@jhmckimm ignore it. you'll never need it and it makes your code harder to read anyway
 
i need to run a link , need to pass two values through the link but the link should ru in background
 
damnit I was sitting here nostalgia tripping and then you had to remind me backticks exist
 
and my link is "http://2factor.in/API/V1/<REPLACE_WITH_YOUR_API_KEY>/<VOICE_OR_SMS>/$Number/$co‌​de"
 
bob
Hey peeps, if your dumping out images from a directory folder how can you limit it to a max of 4 images?
 
@Nazimch no offense, but if you have to ask how to call a url in php and dont know the difference between exec and file_get_contents, working on some api is maybe something too advanced right now. how about doing some basic php course first?
 
7:23 AM
actually am working with android
sorry for the blunder asked @gordon
 
and?
no problem.
 
for otp integration I in need some php code
 
I already told you the function to use
 
file_get_content() ??
 
yes...
 
7:26 AM
but it does not work for me :(
 
like... are there some errors being displayed?
 
@Nazimch then you did something wrong
 
if it's not working, it must tell you the reason
 
one thing I dont have a file but only tis link
 
bob
here's some code if anyone's interested pastebin.com/X3gdGUv4
 
7:29 AM
@Nazimch did you check the link to the manual I gave you? it has an example on how to open a link with file_get_contents
 
@Gordon Would I be right in thinking that tests will also help you develop faster if there are multiple people involved?
 
@Nazimch on a side note: 2fa.api-docs.io/v1/send-sms-otp has code examples for the most common programming languages, including php. they suggest to use curl instead of file_get_contents.
 
@GordonI am totally confused what to do
curl and File_get_contents() are all of new for me
 
@Nazimch see below
 
[ Client URL Library ] Client URL Library book
[ file_get_contents() ] Reads entire file into a string
 
7:39 AM
ok thank you @Gordon @Jeeves
 
@Nazimch You're welcome!
 
7:54 AM
moin
 
hi
 
mornin Dave.
 

« first day (2350 days earlier)      last day (2580 days later) »