VoiceGuide IVR Software Main Page
Jump to content

Vbs: How To Read Variables From An Extrnal File?

Recommended Posts

hello

unfortunately i dont code in vb script: test.vb script: test.php :

<?

$today  =  date("D M j G:i:s Y");
$Sec  =  md5("$today");

echo "
Dim today
today = \"$today\"

Dim Sec
Sec = \"$Sec\"
";

?>

 

 

 

 

 

 

now when i run the file test.vbs i get this Msg Box:

 

VocieGuide_PHP_VBS.jpg

 

 

 

what i want is to be able to access the two variables that was returned by PHP "today and Sec" from the VBS script.

Share this post


Link to post

You can have PHP create the external vbs file and then run the script file inside VG.

Share this post


Link to post

This forum is for support of VoiceGuide software and questions should relate directly to VoiceGuide or usage of VoiceGuide.

Share this post


Link to post

sorry for posting here.. iam using VG right now and we need advanced scripts to use it in the ivr system, vbs is verey basic for what we want to do, thats why i posted this q here

 

 

thanks any way

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×