RE: Online installer
Dear Wiggins, Thanks :) It looks like it was my fault! It's just that I see this issue coming up in a lot of newsgroups, and forums. I see a lot of people ask questions, and once in a while some wise guy throws something out there! Once again, sorry :) Soheil Miscommunication I think is at the root. The way you stated the problem: I kind of know how it's supposed to be done I m just not sure who to write the code. With the use of the phrase "who to write the code" implies that you had developed your proposed solution but were looking for someone else to actually right the code, which is why I suggested looking at the other list. I was not trying to imply that you shouldn't right the code or that we would not help with: 1) optimizations 2) problems you encountered related to your own development However having gone down this road I think you may have had a typo: "who" should have been "how" and all of a sudden your sentence takes on a whole new meaning. All about the attention to details to bad there isn't a use strict::English built into mail clients :-). Certainly not trying to discourage 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 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 help > with specific questions, getting people started using Perl, proposing > optimized solutions, etc. Not for writing whole applications. > > > I am sorry, but this is a FREE forum for all the Perl users. > If questions like this bother you , you have 2 options: > 1. Ignore them! > 2. unsubscribe from the list! > > I don't want to start an issue over this, but if I am wrong, please everyone just >tell me. > I just don't see the point of this e-mail! It's just not helping me find a solution >to my problem! > I know I can hire programmers to write what I need! Do you tell all of the new Perl >programmers to go hire someone to do what they want?! > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Online installer
And see as I mention the use strict::English I was apparently invoking the use SundayNight::English instead, and when I should have been writing "write" I instead wrote "right". Amazing how the human mind works, time for bed, yes me thinks (and only at 9:17 yikes) http://danconia.org Wiggins d'Anconia wrote: > Miscommunication I think is at the root. The way you stated the problem: > > > I kind of know how it's supposed to be done I m just not sure who to > write the code. > > > With the use of the phrase "who to write the code" implies that you had > developed your proposed solution but were looking for someone else to > actually right the code, which is why I suggested looking at the other > list. I was not trying to imply that you shouldn't right the code or > that we would not help with: > > 1) optimizations > 2) problems you encountered related to your own development > > However having gone down this road I think you may have had a typo: > > "who" should have been "how" and all of a sudden your sentence takes on > a whole new meaning. All about the attention to details > > to bad there isn't a > > use strict::English > > built into mail clients :-). > > Certainly not trying to discourage 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 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 >> help with specific questions, getting people started using Perl, >> proposing optimized solutions, etc. Not for writing whole >> applications. >> >> >> I am sorry, but this is a FREE forum for all the Perl users. >> If questions like this bother you , you have 2 options: >> 1. Ignore them! >> 2. unsubscribe from the list! >> >> I don't want to start an issue over this, but if I am wrong, please >> everyone just tell me. >> I just don't see the point of this e-mail! It's just not helping me >> find a solution to my problem! I know I can hire programmers to write >> what I need! Do you tell all of the new Perl programmers to go hire >> someone to do what they want?! >> >> >> > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Online installer
Miscommunication I think is at the root. The way you stated the problem: I kind of know how it's supposed to be done I m just not sure who to write the code. With the use of the phrase "who to write the code" implies that you had developed your proposed solution but were looking for someone else to actually right the code, which is why I suggested looking at the other list. I was not trying to imply that you shouldn't right the code or that we would not help with: 1) optimizations 2) problems you encountered related to your own development However having gone down this road I think you may have had a typo: "who" should have been "how" and all of a sudden your sentence takes on a whole new meaning. All about the attention to details to bad there isn't a use strict::English built into mail clients :-). Certainly not trying to discourage 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 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 help > with specific questions, getting people started using Perl, proposing > optimized solutions, etc. Not for writing whole applications. > > > I am sorry, but this is a FREE forum for all the Perl users. > If questions like this bother you , you have 2 options: > 1. Ignore them! > 2. unsubscribe from the list! > > I don't want to start an issue over this, but if I am wrong, please everyone just >tell me. > I just don't see the point of this e-mail! It's just not helping me find a solution >to my problem! > I know I can hire programmers to write what I need! Do you tell all of the new Perl >programmers to go hire someone to do what they want?! > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Online installer
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 help with specific questions, getting people started using Perl, proposing optimized solutions, etc. Not for writing whole applications. I am sorry, but this is a FREE forum for all the Perl users. If questions like this bother you , you have 2 options: 1. Ignore them! 2. unsubscribe from the list! I don't want to start an issue over this, but if I am wrong, please everyone just tell me. I just don't see the point of this e-mail! It's just not helping me find a solution to my problem! I know I can hire programmers to write what I need! Do you tell all of the new Perl programmers to go hire someone to do what they want?! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Online installer
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 transfer. Soheil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Online installer
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, Soheil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Online installer
Yes, much clear, and you've simplifies your question welly =) You may want to look at http://search.cpan.org/search?mode=all&query=FTP As long as FTP has its own fix protocal, that wouldn't be very difficult to deal with for file transfering(with Perl). The only thing I can think about this moment that you may extra take care is how to handle those line breaker (\r\n,\n\n etc.) Then, I opt to modifiy things at local side, so to make the outer communication becoming simple file overwrite or write. But, I found that you didn't mension about the "backup". What if the client made a error to fill the from ? OR what'll happen if you/them get disconnected while the files are transfering? Don't miss it. Rgds, Connie - Original Message - From: "Soheil Shaghaghi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 12:39 AM Subject: RE: Online installer 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 program/data program/test.cgi program/data/config.txt 2. The user enters his server ftp username/password The user also enters some server variables like path to Perl, sendmail,... The user also enters some variables like where he wants the application to be installed on the server. His server path, username/password, e-mail address... and submits the form. 3. Now, at my server, where the application is located, here is what I need to do: Method A: ftp to the user server, and change to the directory he specified in the form make some directories (program, data) copy all the files from my server to those directories set the permission on these files/directories Open the test.cgi and change the path to Perl, and save it. Open the config file and enter the variables the user entered and save it. Method B: Open the test.cgi and change the path to Perl, and save it. Open the config file and enter the variables the user entered and save it. ftp to the user server, and change to the directory he specified in the form make some directories (program, data) copy all the files from my server to those directories set the permission on these files/directories I guess this is it! Hopefully this makes it more clear :) Now, if the different servers are a problem, I don't mind starting from Unix based servers and just address those. Soheil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Probably a simple problem
I have installed a number of the nms scripts with tremendous success. Thanks for your help. -Original Message- From: fliptop [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 9:09 PM On Thu, 15 Aug 2002 at 20:36, Patricia Gillard opined: you are strongly encouraged not to use matt's scripts. point your browser here and get drop-in replacements: http://nms-cgi.sourceforge.net/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Online installer
Soheil Shaghaghi wrote: > I kind of know how it's supposed to be done I m just not sure who to write the code >:) 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 help with specific questions, getting people started using perl, proposing optimized solutions, etc. Not for writing whole applications. If this is the case you might post to http://jobs.perl.org, profit and non-profit postings are frequent (though I imagine the non-profit get less response, given that most perl mongers have to pay rent and stuff). http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Online installer
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 program/data program/test.cgi program/data/config.txt 2. The user enters his server ftp username/password The user also enters some server variables like path to Perl, sendmail,... The user also enters some variables like where he wants the application to be installed on the server. His server path, username/password, e-mail address... and submits the form. 3. Now, at my server, where the application is located, here is what I need to do: Method A: ftp to the user server, and change to the directory he specified in the form make some directories (program, data) copy all the files from my server to those directories set the permission on these files/directories Open the test.cgi and change the path to Perl, and save it. Open the config file and enter the variables the user entered and save it. Method B: Open the test.cgi and change the path to Perl, and save it. Open the config file and enter the variables the user entered and save it. ftp to the user server, and change to the directory he specified in the form make some directories (program, data) copy all the files from my server to those directories set the permission on these files/directories I guess this is it! Hopefully this makes it more clear :) Now, if the different servers are a problem, I don't mind starting from Unix based servers and just address those. Soheil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Online installer
On Sun, 18 Aug 2002 at 01:13, Soheil Shaghaghi opined: SS:Thanks Jim :) SS:I've actually seen such scripts on the web, so I know it's possible. SS:One thing that is not the job of this script is to actually look for server SS:details. These should be determined by the user. SS: SS:Basically, the user is required to enter certain information in the form, SS:like the path to Perl, sendmail,.. SS:Then the program changes the necessary variables and begins the SS:installation. SS:I think it would become more clear to everyone if I show you an example: SS:This is something close to what I am looking for: SS:http://www.stepweb.com/installer/install.html you should look into packaging your app up so it can be installed with MakeFile, in the same way that any CPAN module is installed. if i'm not mistaken, drieux recently posted a tutorial on creating a MakeFile. care to post that url again, drieux? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How fatalsToBrowser works ?
On Sun, 18 Aug 2002 06:08:38 +0800, [EMAIL PROTECTED] (Connie Chan) wrote: >$main::SIG{__DIE__} = \&Die4CGI::die; > >*BUT!! I still not understand, how can this overided >the orgional "die" ? Why shouldn't I write as : >open FH, $file or Die4CGI::die($!) ; Because your module says above that the MAIN SIG_DIE is equal to your subroutine Die4CGI::die. >Would anybody tell me more ? http://users.actcom.co.il/~choo/lupg/tutorials/signals/signals-programming.html It's written for c, but the idea is exactly the same. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Online installer
Wow... but I don't believe this can be accompolish without installing anything to client side computer(/server). Even you can, you are possibly doing the way on 'hack'. =) With some file tricky header decorations, you can auto run a file downloaded in Win OS(Me and previous) not patched. But I am not sure if this can be run on a Unix like server. A possible approach would be like this : At Server Side (Your server) A "config generator" which handles user's demanded request. A "Config phraser" to fedback to remote side computer. At Client Side (Remote Server) A "Request Engine", perhaps using LWP::* to query your server. With what they design to. A "Config phraser" to modify configs, with data respond on your server. Anyway, I believe that's a right way to choose Perl, because you will dealing with many servers. You don't need to change much on your code. Perhaps you can tell us more about what kind of I/O and service you want exactly. That would more easier to solve problems with piece by piece. Rgds, Connie - Original Message - From: "Soheil Shaghaghi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 18, 2002 1:04 PM Subject: RE: Online installer 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: Saturday, August 17, 2002 9:49 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Online installer > 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. Where are those 'website' located ? Do you mean you need a configurator at your local(server) side ? > 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 the program to be > installed, the name of the directory, and some variables, like the color of > the page, admin password, which will directly be inputted into the script > after the installation is completed. Or you mean some remote control services ? Rgds, Connie -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Online installer
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 to Perl, sendmail,.. Then the program changes the necessary variables and begins the installation. I think it would become more clear to everyone if I show you an example: This is something close to what I am looking for: http://www.stepweb.com/installer/install.html Soheil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]