LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 04-20-2003, 10:46 PM   #1
woranl
Member
 
Registered: Apr 2003
Location: Toronto
Distribution: Fedora Core
Posts: 119

Rep: Reputation: 15
Talking C++, websites. How do they mix???


I am newbie, in linux, in programming, in C++.

I can write C++ programs and run it in console, that's no problem.

But how can I mix it with website?

For example, I want an user to input something in a form from a webpage (which is made of HTML). How do I use the input data and insert to the C++ program? And how do I return the result in HTML from?


 
Old 04-20-2003, 10:58 PM   #2
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
I think that xml (for data extraction) and xhtml might be worth looking into.
 
Old 04-20-2003, 11:31 PM   #3
nakkaya
Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
you dont need xml check scripts at www.hotscripts.net
apache send variables to the programs as arguments like command line
 
Old 04-21-2003, 09:09 AM   #4
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
While it is possible to write CGI scripts in C++, if you're doing string processing it would probably make more sense to use Perl. I also hear PHP is nice, though I haven't messed with it myself.

Depending on what you'd like to do with the form data, you may not even need that. JavaScript can do quite a bit of nice stuff as far as form data handling, searching, etc.
 
Old 04-21-2003, 12:35 PM   #5
nakkaya
Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
btw c++ gives you speed but you can run c++ scripts on most shared hostings
 
Old 04-25-2003, 03:36 PM   #6
woranl
Member
 
Registered: Apr 2003
Location: Toronto
Distribution: Fedora Core
Posts: 119

Original Poster
Rep: Reputation: 15
I'm a newbie in programming...so far I only know C++

I did some research and found out that uncgi can decode forms in C++.

It said when I write the c++ program, I just use WWW_name as a variable.

Does anyone of you heard about uncgi?
I have no idea how to install uncgi... and where can I get this library?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how go is it to mix repos? greythorne Arch 3 06-27-2005 09:30 AM
Is this even possible? Wireless mix! picabotwo Linux - Wireless Networking 2 03-25-2005 03:51 PM
15 yr old + linux DO mix qalimas LinuxQuestions.org Member Success Stories 14 10-14-2004 01:31 AM
Websites that sell websites..? mScDeX General 2 12-29-2003 04:01 PM
Kernel mix up and lilo lachlan Linux - Software 4 01-27-2003 07:17 PM


All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration