All Questions
Tagged with cross-browser php
199
questions
0
votes
1
answer
180
views
Different browsers show different behaviour with input type file
I have 2 file upload fields in my form. Both look like this:
<input type="file" id="file1" name="file1" accept="application/pdf,application/msword">
<...
0
votes
1
answer
246
views
Using Timber in wordpress: not all the post are displayed depending on the used brower
I have a display problem using Timber in a wordpress site.
Everything is displayed correctly on Chrome, I can add posts and there are well displayed in the front-end.
But when I switch to firefox or ...
0
votes
1
answer
1k
views
PHP file download not recognizing file type in Chrome and Edge
I'm trying to create a simple download page, which currently works in Firefox but not entirely in Chrome and Edge. The file to download is an mp3, located in a private directory on the server.
When I ...
3
votes
1
answer
4k
views
Cross domain Cookies not working on Safari
I have 2 websites:
3rdpartycookiemanager.com
website.com
From website: https://www.website.com
I do an Ajax call to: https://www.3rdpartycookiemanager.com/cookies.php
with the following jQuery call:
...
0
votes
2
answers
76
views
(Spotify) how to stop cross browser session sharing?
I'm using the spotify api and for some reason their session class blocks to store own data in $_SESSION. As a workaround I wrote a class 'SystemHelper':
namespace App;
class SystemHelper
{
...
1
vote
1
answer
536
views
HTML submit button is not working in chrome on macOS 10.13
I'm having a problem on my Html form. I have a normal form with submit button which is
Here is the entire code
<!DOCTYPE html>
<html lang="en">
<head>
<title&...
0
votes
0
answers
124
views
PHP Duplicate log entries with file_put_contents when using header('Content-Type: audio/mpeg');
I am using php to play a mix of mp3 files. I keep having an issue when I load the page, it executes my logging functionality twice. This results in duplicate entries in the log. I simplified my code ...
0
votes
0
answers
25
views
Maximum depth of JSONs in a web application in JS/PHP
I got strange behaviors (see Empty ajax request sent by Chrome and Opera (but "Allowed memory size of 134217728 bytes exhausted" with Firefox)) while using Ajax.
I know that the data I send ...
0
votes
0
answers
79
views
PHP not always getting value from $_GET
I have a Wordpress shortcode that will display the appropriate image based on some values passed through the query string. It gets the value with $_GET['utm_content'].
Not sure why it would be a ...
0
votes
0
answers
713
views
Image is not showing as src attribute but works as open in new tab
In my angular app (hosted on http://localhost:4200) I have img tag that is fetching image from api server using php.
That image is not showing using <img src="http://api.path.local/image.jpg"> ...
0
votes
0
answers
73
views
PHP conditional working on Chrome, but not working on FF or Safari
I have a simple conditional if/else statement in PHP to display content depending on whether a cookie is set or not. The problem is, it only seems to work as expected on Chrome, and not Safari or FF.
...
0
votes
2
answers
1k
views
Download file not working well in safari with PHP
The code below is working well with all browsers but extension not show in safari.
Maybe Content Type Issue ?
public function CheckRoutingURLAction($filename){
$filename = 'https://media3.s-...
0
votes
0
answers
34
views
Tab/Browser closing only eventlistener (no refresh, page unloads)
I am making a website with a user system and a login system.
I am using simple PHP scripts with mysqli functions to manage the users.
I can log in and I can log out.
My only problem seems to be that ...
0
votes
1
answer
278
views
net::ERR_EMPTY_RESPONSE from PHP in AngularJs
I have payment section in my PHP project where payment response from the API is displayed in the frond-end using AngularJs. CURL is used for calling payment API from PHP end. After getting the ...
0
votes
0
answers
585
views
My "iframe" Button to Trigger an IFTTT Webhook Works on Chrome but not Firefox, Is There a More Correct/Future-Proof Method?
I have a working IIS server/playground and have been messing in HTML with ways to activate my lights remotely as a proof of concept. My line of thinking is that if I can make this work, I can ...