Hi all,
Here is the situation.
I have Windows 2000 SP2, IIS5 running PHP 4.1.1 using CGI.
My PHP folder is C:\php
Extension Folder is: C:\php\extension
PHP.INI file: extention_dir = C:\php\extension\
Are you sure the foldername is extension?
Just asking you to doublecheck since the
Bug in str_replace(), PHP 4.0.6
$text = hello world;
$out = str_replace( , ,$text);
echo $out;
Expected output:
hello world
Actual output:
hello world
Of course, this is what happens if str_replace() does replacements on input,
but not on the
We're developing a web platform based on PHP, running under Apache. We have
realized that we need a way of split up the serverload to multiple
machines if it gets too high. We've come up with PHP solutions to the
problem but are looking for better ones, especially in Apache configuration.
Is
Hi all,
I have just rename the php.ini-dist to php.ini from the
installation directoy but am not sure where to place it in
order for php to
rea,, any help??
thanks
What OS are you running PHP on?
/Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
you could load all nessecary data once and put in a javascript
array or something, not sure i understand what you have done here
and what's so special about it tho
/Martin
I used a Microsoft Object Control to get data from the
database and display
it on the page
without refreshing the
hello everyone,
how can i set the expiration of my sessions with or without
the cookies enabled? say if a user idles for some time, the
session will now expire.
TIA!
jessie
I'm using a solition that's something like this:
first, each time a user logs in to the site, a
-Original Message-
From: Martin Lindhe
Sent: Wednesday, September 12, 2001 5:34 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] how to set session expiration
hello everyone,
how can i set the expiration of my sessions with or without
the cookies enabled? say if a user idles
on Apache 1.3.20.
I've looked at both PHP and Apache documentation about this, but
i havent found any information or examples on how this could be solved,
so I'm asking the question here in hope for help.
Thanks!
/Martin Lindhe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
. Sorry but Your question is not
good explained.
Please read my mail again, I tried to described my problem as good
as possible.
Martin Lindhe wrote:
I need to solve the following problem, but I can't figure out how:
Let's assume we have a server called www.test.com
When a user access
Hi Martin,
Take a look at the Apache mod_rewrite docs.
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
Thanks alot!
I made a similar solution which works
RewriteEngine on
RewriteRule ^/x/(.*) http://www.server2.com/users/$1;
takes www.server1.com/x/martin to
I think I remember doing it a while ago. But I think you need to use
mod_alias instead. Take a look here:
http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect
The Redirect/RedirectMatch/RedirectTemp might do it.
RedirectMatch permanent ^/x/(.*)
useful link: http://www.apache.org/docs-2.0/misc/rewriteguide.html
RewriteEngine on
RewriteRule ^/x/(.*)http://www.server2.com/users/$1 [P]
Hm, what does the [P] do? I played around a bit and figured that
a [T] does the trick for me, thanks!
/Martin
--
PHP General Mailing List
12 matches
Mail list logo