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
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 Center - forms, calculators, tips, more
http
--- 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 Yahoo!?
Yahoo! Tax Center
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.
a config file. There's
no need to be
concerned about using Flex, but you could easilly
code up your own
Apache::Session::MySQLNoLocks by changing a line in
the current module.
That's what I figured and that's what I'm going to do.
Thanks again,
--
md
--- 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 came across
--- 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 also
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
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
--- 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 global was the term I should have
used. What I mean is data
--- 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
not relevant
--- 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, then
--- 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 when your
--- 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 about / etc
anymore.
Try it out..
And so I
--- 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
and
www.someserver.com/index.html for a static page.
Does PHP
--- 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 my
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:
Location /something
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
--- Aaron Ross [EMAIL PROTECTED] wrote:
Would
Files *.phtml
/Files
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
--- Per Einar Ellefsen [EMAIL PROTECTED] wrote:
Can't you just drop the Location and use
Files *.phtml
SetHandler
/Files
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
--- Per Einar Ellefsen [EMAIL PROTECTED] wrote:
At 19:14 12.06.2002, Per Einar Ellefsen wrote:
Location .*\.phtml|/
Sorry, make that LocationMatch
...
/Location
And /LocationMatch of course.
That should work...thanks.
For the most part *all* .phtml pages will be doing the
same
--- 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 template
21 matches
Mail list logo