Re: Matt Wright's formMail

2002-05-14 Thread Dave Cross
On Wed, 15 May 2002 02:11:22 +0100, Drieux wrote: > On Tuesday, May 14, 2002, at 10:45 , Dave Cross wrote: >> On Mon, 13 May 2002 17:14:03 +0100, Drieux wrote: > [..] >>> there was a security update to v1.92 on 04/21/02 has there been some >>> new issue arise??? since then? >> >> Matt's version

Re: CGI and frames

2002-05-14 Thread Todd Wade
"Sven Bentlage" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... make the src attribute read something like: "path/to/file?section=topFrame" and "path/to/file?section=mainFrame or whatever. Then have the cgi program call those subs based on the value of

Re: Matt Wright's formMail

2002-05-14 Thread drieux
volks, thanks for the scoop on what is what... I'd prefer a gooder reason to a jihaud - and I think a sufficiency of explanation has been presented. I R new to CGI in perl - sort of had it thrust upon me since 'well you know perl' On Tuesday, May 14, 2002, at 10:45 , Dave Cross wrote: > On

opening a text file by more web page visitors?

2002-05-14 Thread Octavian Rasnita
Hi all, I want to create a database with links to files from my server and from other servers and for each link there is an ID. If a visitor wants to download a file, they click a link from a HTML page, and the link looks like: http://myServer.com/cgi-bin/download?file=123 My kind of database w

Re: Matt Wright's formMail

2002-05-14 Thread Dave Cross
On Mon, 13 May 2002 17:14:03 +0100, Drieux wrote: > On Monday, May 13, 2002, at 08:52 , Kevin Meltzer wrote: > >> try the rewrite from NMS: >> >> http://nms-cgi.sourceforge.net/ >> >> Cheers, >> Kevin > > which version of the code is the 'problem' version? > > what is the current specific 'se

RE: Matt Wright's formMail

2002-05-14 Thread Dave Cross
On Mon, 13 May 2002 22:03:42 +0100, Camilo Gonzalez wrote: > After a quick perusal it seems the replacement form's greatest > contribution seems to be to limit the number of recipients that may be > emailed at any one time. There seem to a number of other improvements > and it looks like the code

Re: Matt Wright's formMail

2002-05-14 Thread Dave Cross
On Mon, 13 May 2002 16:07:54 +0100, Camilo Gonzalez wrote: > I've just been informned by my ISP that Matt Wright's formMail will no > longer be allowed on any of their servers due to glaring security > concerns. I know now I shouldn't have used it but back then I was stupid > and not a subscriber

RE: yahoo mail did't compile HTML mail

2002-05-14 Thread drieux
I'm not sure I understand the nature of the problem with using the standard Email tricks through perl? ciao drieux ### #!/usr/bin/perl -w ### use strict; ### ### sub DoThatMailVoodoo { ### my ( $userName, $subject, $msg) = @_; ### ### my $bailFile = "/tmp/sendmail.bail.$$"; ### my

Re: yahoo mail did't compile HTML mail

2002-05-14 Thread Kevin Meltzer
Try with only 1 \n.. try using MIME::Lite to form the email properly (which I mentioned before). I have no problems doing this with MIME::Lite. Cheers, Kevin PS. try trimming any text from replies which have nothing to do with the reply itself. On Tue, May 14, 2002 at 04:09:29PM -0500, Camilo G

RE: yahoo mail did't compile HTML mail

2002-05-14 Thread Camilo Gonzalez
Doh! Sorry, try this: --- START source--- open(MAIL,"|$mailp -t"); print MAIL "Content-Type: text/html\n\n"; print MAIL "To: $email\n"; print MAIL "From: $wemail\n"; print MAIL "Subject: $subject\n\n"; print MAIL "$contents\n"; close (MAIL); ---

RE: yahoo mail did't compile HTML mail

2002-05-14 Thread messag from ESS
Thanks to all these brains which give a help to us, 1- I tried this with many options but didnt work, "Content-Type: text/html; charset="iso-8859-1"" 2-This and give me error not for simicolon only, --- START source--- open(MAIL,"|$mailp -t"); print MAIL

Re: pass values to another scipt

2002-05-14 Thread Pablo A. Castrillo
> Hi all. > > This is what i've done: > - I've created a table which allows to manage "sessions" (see code below). > - The script which validates users creates a "session_id". I pass this token as a >hidden field to scripts in order to validate user's data every time. > This works like this: Use

RE: yahoo mail did't compile HTML mail

2002-05-14 Thread Camilo Gonzalez
Dude, Try this > --- START source--- My source is:open(MAIL,"|$mailp -t"); print MAIL "Content-Type: text/html\n\n;" print MAIL "To: $email\n"; print MAIL "From: $wemail\n"; print MAIL "Subject: $subject\n\n"; print MAIL "$contents\n"; close (MAIL); > -

Re: yahoo mail did't compile HTML mail

2002-05-14 Thread Kevin Meltzer
You need a Content-Type header. Content-Type: text/html; charset="iso-8859-1" (or whatever your charset is) Cheers, Kevin On Tue, May 14, 2002 at 04:28:44PM +0300, messag from ESS ([EMAIL PROTECTED]) said something similar to: > hi all > I konw you havn't much time then I will begain directly

RE: CGI and frames

2002-05-14 Thread David Gray
> I would like to create a html frameset plus the pages for the > frameset. You can't do that in one cgi script unless you call it multiple times like I showed you. > Normally a frameset looks (as you all know) somewhat like that: > >framespacing="0"> > scrolling="NO" noresize

Re: CGI and frames

