![]() |
auth.php erases php variable - a puzzle
I got a very strange result by including auth.php in my php file. I wrote a php code called list.php
Code:
<?php When this file is called by link It generastes the result: Quote:
This shows auth.php erases the value of $originalurl, and keeps the value of $listingid! I do not understand what is happening. Can you help me on this? How can I keep all the variable values (with including auth.php in the code) because they are necessary in my code? Thanks a lot. Jeff |
Probably the get variable is erased in top.inc.php
If you have registered globals on try using: $urlarray instead of the get. |
Jon,
Thank you very much. One more question. What do you mean Quote:
Jeff |
Yes you can turn register globals off in your php.ini and/or depending in server configs you can toggle them in conf files. The catch... I'm not sure x-cart would function with them off however :D Been so long since I installed I don't recall.
|
All times are GMT -8. The time now is 03:04 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.