Look @ http://www.phpbuilder.com
There is/are article(s) about
sessions.
Andrey Hristov
- Original Message -
From: "nirat" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 8:46
AM
Subject: [PHP-DB] sessions in
PHP
> can
');
function foo($par1=1,$par2=2,$par3=3,$par4='foo_bar',...){
...
}
In the case when I've few parameters I've to remember their order, so why not
$bar=foo('par2'=>10);
I want to pass value to only one or more but not to all params. Also this will make
the cod
Set internal member variable $class_name='CSomeClass';
The call is for example
print CSomeClass::class_name;
I'm not sure whether this works 100% but I think it works.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From:
what I have to do?
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Andrey Hristov" <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 1:14 PM
Subject: Re: [PHP] Feature?
> On Tue, 2
You have to have one script for the page and one which serves the image. Also it's
possible to use just one script by using GET but
this is a mess
some_script.php:
...
get_image.php:
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLU
New SESSID will be generated because the old expired and because all rely on the
SESSID which is the "hash key" to the data no
previous data will be available.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Arpad
for ($i=1;$i<36;$i++){
if (${"link".$i}){
//it's real
}else{
// none
}
}
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Jordan Elver" <[EMAIL PROTECTED]>
To: "PHP General
SELECT * from some_table WHERE some_field IS NULL;
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 4:09 PM
PHP Classes are not so powerful as C++. No there is no division ot private and public
or protected. All is public but good technique
is to name methods you prefer to be private with a underbar at the start.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
Hmmm,
Original: $_this->foo = "bar";
I think that it must be:
$this->_foo = "bar";
Have fun.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Nick Winfield" <[EMAIL PROTECTED]>
To: &l
class Test {
function Test() {
$_this->foo = "bar";
}
}
$n = new Test;
echo "foo: " . $n->foo."\n";
var_dump($n);
returns :
foo:
object(test)(0) {
}
So there is no member variable which you meant to be private in the instance $n of
class Te
the content
to the another page on the other server, also
you can parse it to make modifications.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Sheni R. Meledath" <[EMAIL PROTECTED]>
To: "PHP Masters" <
Let this be last message in the thread. Thanks for the examples! I'll wait for PHP5.
There is a possibility that this feature will
be in.
Have fun
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
> - Original Message -
> From: <[EMAIL PR
On Friday 05 October 2001 18:10, you wrote:
> Use crypt()/decrypt() couple.
>
> Andrey Hristov
> IcyGEN Corporation
> BUILDING SOLUTIONS
> http://www.icygen.com
>
> On Friday 05 October 2001 17:53, you wrote:
> > Here are some simple xor encoding functions that I
ooops , sorry
On Friday 05 October 2001 18:48, you wrote:
> > On Friday 05 October 2001 18:10, you wrote:
> > > Use crypt()/decrypt() couple.
> > >
> > > Andrey Hristov
>
> From the PHP doumentation on crypt:
>
> There is no decrypt function, since
select * from some_table Limit 10,30;
syntaxis
limit ,
Andrey Hristov
IcyGEN Corporation
Building Solutions
On Friday 05 October 2001 18:52, you wrote:
> I am a bit new to PHP -- normally use ASP (no booing, please) -- and trying
> to find an elegant solution to paging x number of record
select first.*,second.*,third.* from first left join second
using(for_key_first_second) left join third using(for_key_2_3);
On Friday 05 October 2001 18:50, you wrote:
> Hello,
>
> > you can always reset the auto_increment value (I think that is as simlple
>
> as
>
> > "set insert_id=1;" but you
After getting the PHP source from the CVS and compiling I tested with
phpinfo(). The result was amazing :
===cutted=
http://www.php.net/";>PHP Version 4.0.8-dev
===cutted=
--
Andrey Hristov
IcyGEN Corporation
BALANCED SOLUTIONS
http://www.ic
are equivalent. from_ip and to_ip gives you
range.
Andrey Hristov
IcyGEN Corporation
BALANCED SOLUTIONS
http://www.icygen.com
;
On Friday 05 October 2001 21:12, you wrote:
> What would be the most effective way to create blocking of users by ip
> using mysql. In such as way that the "blocking
Escape the [] with \.
$pattern='\[find\]';
echo preg_replace("/$pattern/","[find]");
Andrey Hristov
IcyGEN Corporation
BALANCED SOLUTIONS
http://www.icygen.com
On Friday 05 October 2001 21:17, you wrote:
> Hello!
>
> I just want to replace a string with
Yes there is php encoder available but it is not free -> go to
http://www.zend.com whers Open Software meets eBussiness.
Also there si phpcompiler. I didn't tested it. Go to google.com and try to
find "phpcompiler.zip" sooner you will find it but be patient.
Andrey Hristov
301 - 321 of 321 matches
Mail list logo