Hello all, I am a newbie to the world of scripting and am pretty sure this is a basic question. I have Apache::ASP installed and the samples work great so I...
brentatkerson
brent@...
Oct 1, 2003 1:23 pm
1371
Hi Brent, ... What does $Response->Write("Hello World") = Now() supposed to do?? First, $Response->Write("Hello World") is not supposed to be a leftvalue, so...
Fagyal, Csongor
concept@...
Oct 1, 2003 1:32 pm
1372
Thank you, I will try that. My goal here is to learn enough ASP/Perl to accomplish a specific goal with a web site we are creating and then learn more...
brentatkerson
brent@...
Oct 1, 2003 1:40 pm
1373
Okay, this is the result Hello World164691910332731 . Making progress, but how/where would a newbie go to find the localtime time thing? I think that is...
brentatkerson
brent@...
Oct 1, 2003 1:48 pm
1374
Brent, ... ASP is not PHP. If you start learning ASP without knowing a little bit of Perl, you might get disappointed. I recommend that you first learn some...
Fagyal, Csongor
concept@...
Oct 1, 2003 1:49 pm
1375
... Oh... well :-) ... Apache::ASP "uses" the built-in perl functions, plus extends them with some objects/events/etc. The later group is discussed at the ...
Fagyal, Csongor
concept@...
Oct 1, 2003 1:54 pm
1376
Thank you so much and I will be monitoring this group for some time trying to pick up on this stuff. Just wish I knew it all already :-/ Brent ... time ... of...
brentatkerson
brent@...
Oct 1, 2003 1:56 pm
1377
Awesome link, thanks. ... time ... of ... with ... at ... understand ... -- ... To unsubscribe, e-mail: asp-unsubscribe@... For additional...
brentatkerson
brent@...
Oct 1, 2003 1:58 pm
1378
Okay, I seem to have missed the boat, I still cannot figure this out, think I still have syntax wrong. I have been to the link you provided and still cannot...
brentatkerson
brent@...
Oct 1, 2003 5:04 pm
1379
... try 'scalar localtime time'. localtime outputs a 'human readable' type string when you call it in scalar context, which the scalar function forces. You...
Skylos the Doggie
skylos@...
Oct 1, 2003 5:13 pm
1380
... Ok, try this: <% $Response->Write(''.localtime(time)); %> or simply <%= ''.localtime(time) %> [ Those are two '-s, not one " :-) This is (one way) for...
Fagyal, Csongor
concept@...
Oct 1, 2003 5:16 pm
1381
Hi, you can also use various Data and Time related perl modules to get a nicer formatting, for example: <% use Date::Format; use Date::Language::German; my...
Helmut Zeilinger
h.zeilinger@...
Oct 1, 2003 7:58 pm
1382
... or good old fashioned POSIX functions. use POSIX; print strftime("%y-%m-%d %H/%M/%S", gmtime(time)); -- Ian Cass ... To unsubscribe, e-mail:...
Ian Cass
ian.cass@...
Oct 2, 2003 8:04 am
1383
... Looks like a 1 to 1 ratio of start to end messages now. :) Thanks! ... To unsubscribe, e-mail: asp-unsubscribe@... For additional commands,...
David Morton
mortonda@...
Oct 2, 2003 9:05 pm
1384
... In recent versions of Apache::ASP, I do not believe you need RemoveTaint, so if you just remove that Perl block entirely, I think you will be fine. Also be...
Josh Chamas
josh@...
Oct 8, 2003 5:09 pm
1385
... I'll read up on that. Thanks. ... I'm running mod perl 1.99_09. 07 gave funky compile stuff. Using <Perl > instead of <Perl> as Stas suggested seemed to...
Chris M
chrism@...
Oct 8, 2003 5:25 pm
1386
hello. i would like to disable the session manager for non-webbrowser user agents. i have implemented the code as shown in the faq but after 24 hours, sessions...
Remi Fasol
re_mi_fa@...
Oct 10, 2003 7:58 pm
1387
... That's not good. ... The init handler code should run each time after the PerlSetVar does its thing. I am not sure what would be inconsistent about it...
Josh Chamas
josh@...
Oct 10, 2003 8:22 pm
1388
hello. i am trying to update a system that has been running perfectly under v1.95. most of my pages transfered over fine, but so far, one of them doesn't. ...
Remi Fasol
re_mi_fa@...
Oct 10, 2003 9:08 pm
1389
... It looks like in the latest release that $Server->URL($url, {}) needs to be called, but this should not be the case and I will fix this so that you can...
Josh Chamas
josh@...
Oct 10, 2003 10:50 pm
1390
Hi, I would like to map all incoming requests of a virtualhost to the same ASP file. Is there a way I can do this without using mod_rewrite? So I need ...
Fagyal, Csongor
concept@...
Oct 13, 2003 12:17 pm
1391
... In my config, I map a specific pattern through to an ASP, but you could just match anything: httpd.conf: PerlTransHandler Some::Redirect; startup.pl: ... ...
Peter Galbavy
peter.galbavy@...
Oct 13, 2003 12:21 pm
1392
Thank you, Peter, it looks like this is exactly what I need! - Csongor ... To unsubscribe, e-mail: asp-unsubscribe@... For additional commands,...
Fagyal, Csongor
concept@...
Oct 13, 2003 12:30 pm
1393
... Hi- I'll assume that you're running on Apache. This is ridiculously easy with Apache's mod_rewrite. Basically, you just turn rewrite on and direct every ...
Quentin Smith
quentins.l@...
Oct 13, 2003 1:57 pm
1394
Quentin, ... Well, it would be, but I want to do it without using mod_rewrite. First, mod_rewrite is not available on the target server :-) Second, I also want...
Fagyal, Csongor
concept@...
Oct 13, 2003 2:22 pm
1395
... Ooops. Didn't see that clause in your question :) Sorry, --Quentin ... To unsubscribe, e-mail: asp-unsubscribe@... For additional commands,...
Quentin Smith
quentins.l@...
Oct 13, 2003 3:35 pm
1396
... The notion of a single process executing all Apache::ASP requests can be implemented today via the threaded/worker MPM in mod_perl 2 / Apache 2. The trick...
Josh Chamas
josh@...
Oct 22, 2003 4:29 pm
1397
Hi all! I am using the XML engine to embed dynamic content into an HTML page via Apache::ASP. What I need is a simple way to retain the values of the variables...
luciflatum
llucif@...
Nov 2, 2003 9:58 pm
1398
Hi TIA, you could use a unique package name (as Apache::ASP does it with global variables without explizit package name - i think), for example some kind of...
Helmut
helmut@...
Nov 3, 2003 5:51 pm
1399
Hi TIA, correction: <my:display variable="$Session->{'loaded1'}"/> or <my:display variable="<%=$Session->{'loaded1'}%>"/> seem not to work, because ASP does...