![]() |
Help with Passing UserData to non-VB Pages
I basically understand how to pass the user data to non-VB pages, but after doing so, I have an issue with a $_GET variable stops working.
I have the below to get the user data: PHP Code:
|
Is the variable actually getting passed - can you see it in the url? Maybe try a different name besides 'page' and see if that works.
|
Yes, it's kinda strange. The variable is passed in the url. And if I change it to a name of $_GET['cpage'] it works. It must be something with the word page being used?
|
PHP Code:
|
Got the same problem as well right now. My GET variable is named page as well.
I tried this : http://mywebsite.com/index.php?page=...variable=test2 Then in my code, i wrote this : PHP Code:
The easy solution would be to change the variable name. But since my website is already up and has a lot of pages already coded, I REALLY don't want to bother with that. I also tried the PHP Code:
Would there be another solution? --------------- Added [DATE]1235963028[/DATE] at [TIME]1235963028[/TIME] --------------- Ok I found a way but it stills require some change in the initial code (but less than if you change your variable name). What you have to do is to put your GET variables in an array before the require : PHP Code:
Hope it helps some. |
All times are GMT. The time now is 11:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|