calling an external script with arguments
Greetings,
I tried this in Templates but either it went unnoticed or no-one knew/cared?
I have put together a vbulletin/photopost integration that will print several of a user's last photopost uploads in their profile.
to get this to work, I have to be able to call an external php script and pass the userid as a command line argument, something like
thumbnail.php?user=$userid
This way the script knows which user's photos to print!
But, when I do this, I don't get the $userid variable passed. When I put that into phpinclude template the script gets called but it passes "$userid" instead of the actual variable content (id of the user).
Does anyone know how to call an external script passing arguments like this?
Thanks!
Matt
|