Re: [PHP] New to PHP and the list

2010-09-11 Thread MikeB
On 9/11/2010 6:51 PM, Tom Sparks wrote: --- On Sun, 12/9/10, MikeBmpbr...@gmail.com wrote: From: MikeBmpbr...@gmail.com Subject: [PHP] New to PHP and the list To: php-general@lists.php.net Received: Sunday, 12 September, 2010, 9:37 AM Hello, I'm new to PHP and also new to using

[PHP] Question about news.php.net

2010-09-13 Thread MikeB
If there is a more appropriate place to ask this, I apologize. Please point me in the right direction. I understand that the news server is based on a mailing list, but I can't handle another high-volume source dumping stuff into my email (even if I filter it into a separate folder) so I am

Re: [PHP] Question about news.php.net

2010-09-13 Thread MikeB
Daniel Brown wrote: I don't believe that we've been having any issues with the server, no. Are you using NNTP to connect? yes, NNTP. You may want to consider using the HTTP-based RSS and/or RDF feeds if it continues to be an issue. If this persists, I'll look into the alternatives

Re: [PHP] Question about news.php.net

2010-09-13 Thread MikeB
Daniel Brown wrote: On Mon, Sep 13, 2010 at 19:51, MikeBmpbr...@gmail.com wrote: As part of the bug report I included a link to an image of my nntp config. I saw that, thanks. I'll look into creating a mirror of the news server, as well, for NNTP-only access. I won't lie and say that

[PHP] Re: Question about news.php.net

2010-09-15 Thread MikeB
Gary wrote: MikeB wrote: I understand that the news server is based on a mailing list, but I can't handle another high-volume source dumping stuff into my email (even if I filter it into a separate folder) so I am trying to subscribe through the news group. However, getting access seems

Re: [PHP] Question about news.php.net

2010-09-15 Thread MikeB
Daniel Brown wrote: On Mon, Sep 13, 2010 at 19:51, MikeBmpbr...@gmail.com wrote: As part of the bug report I included a link to an image of my nntp config. I saw that, thanks. I'll look into creating a mirror of the news server, as well, for NNTP-only access. I won't lie and say that

[PHP] Re: Question about news.php.net

2010-09-16 Thread MikeB
MikeB wrote: Daniel Brown wrote: On Mon, Sep 13, 2010 at 19:51, MikeBmpbr...@gmail.com wrote: As part of the bug report I included a link to an image of my nntp config. I saw that, thanks. I'll look into creating a mirror of the news server, as well, for NNTP-only access. I won't lie

[PHP] not able to connect to MySQL

2010-09-20 Thread MikeB
and then indefinitely it says waiting for localhost... If I comment out the connect statement, the rest runs. What should I look for? Thanks MikeB -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: not able to connect to MySQL

2010-09-20 Thread MikeB
/html If I try to run this, it briefly says connecting to localhost and then indefinitely it says waiting for localhost... If I comment out the connect statement, the rest runs. What should I look for? Thanks MikeB -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Array question

2010-09-25 Thread MikeB
I have the following code: $query = SELECT * FROM classics; $result = mysql_query($query); if (!$result) die (Database access failed: . mysql_error()); $rows = mysql_num_rows($result); for ($j = 0 ; $j $rows ; ++$j) { $results[] = mysql_fetch_array($result); } mysql_close($db_server);

[PHP] reporting spam in PHP manual?

2010-09-29 Thread MikeB
Came across this entry as a user comment in the php.net manual. http://www.php.net/manual/en/language.exceptions.php#100089 Couldn't see how to report it so it could be removed. Maybe someone that knows how can tell me, or report it themselves? Thanks, -- PHP General Mailing List

[PHP] Buffering output to allow headers late in code?

2010-10-14 Thread MikeB
I'm working through my class on PHP and I tried to put information from my sign-on process in the navbar. This didn't work well, since I had to reload the page to see it as the navbar was constructed earlier in the code than the signon process. (Hard to explain, as we are building a dynamic

[PHP] Re: Buffering output to allow headers late in code?

2010-10-14 Thread MikeB
chris h wrote: I'm working through my class on PHP and I tried to put information from my sign-on process in the navbar. This didn't work well, since I had to reload the page to see it as the navbar was constructed earlier in the code than the signon process. (Hard to explain, as we are

[PHP] Re: Buffering output to allow headers late in code?

2010-10-14 Thread MikeB
Peter Lind wrote: Just out of curiosity: why were you told to switch off output buffering? Regards Peter I can't find the thread now, but it was in regards to my early experiments with cookies. I was creating cookies and it worked mid-code, since buffering was active. Then someone said