No sure if i get it, very inexperience user here I am. Baiscally if the
number of records returns is 20 records, in stead of display all 20 recodrs
in one column in a page, I would like to display that as 4 columns and each
columns has 5 recodrs displayed, how can I use limit statement to do that?
Hi,
After I run a query, how do I set the number of rows returned to display as 3 or 4
columns in a page instead of one column as usual?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Dear sir,
I am a 20 year old student doing a research project and I would like to have
network administration via web. That is I want to change IP address os the
system via web, want to do dns settings and also would like to do proxy
setting via web using PHP scripts. I am working on RedHat 6.
Greetings!
I made one script with mail <"email address">. It works in my home computer
(Linux and php 4) and not working in my web server (Linux and php 4). What
can be the reason?
Looking forward to hearing from you.
DT
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
Use a mysql mailing list and search around on the net. Don't be afraid to
try things. There are lots of tutorials out there, but I would ask the
mailing list because they are filled with people who will help you, but you
should try to help other people in the mailing list, too. Just and idea :-
I get the following warning when I turn on logging...
Warning: attempt to use an empty IV, which is NOT recommend in
/home/local/apache/htdocs/encrypt.php on line 21
Here is the code
$key = "testing";
$input = "Secret data";
$encrypted_data = mcrypt_ecb (MCRYPT_DES, $key, $input, MCRYPT_ENC
Hi,
you might want to take a look at this one:
http://www.thewebmasters.net/php/Htpasswd.phtml
Works in both php3 and php4.
Give you functions for adding/deleting/listing/renaming users + much more,
in standard .htpaccess password files.
I use it myself on several sites, it works great.
- t.a
sounds like you cannot afford NOT to have a second wife! DANG! Some
folk have all the luck :!
On Sat, Feb 03, 2001 at 09:25:35AM +0530, [EMAIL PROTECTED] wrote:
> tOn Fri, 2 Feb 2001, johnny p. wrote:
>
> > Hah! My wife has a formal education in graphics design. My web sites
> > would look lik
"Patrick L. Olson" <[EMAIL PROTECTED]> wrote:
> if I call it like http://127.0.0.1/cgi-bin/one.php
> with the shebang line #!php.exe
> I get the following error
> No input file specified
> if I call it without the shebang I get
> the Internal Server Error
> Error logs indicate the the #! is neede
I'd second Sean's endorsement of the New Riders book. I generally
am a fan of Oreilly books, but I can't figure out *what* was going
on there with the Mysql book. It's actually mysql and msql covered in one
book, with less docs than you can get online, from what I saw, and
seemingly very little
Hmm...well if you mean "can I upload a file from the web browser to the
web server", the answer is yes. See the php manual on zend.com.
http://www.zend.com/manual/
Regards,
Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
You need to go get yourself a copy of the MySQL book from New
Riders. Stay away from the O'Reilly one, it sucks.
Regards,
Sean
--
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 a
php-general Digest 5 Feb 2001 03:36:42 - Issue 493
Topics (messages 38109 through 38183):
Newbie:Cannot send session cookie...
38109 by: james
38121 by: Teodor Cimpoesu
Re: HTTP compression
38110 by: Sean Cazzell
38116 by: Alain Fontaine
38120 by: Te
> I don't mean to bash php in any way (as in the Ruby plugs in my last
> post). I use it because it has so many advantages over other more
> system-oriented not web-oriented languages for this type of work. It's
> fantastic.
I don't think anyone will take offense to your mentioning the adva
> I'm not even sure that the shell escape is even used in win32 perl - I think
> it's done via a regular file association.
So maybe he just needs to associate .php files with php.exe?
-Sean (who hasn't ever used php on windows)
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Ade,
You can try something like this:
while (list($column_name, $row_value) = each($row)) {
echo "$column_name,$row_value " ;
}
// loop thru each row and get an array of values for each row, listing them
// as name:value pairs
the above would be for mysql_fetch_array($array, MYSQL_ASSOC)
for o
I'm not even sure that the shell escape is even used in win32 perl - I think
it's done via a regular file association. I clearly remember setting it to
#!/some/fake/rubbish one time as a test and it still worked fine
I imagine the same would go for php.exe
jason
> Do you normally have #!perl.
Do you normally have #!perl.exe as your shebang?
Normally I'd see something like #!/usr/local/bin/perl or
#!/usr/local/bin/php
not sure of pathing issues on Windows for that.
#!c:\program files\php4\php.exe
?
"Patrick L. Olson" wrote:
> I must be missing something while I had no problem gett
I must be missing something while I had no problem getting
perl and SSI working getting PHP to work is eluding me
for some reason. I have added this to httpd.conf
can someone enlighten me on what may be missing
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType app
On Mon, 5 Feb 2001 07:01, [EMAIL PROTECTED] wrote:
> Hi,
>
> I am selecting data using the below and trying to insert it into a mail,
> it does everything except send the data selected, anyone have an idea?
>
> $SQLStatement = "SELECT * FROM Orders Where Status='N' Order by OrderID";
> $SQLConn =
James Smith wrote:
>Is there a way that when a user signs up for a
>user/pass on a site, to automatically update the
>.htpasswd on the site? Right now I'm running a Win2k
>Pro, with Apache installed and MySQL/PHP.
>
>Thanks,
>
>James
The quite simpliest method is to put appropriate directives
Hello Joe,
On 04-Feb-01 22:01:37, you wrote:
>I was just meaning plain SQL - can't microsoft say ANSI? All I ask for is a
I don't think there is a standard way of achieving what the LIMIT clause
can that works for all or at least most databases.
>simple little standard and for people to follo
Joe,
Does SQL92 count?
Best regards,
Andrew
---
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
http://www.openlinksw.com
On 2/4/01 8:09 PM, "Joe Stump" <[EMAIL PROTECTED]> wrote:
> I was just meaning plain
Ok, well from the looks of it I've got it working, thanks to whoever
pointed out the conf.php.net archive of the slideshow. The sample files
from that slide work fine, but I can't get any of the other samples I've
snagged to work. Maybe they're what's broken, but I don't see how.
Now that th
I was just meaning plain SQL - can't microsoft say ANSI? All I ask for is a
simple little standard and for people to follow it - I'm not asking for every
feature of the standard - just a following.
--Joe
On Sun, Feb 04, 2001 at 10:43:37PM -0300, Manuel Lemos wrote:
> Hello Joe,
>
> On 04-Feb-01
Hello Joe,
On 04-Feb-01 21:18:55, you wrote:
>AFAIK this is more of a SQL thing than a DB specific thing. Just look up the
>LIMIT equivilent in MS SQL (should just be LIMIT) and use that for paging,
>once you get the hang of it it's quite easy.
>You can look through my paging class at www.miest
Hello Michael,
On 04-Feb-01 21:23:26, you wrote:
>AFAICT there is no 'LIMIT' feature in MS SQL products (TOP and supposedly
>BOTTOM, but BOTTOM has never worked for me and TOP doesn't seem to work on
>all versions).
>How is metabase handling this? Pulling everything, looping thru, and only
>re
I agree. It's a great reference & learning guide, but you _have_ to be
patient and not skip around too much with it or it'll be quite
intimidating.
--Toby
[EMAIL PROTECTED] wrote:
>
> On Sun, Feb 04, 2001 at 05:06:02PM -0600, Jeff Oien wrote:
> > What would your advice be for learning MySQL wit
I agree, point taken...
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952
- Original Message -
From: "Christian Reiniger" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]
Lux wrote:
> I don't mean to bash php in any way (as in the Ruby plugs in my last
> post). I use it because it has so many advantages over other more
> system-oriented not web-oriented languages for this type of work. It's
> fantastic.
>
Yes it is. :)
>
> I see so much enthusiasm on the we
Wen Ni Leong wrote:
>
> Can you please explain more detail because I'm new in Javascript and
> PHP? How should I write my coding in order to target the parent
> window? I am trying so many ways but I'm still can't manage to do it.
>
> Please help me again.
>
> This is in Parent window. The
I should check my version then... =O)
lux
Christian Reiniger wrote:
> On Monday 05 February 2001 00:51, Lux wrote:
>
>
>>> But the feature is useless :)
>
>>
>
>> function a ($hash, $text = "") {
>
>>$attr_text = "";
>
>>while (list ($k, $v) = each ($hash)) {
>
>>
AFAICT there is no 'LIMIT' feature in MS SQL products (TOP and supposedly BOTTOM,
but BOTTOM has never worked for me and TOP doesn't seem to work on all versions).
How is metabase handling this? Pulling everything, looping thru, and only
returning the requested rows?
Yes, I could log in/downloa
AFAIK this is more of a SQL thing than a DB specific thing. Just look up the
LIMIT equivilent in MS SQL (should just be LIMIT) and use that for paging, once
you get the hang of it it's quite easy.
You can look through my paging class at www.miester.org/software - it goes one
deeper and does [ pre
On Monday 05 February 2001 00:51, Lux wrote:
> > But the feature is useless :)
> function a ($hash, $text = "") {
>$attr_text = "";
>while (list ($k, $v) = each ($hash)) {
> $attr_text .= " $k=\"$v\"";
>}
>return "$text";
> }
> // what also d
Hello Scott,
On 04-Feb-01 14:41:58, you wrote:
>Has anyone seen a good lession or code example on paging records from MS Sql
>7? Say I have 300 records and
>want to break them down to 10 per page using [previous | next ] and a list
>of page numbers at the bottom.
You may want to use Metabase t
sure
here's the ruby page: http://www.ruby-lang.org/
here's another ruby site: http://www.rubycentral.com/
there's also a really good book you can find info about here:
http://pragmaticprogrammer.com/ruby/index.html
it's not really used much yet anywhere except japan, where it's
actually overta
What's this ruby? Care to send the list a URL so we can go have a
look for ourselves?
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Lux" <[EMA
I don't mean to bash php in any way (as in the Ruby plugs in my last
post). I use it because it has so many advantages over other more
system-oriented not web-oriented languages for this type of work. It's
fantastic.
I see so much enthusiasm on the web for this language, a significant
codeb
> But the feature is useless :)
Here, I removed the reference, so we can stop fussing over it (it wasn't the
question to begin with), and here's an example of a potential use for this
(a stupid example, but still...). I'm not weighing out the benefits of
references, I'm striving to achieve the c
Hello,
How can i upload a file from a client to server ? I tryed copy() but it
doesint works.
Paul
On Sun, Feb 04, 2001 at 05:06:02PM -0600, Jeff Oien wrote:
> What would your advice be for learning MySQL with PHP on an
> Apache server? I know a little Perl and am beginning to learn PHP.
> I'm more of a designer than a programmer (not enough geek genes).
> I went through the tutorial at WebMo
Hi, can anyone point me towards an easy way to generate forms to update a
mysql database?
I've seen some sites where I can specify a list of table fields and the
datatype for each, and get an output of:
1. the sql to create the table
2. a php form that can be used to update the table
problem is
What would your advice be for learning MySQL with PHP on an
Apache server? I know a little Perl and am beginning to learn PHP.
I'm more of a designer than a programmer (not enough geek genes).
I went through the tutorial at WebMonkey and have it all installed
and working, but the tutorial isn't
I'm pretty sure there's no other way to do it but to read them all in and
only display what you need.
AFAIK, MSSQL doesn't support paging itself, but relies on the
ADO driver to do this. If you make an reference to an ADO object in
VBScript, you can set how many rows are in a 'page', then tell i
On Sunday 04 February 2001 23:18, Robert Covell wrote:
> I understand your concerns, but with this type of logic this mailing
> list not not be around. Niether would Linux, Apache, MySql or anyother
> open source tool that so many people utilize today. We would all be on
> NT instead of Linux an
I use a RaQ3 and have no problems running PHP and MySQL. I started out
using one IP but the biggest problem I found was that in order to view the
site or make changes to it, the domain name must resolve to the server
before it would work. I decided it would be best for me to assign each site
a
I understand your concerns, but with this type of logic this mailing list
not not be around. Niether would Linux, Apache, MySql or anyother open
source tool that so many people utilize today. We would all be on NT
instead of Linux and using IIS with ASP instead of PHP. Do think Ramsus
when he s
[script at end]
Does it seem strange that although object members can
store functions, they can't be used as methods?
That is, we can have
$TestObject->mTestMember = create_function('','echo "TestMember";');
but we can't do
$TestObject->mTestMember();
Can I get around this using clever plac
On Sunday 04 February 2001 21:31, [EMAIL PROTECTED] wrote:
> for ($i=0; $i<$num_rows; $i++)
> {
> mysql_data_seek($SQLResult, $i);
> $array=mysql_fetch_array($SQLResult);
> $content=printf("First Name: %s\nLast Name: %s\n",$array['FirstName'],
Re-read the documentation for "printf". You want
On Sunday 04 February 2001 19:23, phpLover wrote:
> Thanks for your answerm but what does eregi_replace() do?
Exactly the thing that's written in the documentation for it :)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The most exciting phrase to hear in science, the one that
On Sunday 04 February 2001 20:09, Lux wrote:
> > Now, let me tell you that somehow I agreed with you :) cause I love
> > Python way
> > of dealing with arrays, but we are in PHP, so we have to figure PHP
> > way,
> Let's make PHP our favourite language! If another has a better
> feature, take i
No need to get upset :) just stating MHO (nothing personal).
In your own words you say : "People have taken a chance with me"
and that's really what they did. Cause you know what happens to
backup plans that don't have backup plans that don't...
I'm assuming that there may be an audience for thi
Brady-
Regardless of your compilation problems, Verisign has not yet released their
fixed SDK for BSD. They've only released it for Linux (libc5 & glibc2) and
Solaris. You're kind of SOL until they do. See the user comments on
www.php.net/pfpro for why you're SOL.
John
On Sun, 4 Feb 2001, Brad
phpbuilder.com - there are a few articles on the site about XML
--Joe
On Sun, Feb 04, 2001 at 05:02:43PM +0100, Steve Haemelinck wrote:
> Where can I find some info on parsing XML with PHP?
> I am not looking for functions, but examples and explanations !
>
> Thx
>
>
> --
> PHP General Maili
Hello!
I'm trying to configure PHP with Verisign PayFlow PRO support on my server.
I'm running FreeBSD 4, Apache 1.3.12, mod_ssl, openSSL, and mySQL 3.23.32.
I downloaded the newest release of PHP (4.0.4pl2) and tried compiling it,
using the ./configure --with-pfpro=[dir] thing and I get the fol
Hi,
I am selecting data using the below and trying to insert it into a mail, it
does everything except send the data selected, anyone have an idea?
$SQLStatement = "SELECT * FROM Orders Where Status='N' Order by OrderID";
$SQLConn = mysql_connect($host, $user, $pass);
$db = mysql_select_db($dba
Where can I find some info on parsing XML with PHP?
I am not looking for functions, but examples and explanations !
Thx
--
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 administrat
I don't think you should be using static variables in the functions. Don't
forget that you might have more than one thread accessing this function at
a time (unless you came to the conclusion that a race here can't do any harm).
Andi
At 03:52 PM 2/4/2001 +, James Moore wrote:
>jmoore
> > foo ($hash = array('var1'=>'value', 'var2'=>'value'));
> >should work.
> You don't need the $hash in that function call unless you need to use
> it later on in your main program, so you can just say:
>
> foo (array('var1'=>'value', 'var2'=>'value'));
that won't work (Lux's compla
> Sean,
>
> Thanks, I see. How about headers ? Do they need to be compressed, too; in
> other words, do headers "belong" to the output ?
How about RTFR? :)
(Read the .. RFC.)
Really, when you've read http://www.faqs.org/rfcs/rfc2616.html you'll be
able to understand a lot more about how htt
Thanks, just what I was looking for!
> Now, let me tell you that somehow I agreed with you :) cause I love
>
> Python way
>
> of dealing with arrays, but we are in PHP, so we have to figure PHP way,
>
> not
>
> way.
Let's make PHP our favourite language! If another has a better feature,
Check the http 1.1 rfc - http://www.faqs.org/rfcs/rfc2616.html
It links to the gzip file format rfc - http://www.faqs.org/rfcs/rfc1952.html
> -Original Message-
> From: Carsten Gehling [mailto:[EMAIL PROTECTED]]
> Sent: 4 February 2001 19:19
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP]
At 8:40 PM +0200 2/4/01, Teodor Cimpoesu wrote:
>Lux wrote:
>>
>> Where do I make a formal request for a feature? In Perl or Ruby, I
>> could have said:
>>
>> foo ({ 'var1' => 'value', 'var2' => 'value'});
>>
>> and it is so much more elegant than having to say:
>>
>> $hash = array (
>>
There's been a lot of talk about this recently. Check the archives for the
last 2 months, and PHPBuilder.com
Last I heard, you needed DRDA(DB2 Connect) installed, as well as
the runtime client.
Also on the client - DB2 Application Development package. Use this to
compile PHP --with-ibm-db2=.
"phpLover" <[EMAIL PROTECTED]> wrote:
> Thanks for your answerm but what does eregi_replace() do?
Short answer is to see
http://www.php.net/manual/en/function.eregi-replace.php. Usage examples can
be found right on php.net. See longer answer below.
Previously "phpLover" <[EMAIL PROTECTED]> wro
I'm going to be trying to connect to the native DB2 database in a AS/400
So far thats all I know about the IBM side.
Can someone give me a short update on what options I have ?
TIA !!!
-pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
Lux wrote:
>
> Where do I make a formal request for a feature? In Perl or Ruby, I
> could have said:
>
> foo ({ 'var1' => 'value', 'var2' => 'value'});
>
> and it is so much more elegant than having to say:
>
> $hash = array (
>'var1' => 'value',
>'var2' => 'value'
> );
> foo ($hash
Carsten Gehling wrote:
>
> From: "Teodor Cimpoesu" <[EMAIL PROTECTED]>
> Sent: Sunday, February 04, 2001 7:08 PM
>
> > a HTTP response is made of response header(s) and the response body.
> > Only the body
> > is compressed, and this is signaled in the headers so the User Agent
> > will know
>
Thanks for your answerm but what does eregi_replace() do?
Regards
"Steve Werby" <[EMAIL PROTECTED]> wrote in message
045801c08e7f$3c4f61c0$6401a8c0@mobile">news:045801c08e7f$3c4f61c0$6401a8c0@mobile...
> "phpLover" <[EMAIL PROTECTED]> wrote:
> > I want to read an HTML page from another site and
I never wanted this question to be an offense for anyone. I thank you all
for your answers.
Regards
PHPLover
Lux <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> It's unlikely I suppose, but there's a must-have book you should look at
> if you want info on hack
"Adrian Teasdale" <[EMAIL PROTECTED]> wrote:
> I have been speaking to a company that I am looking at getting a dedicated
> server from. They ONLY do one IP address per server and use name-based
> hosting. I have asked for dedicated IP's, but their answer has been that
> all hosting companies ar
Where do I make a formal request for a feature? In Perl or Ruby, I
could have said:
foo ({ 'var1' => 'value', 'var2' => 'value'});
and it is so much more elegant than having to say:
$hash = array (
'var1' => 'value',
'var2' => 'value'
);
foo ($hash);
elegance is everything, man.
lux
From: "Teodor Cimpoesu" <[EMAIL PROTECTED]>
Sent: Sunday, February 04, 2001 7:08 PM
> a HTTP response is made of response header(s) and the response body.
> Only the body
> is compressed, and this is signaled in the headers so the User Agent
> will know
> not to stare to a bunch of binary data :)
Scott,
As far as I know, MS SQL supports a syntax like this:
SELECT TOP 10 FROM table_name WHERE etc etc
However, I don't know how to make it start from a certain offset; I guess MS
SQL's documentation, especially the T-SQL doc, should help.
""Scott Parks"" <[EMAIL PROTECTED]> a écrit dans le
Teodor,
Looked at it from that point of view, the question was pretty stupid ! ;)
> -Message d'origine-
> De : Teodor Cimpoesu [mailto:[EMAIL PROTECTED]]
> Envoye : dimanche 4 fevrier 2001 19:09
> A : Alain Fontaine
> Cc : Sean Cazzell; [EMAIL PROTECTED]
> Objet : Re: [PHP] HTTP compres
james wrote:
>
> 1. Cannot send session cookie - headers already sent by (output started at
> c:/program files/apache group/apache/htdocs/index.php4:10) in c:/program
> files/apache group/apache/htdocs/index.php4 on line 11
>
> What does it mean?
>
> Any hints?
the error message is quite expl
Alain Fontaine wrote:
>
> Sean,
>
> Thanks, I see. How about headers ? Do they need to be compressed, too; in
> other words, do headers "belong" to the output ?
a HTTP response is made of response header(s) and the response body.
Only the body
is compressed, and this is signaled in the header
Hi,
name-based hostig is quite okay but you shoulsd know that the
cobald raq needs an extra ip for each site offering anonymous ftp and
using ssl-certificate !!
i installed php4.04pl1 and mysql 3.22.32 ( its easy and straightforward )
[ have a look at cobalt-users list ]
greetings
andreas
Hi I have a couple of questions. One about hosting and the other about IP
addresses. The first on the IP's.
I have been speaking to a company that I am looking at getting a dedicated
server from. They ONLY do one IP address per server and use name-based
hosting. I have asked for dedic
Has anyone seen a good lession or code example on paging records from MS Sql
7? Say I have 300 records and
want to break them down to 10 per page using [previous | next ] and a list
of page numbers at the bottom.
tia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
Sean,
Thanks, I see. How about headers ? Do they need to be compressed, too; in
other words, do headers "belong" to the output ?
> -Message d'origine-
> De : Sean Cazzell [mailto:[EMAIL PROTECTED]]
> Envoye : dimanche 4 fevrier 2001 17:39
> A : Alain Fontaine
> Cc : [EMAIL PROTECTED]
> O
Kristofer Widholm wrote:
>
> Well, I've been given the joyous task of implementing the DaveTV
> project at CBS via PHP, using Oracle as a database.
>
> I've never used Oracle before.
>
> Looking at the PHP functions for Oracle, and having heard about it in
> the past, it seems like quite a diff
Hi... I have a problem with PHP Authenticate
...if I enter user/pw wrong the first time it stops and I have to close/open
browser.!
I've tried to unset $PHP_AUTH_USER but then it just loops...
if(!isset($PHP_AUTH_USER)) {
Header("WWW-Authenticate: Basic realm=\".: Privat område :.\"");
Downloaded the Encoder testdrive and installed it with a license file
(zend_encoder.dat). Did what the manual stated, except that I installed it
on E:\program files\zend instead of C:\program files\zend (I did modify the
install_license.reg before installing it into the registration database)
Whe
"Jamie" <[EMAIL PROTECTED]> wrote:
> $results = mysql_query("SELECT option_type, code FROM options WHERE
> code='000' ORDER BY option_type",$db);
> mysql_fetch_array($results);
> // From what understand I should have an array some thig like this:
> // ("Size"=>"A4" , "Size" => "A3", "Size"=>"A5"
jmoore Sun Feb 4 08:56:59 2001 EDT
Added files:
/php4/ext/standard/tests/time .cvsignore 001.phpt
Log:
Adding microtime() tests
Index: php4/ext/standard/tests/time/.cvsignore
+++ php4/ext/standard/tests/time/.cvsignore
*.exp
*.out
*.php
phpt.*
Inde
"Dhaval Desai" <[EMAIL PROTECTED]> wrote:
> what is the use of %
It returns a remainder. For example 7 % 2 = 1.
> Is it called modulo..what is it's use in PHP.?
There are plenty of situations where it's useful. For example, if you're
displaying data in rows and want to shade every other row:
Alain,
When PHP parses a file, it treats the stuff that's not in blocks
as though each line were a print or echo statement. So your whole file
will be compressed and sent to the browser.
Regards,
Sean
On Sun, 4 Feb 2001, Alain Fontaine wrote:
> Rasmus,
>
> Thanks for the clarification; it
1. Cannot send session cookie - headers already sent by (output started at
c:/program files/apache group/apache/htdocs/index.php4:10) in c:/program
files/apache group/apache/htdocs/index.php4 on line 11
What does it mean?
Any hints?
2. Another problem:
My htm page has two frames (left and rig
jmoore Sun Feb 4 08:18:36 2001 EDT
Modified files:
/php4/ext/standard microtime.c
Log:
Always return a value even if HAVE_GETTIMEOFDAY is not set
Index: php4/ext/standard/microtime.c
diff -u php4/ext/standard/microtime.c:1.27 php4/ext/standard/microtime.c:1.
This patch reduces accuracy to milliseconds rather than microseconds but the
results are actaully accurate rather than before where the time was
collected in two function calls (so seconds would be out of sync with the
number of microseconds). Some acuraccy has been lost but the function
actually
jmoore Sun Feb 4 07:52:33 2001 EDT
Modified files:
/php4/win32 time.c
Log:
Fix for time.c under win32. Patch By: "Vanhanen, Reijo" <[EMAIL PROTECTED]>
@- microtime under windows now returns accurate values (James)
Index: php4/win32/time.c
diff -u p
php-general Digest 4 Feb 2001 15:14:52 - Issue 492
Topics (messages 38021 through 38108):
IIS & ISAPI
38021 by: Shane McBride
38025 by: Chris Fry
38028 by: Shane McBride
Re: Re:What version of Linux?
38022 by: John Hinsley
38100 by: Christian Reinige
Hi Rasmus,
thanks for you reply. As some of the phpers already
stated I also disagree about the visibility issue. But
it's IMHO anyway (besides I do not have technical
skills enough to try to implement it).
I'll check the template you mentioned but I was
wondering if a "built-in
Rasmus,
Thanks for the clarification; it seems obvious, too, that mixing compressed
and non compressed content would be quite difficult to implement; at least
it would partially compromise the speed/size gain because of added protocol
overhead.
Now, imagining that we have enabled compression by
Can someone please help me with this code I'm having major problems with
arrays. This code is part of a function I'm writing to deal with an array
returned from a HTML form of check boxes so if anyone has an example of this
sort of thing I'd appreciate a look at it. Anyway Code follows :
//Readin
> Is there any way of to use PHP3 with XSL?
> can anyone help me?
Unless someone back-ports the sablotron stuff to PHP 3 you are pretty much
out of luck. Upgrade.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
> I've just started experimenting with ob_start("ob_gzhandler") a bit, and I
> have found that if any output is generated before ob_start() is called,
> nothing at all gets compressed; if ob_start() is called before any output,
> everything is compressed.
>
> Is this the case, I mean, is this "by
Hi,
I've just started experimenting with ob_start("ob_gzhandler") a bit, and I
have found that if any output is generated before ob_start() is called,
nothing at all gets compressed; if ob_start() is called before any output,
everything is compressed.
Is this the case, I mean, is this "by design
1 - 100 of 126 matches
Mail list logo