Analyzing a form

2002-09-02 Thread Soheil Shaghaghi
I have a form with 7 fields, each having it's own dropdown menu. The fields are: option1: (1, 2) option2: (1, 2) option3: (1, 2) option4: (Yes, No) option4A: (1, 2) option5: (Yes, No) option6: (1, 2, 3, 4, 5,6) I am using this form to evaluate the eligibility of the user based on the input. T

Data check

2002-09-01 Thread Soheil Shaghaghi
Hi everyone, I have a form with a list of countries (dropdown menu) The countries are divided into 2 sections: For simplicity lets' sue these sets: Set 1: U.S. England, Canada, Germany Set 2: India, Japan, France, Saint Lucia, Northern Ireland The dropdown menu consists of the entire list. When t

RE: Retrieving data from files

2002-08-27 Thread Soheil Shaghaghi
> I am using a program that gets the user information and stores them. The > program stores each user data in a separate file, like userid.tmp > > The data that is in each file looks like this: > > username#!#fullname#!#email#!#userid#!#registratingdate#...#!#n Seems strange to me, storing one

Retrieving data from files

2002-08-27 Thread Soheil Shaghaghi
Hi everyone, I am using a program that gets the user information and stores them. The program stores each user data in a separate file, like userid.tmp The data that is in each file looks like this: username#!#fullname#!#email#!#userid#!#registratingdate#...#!#n What I need to do is get the e-m

RE: Question about dates

2002-08-26 Thread Soheil Shaghaghi
} return '0'; } Any help would be appreciated. Soheil -Original Message- From: Felix Geerinckx [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 1:40 PM To: [EMAIL PROTECTED] Subject: Re: Question about dates on Mon, 26 Aug 2002 20:37:2

Question about dates

2002-08-26 Thread Soheil Shaghaghi
Hi everyone, I am trying to do some calculations based on the date the users have registered with the site. I want to sell a service. I have a form where the user comes to purchase the service. I can get the date from SQL database in any format and display it in form. At this point, when the use

RE: Online installer

2002-08-18 Thread Soheil Shaghaghi
upcoming Perl programmers, but we have had posts before that were more suited to the jobs list than the help list. good luck with the project... http://danconia.org Soheil Shaghaghi wrote: > Wiggins Wrote: > > This sounds like a question that probably shouldn't be addressed h

RE: Online installer

2002-08-18 Thread Soheil Shaghaghi
Wiggins Wrote: This sounds like a question that probably shouldn't be addressed here, as this is a help forum, rather than a job posting forum?? Sounds like you know what you want, and it can certainly be done (in fact I would say there isn't much difficult about it), but we are really here to

RE: Online installer

2002-08-18 Thread Soheil Shaghaghi
Dear Connie, Hello and thanks again :) I just wanted to show you and everyone else who is interested in this subject a much better example: http://www.iwebsupport.com/cgi-bin/dsx.cgi?app=Installer And once again, your tip was great. Thanks. Actually the company above uses Net::FTP to do the tr

RE: Online installer

2002-08-18 Thread Soheil Shaghaghi
Dear Connie, Thanks so much :) It gives me a place to start :) I guess to make it simple, if the client gets disconnected, he can always start the process over. And if they make a mistake in filling out the form, I assume it just won't work, and the program will give errors. Thanks again, Sohe

RE: Online installer

2002-08-18 Thread Soheil Shaghaghi
Hi Connie, Thanks for the reply. Well, I don't think the client side needs to have anything installed. I kind of know how it's supposed to be done I m just not sure who to write the code :) A little bit more details: 1. Let's say I have a directory structure for the program like this: program prog

RE: Online installer

2002-08-18 Thread Soheil Shaghaghi
Thanks Jim :) I've actually seen such scripts on the web, so I know it's possible. One thing that is not the job of this script is to actually look for server details. These should be determined by the user. Basically, the user is required to enter certain information in the form, like the path t

RE: Online installer

2002-08-17 Thread Soheil Shaghaghi
Hi, The programs are located on a website, and I want to offer this as a remote service, where anyone can basically use to install it on their server. They might or might not be on the same server. Thanks, Soheil -Original Message- From: Connie Chan [mailto:[EMAIL PROTECTED]] Sent:

Online installer

2002-08-17 Thread Soheil Shaghaghi
Hello everyone, Can anyone tell me how to create an online cgi installer? Details: I have a program that want to install on my user's website upon their request. What I am looking for is some kind of form which the user fills out entering their ftp username/password, the directory where they want

Problem with the code

2002-08-10 Thread Soheil Shaghaghi
Hi everyone, The following sub checks for bad e-mail address, and reports it: if (($self->{_Email} =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/ || $self->{_Email} !~ /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/)) { $cool = undef; # No longer cool $messag

Help with the code please

2002-07-30 Thread Soheil Shaghaghi
Hello everyone, I want to be able to pass some variables from the page to a recommend it script, so I made a few adjustments like the following: use CGI; $q = new CGI; # $MAXNUM=5; $MAXNUM = $q->param('MAXNUM'); So, I pass the number of referrals from the URL, like: Tell your friends about this

What's wrong with this code?

2002-07-26 Thread Soheil Shaghaghi
Hi everyone, Can anyone please tell me what the problem is with this code? Every time I run my program with this code in it, I get an error in the log files: DBD::mysql::st fetchrow_array failed: fetch() without execute() at IWeb/sqlengine.pm line 3395. sub SQL_Is_Sponsor { my ($link_id) = @_

problem with O_RDONLY

2002-07-26 Thread Soheil Shaghaghi
Hello everyone, I have a program that uses "O_RDONLY" extensively. After upgrading to Perl 5.6.1, every time this program is run, I see errors in the log files similar to this: Argument "O_RDONLY" isn't numeric in subroutine entry at /usr/local/lib/perl5/5.6.1/i386-freebsd/DB_File.pm line 259. Ca

Upgrade to Perl

2002-07-24 Thread Soheil Shaghaghi
Hi List, I have been running Perl 5.6.0 for a while now, and today I decide to upgrade to 5.6.1! Everything works very good, but after the upgrade I can't see any changes to the system! I installed the upgrade in the same directory as Perl 5.6.0 Now, here are my problems, if anyone can please help

What's wrong with the code?

2002-07-18 Thread Soheil Shaghaghi
Hi everyone, Can anyone please tell me what's wrong with this code? When I try to submit the form, it just reloads the page. It never gets to the "sub addreport" Thanks so much. #!/usr/bin/perl # Locate and load required files eval { # Get the script location (for UNIX and Windows)

running tar from a browser

2002-07-18 Thread Soheil Shaghaghi
Hello everyone. Here is my problem, if anyone can please help me: Running, Linux. I am trying to write a simple backup program to backup the data from a directory. The script works from the command line. But when I try to run the same script from the browser, it doesn't work. I get this message: