I'm learning how to implement google auth for 2 factor authentication, and am having trouble understanding something: I found a number of php classes (like this one: github.com/PHPGangsta/GoogleAuthenticator) that generate a secret and a qr code that a user scans, but I don't see how they pair the user with that particular phone. How do I know that the authenticating phone is the users' phone?
my parameters.yml file has:
parameters:
title:
subtitle: value
i want to pass the value to a service in config.yml
my_service:
class: the_class
arguments: [ %title.subtitle%] //didn't work
arguments: [ %title['subtitle']%] //didn't work
how can i do th...
Question: i am wondering is it possible to have a list of links to .mp3 files and if a user wanted that file to be emailed to him as a attachment can a script be written to do so?
i am currently parsing a dictionary of .mp3's (playlist) there playing fine (its a mobile site) but i'd like to add the feature to have the .mp3 emailed to them (like to their iPhone) - does anyone have a idea of what i should search for? - I'm new to PHP
well I'm trying to target iPhone users, a iPhone won't know what to do with a .zip file so it'll have to be a .mp3 - as to which the iPhone will be able to download the .mp3 into its music ap
well i was thinking for each song in the list there can be a button which will send that .mp3 as a attachment in a email, the user would then need to enter his email address after they click this button of course
@vivekmodi i ran that script, it works with exe, zip, images, …) or text (txt, html, uncompiled code …) - but not .mp3, when i try a .mp3 it just sends a lot of letters
@Mr_Green you should upgrade, PHP 5.3 has reached end of life and will only get security updates for less than a year more. 5.2 is way old, you should not be running it, nor coding new apps using it.
we made some effort with the help menu, it tells you how to use it, good help menu .... but I'm thinking a few screenshots with a couple of walk-throughs, how to set breakpoints and what not ...
@JoeWatkins no, I mean independent of breakpoint. I.e. you see user-function call in the line and you can press F10 to go into it and then execute inside it by line, or press F11 and execute function as 1 line
we started out with the two different things, with continue and next but, it's not that it's harder to implement but we think use ... I duno will think about it when I'm about to think straight again ...
@Leri sometimes I also misunderstand some points in question :\ and rarely, but possible - that points are important. We all are people so we can do mistake :\ But not too often, I think
@AlmaDo For example, here OP has not reread, because it's impossible not to notice liek (also most common browsers have spell-checker). I feel like s/he disrespects community.
@NeerajKumar this is the php chatroom, read the pact in the description. Just ask your question and see if someone would respond. You maybe should also take a look at other websites like serverfault (they also do have chatroom(s))
I have tried but wasn't able to find the answer anywhere, and here I am finally posting the question at Stack overflow.
Is it possible, I mean with the built in functionality available, to store the integers in a specific format in MySQL. For example what I want to achieve is to store the primar...
@PeeHaa actually I have had to do a lot of formatting if I store them as is i.e 1 2 3 so I was wondering if there might be any way... Can I somehow generate "autoincrement/automatic values" if I make this primary key datatype to string