Hi all,
I currently use:
date("l jS F Y, g:i A");
To format the current date/time to my personal preference.
However, at 12:19 AM on my machine, date("l jS F Y, g:i A"); shows 4:19PM...
8 hours slow :(
Any ideas on how to correct this? Am I right in saying that there is a
timezone problem?
An
gt; wrote in message
> news:[EMAIL PROTECTED]
> > See the putenv() function. For example to get the correct Eastern
Standard
> > Time
> >
> > http://www.php.net/putenv
> >
> > > putenv('TZ=US/Eastern');
> > echo 'Last modifie
"Jon Kriek" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> putenv('TZ=Europe/London');
>
> OR
>
> putenv('TZ=GMT');
>
> --
> Jon Kriek
> http://phpfreaks.com
>
> "Php Webmaster" <[EMAIL PROTECTED]&g
"Chris W. Parker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi.
Ok I've got the logging in of customer accounts settled but what I need
to work into the system is that of preventing more than one instance of
the same account.
If I logon right now as testuser1 on ComputerA and t
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This has been discused several times befor and the conclusion is that
> these obstructions are wrong. What if the user loses its credentials and
> he is still considered loged in. He cannot log in again. If you bind th
Hi all,
I have on my site a part where users' can submit articles and no doubt their
articles will contain code. Code is wrapped inside of [code] tags, i.e.
[code][/code]
However, there is other text in the same article, so I need to format the
code inside of the [code] and [/code] tags using htm
Hi all,
Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using
a form to send the login details to the site through the address bar
(http://user:[EMAIL PROTECTED]) but the .htaccess password protection box
still appears asking for the username and password!
The only thing I c
"Php Webmaster" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> Iv'e got a .htaccess file protecting a site using HTTPS. I have tried
using
> a form to send the login details to the site through the address bar
> (http://user:[EMAIL PR
"Mika Tuupola" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Mon, 6 Oct 2003, PHP Webmaster wrote:
>
> > Iv'e got a .htaccess file protecting a site using HTTPS. I have tried
using
> > a form to send the login details to the site through
ll prompt you for the
password, redirect you to the subdomain and then prompt you again.
Nathan
- Original Message -
From: Mika Tuupola
To: PHP Webmaster
Cc: [EMAIL PROTECTED]
Sent: Monday, October 06, 2003 7:12 AM
Subject: Re: [PHP] .htaccess - Still asking for login information
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tuesday 07 October 2003 00:32, PHP Webmaster wrote:
>
> > If I use my login form, the login box pops up only once. If I copy the
text
> > from the address bar (generated by the f
"Shaun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I have created an online system, and have created a WAP version, and am
> currently crreating a PDA version. What I wuold like to to do is give out
> the same URL instead of domain.com for normal use, domain.com/wap/ or
Hi all,
I have a little problem that I hope you can help me with.
I have the following strings:
$str1 = "Bob";
$str2 = "My Name Is Bob";
How can I get PHP to look for $str1 inside of $str2?
Also, what about if "Bob" inside of $str2 is in different places?
I would like something like:
if ($st
"Manuel VáZquez Acosta" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Try:
>
> if (strpos($str2, $str1) !== false)
> echo "$str1 is inside $str2";
> else
> echo "could not find $str1 inside $str2";
>
> "
"Binay" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Yes its showing 0 only..
>
> Its a weird kind of problem for me ..
>
> - Original Message -
> From: "David Otton" <[EMAIL PROTECTED]>
> To: "Binay" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, October 17
"Louie Miranda" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> And here's the error
>
>
> [Fri Oct 17 10:52:20 2003] [error] PHP Fatal error: Call to undefined
> function: imagegif() in /Volumes/WWW_Root/louie/test.php on line 6
>
>
>
> -- -
> Louie Miranda
> http://www.axishift.c
Hi all,
I have a little dilemma on my hands that I can't seem to solve. Iv'e looked
through the PHP Manual at the fread(), fgets(), fopen(), file() etc
functions which I beleive are capabile of what I want to do, but I just
can't seem to peice it all together.
Anyway, the following code is inside
"Chris W. Parker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
PHP Webmaster <mailto:[EMAIL PROTECTED]>
on Monday, October 20, 2003 4:36 PM said:
> As you can see, the above code will not work as the $title variable
> has not been set yet. So, I
"Joffrey L Leevy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all:
>
> I have been searching through several books to find out what the "@"
> character represents.
>
> An example used in code:
>
> if (@$first == "no").
>
> Could anyone please explain the function of "@
"John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How can I verify if my ISP really does have PHP on a server I am using.
They say if I want PHP, I must pay an extra $15 per month. Is there
somehting I can put in my .htaccess to verify and maybe do this?
>
>
20 matches
Mail list logo