Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: SSI/Database questions

by sulfericacid (Deacon)
on Mar 27, 2003 at 02:28 UTC ( [id://246143]=note: print w/replies, xml ) Need Help??


in reply to Re: SSI/Database questions
in thread SSI/Database questions

Ok, I'll try using that snippet to get my counter to work. Do you have to program around SSI (like do you need to know ahead of time how to write it if you plan on using SSI or would a premade counter just assumidly(wd?) work?).

Use CGI, lol, I kind of love when people say that. You don't know exactly what you're looking for but they send you to a documentation which is like 100 pages in length :P I'll take a look, it's probably something fairly obvious.

Awesome, looks like MySQL will never have to be used with any of my scripts then. That's a relief cause I've never even been able to open a MySQL database on my server, I'll definately stick with SDBM as that seems to be working great so far.

Thanks for your help Lacertus!

"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

sulfericacid

Replies are listed 'Best First'.
Re: Re: Re: SSI/Database questions
by pfaut (Priest) on Mar 27, 2003 at 02:49 UTC

    If you're having trouble figuring out how to use CGI from its documentation, start here in the Tutorials section. There are several pages that will help you get started with CGI. The most important parts of CGI are its parsing if incoming data, not the HTML generation stuff. My personal opinion is that generation is better handled with templates but CGI is indispensible for retrieving submitted data. For that, about all you need to know is $query->param("fieldname").

    If you can access a real database, I'd recommend it over SDBM files. I think they're much easier to work with and are certainly more flexible.

    --- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://246143]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-23 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found