newbie01 perl asked:
> At the moment, I have some sort of INI/config file that I edit manually
> via vi. These config files are "simple" delimited file that are used by
> some of the scripts running on the server.
>
> I want to be able to the same thing via cgi-bin, can anyone advise where
> to s
Sara <[EMAIL PROTECTED]> suggested:
> I always used 'phpmyAdmin' for such tasks. Give it a try.
Great idea! That's like handing loaded guns to people
while telling them to keep them pointed at their feet ;-)
But to get back to Glauco's message:
> > I do a query to mysql table and view the result
> I need to translate a URL with a POST query string into a URL
> like this:
>
> http://mysite.com/pages?id=1234
> should become
> http://mysite.com/pages/1234
OTTOH:
RewriteRule ^/pages/([^/]+)/?$/pages?id=$1 [QSA,NS,L]
Or even easier, leave your URL like that and parse the
PATH_INFO
Chris Devers <[EMAIL PROTECTED]> suggested:
> Have you considered prefixing that command with `sudo`, and
> going into the sudoers file to allow the www user that privilige?
>
> Of course, it would be a bit more complicated than that, as
> sudo will prompt for a password that you have to pass ba
Ing. Branislav Gerzo <[EMAIL PROTECTED]> asked:
> user come to website, write in textbox some IPs, I want send
> this input to my perl script (parse that text, takes IPs, do
> operation with them - insert them to database, check
> them...), and send results via _PHP_ to user.
I have a really na
Ing. Branislav Gerzo <[EMAIL PROTECTED]> asked:
> 2. on my server in uppercase.cgi all text change to uppercase and this
>result I want send back via _PHP_ to user.
Theoretically it should suffice to make sure that your
output has the proper MIME type for a PHP document, i.e.
"application/x-ht
Hi,
Johann Tagle <[EMAIL PROTECTED]>
> I have a script that receives certain data from an html form,
> processes them, then submits the processed data to another
> script. Problem is, I want it to do so without having to
> click anything anymore.
[...]
> Any ideas?
Have a look at LWP and in
Hi,
Octavian Rasnita <[EMAIL PROTECTED]> asked:
> Does anyone know what could be a reason a perl program gives
> a segmentation error each time I run it under Linux?
This sounds like one of the libraries you're using was built for
a different version of Perl or with a different set of libraries.
Hi,
Jan Eden <[EMAIL PROTECTED]> wrote:
> and thanks for all the previous suggestions regarding email
> modules. Now it turned out that my ISP refuses to let me
> install *any* additional Perl module on the server, so I have
> to use sendmail.
Well, I'm sure he won't let you install a module i
Octavian Rasnita <[EMAIL PROTECTED]> asked:
> Does anyone know what line I neet to print after using the
>
> crontab -e
>
> command, in order to run a program every half an hour, at 0
> minutes and at 30 minutes?
You need to print out the crontab manpage and read it. If you
don't have them on
mark o' sullivan <[EMAIL PROTECTED]> asked:
> I'm trying to include javascript code in my perl script but
> I'm getting the
> following error 'Can't find string terminator "EOF" anywhere
> before EOF at calendar.pl
> Anyone have any ideas why I might be getting this error.
Usually that's either
Hello Mark,
> Any ideas is it possible to read the address bar through perl alone?
Assuming that you meant a web browser's address bar
running on a client you don't control, no. And that's
not even considering that there are clients without
address bars ;-)
But why would you want to do that, any
Hi Mark,
> This may be a very simple problem but I just can't see the
> solution.
> # prepare and execute query
> my $sth = $dbh->prepare("SELECT Time,Person
> FROM bookingform
> WHERE Date = '$totalYear'");
> $sth->execute();
>
> while(my $Pers
Hello Stephen,
> Does anyone have any recommendations for a perl cgi script that will
> accept input from a HTML form and verify that the form input
> isn't going to do something nasty?
>
> At present the CGI we are using is based on form-mail.pl which is
> apparently notorious for security hole
Yehezkiel B Syamsuhadi <[EMAIL PROTECTED]> asked:
> What does this line mean?
>
> use CGI qw(:cgi-lib :standard);
The qw operator makes a text into a list by splitting at
the whitespace.
That list is passed to the module as an argument. In
CGI.pm's case these arguments are used to specify what
s
Octavian Rasnita [mailto:[EMAIL PROTECTED] wrote:
> Thank you, but $0 will tell me the path and the file name of
> the script.pl file, not the path from where I ran the script.
So the FindBin module is not what you need?
> Now, I could run pwd and get what I want, but in fact I need
> to run t
16 matches
Mail list logo