Link to another PHP program

I have a php program, which is not generated by Scriptcase. The program can be run with the following url (for example)

http://www.xxx.com/scriptcase/app/sttrade/php_program/print_sc.php?sc=CW10002

How can I use scriptcase to call this program by specifying different sc values?
I have tried to use sc_link to do this. It can lead me to http://www.xxx.com/scriptcase/app/sttrade/php_program/print_sc.php
but do not have ‘?sc=CW1002’ in the link.

Re: Link to another PHP program

Build the URL yourself and then just make the call using sc_redir().
Also, remember that the SC macros are included to help, but you are not bound to them. You could also just use basic PHP calls to load the app.

Regards,
Scott.

Re: Link to another PHP program

Hi, Scott,

Thank you very much for your reply.
I solved the problem based on your suggestion.

sc_redir(…/php_program/print_sc.php?sc=CW10002);