This is a discussion on PHP auth with Safemode off within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I'm new with PHP so please bare with me.... I have problems uploading files, - found out it was due ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm new with PHP so please bare with me....
I have problems uploading files, - found out it was due to safe mode enabled. I have it disabled by my server admin and it works..... Now - since he disables safe mode, my auth does not work. I'm using the basic auth, reading the username and password from a txt file. It no longer pops up the IE auth window - it goes straight to "invalid username or password" as if you clicked cancel or used invalid username or password 3ce Any ideas? |
|
|||
|
create a test php file like this:
<?php print_r($_SERVER); ?> Check output for your user credentials, reference that for your Apache Basic Auth data Hackajar Nakkie wrote: > I'm new with PHP so please bare with me.... > > I have problems uploading files, - found out it was due to safe mode > enabled. > I have it disabled by my server admin and it works..... > Now - since he disables safe mode, my auth does not work. I'm using the > basic auth, reading the username and password from a txt file. > It no longer pops up the IE auth window - it goes straight to "invalid > username or password" as if you clicked cancel or used invalid username or > password 3ce > Any ideas? |
|
|||
|
Nakkie schrieb:
> I'm new with PHP so please bare with me.... > > I have problems uploading files, - found out it was due to safe mode > enabled. > I have it disabled by my server admin and it works..... > Now - since he disables safe mode, my auth does not work. I'm using the > basic auth, reading the username and password from a txt file. I doubt he only messed with safe mode. Apaches auth has nothing to do with PHP's Safe Mode. There must be a change in apaches configuration files. > It no longer pops up the IE auth window - it goes straight to "invalid > username or password" as if you clicked cancel or used invalid username or > password 3ce > Any ideas? > > |