load extra/auth.php from extern

Closed
Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management November 14, 2018
Login to reply
Milos Stojanovic Support Agent
1 month ago

Ah, well, that's unfortunately not possible to achieve with Vanguard.

Regards,
Milos

Torsten Högel
1 month ago

My problem is, I have an application which needs that file on a different server ...


Milos Stojanovic Support Agent
1 month ago

Hey Torsten,

That file should not be accessed via HTTP at all. You need to include it inside the PHP file, not access it from the browser. 

In general, you can include it in any PHP file you have, it doesn't matter where it is located on the server.

Regards,
Milos

Torsten Högel
1 month ago

Hey there, is it possible load extra/auth.php from external via url? My domain points to /public folder

Best regards