Excellent and clearly put response Mark. Thank you.
The url I can calling the script from is:
www.instantcomputerconsultant.com/track/goto.php?aw12345&iccg2cjob
...so I am not explicitely defining $uid and $num. I am restricted in what I can use because goto.com, which the script is used for, is a bit fussy.
They rejected the goto.cgi url I used and I am hoping they will accept the php code.
Is there an equivalent code that can split up the variables using the url I have given?
Thanks Mark,
Jon