OSEC

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 20 Jan 2006 10:39:28 -0000 Issue 3916

php-general-digest-helplists.php.net
Date: Fri Jan 20 2006 - 04:39:28 CST


php-general Digest 20 Jan 2006 10:39:28 -0000 Issue 3916

Topics (messages 228883 through 228923):

Re: New to PHP
        228883 by: Mike Rondeau
        228888 by: Richard Lynch
        228892 by: Dan Baker
        228908 by: Mike Rondeau

Re: (Fwd) inserting text into a mime message
        228884 by: Richard Lynch
        228891 by: Geoff
        228895 by: Richard Lynch

Re: parse string
        228885 by: Richard Lynch
        228890 by: Ron Eggler (Paykiosks)

Re: $_SESSION saves all values but Class -- works on one server but not another?!
        228886 by: Richard Lynch
        228909 by: Daevid Vincent

Re: Embedded Player
        228887 by: Brady Mitchell

Re: Email Form
        228889 by: AK

Re: URL -> stream context
        228893 by: Richard Lynch
        228907 by: Geoff

Re: Sessions
        228894 by: Richard Lynch
        228901 by: php-mail
        228905 by: Richard Lynch
        228906 by: php-mail

Re: generate database driven web pages
        228896 by: Richard Lynch

Re: PHP and LDAP...
        228897 by: Richard Lynch

Re: Using GPG in Safe Mode
        228898 by: Edwin Barrios
        228903 by: Richard Lynch

Re: how 2 open File Browser window in PHP
        228899 by: Richard Lynch

Re: Site down?
        228900 by: Richard Lynch

Re: Validating Radio Buttons in two directions
        228902 by: Richard Lynch
        228904 by: Richard Lynch
        228910 by: HiFi Tubes

squirrelmail php memory
        228911 by: maillists
        228916 by: Curt Zirzow

Determining number of days in a selected month
        228912 by: Ben Miller
        228914 by: clive
        228919 by: Jesús Fernández

reading variables?
        228913 by: William Stokes
        228918 by: David Dorward

PHP mail form spam checking
        228915 by: Gerry Danen

Re: help me plz
        228917 by: Thomas

Creating protected Excel files from PHP
        228920 by: Karl-Heinz Christian Zeck

Re: php5.0.5 include() terminates script BUGBUGBUGBUG
        228921 by: Jochem Maas

date("H", $datevalue) always adds an hour?
        228922 by: Murray . PlanetThoughtful
        228923 by: David Grant

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscribelists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscribelists.php.net

To post to the list, e-mail:
        php-generallists.php.net

----------------------------------------------------------------------

attached mail follows:


I use Xampp because I'm new to all of this also, and it makes setup a breeze.
http://www.apachefriends.org/en/
This installs Apache, mysql, php, pearl, ftpzilla, all kinds of stuff, already configured and ready to rock.
It doesn't get any easier.

Mike
  ----- Original Message -----
  From: Jesús Fernández
  Cc: php-generallists.php.net
  Sent: Thursday, January 19, 2006 2:05 PM
  Subject: Re: [PHP] New to PHP

  You can always install Apache+PHP on your box to try it whenever you want...

  --
  Esú - http://esu.proyectoanonimo.com
  http://www.proyectoanonimo.com

attached mail follows:


On Thu, January 19, 2006 4:02 pm, Jedidiah wrote:
> I mentioned earlier that I recently switched my site over to PHP. I
> had a
> couple of reasons for this:
>
> 1: I was using Server Side Includes, and had been told that PHP
> includes
> were better and definitely more popular.
>
> 2: I began sending out a newsletter which was written by someone else
> in
> PHP.
>
> I am beginning to wonder if this was a good idea. I can no longer
> preview
> my pages without uploading the files to the server. This can really
> become
> a problem when I am making slight formatting changes to my CSS file
> where I
> need to refresh the page every few seconds until I get the look just
> right.
>
> Is it really worth changing all the files to PHP files and using
> includes?
> Is there any way around this, or am I stuck uploading??

Several options spring to mind.

#1.
Install Apache (free) and PHP (free) and MySQL (free) on your desktop
where you build your pages.

You'll have your own little Intranet with one (1) server (your
computer) and one client (your comupter) and one user (you).

You can then test to your heart's content all kinds of fun stuff in
your page and have no worry that anybody but you will be affected.

This is a pretty standard development model. Most PHP developers do
this because it's quite easy, and you can then work with any new
technology you want without worrying about it crashing the real
server.

If you have a laptop, you can also then work anywhere at all.

#2.
Consider using a template library such as Smarty so that your Template
files can be viewed/edited independently of the program logic, so that
CSS changes aren't affected as much by PHP, and you MIGHT be able to
skip #1... But you probably shouldn't.

--
Like Music?
http://l-i-e.com/artists.htm

attached mail follows:


"Jedidiah" <jjsmithyhti.net> wrote in message
news:1F.D5.03850.27C00D34pb1.pair.com...
>I mentioned earlier that I recently switched my site over to PHP.
<snip>
> I can no longer preview
> my pages without uploading the files to the server. This can really
> become
> a problem when I am making slight formatting changes to my CSS file where
> I
> need to refresh the page every few seconds until I get the look just
> right.
>
> Is it really worth changing all the files to PHP files and using includes?
> Is there any way around this, or am I stuck uploading??

