Closed akierum closed 4 years ago
My understanding is that readfile
requires an absolute path and not a URL, but I may be wrong. Could you provide more code so I can try it out?
The Ajax does not work because Same-origin policy https://en.wikipedia.org/wiki/Same-origin_policy
I could not resolve this in this thread as nobody wanted to actually help. So I resolved this in another friendly forum here by using javasript:
https://forums.phpfreaks.com/topic/304862-third-tier-quotes/#entry1550800
This a pain because as you can see the quotes are non standard to say the least. Who can know how to use this nonsense third tier quotes anyway? You should include examples likes this so other may use your great tooltip.
I am sorry you went through that. But, escaping quotes is a standard process, and this is clearly related to your specific usage of tipso, and not a tipso-related functionality issue.
May I add that Github is not a forum, and issues should be related to core functionalities/bugs of a project.
Hello, I created content.php and in it I use full URL like http://www.domain.com in the ajaxContentUrl But the tooltip with ajax content html page with image does not show if I access the page with the
<?php readfile("http://www.domain.com/content.php"); ?>
I get no error in the network tab in dev inspector, but the image file is never loaded and shown. If i load same page direct in browser everything works fine. Only the readfile method does not work.
I need a way to load the tipso from my remote site.