The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
The simpliest way that I can put what I want to do is: To throw a variable at an external file when i execute that variable. Here is an example:
File 1: a.php Code:
$z = 'drupal'; Code:
print $z; Please help, if i manage to do this, it will quite literally save me MONTHS of work. And you'll also be my friend forever. Regards Cheeky |
#2
|
|||
|
|||
![]()
Do you mean this?
a.php PHP Code:
PHP Code:
|
#3
|
|||
|
|||
![]()
*sigh* nope, bascially what I want to do is similar to the html "post" method in forms, but it has to be in php because I am executing it via shell and have no access to html. File b.php is on someone elses server and i have no access to it so no includes. The closest thing that I can think of that might do this is spam bots that file out forms and such.
I have $POST1 and I want to "pass" it to b.php How would I do that inside a script? EDIT: it would be the opposite of include() or require() |
#4
|
||||
|
||||
![]()
Why don't you want to include the other file? You could also pass arguments on the command line, but you'd have to look up how to read those in the second script.
|
#5
|
|||
|
|||
![]()
nevermind, a guy at phpbuilder told me to check out the curl functions which is what i will be doing
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|