Forum Moderators: coopster

Message Too Old, No Replies

header ("location: http://$username:$pass@domain.com/members/"

.htaccess problem

         

c0nsur

2:22 am on Aug 8, 2003 (gmt 0)

10+ Year Member



hi guys!
heres another tricky thing i need to do!

id like to overpass my .htaccess like this
header ("location: [$username:$pass@domain.com...]

if i write it in my url bar in my browser , it works
but with php it prompts me all the time

what should i do?

DrDoc

7:13 am on Aug 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I believe you can set the username and password environment variables...

Or, request the page through PHP directly, not the header

c0nsur

12:39 pm on Aug 8, 2003 (gmt 0)

10+ Year Member



do you know how to set password environment?

c0nsur

4:22 am on Aug 10, 2003 (gmt 0)

10+ Year Member



f0rget about it i just found how to do it :)

panic

3:34 pm on Aug 10, 2003 (gmt 0)

10+ Year Member



Just h0w d0 y0u d0 it, c0nsur?!

-panic

c0nsur

4:41 pm on Aug 10, 2003 (gmt 0)

10+ Year Member



i played in da php.ini couple of times

the my Location worked

thelastczarnian

6:54 pm on Sep 13, 2003 (gmt 0)



C0nsur,

I've got the same problem right now. Would you please post the changes to php.ini needed for the redirect to work?