newbie question w php - javascript and HTTPS
| From: | dealTek | Date: | Sun, 02 Aug 2015 01:34:49 +0000 |
| Subject: | newbie question w php - javascript and HTTPS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-325020@lists.php.net to get a copy of this message | ||
Hi all,
Newbie question...
I'm having an issue with mac browsers and javascript...
simple story:
1 - If I put test folder on NON SSL site - all works ok
2 - but if I put same test folder on HTTPS site - MAC SAFARI gets/displays data ok but MAC firefox
and Chrome do NOT get data
Q: Why Not? How do I fix this so all browsers work?
---
SETUP LIKE THIS...
page1.html
gets data with this line ....
was this...
$.get("getdata.php", function(data, status){
...etc.
also tried this (absolute ref)...
$.get("https://mysite.com/getdata.php",
function(data, status){
...etc.
and displays data on same page1.html page
MAC safari = works but firefox and chrome do not display data ON HTTPS site but all 3 work on non
HTTPS other test site. ( using just this local request = $.get("getdata.php",
function(data, status){)
BTW: if I manually go to getdata.php it gets php data and show json wrapper data just fine
Q: How can I test / fix this so all 3 browsers work on HTTPS site?
--
Thanks,
Dave - DealTek
dealtek@gmail.com
[db-15]