|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Hello all, my first post here.
Ive been learning C++ for 6 months now and im comfortable that I know the language through and through now, including the STL. I what to go back to serverside development but I dont want to use PHP anymore, id rather use C++ to continue my exposure to solidify my C++ knowledge. Is there any possible way to implement C++ code into webpages? Im aware that the STL has no such cl***es for serverside development. Are there any other third party APIs which give you access the server/client variables? EG: GET, POST, SERVER, SESSION, COOKIE? The only way that ive got C++ apps runnning on apache is through the cgi-bin. But the issue ive got is that ive no access to the above vars! Help appreciated. Last edited by evo4ever; 02-12-2007 at 06:37 AM. |
| Sponsored Links |
|
|
|
|||||
|
Of course you can use the CGI-BIN and C++ to create serverside scripts in C++.
Here is a tutorial: C++ CGI cl*** (1): An introduction This site: Getting Started with CGI Programming in C shows how to get the form variables. Take a look at "How to process a simple form". If you want to have the C++ CGI in your html directory instead of the CGI-BIN change your httpd.conf file to point the CGI-BIN to your html directory instead of the CGI-BIN. It will look something like this: ScriptAlias /cgi-bin/ /usr/local/apache/share/cgi-bin
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog Don't hesitate to ask any questions that you have! Check out our ASCII Calculator! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP 4 end of life announcement | Jordan | Programming News | 4 | 08-30-2007 09:55 AM |
| Help / Advice Needed - Barcode scanning | icecauldron | Software Development Tools | 8 | 07-18-2007 05:17 PM |
| Xav | ........ | 1322.18 |
| MeTh0Dz|Reb0rn | ........ | 1053.7 |
| morefood2001 | ........ | 879.43 |
| John | ........ | 877.37 |
| marwex89 | ........ | 869.98 |
| WingedPanther | ........ | 830.24 |
| Brandon W | ........ | 735.07 |
| chili5 | ........ | 309.39 |
| Steve.L | ........ | 239.84 |
| dcs | ........ | 216.02 |
Goal: 100,000 Posts
Complete: 82%