Re: problem

2001-06-02 Thread Johnathan Thibodeau
You should escape all of the quotes that you want printed. print "Content-type: text/html\n\nEndless!$currentPrevious Page | Next Page"; Johnathan Thibodeau Pound bang user bin perl fork while true On Sat, 2 Jun 2001, Derek Duhon wrote: > I have a print statement that prints out an html pag

problem

2001-06-02 Thread Derek Duhon
I have a print statement that prints out an html page, and after a lot of tinkering, I still can't get it to work. It prints out the html perfectly, but I can't seem to find a way for it to print the contents of the scalar statements. The print statement is encased in "". Here is my source

Re: Bulletin Board

2001-06-02 Thread Johnathan Thibodeau
This brings back a few memories for me, of when I wrote my first bulletin board in perl... The answer to your question is a simple one, it's as easy as ? (question mark). Here's an example: http://www.chebucto.ns.ca/Webcam/index.cgi?id=pppk&type=message&display=88 This line was actually taken

Re: checking for changed values

2001-06-02 Thread Greg Jetter
On Saturday 02 June 2001 11:34, Christian Campbell wrote: > What's to stop you from building in a corresponding hidden field > with the old value (or a hash of the old value) for each displayed > field? Then you know that a field changed because the > corresponding hidden field hash value is out o

Bulletin Board

2001-06-02 Thread Teresa Raymond
I'm thinking about changing my bulletin board script so that it shows "RE:" related to previous messages and so that it shows a file tree. I think I have to have each message have its own separate file and when displaying the messages have them a separate links. But how do I pass a variable f

Re: checking for changed values

2001-06-02 Thread Christian Campbell
What's to stop you from building in a corresponding hidden field with the old value (or a hash of the old value) for each displayed field? Then you know that a field changed because the corresponding hidden field hash value is out of sync. Christian __

Re: checking for changed values

2001-06-02 Thread Mark Rowlands
On Saturday 02 June 2001 10:42, Mark Rowlands wrote: > I'm using DBI and CGI and mysql on apache (freebsd) > > I query a table to produce a table rows looking like this > the idea being that if you hit the check box, we delete the record > and if you edit the text field we update the record > > >

Re: Silent Ending

2001-06-02 Thread Hasanuddin Tamir
On Wed, 30 May 2001, Rodney Myers <[EMAIL PROTECTED]> wrote, > Date: Wed, 30 May 2001 12:46:06 +0100 > From: Rodney Myers <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Silent Ending > > Hi, > > Thanks for your commnets, and yes this is a rare situation. > I develop a shopping system,

Re: A good book?

2001-06-02 Thread Christian Campbell
Mark Mogridge wrote: > I've noticed a number of titles produced by O'Reilly Books > http://www.oreilly.com/ > > Advanced Perl Programming > CGI Programming with Perl, 2nd edition > Learning Perl, 2nd edition > Learning Perl/Tk > Perl Cookbook > Perl for System Administration > Perl in a Nu

resend with 78 columns: Re: Regexp compilation in mod_perl?

2001-06-02 Thread Len Walter
whoops, Netscape automatically formatted my mail before. Here's a more readable version. Curtis, thanks for your response. I didn't realise that the recompilation problem didn't apply unless I used /o. I am actually trying to split some multiline data into single lines, so the caret is intent

Re: Redirecting AND creating cookies

2001-06-02 Thread Mark Mogridge
on 02/06/2001 05:41, Curtis Poe at [EMAIL PROTECTED] wrote: > In this case, I think your code may be at fault. Set the cookie when printing > the redirect header. > Here's one way to set a cookie with a redirect header: > > #!C:\perl\bin\perl.exe > use CGI; > my $cgi = CGI->new; > my @cookieOut;

Re: A good book?

2001-06-02 Thread Mark Mogridge
on 02/06/2001 09:15, Hager Ben-Mahmoud at [EMAIL PROTECTED] wrote: > Hi, > > I just finished taking a 2 day training class on Perl and would like to > learn more about the language. Is there a book that you all swear by that > helped you figure out the impossible? > > Much appreciated. > > Hag

checking for changed values

2001-06-02 Thread Mark Rowlands
I'm using DBI and CGI and mysql on apache (freebsd) I query a table to produce a table rows looking like this the idea being that if you hit the check box, we delete the record and if you edit the text field we update the record dpapache : kista_131 dpapache : kista_132 When I hit s