There are a couple things you can do:
(1) Create a local webserver/PHP environment, like others have suggested
(2) Made yourself a small test bed are on your external server, upload your
files, and try them out. If you have a fast internet connection, this
usually isn't too bad.

Dan

attached mail follows:


I hope you like it. Inside your xampp folder, wherever you installed it to, you will find a folder named "htdocs", which is where apache holds your site as far as I can tell. So if you were to to create a new php page named newpage.php inside your htdocs folder, you can view it in a browser by typing http://localhost/newpage.php or else http://127.0.0.1/newpage.php then refresh that as you change little details to your css or php code or whatever. Localhost or 127.0.0.1 is your server on your computer.

Good luck!
Mike
  ----- Original Message -----
  From: Jedidiah
  To: 'Mike Rondeau'
  Sent: Thursday, January 19, 2006 3:46 PM
  Subject: RE: [PHP] New to PHP

  Thanks, I just downloaded this. It looks pretty great. How does it work?
  Do I have to specify a path on my computer to be the server and move files
  to that server? Thanks.

  Jedidiah

  -----Original Message-----
  From: Mike Rondeau [mailto:hyatt65hotmail.com]
  Sent: Thursday, January 19, 2006 4:37 PM
  To: php-generallists.php.net
  Subject: Re: [PHP] New to PHP

  I use Xampp because I'm new to all of this also, and it makes setup a
  breeze.
  http://www.apachefriends.org/en/
  This installs Apache, mysql, php, pearl, ftpzilla, all kinds of stuff,
  already configured and ready to rock.
  It doesn't get any easier.

  Mike

attached mail follows:


All them lawyerly crapola signatures outside the control of the actual
user implies that there is SOME kind of software available to do it...

It seems to me that if you looked at the raw email and found the
boundary, and focused on the only mime-types you care about, you'd be
able to hack the file pretty easily...

And if it's not mime-encoded, it's just text, and a simple fopen($x,
'a'); fwrite($x, $sig); fclose($x); would do it.

Maybe I'm over-simplifying something?

On Thu, January 19, 2006 4:22 pm, Geoff wrote:
> Nobody got any ideas on this? I would be interested to hear from
> anyone who has successfully adjusted parts of an email message while
> it is in transit, by ANY method. I'm getting desparate and will try
> anything, even if it is not 100% PHP.
>
> All ideas, suggestions greatly appreciated.
>
> Geoff.
>
>
> ------- Forwarded message follows -------
> From: Geoff <php-general2yd.com>
> To: php-generallists.php.net
> Subject: inserting text into a mime message
> Date sent: Thu, 19 Jan 2006 10:51:37 +0200
>
> Hi All,
>
> I've been searching the archives for help on this, but have come up
> empty-handed. Here's the thing:
>
> I'm using a PHP script to parse every message coming through a
> mailserver. The server invokes my script for each message, giving it
> a filename containing the full raw text of the email. The script
> needs to modify the raw message file, inserting a footer (some
> trailing text, eg: a disclaimer) at the end of each part of readable
> message. It doesn't touch file attachments, but it needs to insert
> the footer in any plaintext, HTML text or both (if they exist).
>
> There are so many different mime options and encoding types that it
> seemed like re-inventing the wheel to try working with only the raw
> message text, so instead I decided to use the PEAR Mail_mimeDecode
> module, which returns a very nice object array of all the parts,
> decoded and ready for use.
>
> It's no problem going through this and inserting the footer wherever
> it is needed. That much I've done.
>
> My problem is trying to rebuild that object array (the output of the
> Mail_mimeDecode::decode() function) back into its raw form once
> again, so that I can write the modified raw text back to the message
> file and the email can go on its way.
>
> Another complication is that except for the insertion of the footer,
> I cannot modify the original message. All the headers, dates,
> receive-paths, etc, must remain unchanged.
>
> Has anybody ever done anything like this before - re-encoding a
> message that had been decoded by Mail_mimeDecode::decode()? I've
> looked at the encode() function, but it seems to be used for making
> a simple message from scratch (with just one body part), it is not
> really the opposite of decode(). [I may be wrong about this - there
> are no examples in the PEAR manual].
>
> I'm not hung up about what to use, it doesn't have to be PEAR, I
> will use any library or code that will do the job. Alternatively, if
> it is possible to do this with encode(), I would love to see an
> example, as I couldn't get it to work that way myself.
>
> Many thanks.
>
> Geoff.
>
> ------- End of forwarded message -------
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
Like Music?
http://l-i-e.com/artists.htm

attached mail follows:


> It seems to me that if you looked at the raw email and found the
> boundary, and focused on the only mime-types you care about, you'd
> be able to hack the file pretty easily...

I just may have to do that. One problem though is that many mails
are encoded in some way (I mean byte-encoding, like base 64) and I
was hoping to make use of the transparent decoding capability of a
class or library made to do that sort of thing. But if I cannot,
then yours is the approach I will probably use.

> All them lawyerly crapola signatures outside the control of the
> actual user implies that there is SOME kind of software available
> to do it...

...but many of them are in commercial packages, or are plugins to
MSExchange or similar. And most of the open-source ones only stick
the footer in the first piece of text/plain that they find, without
being aware of multiparts.

Thanks,

Geoff.

On 19 Jan 2006 at 16:38, Richard Lynch wrote:

