Re: Capture IP

2001-06-05 Thread Randal L. Schwartz
> "Exile" == Exile <[EMAIL PROTECTED]> writes: Exile> Beside of $ENV{REMOTE_ADDR} , is there any other way to capture Exile> the users IP? I found that the user IP will vary by RELOAD Exile> from browser sometimes... That's always the IP address of the client connecting to your webserver.

Email on Windows Platform

2001-06-05 Thread Nunya Business
Hello - I'm wondering how you go about taking info from a html form and have it emailed to a recipient when the server hosting the web page is a Windows machine. I know that on a *nix machine you can invoke the sendmail program, but how do you do it on say Win2K server? Thanks in advance, Br

Capture IP

2001-06-05 Thread Exile
Hi all, Beside of $ENV{REMOTE_ADDR} , is there any other way to capture the users IP? I found that the user IP will vary by RELOAD from browser sometimes...

Re: How to pass form data between two CGI's ?

2001-06-05 Thread Greg Jetter
On Tuesday 05 June 2001 09:55, Curtis Poe wrote: > --- David Labatte <[EMAIL PROTECTED]> wrote: > > If the scripts live on the same server and you can modify them at > > will, then why not just unify them into one script? That would seem > > to be the simplest solution, and the one I would try fi

Re: How to pass form data between two CGI's ?

2001-06-05 Thread Curtis Poe
--- David Labatte <[EMAIL PROTECTED]> wrote: > If the scripts live on the same server and you can modify them at > will, then why not just unify them into one script? That would seem > to be the simplest solution, and the one I would try first. I would think carefully before doing that. It mig

Re: How to pass form data between two CGI's ?

2001-06-05 Thread David Labatte
The difference between the GET and POST method is that the GET data is passed in the URL, whereas the POST data is passed in the body of the message. In your post you do not specify how affiliate.pl script "passes" the form data to the formhandler.pl script so I can't even guess what might be wr

Re: dynamic pages

2001-06-05 Thread Greg Jetter
On Tuesday 05 June 2001 07:38, Vontel Girish wrote: > Can anyone tell me how do i proceed with creating > dynamic pages??? Dynamic pages is a term that means web pages generated on the fly by a scripting language in response to a condition. Example : user bob fills in a request form on a web

Re: Where to begin - web resources

2001-06-05 Thread Curtis Poe
--- "Frank J. Schmuck" <[EMAIL PROTECTED]> wrote: > As this is a "beginners" group I'll save the "best book" threads to others. > What are the resources available on the web (tutorials, etc.) for building > web pages with Perl and CGI? > > I'm running under W2k although I can boot to Redhat 7.2 a

How to pass form data between two CGI's ?

2001-06-05 Thread tob
Can someone please give me an example of how to pass form data between two CGI programs? Here's what I'm attempting to do. I'm a novice perl programmer at best so I'm just trying to modify two programs to do what I need. Basically, I'm trying to use a "affiliate" program. What should happen is t

Re: dynamic pages

2001-06-05 Thread Christopher Zukowski
Vontel, It's actually quite simple depending on what you are trying to accomplish. From below it is very hard to tell what you are trying to do, therefore, advice on where to start might be have an idea of what you want to do, psuedo-code what you want, and then start plugging away. Once y

Re: REPOST: Regex compilation in mod_perl?

2001-06-05 Thread Len Walter
Awesome! That worked, although the lines were actually terminated by \r\n - my superb observational skills at work again. Although I chomped each line, that would have only removed the trailing \r (depending on the value of $/, that is), and not the \n on the next line. That had me stumped for ab

dynamic pages

2001-06-05 Thread Vontel Girish
Can anyone tell me how do i proceed with creating dynamic pages??? Thanks, Girish = V.GIRISH 5/29, White Street, Southport, Gold Coast, QLD 4215, AUSTRALIA Cell: +61 414510375 home: +61 7 5528 0794 Do You Yahoo!? For regular News u

Where to begin - web resources

2001-06-05 Thread Frank J. Schmuck
As this is a "beginners" group I'll save the "best book" threads to others. What are the resources available on the web (tutorials, etc.) for building web pages with Perl and CGI? I'm running under W2k although I can boot to Redhat 7.2 as needed. I have both the ActiveState distribution and also

Re: CGI-BIN

2001-06-05 Thread Timothy Kimball
Randal L. Schwartz: : I'm not sure why people are still so entranced by the use of the : word "ScriptAlias". Not to mention that ScriptAlias is something : only the webmaster can edit, not general users, since it's illegal : to use in an .htaccess file. : ... : So, for example, if you wanted ~me

Re: CGI-BIN

2001-06-05 Thread Randal L. Schwartz
> "n6tadam" == n6tadam <[EMAIL PROTECTED]> writes: n6tadam> Perhaps I can join in the conversation?? Are you running apache as your n6tadam> websever? If so, you can specify mutiple aliases so that the main /cgi-bin/ n6tadam> folder is aliased to other folders of your convienience. I'm not

Re: REPOST: Regex compilation in mod_perl?

2001-06-05 Thread Timothy Kimball
Len Walter wrote: : Since the data is "string\n\rstring" I figured I could use split /^/ to : separate out the individual strings. There's probably an easier way to do it : though... the split seems to work correctly, and both @strings and %content : get filled apparently ok. Try splitting on

Re: CGI-BIN

2001-06-05 Thread n6tadam
Hi, Perhaps I can join in the conversation?? Are you running apache as your websever? If so, you can specify mutiple aliases so that the main /cgi-bin/ folder is aliased to other folders of your convienience. If you need help, let me know. Regards, Thomas Adam - Original Message - From

Re: CGI-BIN

2001-06-05 Thread Exile
Hi All, I am sorry for making any trouble... as long I am still very new to here... and I am here because I am very new to perl too... I have no idea on how to identify if my question is a real cgi question. I ask, just because I only think in the way if there are any problems along my scripts.

Re: CGI-BIN

2001-06-05 Thread Hasanuddin Tamir
On Tue, 5 Jun 2001, Exile <[EMAIL PROTECTED]> wrote, > Hi All, Hi Exile, > I 've try to write some CGI scripts, however, I have to put my scripts in > cgi-bin.. so... anybody tell me what is this? The cgi-bin directory is by convetionally a place to put all CGI programs. It's provided so that

Re: CGI-BIN

2001-06-05 Thread Gary Stainburn
Hi, firstly, a couple of netiquet (I hate that word) points. It's generally not a good idea to post to many lists at once, as this causes duplicated and fragmented threads. The beginners-cgi is probably the best of the two to use. Secondly, this isn't really a perl question, but a web serve

Re: Binary data

2001-06-05 Thread Hasanuddin Tamir
[I keep the thread in beginners-cgi list] On Tue, 5 Jun 2001, Exile <[EMAIL PROTECTED]> wrote, > Hi All, > > Would anybody tell me, if there is any canned script to receive binary data > by form submition? with naming the file name assigned by a system gen. no.? Learn to use the upload feature

CGI-BIN

2001-06-05 Thread Exile
Hi All, I 've try to write some CGI scripts, however, I have to put my scripts in cgi-bin.. so... anybody tell me what is this? I mean anybody can tell me some concepts about redirect? My most problem is, I can't read write files in my home directory. The other case is , is that cgi-bin is

Binary data

2001-06-05 Thread Exile
Hi All, Would anybody tell me, if there is any canned script to receive binary data by form submition? with naming the file name assigned by a system gen. no.?