System Time
> Is the system time through Linux, Apache or through the php.ini file?
>
>
>
> On 12/11/05, Sebastian En3pY Zdrojewski <[EMAIL PROTECTED]> wrote:
> >
> > afaik it's the system time.
> >
> > Cheers
> >
> > En3pY
> >
> >
> > Sebastian Konstanty Zdrojewski
> >
> > _
Is the system time through Linux, Apache or through the php.ini file?
On 12/11/05, Sebastian En3pY Zdrojewski <[EMAIL PROTECTED]> wrote:
>
> afaik it's the system time.
>
> Cheers
>
> En3pY
>
>
> Sebastian Konstanty Zdrojewski
>
>
>
> URL: http://www.en3py.net/
>
Register globals is no longer ON I believe. That is why it happened.
To fix this:
Foreach($_POST as $key => $value) ${$key} = $value;
That will convert all of your post variables to local variables.
:)
Thanks,
Matt Babineau
Criticalcode
858.733.0160
[EMAIL PROTECTED]
http://www.criticalcode.
Hello All,
We just upgraded our server at work, and one client's web site stoped
working. I didn't write the code, I just get to clean up someone else's
mess. :) After a little troubleshooting, I found that forms refered
back
to the same script. so far, so good. very normal. The strange part was
afaik it's the system time.
Cheers
En3pY
Sebastian Konstanty Zdrojewski
URL: http://www.en3py.net/
E-Mail: [EMAIL PROTECTED]
Le informazioni contenute in questo messaggio sono riservate e
confidenziali. Il loro utilizzo รจ c
This maybe a dumb questions, but in php where is the information taken from
for the date() function? Is it pulled through Apache or the hardware or in
the php.ini file? I am having an issue to where the time arbitraly changed
one day from PST to CST.
The question is null and void, the real question is which do you need to
use, just because objects in php behave like arrays, that does not mean
the are interchangeable in all cases. You don't create an object just
for the sheer hell of it.
--
PHP General Mailing List (http://www.php.net/)
To
Hi
I have php_pdf.dll enabled in php.ini.
I've downloaded this extension from pecl4win.php.net - php 5.1.1 (I'm using
php-5.1.2-dev snapshot)
The extension is loaded. phpinfo() reports it:
PDF Support enabled
PDFlib GmbH Version 5.0.3
PECL Version 2.0.5
Revision $Revis
Not sure if I can give a good answer, but try doing a var_dump on
$_SESSION["Search Result"] and see what you get. I suspect that it is
null. If that's the case then track down where it is getting assigned.
It should look something like $_SESSION["SearchResult"] = $users.
Christopher Jordan
I've been working with php's socket library and I've run accross the
stream_socket_ library.
I'm wondering whether I should be using that library instead?
Is there anything that makes the stream_socket library superior to the
traditional socket library for writing
TCP/IP socket clients and server
Hi folks,
I'm a ColdFusion developer, but I'm branching out into PHP because alot of
my smaller clients don't want to pay for CF.
Anyway, a bit of background:
I've got a page that does a search on one of my tables. I'm using Justin
Vincent's ezSQL (http://php.justinvincent.com)
Hi Robert,
> I would wager because there's a ! operator preceding the ereg() call.
> Also you have very dirty code, your isEmailOk() function doesn't return
> a value in the case that the if expression fails, it assumes PHP will
> return something useful (PHP returns null, but relying on that is a
On Sun, 2005-12-11 at 14:55, MARG wrote:
> Hi,
>
> I have this form:
> http://www.tuxdoit.com/newsletter.php
>
> If you care to check it, you'll see that
> http://www.tuxdoit.com/formsResult.php
>
> never returns the function value:
>
> formsResult.php:
> -
>
Hi,
I have this form:
http://www.tuxdoit.com/newsletter.php
If you care to check it, you'll see that
http://www.tuxdoit.com/formsResult.php
never returns the function value:
formsResult.php:
-
functions.php:
Hi MARG,
It will be better if you can provide the code here and what error you are
getting.
BTW header function is the key here.
Zareef Ahmed
- Original Message -
From: "Miles Thompson" <[EMAIL PROTECTED]>
To:
Sent: Sunday, December 11, 2005 12:33 PM
Subject: Re: [PHP] Moving code
At 10:31 AM 12/11/2005, MARG wrote:
Hi,
I have this source code in this randomImage.php file (see source):
http://www.tuxdoit.com/randomImage.phps
This generates a random image for form validation.
Now, as you can see, i call the picture from
http://www.tuxdoit.com/newslwetter.php
as
and that
What did you do to fix it?
-Original Message-
From: Eternity Records Webmaster [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 10, 2005 7:10 PM
To: php-general@lists.php.net
Subject: RE: [PHP] broken code
Got it fixed now... tnx...
-Original Message-
From: Ben Blay [ma
On Sun, Dec 11, 2005 at 12:10:22AM -0600, The.Rock wrote:
> Stephen,
>
> I'm using a template and so:
>
> becomes:
>
>
> and so on.
You seemed to miss the point Stephen was suggesting, to use your
template syntax:
Then in your php code:
$item = $_POST['items'];
foreach($
John Hinton wrote:
Marlin Unruh wrote:
M wrote:
Marlin Unruh wrote:
Sure, here is the main function and the function that sends the
files/links to the browser. This works fine on two w2k machines,
but not on our XP machine. If I place the mouse pointer over the
link on the web page it sho
But when I tried your idea, it errors out with a PHP parse error.
I agree with you about it being semantically the same, however it doesn't
work. go figure
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sun, 2005-12-11 at 02:03, The.Rock wrote:
>> Rob, I thou
Rob, I thought I had tried everything, except...the following:
$item = $_POST["item$i"]; //Where $i increments and loops thru my POST
vars...WOHOO!
This actually works. Why it works, I'll never know. but it does!
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On
Marlin Unruh wrote:
M wrote:
Marlin Unruh wrote:
Sure, here is the main function and the function that sends the
files/links to the browser. This works fine on two w2k machines, but
not on our XP machine. If I place the mouse pointer over the link on
the web page it shows correct in the IE
M wrote:
Marlin Unruh wrote:
Sure, here is the main function and the function that sends the
files/links to the browser. This works fine on two w2k machines, but
not on our XP machine. If I place the mouse pointer over the link on
the web page it shows correct in the IE status bar. Example:(
Robert Cummings wrote:
On Sat, 2005-12-10 at 11:25, mail wrote:
xml_set_element_handler($parser, "xml_start_element", "xml_stop_element");
//can't find function
use array notation for object method handlers:
xml_set_element_handler
(
$parser,
array( $this, 'xml_start_element' ),
Hi,
I have this source code in this randomImage.php file (see source):
http://www.tuxdoit.com/randomImage.phps
This generates a random image for form validation.
Now, as you can see, i call the picture from
http://www.tuxdoit.com/newslwetter.php
as
and that works just fine.
But... i'd like to i
25 matches
Mail list logo