Simple HTTP Authentication

Discussion of Widgetarium, the widget creation IDE
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Guest
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Simple HTTP Authentication

Post by Guest » Fri Dec 09, 2005 10:15 am

Hello,

I have created a widget that pulls an image down from a webserver.
Said webserver uses simple HTTP auth to keep prying eyes from getting to the somewhat sensitive data.

Currently I'm just pulling the image using the good ole http://username:password@blah.com.
However I'd like to put a Username and Password section on the back of the widget which requires the user to put in valid credentials before it will load the image.

Does anyone have any ideas or sample code on how to do this?

thanks

/ancker

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest