CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 ret_link problem on login

Print topic Send  topic

Author Message
M. Larson
Posted: 04/24/2003, 10:25 AM

I'm having a problem with the ret_link variable behaving differently on two separate systems running the same php code. One system is running php 4.0.6--works fine, and the other running php 4.2.2--doesn't work.

The system running 4.0.6 returns the referring page in the variable:
http://10.83.4.41/php/Login.php?ret_link=%2Fphp%2FDefau...&type=notLogged

The system running 4.2.2 returns zip in the variable:
http://192.168.70.250/php/Login.php?ret_link=&type=notLogged

I suspect this to be a php problem/change. Can someone help steer me in the right direction to solve this problem?
Sean Teague
Posted: 09/04/2003, 8:05 PM

I just converted a project from ASP to PHP (4.3.3) and I'm having the same problem. All ret_link parameters are empty when redirected to the login page thus upon successful login you just sit there at the login screen. Worked great and redirected back to originally requested page in ASP, doesn't in PHP.

Anyone out there have an idea?
RonB
Posted: 09/04/2003, 11:56 PM

Check the php.ini file. Look at register_globals it should be set to on or you should activate the "use php superglobals array" for your project an regenerate the entire project.

Ron
Sean Teague
Posted: 09/05/2003, 4:53 AM

Thank you for the suggestion! Works perfectly now.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.