1
ktshen
Re: Banner click go's back to strange login screen
  • 2003/7/8 4:03

  • ktshen

  • Just popping in

  • Posts: 2

  • Since: 2003/7/7 2


I'm not sure what problem is it.
beacuse the original banner(Xoops official site banner) it works fine.
all the banner that I add, it just redirect me to the banner client login page.

I solve the problem by alter banner.php
if anyone have the same problem as me.
you can try this.



2
ktshen
Re: Banner click go's back to strange login screen
  • 2003/7/7 9:53

  • ktshen

  • Just popping in

  • Posts: 2

  • Since: 2003/7/7 2


you can try this
a. find out php.ini
set register_globals = On

or try this
b. alter banner.php
add this

if (empty($op)){
$op = $_GET["op"];
}
if (empty($bid)){
$bid = $_GET["bid"];
}

before this line switch ( $op ) {

I have same problem on my server.
I try to set register_globals = On
It works, but I think they may cause a lot of security problem.
so I set register_globals = Off and try to alter banner.php to get $op and $bid from GET form.
It works too.




TopTop



Login

Who's Online

231 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 231


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits