The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is it possible to send information to an external php through a plugin? I know that you can send information through the URL but that is not secure at all. Are there any other methods?! This is the code I have.
Code:
ob_start(); $_POST['username'] = $vbulletin->userinfo['username']; include("http://mysite.com/custom_includes/manager.main.php? " . $_SERVER['QUERY_STRING']); $get_manager = ob_get_contents(); ob_end_clean(); - Pianoman993 |
#2
|
|||
|
|||
![]()
What's so insecure about using a query string from an internal php command? Nobody will be able to see the source.
Especially since it's just a username...not really anything that needs to be protected. |
#3
|
|||
|
|||
![]()
If you tack on anything to then end of a URL anybody can change that value. It's just more of a hassle than anything.
Are you saying that transferring information through the URL is the only way to do it? |
#4
|
|||
|
|||
![]()
But you're sending the information through a plugin...
Users cant change the end of a url because you can't alter the execution of the plugin or see what it is executing. Since it's php it would send the information to the external page and complete, and no one would know. Another way to 'send' information to another page would be to store it in the database and have the page get its information from the database, but I don't see why you're afraid to send it via get unless there's something I'm not seeing. |
#5
|
|||
|
|||
![]()
Genius!!! Thank you so much!!
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|