2002-05-14 Thread Sven Bentlage
I would like to create a html frameset plus the pages for the frameset. In the top frame should go the menu (which is now displayed in a table at the top of the page), below that the pages the user creates by clicking on the button. Until now I have not found out how to fill the frameset with

Re: CGI and frames

2002-05-14 Thread John Brooking
Okay, I understand now. I guess you *could* do it with "one script", although as someone else noted, it is basically separate scripts, called once per page, that just happen to be stored in the same file. Whether you store it in one script or separate is immaterial, IMHO. So, now that we understa

RE: CGI and frames

2002-05-14 Thread David Gray
> Sorry, I chose the wrong words.. > my script works similar to the way you described below. Depending on > which fields are filled out and which button is pressed, a different > subroutine is called, creating the page. Ok... Could you post some code or pseudocode that describes the problem you

Re: pass values to another scipt

2002-05-14 Thread John Brooking
Secure?? Have you guys been paying attention to the Matt's Script Archive discussion? You can pass along parameters between pages either in the URL or as hidden fields, but NEITHER IS REALLY SECURE!! The hidden fields only stymie the newbies. :-) Anyone could just save the form to their hard drive

Re: yahoo mail did't compile HTML mail

2002-05-14 Thread Alex Read
messag from ESS wrote: > Thanks Alex Read > but it didnt work.and I can;t control on the user broswes. > > NOTE: I want it compiled Like hotmial, the problem with yahoo > > Thanks agian > = > > >From: Alex Read <[EMAIL PROTECTED]> > >To: messag from

Re: CGI and frames

2002-05-14 Thread Sven Bentlage
Sorry, I chose the wrong words.. my script works similar to the way you described below. Depending on which fields are filled out and which button is pressed, a different subroutine is called, creating the page. On Wednesday, May 15, 2002, at 12:01 AM, David Gray wrote: >> I'm using one CGI s

Re: yahoo mail did't compile HTML mail

2002-05-14 Thread Kevin Meltzer
"compiled like hotmail" makes no sense. It is how the email client (in this case Hotmail and Yahoo!) handle incoming email messages. If you are not adding the proper header information, you can not expect the client to do what you want. Do you even know if Yahoo! handles HTML mail correctly? If i

RE: CGI and frames

2002-05-14 Thread David Gray
> I'm using one CGI script to generate several search pages That's impossible. One call to a cgi script can generate only one page. Consider the following untested ;) (but simple enough that I probably didn't screw it up) code: --code-- #!/usr/bin/perl -w use strict; use CGI; my $cgi = new

Re: yahoo mail did't compile HTML mail

2002-05-14 Thread messag from ESS
Thanks Alex Read but it didnt work.and I can;t control on the user broswes. NOTE: I want it compiled Like hotmial, the problem with yahoo Thanks agian = >From: Alex Read <[EMAIL PROTECTED]> >To: messag from ESS <[EMAIL PROTECTED]> >CC: [EMAIL PROT

RE: pass values to another scipt

2002-05-14 Thread David Gray
> Hi Sven, > > Sorry, I thought you knew that one. > > But how to proceed if you don't want those ugly/insecure > params in your location bar ? Use a form and an input type="image" HTH, -dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: yahoo mail did't compile HTML mail

2002-05-14 Thread Alex Read
messag from ESS wrote: > hi all > I konw you havn't much time then I will begain directly > Probem is: > 1- I make a program to send a mail. > 2- I send an HTML mail normaly to yahoo and hotmail. > 3- The hotmail compile it and display as a web bage. > 4- The yahoo did't compile it and display th

RE: yahoo mail did't compile HTML mail

2002-05-14 Thread matt stewart
i believe there should be some kind of header info stating that the content type is html. i think hotmail just displays it nomatter what, but most mail browsers won't. -Original Message- From: messag from ESS [mailto:[EMAIL PROTECTED]] Sent: 14 May 2002 14:29 To: [EMAIL PROTECTED] Subject

yahoo mail did't compile HTML mail

2002-05-14 Thread messag from ESS
hi all I konw you havn't much time then I will begain directly Probem is: 1- I make a program to send a mail. 2- I send an HTML mail normaly to yahoo and hotmail. 3- The hotmail compile it and display as a web bage. 4- The yahoo did't compile it and display the HTML source !. Needed: 1- why yahoo

Re: pass values to another scipt

2002-05-14 Thread David vd Geer Inhuur tbv IPlib
Hi Sven, Sorry, I thought you knew that one. But how to proceed if you don't want those ugly/insecure params in your location bar ? Regs David > > Ok, i found out how to pass a few arguments to the other script: > > href="collectformdata.cgi?action=fetch&f_name=$f_nam

Re: pass values to another scipt

2002-05-14 Thread fliptop
David vd Geer Inhuur tbv IPlib wrote: > #!/user/cadiclab/bin/perl > > use CGI qw(:standard); > > $first = param('userid'); > $last = param('pw'); > $hide1 = param('hide1'); > $hide2 = param('hide2'); > > print header, > start_html(-BGCOLOR=>"#99"), > start_form; > > print

Re: pass values to another scipt

2002-05-14 Thread Sven Bentlage
Ok, i found out how to pass a few arguments to the other script: Update The only problem I have left is that the variables are not passed on. Once I put names in there, it works just fine, but I do need those variables to work. if I would get any tips on this I'd really appre

pass values to another scipt

2002-05-14 Thread David vd Geer Inhuur tbv IPlib
Hi All, I am currently having the same problems as Sven. I tried to get some info on it as wel, but it seems a difficult one. I have made a simple example to explain it a little : HTML-CODE: --- please enter your First name Please enter your Last name Please try this one ---