Help - Search - Members - Calendar
Full Version: Mixing CGI with HTML??
Get Paid Forum - Get Paid Discussion > Webmaster's Corner > Advertising Section related to Running a website > Script Exchange > For Sale Archive
Jwill1049
Hey does anyone know around here how to mix the cgi and html to add my custom site design rather than the custom one it currently has??...dont like it.....hehe but i like my custom one....let me know...its cgi script...CC Express
NutCase
CGI = Common Gateway Interface

Many methods can be used ie; PHP, Perl, ModPerl, Java, ASP, etc, etc.....

Just pick your language and go!

Phil
ico2
hmmm dunno i know you can mix php with html but cgi i'm not sure.

if you find out plz pm me.
satachai
I don't this is the answer of your question.


--------------------
#!/user/bin/perl
open(FILE,"../point/1.txt");
$p1 = <FILE>;
$p1++;
print FILE $p1;
close (FILE);
#GGI with HTML
print "Content-type: text/html\n\n";
print "<html>";
print "<head>";
print "<title>Test</title>";
print "<center><b><font face=\"AngsanaUPC\" size=\"5\" color=\"#0000FF\">$p1</font></b></center>";
print "</head>";
print "</html>";
-----------------------

If you have any question tell me.
SuperFly
The layout of the page is slightly different than the one included in the CC script...does the html have to be recoded?
zoya19
Hi Will,

Nutcase is right cgi can be written in many different languages. Html can be mixed with it. Mixing the code is handled in different ways depending on what language you are using.
levon666
PHP, Javascript and html can also be mixed.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.