PHP auth with Safemode off

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 ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-24-2006
Nakkie
 
Posts: n/a
Default PHP auth with Safemode off

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?


Reply With Quote
  #2 (permalink)  
Old 12-25-2006
hackajar@gmail.com
 
Posts: n/a
Default Re: PHP auth with Safemode off

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?


Reply With Quote
  #3 (permalink)  
Old 12-25-2006
Ric
 
Posts: n/a
Default Re: PHP auth with Safemode off

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?
>
>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:08 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0