Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Dear Sirs,
I create a verry small example to load tables from a php website with basic auth.
But the web connector does not authenticate with the php app.
This is the verry basic PHP code:
<?php
if (!isset($_SERVER['PHP_AUTH_USER']))
{
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
echo 'Text to send if user hits Cancel button';
exit;
}
else
{
?>
<table>
<thead>
<tr><td>Name</td><td>Password</td></tr>
</thead>
<tbody>
<tr><td><?=$_SERVER['PHP_AUTH_USER']?></td><td><?=$_SERVER['PHP_AUTH_PW']?></td></tr>
</tbody>
</table>
<?php
}
?>Now when I do the following the screen always comes back. I can't authenticate.
How to do this basic authentication correctly?
Kind regards
i have same problem.
does anyone solve this ?
unfortunatly… No solution yet.....
Same problem... Any suggestion?
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |