![]() |
Calling content.php with a specific query ID from a php script
I am trying to find a way to call content.php with a query string from another php script. Without a query string, a stripped down version of the script, that works, would be:
PHP Code:
So this reads as to what I'm after: PHP Code:
I was also wondering if there is a way to do it within VB, if you look into content.php, you'll see: PHP Code:
Is it possible to define the page number ID before calling the bootstrap.php (or content.php)? Where does the query string get parsed anyway? I'm just starting to work with VB & php, so thank you for any help! |
I believe you should be able to set parameters by setting $_GET and/or $_REQUEST. It depends on which parameters you're trying to set and how the vb code looks for them.
I don't know exactly what your script does, but maybe you could do what you're trying to do using plugins? |
Thanks, kh99.
What I'm really trying to do is this: PHP Code:
PHP Code:
I will look into $_REQUEST - but you're right, it depends how VB is looking for things, so that is why I was wondering where it parses the query string? I gave up on that for now after looking in the bootstrap.php since it gets into a lot of PHP code I'm not at all familiar with. |
Quote:
|
All times are GMT. The time now is 07:32 PM. |
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:
|