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:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
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 è 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
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
 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


--- End Message ---
--- Begin Message ---
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/
> E-Mail: [EMAIL PROTECTED]
>
> ________________________________
>
> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> 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.
*********************************************************************

--- End Message ---
--- Begin Message ---
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
> >
> > ________________________________
> >
> > URL: http://www.en3py.net/
> > E-Mail: [EMAIL PROTECTED]
> >
> > ________________________________
> >
> > 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > 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.
> *********************************************************************
> 

--- End Message ---
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
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.com

TAKE ORDERS from the WEB and add them right into QUICKBOOKS! Ask me how...
  

> -----Original Message-----
> From: Ray [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, December 11, 2005 10:29 PM
> To: [email protected]
> 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
> 

--- End Message ---
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
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??

--- End Message ---
--- Begin Message ---
http://in.php.net/unset
On 12/12/05, Eternity Records Webmaster <[EMAIL PROTECTED]> 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
>
>

--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message --- PCユーザーにお得な情報を一方的に配信させていただきましたことお詫びいたします
このメールは送信専用メールアドレスから配信されています。ご返信いただいてもお答えできませんのでご了承ください。
ご質問等のある方はhttp://www.11279.com/のお問い合わせからご連絡ください。
配信停止希望の方は下記 配信停止よりお願いします。

〜〜〜配信停止〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
samurai_madoguti_samurai○yahoo.co.jp
                     (注)○を@にして送信してください。
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜




_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄

VL版専門店 
          ソフト 侍 【完全後払い】消費税・送料無料

業界初!!プライスカットシステム採用!!
千円単位以下はすべてカット!思い切って斬り捨てちゃいますから!
1万円以上ご利用からプライス斬り!しちゃいます!!
なんで1万円以下は・・・・残念。



    ↓↓↓↓↓ご来店はココ↓↓↓↓↓

          http://www.11279.com/


でも1本からでも送料は無料!(日本国内のみ)
お客様のご来店を心よりお待ち申し上げております。
PCユーザーにご利用いただく為、スタッフ一同一層努力して参ります。

■□■プライスカットシステム■□■□■□■□■□■□■□■□■□■

<<例>>    一万円〜二万円でも  10.000円
         二万円〜三万円でも  20.000円
       三万円〜四万円でも  30.000円
       四万円〜五万円でも  40.000円
       五万円以上も同じ
            (各万円台での千円単位以下斬り捨てます)
                   購入価格一万円以上が適用となります

■□■□■□■□■□■□■□■□■□■■□■□■□■□■□■

当店のVL版は
大手企業・廃校などから買付しているのですが
社内・校内で複製が許可されているメディアでして
すでに複製済み在庫販売となっております。
正規版と内容的にはほぼ変わりません。
●ユーザー登録はできません(認証等は問題ありません)●
○共有など追加分があるものもありますのでお問い合わせください○


_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄



ご来店はココ→→→→→→http://www.11279.com/



〜〜〜配信停止〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
samurai_madoguti_samurai○yahoo.co.jp
                     (注)○を@にして送信してください。
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜


このメールは送信専用メールアドレスから配信されています。ご返信いただいてもお答えできませんのでご了承ください。
ご質問等のある方はhttp://www.11279.com/のお問い合わせからご連絡ください。


                                      インターネットVL版専門店 ソフト侍
--- End Message ---
--- Begin Message ---
?

On 12/12/05, dmzkaqmzdp5 <[EMAIL PROTECTED]> wrote:
>
> PCユーザーにお得な情報を一方的に配信させていただきましたことお詫びいたします
>
> このメールは送信専用メールアドレスから配信されています。ご返信いただいてもお答えできませんのでご了承ください。
> ご質問等のある方はhttp://www.11279.com/のお問い合わせからご連絡ください。
> 配信停止希望の方は下記 配信停止よりお願いします。
>
> 〜〜〜配信停止〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
> samurai_madoguti_samurai○yahoo.co.jp
> (注)○を@にして送信してください。
>
> 〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
>
>
>
>
> _/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄
>
> VL版専門店
> ソフト 侍 【完全後払い】消費税・送料無料
>
> 業界初!!プライスカットシステム採用!!
> 千円単位以下はすべてカット!思い切って斬り捨てちゃいますから!
> 1万円以上ご利用からプライス斬り!しちゃいます!!
> なんで1万円以下は・・・・残念。
>
>
>
> ↓↓↓↓↓ご来店はココ↓↓↓↓↓
>
> http://www.11279.com/
>
>
> でも1本からでも送料は無料!(日本国内のみ)
> お客様のご来店を心よりお待ち申し上げております。
> PCユーザーにご利用いただく為、スタッフ一同一層努力して参ります。
>
> ■□■プライスカットシステム■□■□■□■□■□■□■□■□■□■
>
> <<例>>    一万円〜二万円でも 10.000円
>     二万円〜三万円でも 20.000円
> 三万円〜四万円でも 30.000円
> 四万円〜五万円でも 40.000円
> 五万円以上も同じ
> (各万円台での千円単位以下斬り捨てます)
> 購入価格一万円以上が適用となります
>
> ■□■□■□■□■□■□■□■□■□■■□■□■□■□■□■
>
> 当店のVL版は
> 大手企業・廃校などから買付しているのですが
> 社内・校内で複製が許可されているメディアでして
> すでに複製済み在庫販売となっております。
> 正規版と内容的にはほぼ変わりません。
> ●ユーザー登録はできません(認証等は問題ありません)●
> ○共有など追加分があるものもありますのでお問い合わせください○
>
>
> _/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄
>
>
>
> ご来店はココ→→→→→→http://www.11279.com/
>
>
>
> 〜〜〜配信停止〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
> samurai_madoguti_samurai○yahoo.co.jp
> (注)○を@にして送信してください。
>
> 〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
>
>
> このメールは送信専用メールアドレスから配信されています。ご返信いただいてもお答えできませんのでご了承ください。
> ご質問等のある方はhttp://www.11279.com/のお問い合わせからご連絡ください。
>
>
> インターネットVL版専門店 ソフト侍
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
On 12 Dec 2005, at 13:27, Paul wrote:

?

On 12/12/05, dmzkaqmzdp5 <[EMAIL PROTECTED]> wrote:

PCユーザーにお得な情報を一方的に配信させて いただきましたことお詫びいたします

The phrase 'Japanese spam email advertising a site selling pirated software' springs to mind.

Cheers,

Rich
--
http://www.corephp.co.uk
PHP Development Services

--- End Message ---
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
"Marlin Unruh" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>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

--- End Message ---
--- Begin Message ---
Dan Baker wrote:
"Marlin Unruh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
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

--- End Message ---
--- Begin Message ---
On 12/11/05, Christopher Jordan <[EMAIL PROTECTED]> 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.

--- End Message ---
--- Begin Message ---
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....

--- End Message ---
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
"Marco Kaiser" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
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

--- End Message ---

Reply via email to