From ciapug@cialug.org Mon Aug 4 18:21:03 2003
From: ciapug@cialug.org (ciapug@cialug.org)
Date: Mon, 4 Aug 2003 13:21:03 -0400
Subject: [ciapug] Strange DNS error
Message-ID: <1060017663.3f2e95ff22323@www.dreamscapevisionery.com>
Hey guys,
I've got a tricky one for you. I hope someone can see the problem because I'm
compleetely baffled. I have a page that displays status information for a
server. It includes game server status, uptime, memory utilization, drive
space utilization, and status of certain services. When I hit the page from my
PC at work, it's fine. Same with my Mac at home. However, my PC at home and
everyone else's PC gives a "Page cannot be displayed. Server not found or DNS
error". I've narrowed down the cause to the service status part of my code,
but can't for the life of me see why it works on some systems and not on
others. Here's the code fragment that causes the issue:
Status of Services:
"80",
"SSH"=>"22",
"Telnet"=>"23",
"FTP"=>"21",
"SMTP"=>"25",
"POP3"=>"110",
"MySQL"=>"3306",
"Webmin"=>"25432");
foreach ($services as $name=>$port) {
$host = "localhost";
$running = @fsockopen($host, $port, $errno, $errstr, 30);
if (!$running) {
$status = "down";
} else {
fclose($running);
$status = "up";
} ?>
 | = $name ?> |
Any ideas?
From ciapug@cialug.org Wed Aug 6 17:29:48 2003
From: ciapug@cialug.org (Chris Hettinger)
Date: Wed, 6 Aug 2003 11:29:48 -0500
Subject: [ciapug] Question before recompiling PHP
Message-ID:
I have to recompile PHP to include FreeTDS support =
(--with-sybase=3D/usr/local/freetds) ...
Well my current install of PHP is the one included with my Mandrake =
distribution.
$ rpm -qa php*
php-imap-4.3.0-3mdk
php-mysql-4.3.0-2mdk
php-readline-4.3.0-1mdk
php-gd-4.3.0-2mdk
I know I need to recompile, but I want to be sure I don't exclude =
anything I had / needed that was in my original install. I took a look =
at the phpinfo page and there they list the configure command for the =
install. I also want to be sure the packages above are still included.
=3D=3D=3D cat PHP info =3D=3D=3D
'./configure' '--prefix=3D/usr' '--libdir=3D/usr/lib' =
'--enable-discard-path' '--disable-force-cgi-redirect' '--enable-shared' =
'--disable-static' '--disable-debug' '--disable-rpath' '--enable-pic' =
'--enable-inline-optimization' '--enable-memory-limit' =
'--with-config-file-path=3D/etc' =
'--with-config-file-scan-dir=3D/etc/php' '--with-pear=3D/usr/share/pear' =
'--enable-magic-quotes' '--enable-debugger' '--enable-track-vars' =
'--with-exec-dir=3D/usr/bin' '--with-versioning' '--with-mod_charset' =
'--with-regex=3Dphp' '--enable-track-vars' '--enable-trans-sid' =
'--enable-safe-mode' '--enable-ctype' '--enable-ftp' =
'--with-gettext=3D/usr' '--enable-posix' '--enable-session' =
'--enable-sysvsem' '--enable-sysvshm' '--enable-yp' =
'--with-openssl=3D/usr' '--without-kerberos' '--with-ttf' =
'--with-freetype-dir=3D/usr' '--with-zlib=3D/usr' '--with-zlib=3D/usr' =
'--with-zlib-dir=3D/usr'=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
My question is, how do I compile the list of options I need to include =
in my $ ./configure command ??
Should I copy the above for my statement and just add the additional =
piece I need?
What if anything can I exclude from above?
What about those additional packages, such as GD, or mysql?
What I am sure I need so far:
$ ./configure --with-sybase=3D/usr/local/freetds
-Chris Hettinger, Web Specialist
-IFMC/ENCOMPASS
-www.enompas.com
-(515) 223.2947
CONFIDENTIALITY NOTICE: This communication, including any attachment, =
may contain confidential information and is intended only for the =
individual or entity to whom it is addressed. Any review, =
dissemination, or copying of this communication by anyone other than the =
intended recipient is strictly prohibited. If you are not the intended =
recipient, please contact the sender by reply email, delete and destroy =
all copies of the original message.'
From ciapug@cialug.org Thu Aug 14 20:23:34 2003
From: ciapug@cialug.org (David Champion)
Date: Thu, 14 Aug 2003 14:23:34 -0500
Subject: [ciapug] ADODB - toexport rs2cvs() ?
Message-ID: <3F3BE1B6.5010901@visionary.com>
Anyone using the ADODB toexport.inc.php functions? They do a good job of
basic exports, but one thing I need is to quote around string values...
as in:
acct,name,addr
12345,"Champion, David","123 Main"
12346,"Von Ahsen, Barry","456 Maple, apt # 25"
...Problem is if you don't quote the strings, then you'll end up with
extra commas. This is something that most other CSV exports to
automatically, but I don't see it in ADODB.
I might just hack it in and submit it back to ADODB.
-dc
From ciapug@cialug.org Thu Aug 14 22:53:42 2003
From: ciapug@cialug.org (David Champion)
Date: Thu, 14 Aug 2003 16:53:42 -0500
Subject: [ciapug] ADODB - toexport rs2cvs() ?
In-Reply-To: <3F3BE1B6.5010901@visionary.com>
References: <3F3BE1B6.5010901@visionary.com>
Message-ID: <3F3C04E6.70408@visionary.com>
David Champion wrote:
> Anyone using the ADODB toexport.inc.php functions? They do a good job of
> basic exports, but one thing I need is to quote around string values...
> as in:
>
> acct,name,addr
> 12345,"Champion, David","123 Main"
> 12346,"Von Ahsen, Barry","456 Maple, apt # 25"
>
> ...Problem is if you don't quote the strings, then you'll end up with
> extra commas. This is something that most other CSV exports to
> automatically, but I don't see it in ADODB.
>
> I might just hack it in and submit it back to ADODB.
>
> -dc
If anyone's willing to test, here's a quick & dirty diff of the
toexport.inc.php, call it with:
_adodb_export($rs,',',',',false,true,'"',',',',',',',true);
the diff:
63c63
< function
_adodb_export(&$rs,$sep,$sepreplace,$fp=false,$addtitles=true,$quote =
'"',$escquote = '"',$replaceNewLine = ' ',$quoteDelim=false)
---
> function
_adodb_export(&$rs,$sep,$sepreplace,$fp=false,$addtitles=true,$quote =
'"',$escquote = '"',$replaceNewLine = ' ')
112,116c112
< if ($quoteDelim) {
< $s .= $quote . implode($quote . $sep . $quote,
$elements) . $quote . $NEWLINE;
< } else {
< $s .= implode($sep, $elements).$NEWLINE;
< }
---
> $s .= implode($sep, $elements).$NEWLINE;
From ciapug@cialug.org Wed Aug 20 16:55:55 2003
From: ciapug@cialug.org (Chris Hettinger)
Date: Wed, 20 Aug 2003 10:55:55 -0500
Subject: [ciapug] Kick starting CIAPUG
Message-ID:
I would like to see something happen, so I will make my offer to work =
towards having a active phpUG in the area. I know I have far too many =
questions and too limited resources for education, so I feel a users =
group would be a great assest.
I would like 1 or 2 motivated volunteers to assist me with some of the =
immediate organizational tasks. If you are interested in seeing a users =
group in the area, and have a some time you can donate to the cause =
please speak up.
-Chris Hettinger, Web Specialist
-IFMC/ENCOMPASS
-www.encompas.com
-(515) 223.2947
CONFIDENTIALITY NOTICE: This communication, including any attachment, =
may contain confidential information and is intended only for the =
individual or entity to whom it is addressed. Any review, =
dissemination, or copying of this communication by anyone other than the =
intended recipient is strictly prohibited. If you are not the intended =
recipient, please contact the sender by reply email, delete and destroy =
all copies of the original message.'
From ciapug@cialug.org Wed Aug 20 17:02:26 2003
From: ciapug@cialug.org (Jerry Weida)
Date: Wed, 20 Aug 2003 11:02:26 -0500
Subject: [ciapug] Kick starting CIAPUG
In-Reply-To:
Message-ID: <20030820161524.3FF761A1E5@www.cialug.org>
I would be willing to donate some of my time to this.
Jerry
On 8/20/2003, "Chris Hettinger" wrote:
>
>I would like to see something happen, so I will make my offer to work
towards having a active phpUG in the area. I know I have far too many
questions and too limited resources for education, so I feel a users group
would be a great assest.
>
>I would like 1 or 2 motivated volunteers to assist me with some of the
immediate organizational tasks. If you are interested in seeing a users group
in the area, and have a some time you can donate to the cause please speak
up.
>
>
>-Chris Hettinger, Web Specialist
>-IFMC/ENCOMPASS
>-www.encompas.com
>-(515) 223.2947
>
>
>
>
>CONFIDENTIALITY NOTICE: This communication, including any attachment, may
contain confidential information and is intended only for the individual or
entity to whom it is addressed. Any review, dissemination, or copying of
this communication by anyone other than the intended recipient is strictly
prohibited. If you are not the intended recipient, please contact the sender
by reply email, delete and destroy all copies of the original message.'
>
>_______________________________________________
>ciapug mailing list
>ciapug@cialug.org
>http://cialug.org/mailman/listinfo/ciapug
---------
Brian: You are all individuals!
crowd: We are all individuals!
Brian: You have to be different!
crowd: Yes, we are all different!
loner: Not me, I'm not different!
From ciapug@cialug.org Wed Aug 20 17:27:40 2003
From: ciapug@cialug.org (Chris Hettinger)
Date: Wed, 20 Aug 2003 11:27:40 -0500
Subject: [ciapug] Kick starting CIAPUG
Message-ID:
Xlnt Jerry, thanks for replying. I know you are near by so we can get =
together easily too.
-ch
-----Original Message-----
From: Jerry Weida [mailto:jweida@cribzero.com]
Sent: Wednesday, August 20, 2003 11:02 AM
To: ciapug@cialug.org
Subject: Re: [ciapug] Kick starting CIAPUG
I would be willing to donate some of my time to this.
Jerry
On 8/20/2003, "Chris Hettinger" wrote:
>
>I would like to see something happen, so I will make my offer to work
towards having a active phpUG in the area. I know I have far too many
questions and too limited resources for education, so I feel a users =
group
would be a great assest.
>
>I would like 1 or 2 motivated volunteers to assist me with some of the
immediate organizational tasks. If you are interested in seeing a users =
group
in the area, and have a some time you can donate to the cause please =
speak
up.
>
>
>-Chris Hettinger, Web Specialist
>-IFMC/ENCOMPASS
>-www.encompas.com
>-(515) 223.2947
>
>
>
>
>CONFIDENTIALITY NOTICE: This communication, including any attachment, =
may
contain confidential information and is intended only for the individual =
or
entity to whom it is addressed. Any review, dissemination, or copying =
of
this communication by anyone other than the intended recipient is =
strictly
prohibited. If you are not the intended recipient, please contact the =
sender
by reply email, delete and destroy all copies of the original message.'
>
>_______________________________________________
>ciapug mailing list
>ciapug@cialug.org
>http://cialug.org/mailman/listinfo/ciapug
---------
Brian: You are all individuals!
crowd: We are all individuals!
Brian: You have to be different!
crowd: Yes, we are all different!
loner: Not me, I'm not different!
_______________________________________________
ciapug mailing list
ciapug@cialug.org
http://cialug.org/mailman/listinfo/ciapug
CONFIDENTIALITY NOTICE: This communication, including any attachment, =
may contain confidential information and is intended only for the =
individual or entity to whom it is addressed. Any review, =
dissemination, or copying of this communication by anyone other than the =
intended recipient is strictly prohibited. If you are not the intended =
recipient, please contact the sender by reply email, delete and destroy =
all copies of the original message.'
From ciapug@cialug.org Fri Aug 22 20:49:21 2003
From: ciapug@cialug.org (Chris Hettinger)
Date: Fri, 22 Aug 2003 14:49:21 -0500
Subject: [ciapug] Kick starting CIAPUG
Message-ID:
Thanks Dave for the response as well.
I do have a question, who is the current admin contact for the web site? =
I would like to make arrangement to get access to the directory.
-ch
-----Original Message-----
From: Dave [mailto:Dave@IowaWebmasters.com]
Sent: Wednesday, August 20, 2003 4:50 PM
To: Chris Hettinger
Subject: Re: [ciapug] Kick starting CIAPUG
I would like this also.....
Let me know how I can help......
I live in Des Moines.
-----------------
Dave Crouse
----- Original Message -----
From: "Chris Hettinger"
To:
Sent: Wednesday, August 20, 2003 8:55 AM
Subject: [ciapug] Kick starting CIAPUG
I would like to see something happen, so I will make my offer to
work towards having a active phpUG in the area. I know I have far
too many questions and too limited resources for education, so I
feel a users group would be a great assest.
I would like 1 or 2 motivated volunteers to assist me with some
of the immediate organizational tasks. If you are interested in
seeing a users group in the area, and have a some time you can
donate to the cause please speak up.
-Chris Hettinger, Web Specialist
-IFMC/ENCOMPASS
-www.encompas.com
-(515) 223.2947
CONFIDENTIALITY NOTICE: This communication, including any
attachment, may contain confidential information and is intended
only for the individual or entity to whom it is addressed. Any
review, dissemination, or copying of this communication by anyone
other than the intended recipient is strictly prohibited. If you
are not the intended recipient, please contact the sender by
reply email, delete and destroy all copies of the original
message.'
_______________________________________________
ciapug mailing list
ciapug@cialug.org
http://cialug.org/mailman/listinfo/ciapug
CONFIDENTIALITY NOTICE: This communication, including any attachment, =
may contain confidential information and is intended only for the =
individual or entity to whom it is addressed. Any review, =
dissemination, or copying of this communication by anyone other than the =
intended recipient is strictly prohibited. If you are not the intended =
recipient, please contact the sender by reply email, delete and destroy =
all copies of the original message.'
From ciapug@cialug.org Fri Aug 22 21:01:13 2003
From: ciapug@cialug.org (David Champion)
Date: Fri, 22 Aug 2003 15:01:13 -0500
Subject: [ciapug] Kick starting CIAPUG
In-Reply-To:
References:
Message-ID: <3F467689.7020709@visionary.com>
Chris Hettinger wrote:
> Thanks Dave for the response as well.
>
> I do have a question, who is the current admin contact for the web site? I would like to make arrangement to get access to the directory.
>
I can do that for you. Let's set that up after work tonite, gimme a call.
-dc
From ciapug@cialug.org Fri Aug 22 21:03:11 2003
From: ciapug@cialug.org (Chris Hettinger)
Date: Fri, 22 Aug 2003 15:03:11 -0500
Subject: [ciapug] Kick starting CIAPUG
Message-ID:
Will do. Thanks.
-----Original Message-----
From: David Champion [mailto:dave@visionary.com]
Sent: Friday, August 22, 2003 3:01 PM
To: ciapug@cialug.org
Subject: Re: [ciapug] Kick starting CIAPUG
Chris Hettinger wrote:
> Thanks Dave for the response as well.
>=20
> I do have a question, who is the current admin contact for the web =
site? I would like to make arrangement to get access to the directory.
>=20
I can do that for you. Let's set that up after work tonite, gimme a =
call.
-dc
_______________________________________________
ciapug mailing list
ciapug@cialug.org
http://cialug.org/mailman/listinfo/ciapug
CONFIDENTIALITY NOTICE: This communication, including any attachment, =
may contain confidential information and is intended only for the =
individual or entity to whom it is addressed. Any review, =
dissemination, or copying of this communication by anyone other than the =
intended recipient is strictly prohibited. If you are not the intended =
recipient, please contact the sender by reply email, delete and destroy =
all copies of the original message.'
From ciapug@cialug.org Thu Aug 28 14:24:18 2003
From: ciapug@cialug.org (Chris Hettinger)
Date: Thu, 28 Aug 2003 08:24:18 -0500
Subject: [ciapug] PHP 4.3.3
Message-ID:
News From PHP.NET
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
PHP 4.3.3 released!
[25-Aug-2003] The PHP developers are proud to announce the immediate =
availability of PHP 4.3.3 . This release contains a =
large number of bug fixes and we strongly recommend that all users of =
PHP upgrade to this version. Full list of fixes can be found in the NEWS =
file.
-Chris Hettinger, Web Specialist
-IFMC/ENCOMPASS
-www.encompas.com
-(515) 223.2947
CONFIDENTIALITY NOTICE: This communication, including any attachment, =
may contain confidential information and is intended only for the =
individual or entity to whom it is addressed. Any review, =
dissemination, or copying of this communication by anyone other than the =
intended recipient is strictly prohibited. If you are not the intended =
recipient, please contact the sender by reply email, delete and destroy =
all copies of the original message.'