er of rows to return:
mysql> select * from table LIMIT 5; # Retrieve first 5 rows
In other words, LIMIT n is equivalent to LIMIT 0,n.
Rod Kreisler wrote a nice article on Building Next/Prev Buttons for Query
Results:
http://www.phpbuilder.com/columns/rod20001214.php3
hope it helps :)
mvgr,
Jof
make and a make install in your
apache sourcetree and restart apache using apachectl
with kind regards,
Joffrey van Wageningen
--
.-[ Joffrey van Wageningen | WoLFjuh | [EMAIL PROTECTED] ]--
| Networking Event 2000 - www.ne2000.nl - IRCnet:#ne2000, Undernet:#clue
| PGP:1024D/C6BA5
, "third", "fourht");
$filearray = file("/my/file");
for($x = 0; $x < count($filearray); $x++)
$newfilearray[$keys[$x]] = $filearray[$x];
$filearray = $newfilearray;
i think only a write version of file could be a useful function for php...
mvgr,
Jof
If the first one is valid then do not check for the other.
>
> Get what I mean?
> Any expert programmers out there with the way to chop this even further?
test it :)
mvgr,
Joffrey van Wageningen
--
.-[ Joffrey van Wageningen | WoLFjuh | [EMAIL PROTECTED] ]--
| Networking E
me, no way back... md5 is used to make a sum of a load of
data and compared by a second sum to see if the data matches (like passwords
or file integrety)
if you want 7bit encoding try base64_encoding and _decoding
hope you can have a good night sleep :)
mvgr,
Joffrey van Wageningen
--
der request, I can have a (much) smaller network traffic.
>
> My question: how can I specify a custom HTTP header
> in the fopen("http://...";,...) function ???
i think the best way is to use
http://www.php.net/manual/en/function.fsockopen.php
and send your your own headers.
phpbuilder has a good article on prev&next buttons, the code is based on
mysql but take a look at the mysql & odbc functions... view, compare and
adjust to your needs:
http://www.phpbuilder.com/columns/rod20001214.php3
with kind regards,
Joffrey van Wageningen
ne2000.nl
- Original
is a little to bloated[1] for a simple
solution for a realtime chat :)
/me is taking a extra jolt on ircg :)
Joffrey van Wageningen
ne2000.nl
--
[1]
bloat·ed (bltd)
adj.
1.. Much bigger than desired: a bloated bureaucracy; a bloated budget.
2.. Medicine. Swollen or distended beyond normal size
t;;
foreach($arr as $key => $val)
{
if($c)
echo ", ";
if(is_array($key))
displayarr($key);
else
echo "\"".$key."\" => ";
if(is_array($val))
displayarr($val);
else
echo "\"".$val."\&
i forgot to mention in my last code sniplet:
just run the script (maybe touch a new file in /tmp and give it readwrite
rights)... you will have a run for 30 seconds (the php timeout)
if you want to add a line edit the file manualy or use the sniplet:
sniplet.php?new=mynewline
:)
--
PHP Gene
end a notice to the webserver the client recieved the line...
but thats a choice by the designer of a specific system, every chat has his
own needs of connection integrety.
hope my 5 euro cents help... :)
Joffrey van Wageningen
ne2000.nl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
vascript to move the data from the http stream window to the
display window
* a db backend and maybe a check (with the post, or the refresh) which lines
have been received by the client
* a cute design :)
with kind regards,
Joffrey van Wageningen
ne2000.nl
hi all,
i need to unset a session cookie, i foud out header("Set-Cookie:"); does not
work for a php session (http://bugs.php.net/bug.php?id=14227)
request for clue...
with kind regards,
Joffrey van Wageningen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
i recon this is a way too, the website does not support to much
information about how to use a tool like APD.
create_function is a php native function so support, stability and
usability is much greater than a 3rd party Zend Extention in early beta :)
with kind regards,
Joffrey van Wageningen
to create array's of functions :) try it :P
with kind regards,
Joffrey van Wageningen
On Tue, 13 Nov 2001, Andrey Hristov wrote:
> I think it's not possible.
>
> Andrey Hristov
> IcyGEN Corporation
> http://www.icygen.com
> BALANCED SOLUTIONS
>
>
>
a great way to debug things like this is to use var_dump or print_r...
http://www.php.net/manual/en/function.var-dump.php
http://www.php.net/manual/en/function.print-r.php
short and simple :)
with kind regards,
Joffrey van Wageningen
On Fri, 9 Nov 2001, Hidayet Dogan wrote:
> Or ot
16 matches
Mail list logo