Hmmm.. I'm sure it could with some work..<br /><br />I'm sure mod_perl could also, but maybe it would just take a lot of thinking to figure out a different way of doing it so that mod_perl wouldn't freak out? I dunno.. Anything is possible, but I guess not everything is feasible huh? :)<br /><br />err I mean it's possible but probably not feasible (like.. it might require re-writing how la nuages are handled....etc.. dunno.. but I know it can be done hehe)<br /><br />Does it not work because language vars are global? (ugh)<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg<P ID="edit"><FONT SIZE=-1><EM>Edited by PeelBoy on 10/17/00 02:14 PM.</EM></FONT></P>
_________________________
------------------------------------------------ Jeremy 'PeelBoy' Amberg
Sounds to me like you're saying - in a roundabout way - that NO, php can't handle it either! Umnn - so what's with these supposedly 'improved' languages!?! <br /><br />I want somrthing that offers *more* not less...<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
Rick
Guru
Registered: 05/11/99
Posts: 8372
Loc: Olympia, WA
php would allow you to have the language switcher in it. You don't have the pre-compiling that you do with mod_perl.<br /><br />Mod_perl pre-compiles all declared .pm files. And since w3t.pm needs to have language files it compiles those in at startup. That is why you can't switch languages. Under normal perl it checks the cookie each time w3t.pm is compiled (oncer per script) and compiles the proper language for that one instance.<br /><br />---<br />Scream<br /><A HREF="http://www.wcsoft.net" target="_new">http://www.wcsoft.net</A>
Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
The dbi interface that perl uses to connect to db's..<br /><br />when you say<br /><br />$dbh = DBI -> connect();<br /><br />You are creating an object called $dbh, or an "instance" of the DBI class.<br /><br />Anything you do to $dbh effects that object..<br /><br />So now when you want to make a query to that db, you use $dbh..<br /><br />$blah = $dbh -> prepare ("SELECT .....");<br /><br />and now you can execute the $blah object to get the results.. etc..<br /><br />You can create multiple db connections and store them in different objects<br />and then do queries on which ones you please..<br /><br />Something like that anyway..<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------ Jeremy 'PeelBoy' Amberg
Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
Scream is right..<br /><br />I wasn't saying it isn't possible in PHP.. I'm pretty sure it IS possible (with out any weird hacks) but since I don't know 100% about how it works and stuff, I wasn't sure if it would work in PHP or not (so I kept my big mouth closed so I don't look like a fool.. I'm good at that) =)<br /><br />What I was saying is that you can get it to work with mod_perl, but probably not with out doing some major hacks on the way languages currently work (in other words, it's possible but not feasible)<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------ Jeremy 'PeelBoy' Amberg
Why does my web host for a dedicated Cobalt RAQ say<br />"a php based forum will be easier on the server then a perl based forum"<br /><br />Is PHP easier on the server then perl when there are a lot of hits.<br /><br /><br /><br /><A HREF="http://www.flyin.com" target="_new">http://www.flyin.com</A>
Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
Yes, but I'm not sure about mod_perl..<br /><br />For every hit your server gets, another instance of perl is started (so that it can execute the cgi file that the user requested).. <br /><br />mod_perl and php are both run from the apache server level, and a new instance isn't started for each hit you get. Everything is already there and running..<br /><br />That probably helps free up quite a bit of memory for the server when you have a heavy load also.<br /><br />I'm sure there is a bunch of other stuff too that I don't know about.. I just know the basics of it :\<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------ Jeremy 'PeelBoy' Amberg
YESSSSSS!!!!<br /><br />>>php would allow you to have the language switcher in it. <br /><br />Count me in - big time. It can't happen soon enough. []/w3timages/icons/laugh.gif[/]<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
It can't happen soon enough.<br /><br />Minus of course the real 5.1 release []/w3timages/icons/wink.gif[/]. And I now have a moderated forum, so admin changes are welcome too!<br /><br />Lee.<br /><br />
Hey, we attracted Scream's attention - and that's what counts. []http://www.amdragon.com/images/icons/devil.gif[/]<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
Registered: 08/14/00
Posts: 492
Loc: poilville, in the republic of ...
ya technically laguange switching could be done on the fly without a doubt. someone at vb was working on a way to switch all the text on the fly. like this post in spanish. but i don't think it went that far.<br /><br />and lastly i wanna integrate wwwthreads (perl for now), with phpnuke.org somehow. just the user base at least.<br /><br />--------------<br />your ad here! adspace@extremeforums.org<br /><A HREF="http://www.extremeforums.org" target="_new">http://www.extremeforums.org</A>