Hi All,
My system: Windows NT 5.0 build 2195 / Apache/1.3.23 - PHP 4.1.1
Here is a nice snippet:
___
__
the result: 1 (however, I expected to see "2")
I have a form with 3 checkboxes x1,x2,x3. I want to build an array of
values from the checked boxes; I choosed the following approach:
1. build an array with all values
2. eliminate from array the "" values using unset
CODE:
$x = array($_POST['x1'],$_POST['x2'],$_POST['x3']);
do {
for ($i
Hi All,
I want to give access to resources (PDFs and some RTFs) only to registered
users and I also want to deny that kind of access to people that "guess"
the URL. I guess it is all about putting these files outside the web-tree
and somehow putting PHP to work.
Could you enlighten me ? :))
--
T
What is readfile90 ? I tried google and nothing.
MK> Yes, put the files outside of web root or protect them using .htaccess
MK> file. After authorization use readfile90 to serve the file. There are
MK> lots of tutorials on authentization and if you are using some CMS you
MK> might have all you n
Suggestions:
1. use a picture for the counter (with the image - handling library)
2. use a javascript script :)
David, thank you very much. I suspected smth. like this, but still, it is
weird: PHP already has the "&" operator (?) for assigning by reference. And
there is more: I noticed that if I use the "sort" function instead of
"array_multisort", it works as expected.
I still think there is a bug involved
I tried something like this:
";
echo $arrayB[0];
?>
The output is:
1
1
I think it should be:
1
5
Systems tested:
Windows 98 / PHP 4.2.2
Windows 2000 SP3 / PHP 4.1.1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7 matches
Mail list logo