| View previous topic :: View next topic |
| Author |
Message |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Wed Jul 17, 2002 1:51 pm Post subject: Please help with CGI program :-( |
|
|
I have tried and tried and i cant figure out how to write a CGI program.
This is what i would like it to do:
You must enter your information into the following fields:
Name (your name)
Email (your email address)
Country (the country you are in)
Code (the code that was supplied to you)
Key (the key that was supplied to you)
The hit the Submit Button
(CGI Program will do this)
If they have entered all the correct information
DO a mathimatical function like so:
:genbutton
%c = @dlgtext(e4) (Code)
%d = @dlgtext(e5) (KEY)
%%a = @fdiv(%c,100)
%%b = @fsub(%%a,%d)
%%c = @fsub(0,%d)
%%d = @fadd(%%b,%%c)
%%e = @fsub(%%d,10000)
Display : Thank you for registering %%NAME Here is your Serial No. %%e
And then send me an email of their details inc. the Date.
Can anyone help me, or give me the bare bones and i will try and firgure it out. ???
Help
Rubes_sw |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Wed Jul 17, 2002 6:20 pm Post subject: |
|
|
What have you figured out on this so far? Also, which dll(s) are you using?
-Garrett |
|
| Back to top |
|
 |
nick Contributor

Joined: 15 Aug 2000 Posts: 50 Location: hamburg,nj
|
Posted: Wed Jul 17, 2002 8:01 pm Post subject: |
|
|
Hello:
If you use Tommy's vdsinet dll you can use the net cgi function to parse incoming data and do what ever you want with it in vds. If everything is alright with the data you can use the net smtp (found in the same dll) to send out the email.
I have two reservation programs running on the net using this GREAT dll.
If you have any questions let me know.
Nick _________________ nick |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Aug 02, 2002 10:43 pm Post subject: |
|
|
Hi Nick,
| nick wrote: | I have two reservation programs running on the net using this GREAT dll.
|
I was just wondering, what hosting do you use for the place where you are using your VDS CGI EXE's?
I am having problems with my current hosting service and I thought maybe you would know one that would allow VDS CGI EXE's.
Thanks!  _________________ FreezingFire
VDSWORLD.com
Site Admin Team
Last edited by FreezingFire on Sun Aug 11, 2002 9:26 pm; edited 1 time in total |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Aug 11, 2002 9:24 pm Post subject: |
|
|
Last edited by FreezingFire on Sun Aug 11, 2002 9:32 pm; edited 2 times in total |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Sun Aug 11, 2002 9:29 pm Post subject: |
|
|
I think that Parcom.net did while Prakash was using it. I'm not sure though what kind
of package he selected with them... |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Aug 11, 2002 9:31 pm Post subject: |
|
|
I have already tried Parcom, apparently they do not let you use the DLL's for your EXE's anymore, they have to Install them on their server and they do not Install Custom DLL's...  _________________ FreezingFire
VDSWORLD.com
Site Admin Team
Last edited by FreezingFire on Sun Aug 11, 2002 9:48 pm; edited 1 time in total |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Sun Aug 11, 2002 9:45 pm Post subject: |
|
|
Parcom never allowed custom dll's to be on their servers. It may lead to a destabilization of IIS and crash the whole server. You have to realize the servers Parcom hosts are shared servers, so other people's sites also run on the same machine. This is one reason I had to move pgware/vdsworld off Parcom and go to a dedicated server as my sites began to take up way too many resources.
Contact DAVE at Parcom and ask him if you can run the custom dll's. Provide him with the links to dialogscript.com and assure him that the vdsrun30/40.dll are valid extensions. You will also need to intially provide them with some source code of your cgi's to prove that your not trying to hack or destabilize their system. They allowed me to run several vds .exe cgi scripts up there. Try to contact them directly and explain your needs, I'm sure once they see your an honest person they will simply allow it. |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Aug 11, 2002 9:53 pm Post subject: |
|
|
Thank you PGWARE... I have already contacted Dave Parmlee and he said that if more people requested it, they would seriously consider installing the DLL's. I provided them with the links; they said that there would be licensing requirements to do that...That leaves part of it up to S.A.D.E. ...
I suppose I will see what happens... _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Sun Aug 11, 2002 9:56 pm Post subject: |
|
|
The VDS runtime DLLs are redistributable royalty free... I don't think S.A.D.E. really could or
would disallow it. |
|
| Back to top |
|
 |
|