> > Do you null the user if the IP changes? IPs can change
> > during a user's
> > session, so I wouldn't base the validity of the session
> > solely based on IP.
> When that happens a user has to relogin. No data will be lost.
Relogin? Huh, I'd never visit a site where I have to login on every
Hi,
I'm trying to make some kind of caching system that first delivers
the old page, and then regenerate the new one "in the background". I
achieved this with register_shutdown_function(). The registered
function starts the real work, the normal php script just delivers
the old page (of course
Hi,
No one has any idea on this topic? Or the question wasn't clear?
Thanks,
Arpi
> Hi again,
> I read my email back and found a little hard to understand :)), so
> I thought a code exmplae might help.
> It's just pseudo code for explaining how my cache works:
>
> //simplified "main" code
Hi Everyone!
I have an idea, but I don't know how to realise it, if it can be at
all.
We have a relatively big system, with 52k lines of php code without
much html, and many classes (1138) that depend on each other.
And I think I don't need to say that php parses the code somewhat
slow. That's
Ok, Thank you for your help Miguel and Maxim, I'm trying to do it by
the help of your suggestions.
Arpi
> > >Also, you can find out if a class was defined by calling
> > >'class_exists()'. In this way you might save something.
> > >The best way thought is what Miguel was saying: load t
Hi Eric (and others who might help),
Actually I haven't tried the custom error handler for "function or
class definiton not found errors" because I read in the manual that
the processing is continued after the "statement" where the error
raised. I also thought of a little hacking in php's sour
On Wednesday 17 October 2001 19:47, php wrote:
> Hello,
>
> Warning: Unknown list entry type in request shutdown (0) in
> Unknown on line 0
> appears on the bottom of every script I call that uses domxml.
> I have no idea was causes it... Any tips?
try to use (and compile php with) another versio
On Friday 19 October 2001 11:52, George Pitcher wrote:
> Hi all,
>
> I am delivering my PDF files from a non-internet directory. The
> file gets delivered but the filename is always changed to the name
> of the php script.
>
> Can anyone tell me how to get the file delivered so that the name
> sta
On Wednesday 24 October 2001 16:42, Kurt Lieber wrote:
> On Wednesday 24 October 2001 00:30, you wrote:
> > What we
> > really need is an expert here to give us the low-down on the best
> > way to accomplish the best security given regular tools.
>
> There isn't a way to solve it within the constr
On Wednesday 24 October 2001 19:14, Richard S. Crawford wrote:
The default value for $image parameter was missing:
> function top ($image="defaultvalue") {
> if ($image=="defaultvalue") echo "blah blah blah";
> else echo "blah blah $image blah";
> }
>
Arpi
--
PHP Gene
On Thursday 25 October 2001 09:47, Joseph Blythe wrote:
Hi,
bad news
disable_functions doesn't work for me either in apache's config file
I tried it with php_value, and php_admin_value, also in .htaccess
with php_value without any luck
php4.0.5, Apache/1.3.14
bye,
Arpi
> Hey All,
>
> W
Hi,
Do you have msyql-dev (or similar) package installed?
Arpi
> I have tried the following, each time removing config.cache
> beforehand:
>
> --with-mysql=/usr
> --with-mysql=/usr/include
> --with-mysql=/usr/include/mysql
> --with-mysql=/usr/lib
>
> According to a friend with mysql Debs
On Monday 24 September 2001 17:56, Thomas Deliduka wrote:
Hi,
> PHPSESSID:
Try to use constant SID, maybe that will work, and it is more likely
that it will work on other intallations with other session variable
names.
>
> VAR 3: TYPE=SUBMIT VALUE="go">
>
You should add the session id (SI
>
> Then I will reload the first page again by erasing index2.php and
> hitting enter and it will display a new sess id number and show the
> first page, as normal but that sessid number is equal t the new
> session created on the server and the value of it is:
>
> var3; var1; var2
>
> This is str
Hi,
I don't know if I understand right the manual at the
session.gc_maxlifetime setting.
As I read, php won't use sessions that are older than that time.
It means that when a user logs in, and does his/her work for more
than (for example) 15 minutes, than he/she will be kicked off
immediately,
> Try addslashes() before executing the query and stripslashes() when
> retrieving data from the db. See the online manual for more
> details.
I think stripslashes() isn't needed when retrieving data from the db,
it is needed only in the query string to protect special chars from
interpretting
16 matches
Mail list logo