> All them lawyerly crapola signatures outside the control of the actual
> user implies that there is SOME kind of software available to do it...
>
> It seems to me that if you looked at the raw email and found the
> boundary, and focused on the only mime-types you care about, you'd be
> able to hack the file pretty easily...
>
> And if it's not mime-encoded, it's just text, and a simple fopen($x,
> 'a'); fwrite($x, $sig); fclose($x); would do it.
>
> Maybe I'm over-simplifying something?
>
>
> On Thu, January 19, 2006 4:22 pm, Geoff wrote:
> > Nobody got any ideas on this? I would be interested to hear from
> > anyone who has successfully adjusted parts of an email message while
> > it is in transit, by ANY method. I'm getting desparate and will try
> > anything, even if it is not 100% PHP.
> >
> > All ideas, suggestions greatly appreciated.
> >
> > Geoff.
> >
> >
> > ------- Forwarded message follows -------
> > From: Geoff <php-general2yd.com>
> > To: php-generallists.php.net
> > Subject: inserting text into a mime message
> > Date sent: Thu, 19 Jan 2006 10:51:37 +0200
> >
> > Hi All,
> >
> > I've been searching the archives for help on this, but have come up
> > empty-handed. Here's the thing:
> >
> > I'm using a PHP script to parse every message coming through a
> > mailserver. The server invokes my script for each message, giving it
> > a filename containing the full raw text of the email. The script
> > needs to modify the raw message file, inserting a footer (some
> > trailing text, eg: a disclaimer) at the end of each part of readable
> > message. It doesn't touch file attachments, but it needs to insert
> > the footer in any plaintext, HTML text or both (if they exist).
> >
> > There are so many different mime options and encoding types that it
> > seemed like re-inventing the wheel to try working with only the raw
> > message text, so instead I decided to use the PEAR Mail_mimeDecode
> > module, which returns a very nice object array of all the parts,
> > decoded and ready for use.
> >
> > It's no problem going through this and inserting the footer wherever
> > it is needed. That much I've done.
> >
> > My problem is trying to rebuild that object array (the output of the
> > Mail_mimeDecode::decode() function) back into its raw form once
> > again, so that I can write the modified raw text back to the message
> > file and the email can go on its way.
> >
> > Another complication is that except for the insertion of the footer,
> > I cannot modify the original message. All the headers, dates,
> > receive-paths, etc, must remain unchanged.
> >
> > Has anybody ever done anything like this before - re-encoding a
> > message that had been decoded by Mail_mimeDecode::decode()? I've
> > looked at the encode() function, but it seems to be used for making
> > a simple message from scratch (with just one body part), it is not
> > really the opposite of decode(). [I may be wrong about this - there
> > are no examples in the PEAR manual].
> >
> > I'm not hung up about what to use, it doesn't have to be PEAR, I
> > will use any library or code that will do the job. Alternatively, if
> > it is possible to do this with encode(), I would love to see an
> > example, as I couldn't get it to work that way myself.
> >
> > Many thanks.
> >
> > Geoff.
> >
> > ------- End of forwarded message -------
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> Like Music?
> http://l-i-e.com/artists.htm
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> !DSPAM:43d0236364872042218820!
>

attached mail follows:


Sounds like they all hit the same wall you have hit...

Could be an opportunity...

:-)

