How do I get the current time() for Central European Time
(= GMT +01:00).
I want it to work wherever the server stands.
How can I get the difference between server time
and GMT, for instance?
A. Nawroth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Have you put
Till: <[EMAIL PROTECTED]>
Skickat: den 19 mars 2002 17:43
Ämne: [PHP] include_once()
> Hello,
>
> I have a very long script with several functions in it. I wanted to split
> the script into several files, so I created two sub-scripts and one main
> script. This is the code from th
I use this code to break out of frames:
if (top.frames.length!=0)
top.location=self.document.location;
Put this code in the section between
Sorry, should spell aletia.com
>From phpinfo at Aleita.com:
PHP Version 4.1.0
System Linux cobra.nocdns.com 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686
unknown
Build Date Dec 15 2001
Configure Command './configure' '--with-apache=../apache_1.3.22' '--with-mysql'
'--with-gd' '--
>From phpinfo at Aleita.com:
PHP Version 4.1.0
System Linux cobra.nocdns.com 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686
unknown
Build Date Dec 15 2001
Configure Command './configure' '--with-apache=../apache_1.3.22' '--with-mysql'
'--with-gd' '--with-freetype' '--enable-track-var
> ie - i have:
> while($myrow=mysql_fetch_array($result)) { etc...
>
> But i want the loop to run with an array i created earlier ($anotherarray =
> [key1] => value1, [key2] => value2).
>
use foreach($anotherarray as $key => $value) { .
A Nawroth
--
PHP General Mailing List (http://www.
Why not use RegEx?
I'm doing a similar search with RegEx.
Makes the code much shorter.
Anders Nawroth
www.nawroth.com
- Ursprungligt meddelande -
Från: "Jack Dempsey" <[EMAIL PROTECTED]>
Till: <[EMAIL PROTECTED]>; "Nick Richardson" <[EMAIL PRO
I'm running win98 / apache 1.3.20 / php 4.0.6 / MySQL 3.23.38
Just doing
mysql_connect('localhost', 'foo', 'bar');
mysql_select_db('xyz');
is 0.06 second.
Is this normal??
My queries take 0.01 second or less, that works fine.
But why is the connect so slow?
Anders
www.nawroth.com
--
PHP
I use some rather complex table layouts.
I make them with modular programming.
Every function that produces a
also produces a .
And such a function maybe calls another
function that also puts a table inside
the HTML.
And so on ...
That way I can keep track on what's happening!
Sometimes I also pu
that's how it works with
most ISPs, I think. Some ISP don't even run PHP4, they still use PHP3.
>If you don't agree that this is a major issue that needs to be addressed, I
>fear for the future of PHP.
I agree 100%.
Anders Nawroth
- - - - - - - - - - - - - - - - - - - -
10 matches
Mail list logo