forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Please help with CGI program :-(

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Wed Jul 17, 2002 1:51 pm    Post subject: Please help with CGI program :-( Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Jul 17, 2002 3:01 pm    Post subject: Reply with quote

Did you already tried Tommy's vdsdll (version 2.7) ???

http://www.vdsworld.com/index.php?page=download&fileid=44

Or are you already at the Serial Number stuff?
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Wed Jul 17, 2002 6:20 pm    Post subject: Reply with quote

What have you figured out on this so far? Also, which dll(s) are you using?


-Garrett
Back to top
View user's profile Send private message
nick
Contributor
Contributor


Joined: 15 Aug 2000
Posts: 50
Location: hamburg,nj

PostPosted: Wed Jul 17, 2002 8:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri Aug 02, 2002 10:43 pm    Post subject: Reply with quote

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! Very Happy

_________________
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
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Aug 11, 2002 9:24 pm    Post subject: Reply with quote



Last edited by FreezingFire on Sun Aug 11, 2002 9:32 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Sun Aug 11, 2002 9:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Aug 11, 2002 9:31 pm    Post subject: Reply with quote

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... Sad
_________________
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
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Sun Aug 11, 2002 9:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Aug 11, 2002 9:53 pm    Post subject: Reply with quote

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. ... Neutral

I suppose I will see what happens...

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Sun Aug 11, 2002 9:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group