On Thu, January 19, 2006 4:55 pm, Geoff wrote:
>> It seems to me that if you looked at the raw email and found the
>> boundary, and focused on the only mime-types you care about, you'd
>> be able to hack the file pretty easily...
>
> I just may have to do that. One problem though is that many mails
> are encoded in some way (I mean byte-encoding, like base 64) and I
> was hoping to make use of the transparent decoding capability of a
> class or library made to do that sort of thing. But if I cannot,
> then yours is the approach I will probably use.
>
>> All them lawyerly crapola signatures outside the control of the
>> actual user implies that there is SOME kind of software available
>> to do it...
>
> ...but many of them are in commercial packages, or are plugins to
> MSExchange or similar. And most of the open-source ones only stick
> the footer in the first piece of text/plain that they find, without
> being aware of multiparts.
>
> Thanks,
>
> Geoff.
>
>
> On 19 Jan 2006 at 16:38, Richard Lynch wrote:
>
>> All them lawyerly crapola signatures outside the control of the
>> actual
>> user implies that there is SOME kind of software available to do
>> it...
>>
>> It seems to me that if you looked at the raw email and found the
>> boundary, and focused on the only mime-types you care about, you'd
>> be
>> able to hack the file pretty easily...
>>
>> And if it's not mime-encoded, it's just text, and a simple fopen($x,
>> 'a'); fwrite($x, $sig); fclose($x); would do it.
>>
>> Maybe I'm over-simplifying something?
>>
>>
>> On Thu, January 19, 2006 4:22 pm, Geoff wrote:
>> > Nobody got any ideas on this? I would be interested to hear from
>> > anyone who has successfully adjusted parts of an email message
>> while
>> > it is in transit, by ANY method. I'm getting desparate and will
>> try
>> > anything, even if it is not 100% PHP.
>> >
>> > All ideas, suggestions greatly appreciated.
>> >
>> > Geoff.
>> >
>> >
>> > ------- Forwarded message follows -------
>> > From: Geoff <php-general2yd.com>
>> > To: php-generallists.php.net
>> > Subject: inserting text into a mime message
>> > Date sent: Thu, 19 Jan 2006 10:51:37 +0200
>> >
>> > Hi All,
>> >
>> > I've been searching the archives for help on this, but have come
>> up
>> > empty-handed. Here's the thing:
>> >
>> > I'm using a PHP script to parse every message coming through a
>> > mailserver. The server invokes my script for each message, giving
>> it
>> > a filename containing the full raw text of the email. The script
>> > needs to modify the raw message file, inserting a footer (some
>> > trailing text, eg: a disclaimer) at the end of each part of
>> readable
>> > message. It doesn't touch file attachments, but it needs to insert
>> > the footer in any plaintext, HTML text or both (if they exist).
>> >
>> > There are so many different mime options and encoding types that
>> it
>> > seemed like re-inventing the wheel to try working with only the
>> raw
>> > message text, so instead I decided to use the PEAR Mail_mimeDecode
>> > module, which returns a very nice object array of all the parts,
>> > decoded and ready for use.
>> >
>> > It's no problem going through this and inserting the footer
>> wherever
>> > it is needed. That much I've done.
>> >
>> > My problem is trying to rebuild that object array (the output of
>> the
>> > Mail_mimeDecode::decode() function) back into its raw form once
>> > again, so that I can write the modified raw text back to the
>> message
>> > file and the email can go on its way.
>> >
>> > Another complication is that except for the insertion of the
>> footer,
>> > I cannot modify the original message. All the headers, dates,
>> > receive-paths, etc, must remain unchanged.
>> >
>> > Has anybody ever done anything like this before - re-encoding a
>> > message that had been decoded by Mail_mimeDecode::decode()? I've
>> > looked at the encode() function, but it seems to be used for
>> making
>> > a simple message from scratch (with just one body part), it is not
>> > really the opposite of decode(). [I may be wrong about this -
>> there
>> > are no examples in the PEAR manual].
>> >
>> > I'm not hung up about what to use, it doesn't have to be PEAR, I
>> > will use any library or code that will do the job. Alternatively,
>> if
>> > it is possible to do this with encode(), I would love to see an
>> > example, as I couldn't get it to work that way myself.
>> >
>> > Many thanks.
>> >
>> > Geoff.
>> >
>> > ------- End of forwarded message -------
>> >
>> > --
>> > PHP General Mailing List (http://www.php.net/)
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>> >
>> >
>>
>>
>> --
>> Like Music?
>> http://l-i-e.com/artists.htm
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>> !DSPAM:43d0236364872042218820!
>>
>
>
>

--
Like Music?
http://l-i-e.com/artists.htm

attached mail follows:


Grrrr. I forgot PHP Object printing was so primitive, even under
var_dump. :-(

function walkout($object, $indent = 0){
  if (is_object($object) or is_array($object)){
    foreach($object as $k => $v){
      echo str_repeat(' ', $indent), $k, ' =&gt; ';
      walkout($v, $indent + 1);
    }
  }
  else echo $v, "<br />\n";
}

echo "<pre>";
walkout($xml);
echo "</pre>";

On Thu, January 19, 2006 4:21 pm, Ron Eggler (Paykiosks) wrote:
> [snipped everything]
>
> Okay, If I'm gonna dump $xml i get a huge output put can't fin
> category
> in there:
> [Output]
> object(SimpleXMLElement)#1 (1) {
> ["SKUlisting"]=>
> object(SimpleXMLElement)#3 (3) {
> ["globalInfo"]=>
> object(SimpleXMLElement)#4 (0) {
> }
> ["carrierInfo"]=>
> array(15) {
> [0]=>
> object(SimpleXMLElement)#2 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#6 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#7 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#8 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#9 (0) {
> }
> [5]=>
> object(SimpleXMLElement)#10 (0) {
> }
> [6]=>
> object(SimpleXMLElement)#11 (0) {
> }
> [7]=>
> object(SimpleXMLElement)#12 (0) {
> }
> [8]=>
> object(SimpleXMLElement)#13 (0) {
> }
> [9]=>
> object(SimpleXMLElement)#14 (0) {
> }
> [10]=>
> object(SimpleXMLElement)#15 (0) {
> }
> [11]=>
> object(SimpleXMLElement)#16 (0) {
> }
> [12]=>
> object(SimpleXMLElement)#17 (0) {
> }
> [13]=>
> object(SimpleXMLElement)#18 (0) {
> }
> [14]=>
> object(SimpleXMLElement)#19 (0) {
> }
> }
> ["cardSKU"]=>
> array(45) {
> [0]=>
> object(SimpleXMLElement)#20 (3) {
> ["card"]=>
> object(SimpleXMLElement)#65 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#67 (0) {
> }
> }
> ["terms"]=>
> string(65) "Refer to the Reconex brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> object(SimpleXMLElement)#66 (0) {
> }
> }
> [1]=>
> object(SimpleXMLElement)#21 (3) {
> ["card"]=>
> object(SimpleXMLElement)#68 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#70 (0) {
> }
> }
> ["terms"]=>
> string(65) "Refer to the Reconex brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> object(SimpleXMLElement)#69 (0) {
> }
> }
> [2]=>
> object(SimpleXMLElement)#22 (3) {
> ["card"]=>
> object(SimpleXMLElement)#71 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#73 (0) {
> }
> }
> ["terms"]=>
> string(65) "Refer to the Reconex brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> object(SimpleXMLElement)#72 (0) {
> }
> }
> [3]=>
> object(SimpleXMLElement)#23 (3) {
> ["card"]=>
> object(SimpleXMLElement)#74 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#76 (0) {
> }
> }
> ["terms"]=>
> string(65) "Refer to the Reconex brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> object(SimpleXMLElement)#75 (0) {
> }
> }
> [4]=>
> object(SimpleXMLElement)#24 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#77 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#78 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#80 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#79 (0) {
> }
> }
> [5]=>
> object(SimpleXMLElement)#25 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#81 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#82 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#84 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#83 (0) {
> }
> }
> [6]=>
> object(SimpleXMLElement)#26 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#85 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#86 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#88 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#87 (0) {
> }
> }
> [7]=>
> object(SimpleXMLElement)#27 (4) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#89 (0) {
> }
> ["loadValueInfo"]=>
> object(SimpleXMLElement)#90 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#91 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#93 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#92 (0) {
> }
> }
> [8]=>
> object(SimpleXMLElement)#28 (4) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#94 (0) {
> }
> ["loadValueInfo"]=>
> object(SimpleXMLElement)#95 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#96 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#98 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#97 (0) {
> }
> }
> [9]=>
> object(SimpleXMLElement)#29 (4) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#99 (0) {
> }
> ["loadValueInfo"]=>
> object(SimpleXMLElement)#100 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#101 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#103 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#102 (0) {
> }
> }
> [10]=>
> object(SimpleXMLElement)#30 (4) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#104 (0) {
> }
> ["loadValueInfo"]=>
> object(SimpleXMLElement)#105 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#106 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#108 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#107 (0) {
> }
> }
> [11]=>
> object(SimpleXMLElement)#31 (2) {
> ["card"]=>
> object(SimpleXMLElement)#109 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#110 (0) {
> }
> }
> ["terms"]=>
> string(55) "Please see www.play-phone.com for terms and
> conditions."
> }
> [12]=>
> object(SimpleXMLElement)#32 (2) {
> ["card"]=>
> object(SimpleXMLElement)#111 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#112 (0) {
> }
> }
> ["terms"]=>
> string(55) "Please see www.play-phone.com for terms and
> conditions."
> }
> [13]=>
> object(SimpleXMLElement)#33 (3) {
> ["card"]=>
> object(SimpleXMLElement)#113 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#115 (0) {
> }
> }
> ["terms"]=>
> string(55) "Please see www.play-phone.com for terms and
> conditions."
> ["pinfo"]=>
> object(SimpleXMLElement)#114 (0) {
> }
> }
> [14]=>
> object(SimpleXMLElement)#34 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#116 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#117 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#119 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#118 (0) {
> }
> }
> [15]=>
> object(SimpleXMLElement)#35 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#120 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#121 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#123 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#122 (0) {
> }
> }
> [16]=>
> object(SimpleXMLElement)#36 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#124 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#125 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#127 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#126 (0) {
> }
> }
> [17]=>
> object(SimpleXMLElement)#37 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#128 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#129 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#131 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#130 (0) {
> }
> }
> [18]=>
> object(SimpleXMLElement)#38 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#132 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#133 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#135 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#134 (0) {
> }
> }
> [19]=>
> object(SimpleXMLElement)#39 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#136 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#137 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#139 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#138 (0) {
> }
> }
> [20]=>
> object(SimpleXMLElement)#40 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#140 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#141 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#143 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#142 (0) {
> }
> }
> [21]=>
> object(SimpleXMLElement)#41 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#144 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#145 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#147 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#146 (0) {
> }
> }
> [22]=>
> object(SimpleXMLElement)#42 (4) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#148 (0) {
> }
> ["loadValueInfo"]=>
> object(SimpleXMLElement)#149 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#150 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#152 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#151 (0) {
> }
> }
> [23]=>
> object(SimpleXMLElement)#43 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#153 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#154 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#156 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#155 (0) {
> }
> }
> [24]=>
> object(SimpleXMLElement)#44 (3) {
> ["card"]=>
> object(SimpleXMLElement)#157 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#164 (0) {
> }
> }
> ["terms"]=>
> string(68) "Refer to the Boost Mobile brochure for complete
> terms and conditions"
> ["pinfo"]=>
> array(6) {
> [0]=>
> object(SimpleXMLElement)#158 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#159 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#160 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#161 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#162 (0) {
> }
> [5]=>
> object(SimpleXMLElement)#163 (0) {
> }
> }
> }
> [25]=>
> object(SimpleXMLElement)#45 (3) {
> ["card"]=>
> object(SimpleXMLElement)#165 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#172 (0) {
> }
> }
> ["terms"]=>
> string(68) "Refer to the Boost Mobile brochure for complete
> terms and conditions"
> ["pinfo"]=>
> array(6) {
> [0]=>
> object(SimpleXMLElement)#166 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#167 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#168 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#169 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#170 (0) {
> }
> [5]=>
> object(SimpleXMLElement)#171 (0) {
> }
> }
> }
> [26]=>
> object(SimpleXMLElement)#46 (3) {
> ["card"]=>
> object(SimpleXMLElement)#173 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#180 (0) {
> }
> }
> ["terms"]=>
> string(68) "Refer to the Boost Mobile brochure for complete
> terms and conditions"
> ["pinfo"]=>
> array(6) {
> [0]=>
> object(SimpleXMLElement)#174 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#175 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#176 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#177 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#178 (0) {
> }
> [5]=>
> object(SimpleXMLElement)#179 (0) {
> }
> }
> }
> [27]=>
> object(SimpleXMLElement)#47 (3) {
> ["card"]=>
> object(SimpleXMLElement)#181 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#186 (0) {
> }
> }
> ["terms"]=>
> string(66) "Refer to the Cingular brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> array(4) {
> [0]=>
> object(SimpleXMLElement)#182 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#183 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#184 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#185 (0) {
> }
> }
> }
> [28]=>
> object(SimpleXMLElement)#48 (3) {
> ["card"]=>
> object(SimpleXMLElement)#187 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#192 (0) {
> }
> }
> ["terms"]=>
> string(66) "Refer to the Cingular brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> array(4) {
> [0]=>
> object(SimpleXMLElement)#188 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#189 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#190 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#191 (0) {
> }
> }
> }
> [29]=>
> object(SimpleXMLElement)#49 (3) {
> ["card"]=>
> object(SimpleXMLElement)#193 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#198 (0) {
> }
> }
> ["terms"]=>
> string(66) "Refer to the Cingular brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> array(4) {
> [0]=>
> object(SimpleXMLElement)#194 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#195 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#196 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#197 (0) {
> }
> }
> }
> [30]=>
> object(SimpleXMLElement)#50 (3) {
> ["card"]=>
> object(SimpleXMLElement)#199 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#204 (0) {
> }
> }
> ["terms"]=>
> string(66) "Refer to the Cingular brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> array(4) {
> [0]=>
> object(SimpleXMLElement)#200 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#201 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#202 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#203 (0) {
> }
> }
> }
> [31]=>
> object(SimpleXMLElement)#51 (3) {
> ["card"]=>
> object(SimpleXMLElement)#205 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#210 (0) {
> }
> }
> ["terms"]=>
> string(66) "Refer to the Cingular brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> array(4) {
> [0]=>
> object(SimpleXMLElement)#206 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#207 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#208 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#209 (0) {
> }
> }
> }
> [32]=>
> object(SimpleXMLElement)#52 (3) {
> ["card"]=>
> object(SimpleXMLElement)#211 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#216 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#212 (0) {
> }
> ["pinfo"]=>
> array(3) {
> [0]=>
> object(SimpleXMLElement)#213 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#214 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#215 (0) {
> }
> }
> }
> [33]=>
> object(SimpleXMLElement)#53 (3) {
> ["card"]=>
> object(SimpleXMLElement)#217 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#222 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#218 (0) {
> }
> ["pinfo"]=>
> array(3) {
> [0]=>
> object(SimpleXMLElement)#219 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#220 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#221 (0) {
> }
> }
> }
> [34]=>
> object(SimpleXMLElement)#54 (3) {
> ["card"]=>
> object(SimpleXMLElement)#223 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#228 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#224 (0) {
> }
> ["pinfo"]=>
> array(3) {
> [0]=>
> object(SimpleXMLElement)#225 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#226 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#227 (0) {
> }
> }
> }
> [35]=>
> object(SimpleXMLElement)#55 (3) {
> ["card"]=>
> object(SimpleXMLElement)#229 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#235 (0) {
> }
> }
> ["terms"]=>
> string(66) "Refer to the T-Mobile brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> array(5) {
> [0]=>
> object(SimpleXMLElement)#230 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#231 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#232 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#233 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#234 (0) {
> }
> }
> }
> [36]=>
> object(SimpleXMLElement)#56 (3) {
> ["card"]=>
> object(SimpleXMLElement)#236 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#241 (0) {
> }
> }
> ["terms"]=>
> string(66) "Refer to the T-Mobile brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> array(4) {
> [0]=>
> object(SimpleXMLElement)#237 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#238 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#239 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#240 (0) {
> }
> }
> }
> [37]=>
> object(SimpleXMLElement)#57 (3) {
> ["card"]=>
> object(SimpleXMLElement)#242 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#248 (0) {
> }
> }
> ["terms"]=>
> string(66) "Refer to the T-Mobile brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> array(5) {
> [0]=>
> object(SimpleXMLElement)#243 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#244 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#245 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#246 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#247 (0) {
> }
> }
> }
> [38]=>
> object(SimpleXMLElement)#58 (3) {
> ["card"]=>
> object(SimpleXMLElement)#249 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#255 (0) {
> }
> }
> ["terms"]=>
> string(66) "Refer to the T-Mobile brochure for complete terms
> and conditions. "
> ["pinfo"]=>
> array(5) {
> [0]=>
> object(SimpleXMLElement)#250 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#251 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#252 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#253 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#254 (0) {
> }
> }
> }
> [39]=>
> object(SimpleXMLElement)#59 (3) {
> ["skuswipe"]=>
> object(SimpleXMLElement)#256 (0) {
> }
> ["card"]=>
> object(SimpleXMLElement)#257 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#258 (0) {
> }
> }
> ["terms"]=>
> string(70) "Refer to the Test Carrier brochure for complete
> terms and conditions. "
> }
> [40]=>
> object(SimpleXMLElement)#60 (3) {
> ["card"]=>
> object(SimpleXMLElement)#259 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#266 (0) {
> }
> }
> ["terms"]=>
> string(74) "Refer to the Verizon Wireless brochure for
> complete terms and conditions. "
> ["pinfo"]=>
> array(6) {
> [0]=>
> object(SimpleXMLElement)#260 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#261 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#262 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#263 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#264 (0) {
> }
> [5]=>
> object(SimpleXMLElement)#265 (0) {
> }
> }
> }
> [41]=>
> object(SimpleXMLElement)#61 (3) {
> ["card"]=>
> object(SimpleXMLElement)#267 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#274 (0) {
> }
> }
> ["terms"]=>
> string(74) "Refer to the Verizon Wireless brochure for
> complete terms and conditions. "
> ["pinfo"]=>
> array(6) {
> [0]=>
> object(SimpleXMLElement)#268 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#269 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#270 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#271 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#272 (0) {
> }
> [5]=>
> object(SimpleXMLElement)#273 (0) {
> }
> }
> }
> [42]=>
> object(SimpleXMLElement)#62 (3) {
> ["card"]=>
> object(SimpleXMLElement)#275 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#283 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#276 (0) {
> }
> ["pinfo"]=>
> array(6) {
> [0]=>
> object(SimpleXMLElement)#277 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#278 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#279 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#280 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#281 (0) {
> }
> [5]=>
> object(SimpleXMLElement)#282 (0) {
> }
> }
> }
> [43]=>
> object(SimpleXMLElement)#63 (3) {
> ["card"]=>
> object(SimpleXMLElement)#284 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#292 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#285 (0) {
> }
> ["pinfo"]=>
> array(6) {
> [0]=>
> object(SimpleXMLElement)#286 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#287 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#288 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#289 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#290 (0) {
> }
> [5]=>
> object(SimpleXMLElement)#291 (0) {
> }
> }
> }
> [44]=>
> object(SimpleXMLElement)#64 (3) {
> ["card"]=>
> object(SimpleXMLElement)#293 (1) {
> ["cinfo"]=>
> object(SimpleXMLElement)#301 (0) {
> }
> }
> ["terms"]=>
> object(SimpleXMLElement)#294 (0) {
> }
> ["pinfo"]=>
> array(6) {
> [0]=>
> object(SimpleXMLElement)#295 (0) {
> }
> [1]=>
> object(SimpleXMLElement)#296 (0) {
> }
> [2]=>
> object(SimpleXMLElement)#297 (0) {
> }
> [3]=>
> object(SimpleXMLElement)#298 (0) {
> }
> [4]=>
> object(SimpleXMLElement)#299 (0) {
> }
> [5]=>
> object(SimpleXMLElement)#300 (0) {
> }
> }
> }
> }
> }
> }
> [/Output]
>
>

