PRODUCTS
jScripter
Web Pipe
jCore
 
INFORMATION
Affiliate
About Us
Contact Us
 
Products . Live Support System . Online Help Sign In
Sending data to script

Program POSTs the following form to the script:

<form action="http://yoursite.com/dir/livechat.cgi" method="post">
<input name="port" value="Port Number">
<input name="password" value="Your password">
<input name="unique" value="Unique Computer ID">
<input name="ip" value="IP address">
</form>

Variables:

portport number you specified on Server settings dialog box.
passwordthe password you specified on Web dialog box.
uniqueunique computer ID. It's located in regustry, in HKEY_CURRENT_USER\Software\SoftCab\Live Support System\Unique_String. This sting is created by installer. Currently is not used by script, and reserved for future versions.
ipyour computer IP address or domain name you setup on Server settings dialog box.
Receiving reply from script

Script replies with "[SUCCESS:NNN]" string. Program will load this script in NNN minutes. System will go offline if script is not loaded within specified period of time. All other server replies are treated as errors. If erroneous reply was detected, program will load the script again and again with interval of one minute.

Tuning the script

Open script file with Notepad, and edit the following variables:

$passwordYour password
$temp_fileType full path to temporary file. Script must have read/write access to this file.
$image_onlineFull URL of image that will appear on your website when you are online.
$image_offlineFull URL of image that will appear on your website when you are offline.
$url_onlineFull URL of a page where visitors will be landed when you are online. Leave it blank if you want to redirect visitors directly to chat page.
$url_offlineFull URL of a page where visitors will be landed when you are offline. You may specify a text message instead of link.
$reload_timeHow often to run this script, in minutes. If script is not loaded within specified period, entire system goes offline.
Query string parameters

The script usually called with the following parameter:

http://yoursite.com/dir/livechat.cgi?request=value

There are four possible values of request variable:

request=imageThis will output image, depending on system offline/online status (see $image_online and $image_online script variables).
request=pageThis will redirect to page, specified in $url_online script variable.
request=chatThis will redirect directly to chat page. It behave the similar to request=page if $url_online variable is blank.
request=monitorThis will output 1x1 transparent GIF picture. You should not use this value directly. Use HTML code dialog box for configuring website monitor.

All other variables will be shown in chat window in list support system program.

Name variable will replace user's IP address in chat window.

For example, here is how you can pass variables to chat window:

<form action="http://yoursite.com/dir/livechat.cgi" method="get">
<input type="hidden" name="request" value="chat">
What is your name? <input type="text" name="name">
Where are you from? <input type="text" name="country">
<input type="submit" value="Chat">
</form>



Contents · Home · Download
mobile version Copyright © 1999-2025 SoftCab, Inc. All Rights Reserved ·