Skip to content

Redirecting non Safari mobile browser?

I am looking for assistance with coding to detect and redirect a iOS user on any browser other than Safari. I was able to accomplish this via .htaccess, but for iPhone & iPad redirect only, via this: But, I only intend it for non-Safari iOS browsers on iPhone and iPad. Open to other methods than htaccess.…

Xdebug works on CLI but Apache wont load it

For the love of my life, I cannot figure this one out: I’ve compiled xdebug from source code and while the CLI will show me that it is active the webserver will not. This is the process I went through….

Pull values from string to assign into an array

I’ve got a project where I’m pulling data from SOQL using salesforce’s RestAPI. I’ve cleaned up the response and this is what I’m currently working with: I’m working in PHP and I’d like to build an array based off this data. For example: Anyone have suggestions for th…