--
Like Music?
http://l-i-e.com/artists.htm

attached mail follows:


Am Donnerstag, den 19.01.2006, 16:42 -0600 schrieb Richard Lynch:
> Grrrr. I forgot PHP Object printing was so primitive, even under
> var_dump. :-(
>
> function walkout($object, $indent = 0){
> if (is_object($object) or is_array($object)){
> foreach($object as $k => $v){
> echo str_repeat(' ', $indent), $k, ' =&gt; ';
> walkout($v, $indent + 1);
> }
> }
> else echo $v, "<br />\n";
> }
>
> echo "<pre>";
> walkout($xml);
> echo "</pre>";
yes, and now? it just prints every subject like:

  SKUlisting =>

  globalInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  carrierInfo =>

  cardSKU =>

    card =>

      cinfo =>

changed the function a bit [just inserted <br>]
I have no idea yet, how I'm gonna reach my goal... :(
__________________________________________

Ron Eggler
Intern
866-999-4179
www.paykiosks.net

attached mail follows:


Object 'autoload' has absolutely NOTHING to do with session.auto_start.

http://www.php.net/autoload

On Thu, January 19, 2006 4:10 pm, Daevid Vincent wrote:
> Thank you for the reply. I don't think that's the issue.
>
> I have:
>
> ; Initialize session on request startup.
> session.auto_start = 0
>
> But this is the same setting as the box that DOES work.
>
> What's really confusing me is that part of the SESSION does work. I
> would
> expect an all or nothing case. Everything but the class is restored.
>
> "You had me at EHLO" --E.Webb (10.04.05)
>
>> -----Original Message-----
>> From: Richard Lynch [mailto:ceol-i-e.com]
>> Sent: Thursday, January 19, 2006 1:54 PM
>> To: Daevid Vincent
>> Subject: Re: [PHP] $_SESSION saves all values but Class --
>> works on one server but not another?!
>>
>> On Wed, January 18, 2006 11:27 pm, Daevid Vincent wrote:
>> > I have a gentoo server that doesn't save/restore the CLASS
>> portion of
>> > a
>> > session, but it does retain other $_SESSION values. This code
>> works
>>
>> Sounds to me like the Gentoo box does not have 'autoload' so the
>> objects coming back out of the session have no 'class' to build
>> themselves from...
>>
>> I confess to not reading all the details you posted to see if
>> autoload
>> was on/off differently in the two...
>>
>> Especially since I have no idea how to turn it on/off as I
>> never used it.
>>
>> --
>> Like Music?
>> http://l-i-e.com/artists.htm
>>
>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
Like Music?
http://l-i-e.com/artists.htm

attached mail follows:


You are correct, however that also seems to have to do with the actual class
or php code and not a server configuration. If I copy my PHP files to the
'other' server, everything works as expected -- no change in code required.
This is why I suspect it is a PHP/Apache/php.ini type of problem. But as I
tried to illustrate, the php.ini seems to be nearly the same on both
servers.

> -----Original Message-----
> From: Richard Lynch [mailto:ceol-i-e.com]
> Sent: Thursday, January 19, 2006 2:46 PM
> To: Daevid Vincent
> Cc: php-generallists.php.net; ceol-i-e.com
> Subject: RE: [PHP] $_SESSION saves all values but Class --
> works on one server but not another?!
>
>
>
> Object 'autoload' has absolutely NOTHING to do with
> session.auto_start.
>
> http://www.php.net/autoload
>
> On Thu, January 19, 2006 4:10 pm, Daevid Vincent wrote:
> > Thank you for the reply. I don't think that's the issue.
> >
> > I have:
> >
> > ; Initialize session on request startup.
> > session.auto_start = 0
> >
> > But this is the same setting as the box that DOES work.
> >
> > What's really confusing me is that part of the SESSION does work. I
> > would
> > expect an all or nothing case. Everything but the class is restored.
> >
> > "You had me at EHLO" --E.Webb (10.04.05)
> >
> >> -----Original Message-----
> >> From: Richard Lynch [mailto:ceol-i-e.com]
> >> Sent: Thursday, January 19, 2006 1:54 PM
> >> To: Daevid Vincent
> >> Subject: Re: [PHP] $_SESSION saves all values but Class --
> >> works on one server but not another?!
> >>
> >> On Wed, January 18, 2006 11:27 pm, Daevid Vincent wrote:
> >> > I have a gentoo server that doesn't save/restore the CLASS
> >> portion of
> >> > a
> >> > session, but it does retain other $_SESSION values. This code
> >> works
> >>
> >> Sounds to me like the Gentoo box does not have 'autoload' so the
> >> objects coming back out of the session have no 'class' to build
> >> themselves from...
> >>
> >> I confess to not reading all the details you posted to see if
> >> autoload
> >> was on/off differently in the two...
> >>
> >> Especially since I have no idea how to turn it on/off as I
> >> never used it.
> >>
> >> --
> >> Like Music?
> >> http://l-i-e.com/artists.htm
> >>
> >>
> >>
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> Like Music?
> http://l-i-e.com/artists.htm
>
>
>

attached mail follows:


> -----Original Message-----
> My reason for using an embedded player was basically just for
> design purposes, but perhaps that is not a good idea. I did
> not consider the fact of not being able to leave the site
> while listening, and since these are as long as 40 minutes,
> this might get annoying.

Perhaps keeping your current setup and adding a link that opens an
embedded player in a popup window would be a good compromise. That way
people who just want to stream the sermons can do so, and with the
player in a popup window they could still surf the web while listening.

As far as file format, it might be worth looking into using the OGG
Vorbis format. There are players on Windows/Mac/Linux that support the
format and it uses compression, so the file sizes should be a bit
smaller than mp3s. Take a look at http://www.vorbis.com/ for more info.

Just some ideas..

Brady

attached mail follows:


----- Original Message -----
From: "Thomas Bonham" <thomasbbonhamgmail.com>
To: <php-generallists.php.net>
Sent: Thursday, January 19, 2006 12:40 PM
Subject: [PHP] Email Form

> Hello All,
>
> I don't remember how to do email with php. I have all of it done, except
> for I can't get it to show the senders email address. All I get it from
> apacheserveraddress.com.
>
> If some one has a example that they can post that would be great.
>
> Thank You
>
> Thomas
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Hello,

http://us2.php.net/manual/en/function.mail.php

Example 2. Sending mail with extra headers.

The addition of basic headers, telling the MUA the From and Reply-To
addresses:

<?php
$to = 'nobodyexample.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmasterexample.com' . "\r\n" .
   'Reply-To: webmasterexample.com' . "\r\n" .
   'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?>

Best regards,

Andras Kende
http://www.kende.com

attached mail follows:


On Thu, January 19, 2006 4:08 pm, Geoff wrote:
> I honestly have no idea if this would work, but maybe fopen supports
> non-blocking connections?

Not as far as I can tell...

You can call stream_set_blocking after it's open, but that doesn't
help a slow connection in the first place.

> Or creation of context-based connections
> (for which you can use stream_set_blocking).

Unless I'm seriously mis-reading docs, stream_set_blocking can only be
called on an already-open stream, not on the soon-to-be-opened stream.

fopen() in PHP5 does take a context, and if I could figure out how to
embed the concepts of "do not block" and "timeout in $x seconds"
within a context from the docs, and if fopen() would still handle all
the details of the various protocols, I'd be all set...

That's sort of what I was asking for in the original email, but...

It seems like you have to specify the 'scheme' as the key in the
context array.

So, I guess, I could, in theory, find a listing of all the schemes
fopen() supports, which might even be in a function, iterate over all
of those, and do something like:
$schemes = function_that_returns_all_schemes_fopen_supports();
$opts = array();
foreach($schemes as $scheme){
  $opts[$scheme]['some_magic_undocumented_thing'] =
STREAM_CLIENT_ASYNC_CONNECT | STREAM_CLIENT_CONNECT ;
}

$foo = fopen($url, 'r', false, $opts);
if ($foo ==