I need to get the form field name from a form upload.
I've been using the upload object and looping through
my uploads:
foreach my $upload ($r->upload) {
# do stuff
}
The first form has 10 fields (labeled
upload1-upload10). For a quick hack I simply used a
counter and all was good:
my $upl
--- md <[EMAIL PROTECTED]> wrote:
> Is it possible to have row-level locking (as opposed
> to table-level or null locker) with MySQL 4.x and
> Apache::Session?
Looks like I get that with InnoDB automatically...
__
Do you Yah
gt; code up your own
> Apache::Session::MySQLNoLocks by changing a line in
> the current module.
Is it possible to have row-level locking (as opposed
to table-level or null locker) with MySQL 4.x and
Apache::Session?
--
md
__
Do you Yahoo!?
Yahoo! Tax
correctly :)
> If you look at the actual contents of
> Apache::Session::MySQL, you'll see
> that it's essentially just a config file. There's
> no need to be
> concerned about using Flex, but you could easilly
> code up your own
> Apache::Session::MySQL
We're using Apache::Session::MySQL (Apache::Session
1.54) and occassionaly see long lock times.
Also, we'll soon be adding a substantial number of
users to our system and I wonder if it would be wise
to move away from the table locking that is currently
being used with Apache::Session::MySQL.
I'
--- Perrin Harkins <[EMAIL PROTECTED]> wrote:
> Todd W wrote:
> > I have a table with some basic user information
> (first name, last name,
> > address,
> > phone number, etc...).
>
> That's permanent data, not session data. Session
> data is transient.
I was reading through the archives and
Thanks...you've given me plenty to work with. Great
explination. This is good pragmatic stuff to know!
__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
--- Perrin Harkins <[EMAIL PROTECTED]> wrote:
> There are a few ways to deal with this. The
> simplest is to use the
> "sticky" load-balancing feature that many
> load-balancers have. Failing
> that, you can store to a network file system like
> NFS or CIFS, or use a
> database. (There are
--- Perrin Harkins <[EMAIL PROTECTED]> wrote:
> >Current page name and id are never stored in db, so
> >different browser windows can be on different
> >pages...
> >
>
> I thought your session was all stored in MySQL. Why
> are you putting
> these in the session exactly? If these things are
--- Perrin Harkins <[EMAIL PROTECTED]> wrote:
> md wrote:
> That doesn't sound very global to me. What happens
> when users open
> multiple browser windows on your site? Doesn't it
> screw up the "current
> page" data?
I don't think "g
I'm using mod_perl and Apache::Session on an app that
is similar to MyYahoo. I found a few bits of info from
a previous thread, but I'm curious as to what type of
information should go in the session and what should
come from the database.
Currently I'm putting very little in the session, but
wha
--- Stas Bekman <[EMAIL PROTECTED]> wrote:
> In any case we are talking about registry scripts,
> aren't we? In that
> case it takes very little time to turn it on and off
> and test what is
> better. Unless you are talking about writing full
> fledged mod_perl API
> handlers, which is only wh
--- Cees Hek <[EMAIL PROTECTED]> wrote:
> I would build your application using plain old CGI,
> following the guidlines that
> mod_perl provides for running CGI applications under
> the Apache::Registry
> module. If you properly analyse your application,
> and build small tight CGI
> scripts,
Hello,
I'm working on a dynamic site that I originally
thought I would do with mod_perl. Now after reviewing
the requirements and available hardware, I wonder if
mod_perl will be my best solution.
The machine will not be a huge box (though I wasn't
provided much in the way of specs) and will onl
--- Perrin Harkins <[EMAIL PROTECTED]> wrote:
> I don't really see the problem. You can map all the
> URLs that end with
> a certain extension to one module that does some
> work and then calls a
> template.
OK...the little light bulb has just come on...
I didn't realize that I could put
--- Per Einar Ellefsen <[EMAIL PROTECTED]> wrote:
> At 16:04 13.06.2002, md wrote:
> >What I'm really trying to do is more like the PHP
> I'm
> >replacing. I should be able to go to:
> >
> >www.someserver.com/index.phtml for a dynamic page
> &
--- Per Einar Ellefsen <[EMAIL PROTECTED]> wrote:
> At 23:06 12.06.2002, md wrote:
> I'm not quite sure about this, been wondering about
> it, but in theory you
> should be able to use
> DirectoryIndex index.phtml
> and like that you won't have to worry abo
--- darren chamberlain <[EMAIL PROTECTED]>
wrote:
> If you use a translation handler, you can just
> return DECLINED for
> everything you aren't specifically handling, and let
> mod_dir do it's
> thing, instead of emulating it.
I still would like to check first if there is an
index.phtml templa
--- Per Einar Ellefsen <[EMAIL PROTECTED]> wrote:
> At 19:14 12.06.2002, Per Einar Ellefsen wrote:
> >
>
> Sorry, make that LocationMatch
>
> >...
> >
>
> And of course.
That should work...thanks.
For the most part *all* .phtml pages will be doing the
same thing, taking session data and par
--- Per Einar Ellefsen <[EMAIL PROTECTED]> wrote:
> Can't you just drop the and use
>
>SetHandler
>
> or something like that? Seems like it would avoid
> some overhead for you.
True...but the files don't actually exist. The
path/filename is used to map to a template.
> However, I'm
--- Aaron Ross <[EMAIL PROTECTED]> wrote:
> Would
>
>
>
>
>
> do the trick?
No...the files don't actually exist under htdocs since
I'm using Template-Toolkit.
Thanks though.
__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World C
I'm replacing an exisiting PHP site with mod_perl and
Template-Toolkit.
I normally set up mod_perl to use a location like
this:
and set the handler to my mod_perl module.
However, I need to map to "/" since I'm replacing a
system where there are existing PHP files like
www.someserver.com/inde
22 matches
Mail list logo