|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
php-general Digest 12 Dec 2005 18:14:19 -0000 Issue 3846
php-general-digest-help
lists.php.net
Date: Mon Dec 12 2005 - 12:14:19 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
php-general Digest 12 Dec 2005 18:14:19 -0000 Issue 3846
Topics (messages 227324 through 227343):
R: [PHP] Date Function Questions
227324 by: Sebastian \"En3pY\" Zdrojewski
227327 by: benc11.gmail.com
227328 by: Matt Babineau
need for $_POST[''] changed after server upgrade
227325 by: Ray
227326 by: Matt Babineau
Re: Date Function Questions
227329 by: Jesús Fernández
Re: OO XML Parser
227330 by: Jochem Maas
unset and sessions
227331 by: Eternity Records Webmaster
227337 by: sunaram patir
Re: quickly discovered why refresh isn't nice
227332 by: Chris Boget
$B"##P#C%=%U%H0BCMHNGd"#6H3&=i%7%9%F%`(B
227333 by: dmzkaqmzdp5
Re: $B"##P#C%=(B$B%U%H0BCMHNGd"#6H3&=i%7%9%F%`(B
227334 by: Paul
Re: ■PCソフト安値販売■æ¥ç•Œåˆã‚·ã‚¹ãƒ†ãƒ
227335 by: Richard Davey
Re: Class Constant PHP 5
227336 by: Jochem Maas
Re: href links not working in XP
227338 by: Dan Baker
227343 by: Marlin Unruh
Re: Questions from a ColdFusion Developer
227339 by: Eric Butera
IE6 not returning POST data from a textarea
227340 by: Al
227342 by: tomasz abramowicz
Re: href difference between OS's.
227341 by: Dan Baker
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php-general
lists.php.net
----------------------------------------------------------------------
attached mail follows:
afaik it's the system time.
Cheers
En3pY
Sebastian Konstanty Zdrojewski
________________________________
URL: http://www.en3py.net/
E-Mail: en3py
itvc.net
________________________________
Le informazioni contenute in questo messaggio sono riservate e
confidenziali. Il loro utilizzo è consentito esclusivamente al destinatario
del messaggio, per le finalità indicate nel messaggio stesso. Qualora Lei
non fosse la persona a cui il presente messaggio è destinato, La invito ad
eliminarlo dal Suo Sistema ed a distruggere le varie copie o stampe, dandone
gentilmente comunicazione. Ogni utilizzo improprio è contrario ai principi
del D.lgs 196/03 e alla legislazione Europea (Direttiva 2002/58/CE).
-----Messaggio originale-----
Da: benc11
gmail.com [mailto:benc11
gmail.com]
Inviato: lunedì 12 dicembre 2005 6.57
A: PHP-General
Oggetto: [PHP] Date Function Questions
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.
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date: 09/12/2005
attached mail follows:
Is the system time through Linux, Apache or through the php.ini file?
On 12/11/05, Sebastian En3pY Zdrojewski <en3py
itvc.net> wrote:
>
> afaik it's the system time.
>
> Cheers
>
> En3pY
>
>
> Sebastian Konstanty Zdrojewski
>
> ________________________________
>
> URL: http://www.en3py.net/
> E-Mail: en3py
itvc.net
>
> ________________________________
>
> Le informazioni contenute in questo messaggio sono riservate e
> confidenziali. Il loro utilizzo è consentito esclusivamente al
> destinatario
> del messaggio, per le finalità indicate nel messaggio stesso. Qualora Lei
> non fosse la persona a cui il presente messaggio è destinato, La invito ad
> eliminarlo dal Suo Sistema ed a distruggere le varie copie o stampe,
> dandone
> gentilmente comunicazione. Ogni utilizzo improprio è contrario ai principi
> del D.lgs 196/03 e alla legislazione Europea (Direttiva 2002/58/CE).
>
> -----Messaggio originale-----
> Da: benc11
gmail.com [mailto:benc11
gmail.com]
> Inviato: lunedì 12 dicembre 2005 6.57
> A: PHP-General
> Oggetto: [PHP] Date Function Questions
>
> 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.
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date:
> 09/12/2005
>
>
>
>
--
**********************************************************************
The content of this e-mail message and any attachments are confidential and
may be legally privileged, intended solely for the addressee. If you are not
the intended recipient, be advised that any use, dissemination,
distribution, or copying of this e-mail is strictly prohibited. If you
receive this message in error, please notify the sender immediately by reply
email and destroy the message and its attachments.
*********************************************************************
attached mail follows:
Message-ID: <A2.19.49905.A4F1D934
pb1.pair.com>
From: "Matt Babineau" <matt
criticalcode.com>
To: <php-general
lists.php.net>
Date: Sun, 11 Dec 2005 22:56:26 -0800
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [PHP] Re: R: [PHP] Date Function Questions
System Time
> Is the system time through Linux, Apache or through the php.ini file?
>
>
>
> On 12/11/05, Sebastian En3pY Zdrojewski <en3py
itvc.net> wrote:
> >
> > afaik it's the system time.
> >
> > Cheers
> >
> > En3pY
> >
> >
> > Sebastian Konstanty Zdrojewski
> >
> > ________________________________
> >
> > URL: http://www.en3py.net/
> > E-Mail: en3py
itvc.net
> >
> > ________________________________
> >
> > Le informazioni contenute in questo messaggio sono riservate e
> > confidenziali. Il loro utilizzo è consentito esclusivamente al
> > destinatario del messaggio, per le finalità indicate nel messaggio
> > stesso. Qualora Lei non fosse la persona a cui il presente
> messaggio è
> > destinato, La invito ad eliminarlo dal Suo Sistema ed a
> distruggere le
> > varie copie o stampe, dandone gentilmente comunicazione.
> Ogni utilizzo
> > improprio è contrario ai principi del D.lgs 196/03 e alla
> legislazione
> > Europea (Direttiva 2002/58/CE).
> >
> > -----Messaggio originale-----
> > Da: benc11
gmail.com [mailto:benc11
gmail.com]
> > Inviato: lunedì 12 dicembre 2005 6.57
> > A: PHP-General
> > Oggetto: [PHP] Date Function Questions
> >
> > 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.
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date:
> > 09/12/2005
> >
> >
> >
> >
>
>
> --
> **********************************************************************
> The content of this e-mail message and any attachments are
> confidential and may be legally privileged, intended solely
> for the addressee. If you are not the intended recipient, be
> advised that any use, dissemination, distribution, or copying
> of this e-mail is strictly prohibited. If you receive this
> message in error, please notify the sender immediately by
> reply email and destroy the message and its attachments.
> *********************************************************************
>
attached mail follows:
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
the
variable names were just "$foo" not, "$_POST['foo']".
After the upgrade, the variable "$foo" was not recognized when the form
was processed, so of course, everything failed. My solution was to put
if (isset($_POST["foo"]))
{$foo=$_POST["foo"]};
at the top of the script. This seems to make everything work.
My two questions are: first, is there a better way to fix this, and
second, how did this work in the first place?
TIA
Ray
attached mail follows:
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
matt
criticalcode.com
http://www.criticalcode.com
TAKE ORDERS from the WEB and add them right into QUICKBOOKS! Ask me how...
> -----Original Message-----
> From: Ray [mailto:ray
media32.ca]
> Sent: Sunday, December 11, 2005 10:29 PM
> To: php-general
lists.php.net
> Subject: [PHP] need for $_POST[''] changed after server upgrade
>
> 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
> the variable names were just "$foo" not, "$_POST['foo']".
> After the upgrade, the variable "$foo" was not recognized
> when the form was processed, so of course, everything failed.
> My solution was to put if (isset($_POST["foo"]))
> {$foo=$_POST["foo"]}; at the top of the script. This seems to
> make everything work.
> My two questions are: first, is there a better way to fix
> this, and second, how did this work in the first place?
> TIA
> Ray
>
> --
> PHP General Mailing List (http://www.php.net/) To
> unsubscribe, visit: http://www.php.net/unsub.php
>
attached mail follows:
the date taken is the same as the local time of the webserver. So if it
changes that maybe the server admin's are changing it?
--
http://esu.proyectoanonimo.com
http://www.proyectoanonimo.com
attached mail follows:
Message-ID: <439D5381.7070701
iamjochem.com>
Date: Mon, 12 Dec 2005 11:40:01 +0100
From: Jochem Maas <jochem
iamjochem.com>
MIME-Version: 1.0
To: Norbert Wenzel <mail
brain4art.at>
Cc: php-general
lists.php.net
Content-Type: text/plain; charset=ISO-8859-1; formatowed
Content-Transfer-Encoding: 7bit
Subject: Re: [PHP] OO XML Parser
in this case there is an alterntive:
http://php.net/manual/en/function.xml-set-object.php
Norbert Wenzel wrote:
> 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' ),
>> array( $this, 'xml_stop_element' )
>> );
>>
>> Cheers,
>> Rob.
>
>
> Thanks,
>
> Norbert
>
attached mail follows:
I use php 5.0.5 and was wondering when I use $_SESSION would unset() work
the best for getting rid of the values in that array??
attached mail follows:
http://in.php.net/unset
On 12/12/05, Eternity Records Webmaster <webmaster
eternityrecords.org> wrote:
> I use php 5.0.5 and was wondering when I use $_SESSION would unset() work
> the best for getting rid of the values in that array??
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
attached mail follows:
> hello,
> I just found out why one reason for a meta refresh is a bad idea, it does
> exactly that, it refreshes the page every 3 or 2 or 0 seconds which
> basically is constant..so maybe the header idea is better in this case.
While this is very true, what is typically the case when you use meta
refresh
is that you are using it to redirect a user to a subsequent page. In that
case,
so long as that final page doesn't use meta refresh, it isn't an issue.
thnx,
Chris
attached mail follows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{(Byahoo.co.jp
> $B!JCm!K!{$r!w$K$7$FAw?.$7$F$/$
$5$$!#(B
>
> $B!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A(B
>
>
> $B$3$N%a!<%k$OAw?.
lMQ%a!<%k%"%I%l%9$+$iG[?.$5$l$F$$$^$9!#$4JV?.$$$?$
$$$F$b$*Ez$($G$-$^$;$s$N$G$4N;>5$/$
$5$$!#(B
> $B$4<ALdEy$N$"$kJ}$O(Bhttp://www.11279.com/$B$N$*Ld$$9g$o$;$+$i$4O"Mm$/$
$5$$!#(B
>
>
> $B%$%s%?!<%M%C%H#V#LHG
lLgE9(B $B%=%U%H;x(B
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
attached mail follows:
Mime-Version: 1.0 (Apple Message framework v746.2)
Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed
Message-Id: <7C2CAA1F-FC6E-430D-AC10-77A0936EE673
corephp.co.uk>
Content-Transfer-Encoding: quoted-printable
From: Richard Davey <rich
corephp.co.uk>
Date: Mon, 12 Dec 2005 13:36:38 +0000
To: php <php-general
lists.php.net>
Subject: =?UTF-8?B?UmU6IFtQSFBdIOKWoO+8sO+8o+OCveODleODiOWuieWApOiyqQ==?=
=?UTF-8?B?5aOy4pag5qWt55WM5Yid44K344K544OG44Og?=
On 12 Dec 2005, at 13:27, Paul wrote:
> ?
>
> On 12/12/05, dmzkaqmzdp5 <0006
3d2u.cn> wrote:
>>
>> =EF=BC=B0=EF=BC=A3=E3=83=A6=E3=83=BC=E3=82=B6=E3=83=BC=E3=81=AB=E3=81=8A=
=E5=BE=97=E3=81=AA=E6=83=85=E5=A0=B1=E3=82=92=E4=B8=80=E6=96=B9=E7=9A=84=E3=
=81=AB=E9=85=8D=E4=BF=A1=E3=81=95=E3=81=9B=E3=81=A6=20
>> =E3=81=84=E3=81=9F=E3=81=A0=E3=81=8D=E3=81=BE=E3=81=97=E3=81=9F=E3=81=93=
=E3=81=A8=E3=81=8A=E8=A9=AB=E3=81=B3=E3=81=84=E3=81=9F=E3=81=97=E3=81=BE=E3=
=81=99
The phrase 'Japanese spam email advertising a site selling pirated =20
software' springs to mind.
Cheers,
Rich
--
http://www.corephp.co.uk
PHP Development Services
attached mail follows:
Jay Blanchard wrote:
> [snip]
> it doesn't fail and is not imho foolish by definition ... the value of the
> constant,
> although changing stays the same for the duration of the request,
>
> IIRC Rasmus himself once mentioned that it can be useful to be able to set
> a constant to a 'dynamic' value like this - nuff said really :-)
> [/snip]
>
> Thanks for the education there Jochem, I'd forgotten about const mostly
> because I am in the habit of declaring private static variables and using
> get and set methods for this kind of thing because I do a lot of C++ work
> too and the theory holds up in both languages. And it is correct in the fact
> that a class constant cannot contain a function (as I hadn't clearly stated
> earlier) as the OP had requested, the syntax would fail.
true - although the classkit extension would allow you to hack the class and set the
constant to a return value of a function. doing it your way would be
_much_ better though :-)
>
> I guess that I am old school enough (I see John Nichel's hands racing to the
> keyboard now!) that expect a constant to be just that. The concept of a
> changing constant is what we would normally call a variable. I suppose that
but a constant doesn't change through out a single request, only between requests.
as far as the script is concerned the value doesn't ever change (given the 'share nothing'
principle). one reason for using constants in compiled code is so that you can change
behaviour of code at compile time no? well a constant as follows in php ammounts to the same:
define('SOME_ENV_THINGY', getMyEnvVal());
only compiling is done a little more often.
> a holy war could ensue over this. In the end a class constant is constant
your in a fighting mood heh ;-)
given that windows is the spawn of satan ... isn't a crusade started
by a windows shop a little contradictory ;-)
> and its visibility is public.
>
> For the OP I found the following manual page;
>
> http://us2.php.net/manual/en/language.oop5.constants.php
>
attached mail follows:
"Marlin Unruh" <mwu
suncosys.net> wrote in message
news:439B02B3.1080403
suncosys.net...
>I apologize because I posted this question earlier under Re: [PHP] href
>difference between OS's, and am still struggling with the problem. I think
>I have fished all the way around the lake, with no results.
>
> I cannot get href links to local files to work on an XP machine.
This is an issue that happened with the release of "Service Pack 2" (I think
it was SP2).
You are NOT allowed to click on a link that accesses the C: drive -period-.
The browser simply ignores you.
We got around this issue by mapping a network drive to our own C: drive, and
generating links to that mapped drive. SP2 allows you to then click on
these links.
FYI: We used to be able to simply put our own IP address as a trusted site,
but SP2 doesn't even allow that any more.
DanB
attached mail follows:
Dan Baker wrote:
> "Marlin Unruh" <mwu
suncosys.net> wrote in message
> news:439B02B3.1080403
suncosys.net...
>
>> I apologize because I posted this question earlier under Re: [PHP] href
>> difference between OS's, and am still struggling with the problem. I think
>> I have fished all the way around the lake, with no results.
>>
>> I cannot get href links to local files to work on an XP machine.
>>
>
> This is an issue that happened with the release of "Service Pack 2" (I think
> it was SP2).
> You are NOT allowed to click on a link that accesses the C: drive -period-.
> The browser simply ignores you.
>
> We got around this issue by mapping a network drive to our own C: drive, and
> generating links to that mapped drive. SP2 allows you to then click on
> these links.
>
> FYI: We used to be able to simply put our own IP address as a trusted site,
> but SP2 doesn't even allow that any more.
>
> DanB
>
>
Thanks, I am very grateful for you help. I was beginning to think there
was no solution, or I would have to live with the problem and hopefully
stumble across the answer eventually.
Thanks again!!
--
Regards,
Marlin Unruh
Sunco Systems Inc.
(308) 326-4400
attached mail follows:
On 12/11/05, Christopher Jordan <cscottjordan
yahoo.com> wrote:
>
> 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) to fetch
> the result set into an object that can be referenced nicely. Here's
> what his example code looks like:
>
> // Select multiple records from the database and print them
> out..
> $users = $db->get_results("SELECT name, email FROM users");
> foreach ( $users as $user ){
> // Access data using object syntax
> echo $user->name;
> echo $user->email;
> }
>
> So far so good. So I've got an iframe on the page which (I hope)
> will eventually display the results of the search. The user will then
> click on the search result for which they want to view the details, and
> the information from that row will be populated inside the main page
> (the one that houses the iframe).
>
> Hope that makes sense.
>
> Okay, so my trouble is that I don't know how to enable the page
> inside the iframe to have access to the result object created by
> Justin Vincent's nifty little class. In CF I can just say:
>
> session.oResults = queryname
>
> CF automatically returns any query as an object with the name of
> the query as the object name (i.e. queryname.MyIdField, or
> queryname.EmployeeNumber, etc.) Using a line like the one
> above (assigning the query object to a session variable) all of my
> subsequent requests would have access to that result set simply by using
> the object.
>
> I'm *sure* there's a way to do this in PHP. I'm just falling short of
> finding the answer. I've tried:
>
> $_SESSION["SearchResult"] = $db->get_results($query);
>
> But it doesn't seem to work. I may have some other problem using the
> object. I just re-read my error and it says:
>
> Fatal error: Call to a member function get_results() on a non-object in
> inventorymanager.php on line 93
>
> hmm... I sure would appreciate a little guidence here. Even if
> my problem is with the way I'm using the object, is the idea of
> assigning that object to the session scope the right way to do this or is
> there a better approach. To that end, I suppose I'm looking for an idea of
> the best practice.
>
> Thanks!
> Christopher Jordan
> Planet Access
> Arlington, TX
Fatal error: Call to a member function get_results() on a non-object in
inventorymanager.php on line 93
This means what it says. When you call $db->get_results it is saying the
class $db isn't set. If this is inside of your IFRAME and not the search
page (or however you have this set up), make sure to get an instance of db
before you call session_start(). Otherwise php will cry about having an
object in the session with no name.
If db->get_results returns an array then you can access your data like this:
page 1:
$_SESSION["SearchResult"] = $db->get_results("SELECT name, email FROM
users");
page 2:
foreach ($_SESSION["SearchResult"] as $user ){
I hope some of that helps or might point you in the right direction.
attached mail follows:
Message-ID: <3F.41.49905.6C0BD934
pb1.pair.com>
To: php-general
lists.php.net
Date: Mon, 12 Dec 2005 12:16:13 -0500
From: Al <news
ridersite.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; formatowed
Content-Transfer-Encoding: 7bit
Subject: IE6 not returning POST data from a textarea
Anyone know to get IE6 to return POST data from a textarea when the text is pasted in?
Works fine for Mozilla, etc.
print_r($_POST) shows several <input...> and <text ...> values just fine.
Thanks....
attached mail follows:
Al wrote:
> Anyone know to get IE6 to return POST data from a textarea when the text
> is pasted in?
>
> Works fine for Mozilla, etc.
>
> print_r($_POST) shows several <input...> and <text ...> values just fine.
>
> Thanks....
>
post your code.
ie6 not returning post values from textarea fields works fine for me.
ie6 not returning post value is not php.
try sending to a file which has <?php phpinfo(); ?> as its first line.
check in the last table if you find your missing var.
bye.
t.
attached mail follows:
"Marco Kaiser" <marco.kaiser
gmail.com> wrote in message
news:a2b4d2820512090024l639f2ec1k
mail.gmail.com...
just link directly to the specific file like
<a href="C:\path\to\your\file.exe">Link Local</a>
NOTE: XP SP2 will *not* open this file. The new security will not open
files on local drives.
You will need to map a network drive to a folder on your local drive:
MAP L: to C:\My CAD Files
<a href="L:\folder\file.cad">file.cad</a>
DanB
- application/x-pkcs7-signature attachment: smime.p7s
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]