[PHP] Forward mail via PHP

2003-02-06 Thread Robert Covell
Looking for a better solution to forward mail from an IMAP account via PHP
to another account.

Right now I am utilizing the built in imap functions (i.e.
imap_fetchstructure, imap_fetchbody, imap_header among others) to get the
individual parts and a MimeMessage class to rebuild the message.  Once the
message is rebuilt I change the "To:" and then send it on.  The problem is
that messages are rebuilt successfully about 95% of the time.

Can anyone suggest a better way to do this?  Can I not just login to the
account get the entire message, change the "To:" and send it on it's way
leaving the message structure in tact?  If so does anyone know of any
pre-existing classes to take a message as input, change the "TO:" and use
the result of this to send it out?

Thanks,
-Bob


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] rfc1867.c.diff-4.0.6 for php-4.0.4pl1

2002-07-12 Thread Robert Covell

Does a patch exist for php-4.0.4pl1?  If not, can I use rfc1867.c from 4.0.6
with 4.0.4pl1?

-Bob


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] dba_open cannot write

2003-09-30 Thread Robert Covell
I am trying to write data to a db3 alias file that sendmail uses (made a
copy for testing).  When I read the file using:

$id = dba_open ("aliaseswww.db", "r", "db3");

It works.  But when I try to change it to:

$id = dba_open ("aliaseswww.db", "w", "db3");

I get:

dba_open(aliaseswww.db,w): Driver initialization failed for handler: db3:
Invalid argument in /usr/local/www/data/maillists/test.php on line 5

I don't know what the "Invalid argument" is?  It seems as if it is missing
the "db3" on the end of the dba_open, but I put it there.  I have checked
file permisions and everything checks out.  Any ideas?

-Bob

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Going crazy-db3

2003-10-07 Thread Robert Covell
I have been trying for over a week to write to the sendmail aliases db3 file
and have been unable to do so regardless of how I configure the arguments
with the dba_open statement.  It keeps telling me "Invalid argument".  It
works fine within BerkeleyDB.  I can read the file just fine but cannot open
it in write mode.  Also, phpinfo and dba_handlers both show that db3 is
available as would be expected if I can read the file.  When I do a
db3_verify and db3_stat from a shell on the test db they both come back just
fine.

Any help would be great as I don't want to rewrite everything in perl.

-Bob



Here are the warnings I keep getting:

PHP Warning:  dba_open(aliases5.db,w): Driver initialization failed for
handler: db3: Invalid argument in /usr/local/www/data/maillists/test2.php on
line 2





Here is my test code, it always displays "dba_open failed" and if I take out
the check for an open handle it obviously bombs.  I have tried it with "wl"
and many other combos.  No luck:

Key: " . $key . "->Value: " . dba_fetch ( $key, $id);
$key = dba_nextkey ($id);
}
*/
dba_close ($id);
?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Using hash

2003-10-08 Thread Robert Covell
Is there a way to make the dba_open call use hash instead of btree when
using db3?

By default when opening a database for writing it seems that dba_open uses
btree.  We have existing db3 databases that utilize hash and not btree.  Not
sure if sendmail can utilize btree for aliases, but I will check.

Thanks,
-Bob

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] undefined symbol (PayFlow Pro)

2001-03-02 Thread Robert Covell

Does anyone know how to fix the following problem?  I have configured php
with --with-pfpro=/usr/local and it does not complain about the header or
the library.

root@server5:/usr/local/apache/conf# ../bin/apachectl configtest
Syntax error on line 213 of /usr/local/apache1317/conf/httpd.conf:
Cannot load /usr/local/apache1317/libexec/libphp4.so into server:
/usr/local/apa
che1317/libexec/libphp4.so: undefined symbol: PNVersion
root@server5:/usr/local/apache/conf#

I have run into this before with other undefined symbols but have just
reconfigured php to included the library.  Any ideas?

-Bob


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] undefined symbol (PayFlow Pro)

2001-03-02 Thread Robert Covell

When I try compile php I get the following error that is directly related to
PNVersion:

root@server5:/usr/local/phpApache/php-4.0.4pl1# make > make.out
pfpro.c: In function `php_if_pfpro_version':
pfpro.c:129: warning: initialization makes pointer from integer without a
cast
root@server5:/usr/local/phpApache/php-4.0.4pl1#

The code in pfpro.c that is affected is:
/* {{{ proto string pfpro_version()
   Returns the version of the Payflow Pro library */
PHP_FUNCTION(pfpro_version)
{
if (ZEND_NUM_ARGS() != 0) {
WRONG_PARAM_COUNT;
}

RETURN_STRING(PNVersion(), 1);
}

Is it just a coincidence that this is bombing out as well as the undefined
symbol...

-Bob


-Original Message-
From: Robert Covell [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 7:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] undefined symbol (PayFlow Pro)


Does anyone know how to fix the following problem?  I have configured php
with --with-pfpro=/usr/local and it does not complain about the header or
the library.

root@server5:/usr/local/apache/conf# ../bin/apachectl configtest
Syntax error on line 213 of /usr/local/apache1317/conf/httpd.conf:
Cannot load /usr/local/apache1317/libexec/libphp4.so into server:
/usr/local/apa
che1317/libexec/libphp4.so: undefined symbol: PNVersion
root@server5:/usr/local/apache/conf#

I have run into this before with other undefined symbols but have just
reconfigured php to included the library.  Any ideas?

-Bob


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Is this my error or a bug?

2001-03-02 Thread Robert Covell

Is this following due to a bug in either Payflow Pro SDK or in PHP or my
messup?  It just seems to odd that the warning is for pfpro_version and then
the configtest fails because of pfpro_version.  Here are the errors and code
it is using:


When making PHP
root@server5:/usr/local/phpApache/php-4.0.4pl1# make > make.out
pfpro.c: In function `php_if_pfpro_version':
pfpro.c:129: warning: initialization makes pointer from integer without a
cast
root@server5:/usr/local/phpApache/php-4.0.4pl1#



When doing configtest
root@server5:/usr/local/phpApache/php-4.0.4pl1# ../../apache/bin/apachectl
conf
igtest
Syntax error on line 213 of /usr/local/apache1317/conf/httpd.conf:
Cannot load /usr/local/apache1317/libexec/libphp4.so into server:
/usr/local/apa
che1317/libexec/libphp4.so: undefined symbol: PNVersion
root@server5:/usr/local/phpApache/php-4.0.4pl1#



The code that the error is in(../php-4.0.4pl1/ext/pfpro/pfpro.c)
/* {{{ proto string pfpro_version()
   Returns the version of the Payflow Pro library */
PHP_FUNCTION(pfpro_version)
{
if (ZEND_NUM_ARGS() != 0) {
WRONG_PARAM_COUNT;
}

RETURN_STRING(PNVersion(), 1);
}
/* }}} */

Thanks,

-Bob


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Payflow Pro

2001-03-13 Thread Robert Covell

I believe that he is using the V3 SDK that Verisign just released.  I just
went through this same thing.  The support in PHP 4.0.2+ is for the V2.11
beta SDK.  The API in the new V3 sdk is completely different and was
unusable with the current PHP implementation (i.e. There is no PNVersion()
function).  Once I obtained the beta V2.11 SDK from Verisign life was good.
PHP will need to updated to support V3 prior to it being utilized.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: John Donagher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 9:31 AM
To: Dan Harrington
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Payflow Pro



Hi Dan-

I'm one of the two guys who wrote the extension.

This would seem to be a different SDK than the one we use. Can you point me
to
(or send me) the one you downloaded? I'm unfamiliar with the VENDOR and
PARTNER
attributes, and I'm not sure I understand the point behind using your own
client certificate (unless it replaced the USER&PWD authentication method,
which it apparently doesn't).

Can you touch on what these are for? We can surely add support for the
cert_path, I'm just not sure I understand what advantage it provides over
using
Verisign's default certificate, which is compiled into their SDK.

John

On Tue, 13 Mar 2001, Dan Harrington wrote:

> Hello,
> I am using Payflow Pro as a payment processor on RedHat Linux and I need
to
> be able to specify the cert directory so that we can process transactions.
> I can make things work with a shell script:
>
> ---
> #!/bin/sh
> PFPRO_CERT_PATH=/usr/local/ssl/certs;export PFPRO_CERT_PATH
> ./pfpro test-payflow.verisign.com 443
>
"TRXTYPE=S&TENDER=C&VENDOR=(ourvendorname)&PARTNER=(ourpartner)&USER=(ouruse
> rname)
> &PWD=(ourpassword)&ACCT=5105105105105100&ExpDate=1210&AMT=1.00" 10
> --
>
> and the test transaction works fine.
>
> However,
>
> when I use the payflow pro processing functions in PHP, I get the error:
>
> The response: Array ( [RESULT] => -31 [RESPMSG] => The certificate chain
did
> not validate, no local certificate found )
>
> The reason for this is that I need to set the cert path to go and look for
> the  f73e89fd.0 file in my certs directory, and I don't
> know how to tell it to look for it.
>
> I've already tried setting the environment variable
> PFPRO_CERT_PATH=/usr/local/ssl/certs but that doesn't make a difference.
>
> It doesn't seem to be an option I can set in the config.h file for the
> payflow pro SDK that I downloaded.
>
> What's the deal?  Anyone know how to fix this problem?
>
> Yes, I've RTM and STN already.
>
> Thanks
> Dan
>
>
>

--

John Donagher
Application Engineer
Intacct Corp. - Powerful Accounting on the Web
408-395-0989
720 University Ave.
Los Gatos CA 95032
www.intacct.com

Public key available off http://www.keyserver.net
Key fingerprint = 4024 DF50 56EE 19A3 258A  D628 22DE AD56 EEBE 8DDD


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Payflow Pro

2001-03-13 Thread Robert Covell

I forgot.  THe new VENDER and PARTNER are exclusive to the new SDK.  The
beta V2.11 will still work with the new V3 architecture that Verisign has
put in place but it will not utilize the new functionallity.  This I have
verified with Verisign due to the PHP not supporting the new SDK yet.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: John Donagher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 9:31 AM
To: Dan Harrington
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Payflow Pro



Hi Dan-

I'm one of the two guys who wrote the extension.

This would seem to be a different SDK than the one we use. Can you point me
to
(or send me) the one you downloaded? I'm unfamiliar with the VENDOR and
PARTNER
attributes, and I'm not sure I understand the point behind using your own
client certificate (unless it replaced the USER&PWD authentication method,
which it apparently doesn't).

Can you touch on what these are for? We can surely add support for the
cert_path, I'm just not sure I understand what advantage it provides over
using
Verisign's default certificate, which is compiled into their SDK.

John

On Tue, 13 Mar 2001, Dan Harrington wrote:

> Hello,
> I am using Payflow Pro as a payment processor on RedHat Linux and I need
to
> be able to specify the cert directory so that we can process transactions.
> I can make things work with a shell script:
>
> ---
> #!/bin/sh
> PFPRO_CERT_PATH=/usr/local/ssl/certs;export PFPRO_CERT_PATH
> ./pfpro test-payflow.verisign.com 443
>
"TRXTYPE=S&TENDER=C&VENDOR=(ourvendorname)&PARTNER=(ourpartner)&USER=(ouruse
> rname)
> &PWD=(ourpassword)&ACCT=5105105105105100&ExpDate=1210&AMT=1.00" 10
> --
>
> and the test transaction works fine.
>
> However,
>
> when I use the payflow pro processing functions in PHP, I get the error:
>
> The response: Array ( [RESULT] => -31 [RESPMSG] => The certificate chain
did
> not validate, no local certificate found )
>
> The reason for this is that I need to set the cert path to go and look for
> the  f73e89fd.0 file in my certs directory, and I don't
> know how to tell it to look for it.
>
> I've already tried setting the environment variable
> PFPRO_CERT_PATH=/usr/local/ssl/certs but that doesn't make a difference.
>
> It doesn't seem to be an option I can set in the config.h file for the
> payflow pro SDK that I downloaded.
>
> What's the deal?  Anyone know how to fix this problem?
>
> Yes, I've RTM and STN already.
>
> Thanks
> Dan
>
>
>

--

John Donagher
Application Engineer
Intacct Corp. - Powerful Accounting on the Web
408-395-0989
720 University Ave.
Los Gatos CA 95032
www.intacct.com

Public key available off http://www.keyserver.net
Key fingerprint = 4024 DF50 56EE 19A3 258A  D628 22DE AD56 EEBE 8DDD


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Payflow Pro

2001-03-13 Thread Robert Covell

I did the same thing (Removed the PNVersion) and Apache seg faulted at weird
times.  Now I am not a C guru so I might have done something wrong but this
solution was not reliable due to our clients utilizing a system that we were
not sure was stable.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Dan Harrington [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 1:41 PM
To: Robert Covell; John Donagher
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Payflow Pro


I removed the PNVersion from the code (by force) and it works nowall I
need
is to be able to tell it where to find the f73e89fd.0 file (in my ssl certs
path)
and it should work.  Functionally, it seems to work, its just that it can't
find
that file.


> -Original Message-
> From: Robert Covell [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 12:26 PM
> To: John Donagher; Dan Harrington
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Payflow Pro
>
>
> I believe that he is using the V3 SDK that Verisign just released.  I just
> went through this same thing.  The support in PHP 4.0.2+ is for the V2.11
> beta SDK.  The API in the new V3 sdk is completely different and was
> unusable with the current PHP implementation (i.e. There is no PNVersion()
> function).  Once I obtained the beta V2.11 SDK from Verisign life
> was good.
> PHP will need to updated to support V3 prior to it being utilized.
>
> Sincerely,
>
> Robert T. Covell
> President / Owner
> Rolet Internet Services, LLC
> Web: www.rolet.com
> Email: [EMAIL PROTECTED]
> Phone: 816.210.7145
> Fax: 816.753.1952
>
> -Original Message-
> From: John Donagher [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 9:31 AM
> To: Dan Harrington
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Payflow Pro
>
>
>
> Hi Dan-
>
> I'm one of the two guys who wrote the extension.
>
> This would seem to be a different SDK than the one we use. Can
> you point me
> to
> (or send me) the one you downloaded? I'm unfamiliar with the VENDOR and
> PARTNER
> attributes, and I'm not sure I understand the point behind using your own
> client certificate (unless it replaced the USER&PWD authentication method,
> which it apparently doesn't).
>
> Can you touch on what these are for? We can surely add support for the
> cert_path, I'm just not sure I understand what advantage it provides over
> using
> Verisign's default certificate, which is compiled into their SDK.
>
> John
>
> On Tue, 13 Mar 2001, Dan Harrington wrote:
>
> > Hello,
> > I am using Payflow Pro as a payment processor on RedHat Linux and I need
> to
> > be able to specify the cert directory so that we can process
> transactions.
> > I can make things work with a shell script:
> >
> > ---
> > #!/bin/sh
> > PFPRO_CERT_PATH=/usr/local/ssl/certs;export PFPRO_CERT_PATH
> > ./pfpro test-payflow.verisign.com 443
> >
> "TRXTYPE=S&TENDER=C&VENDOR=(ourvendorname)&PARTNER=(ourpartner)&US
> ER=(ouruse
> > rname)
> > &PWD=(ourpassword)&ACCT=5105105105105100&ExpDate=1210&AMT=1.00" 10
> > --
> >
> > and the test transaction works fine.
> >
> > However,
> >
> > when I use the payflow pro processing functions in PHP, I get the error:
> >
> > The response: Array ( [RESULT] => -31 [RESPMSG] => The certificate chain
> did
> > not validate, no local certificate found )
> >
> > The reason for this is that I need to set the cert path to go
> and look for
> > the  f73e89fd.0 file in my certs directory, and I don't
> > know how to tell it to look for it.
> >
> > I've already tried setting the environment variable
> > PFPRO_CERT_PATH=/usr/local/ssl/certs but that doesn't make a difference.
> >
> > It doesn't seem to be an option I can set in the config.h file for the
> > payflow pro SDK that I downloaded.
> >
> > What's the deal?  Anyone know how to fix this problem?
> >
> > Yes, I've RTM and STN already.
> >
> > Thanks
> > Dan
> >
> >
> >
>
> --
>
> John Donagher
> Application Engineer
> Intacct Corp. - Powerful Accounting on the Web
> 408-395-0989
> 720 University Ave.
> Los Gatos CA 95032
> www.intacct.com
>
> Public key available off http://www.keyserver.net
> Key fingerprint = 4024 DF50 56EE 19A3 258A  D628 22DE AD56 EEBE 8DDD
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe

RE: [PHP] Payflow Pro

2001-03-13 Thread Robert Covell

Yea, the old accounts do not have the new SDK.  If you want to sign up for a
V3 account you can utilize our VeriSign signup sheet at
http://www.rolet.com/ecommerce.php3 which has been linked to the new V3
system.  I actually just tried it and it seems that they are having a
problem at the other end bring up the form.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: John Donagher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 9:54 AM
To: Dan Harrington
Cc: Robert Covell; [EMAIL PROTECTED]
Subject: RE: [PHP] Payflow Pro



This is something the extension will probably have to implement.

I'm going to have to talk to Verisign; there seems to be a difference
between a
Signio account and a Verisign account, because there are two different
manager
interfaces. There is no new SDK available in the Signio interface, so I'll
have
to see if I can get our account moved over.

John

On Tue, 13 Mar 2001, Dan Harrington wrote:

> I removed the PNVersion from the code (by force) and it works nowall I
> need
> is to be able to tell it where to find the f73e89fd.0 file (in my ssl
certs
> path)
> and it should work.  Functionally, it seems to work, its just that it
can't
> find
> that file.
>
>
> > -----Original Message-
> > From: Robert Covell [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 13, 2001 12:26 PM
> > To: John Donagher; Dan Harrington
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] Payflow Pro
> >
> >
> > I believe that he is using the V3 SDK that Verisign just released.  I
just
> > went through this same thing.  The support in PHP 4.0.2+ is for the
V2.11
> > beta SDK.  The API in the new V3 sdk is completely different and was
> > unusable with the current PHP implementation (i.e. There is no
PNVersion()
> > function).  Once I obtained the beta V2.11 SDK from Verisign life
> > was good.
> > PHP will need to updated to support V3 prior to it being utilized.
> >
> > Sincerely,
> >
> > Robert T. Covell
> > President / Owner
> > Rolet Internet Services, LLC
> > Web: www.rolet.com
> > Email: [EMAIL PROTECTED]
> > Phone: 816.210.7145
> > Fax: 816.753.1952
> >
> > -Original Message-
> > From: John Donagher [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 13, 2001 9:31 AM
> > To: Dan Harrington
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Payflow Pro
> >
> >
> >
> > Hi Dan-
> >
> > I'm one of the two guys who wrote the extension.
> >
> > This would seem to be a different SDK than the one we use. Can
> > you point me
> > to
> > (or send me) the one you downloaded? I'm unfamiliar with the VENDOR and
> > PARTNER
> > attributes, and I'm not sure I understand the point behind using your
own
> > client certificate (unless it replaced the USER&PWD authentication
method,
> > which it apparently doesn't).
> >
> > Can you touch on what these are for? We can surely add support for the
> > cert_path, I'm just not sure I understand what advantage it provides
over
> > using
> > Verisign's default certificate, which is compiled into their SDK.
> >
> > John
> >
> > On Tue, 13 Mar 2001, Dan Harrington wrote:
> >
> > > Hello,
> > > I am using Payflow Pro as a payment processor on RedHat Linux and I
need
> > to
> > > be able to specify the cert directory so that we can process
> > transactions.
> > > I can make things work with a shell script:
> > >
> > > ---
> > > #!/bin/sh
> > > PFPRO_CERT_PATH=/usr/local/ssl/certs;export PFPRO_CERT_PATH
> > > ./pfpro test-payflow.verisign.com 443
> > >
> > "TRXTYPE=S&TENDER=C&VENDOR=(ourvendorname)&PARTNER=(ourpartner)&US
> > ER=(ouruse
> > > rname)
> > > &PWD=(ourpassword)&ACCT=5105105105105100&ExpDate=1210&AMT=1.00" 10
> > > --
> > >
> > > and the test transaction works fine.
> > >
> > > However,
> > >
> > > when I use the payflow pro processing functions in PHP, I get the
error:
> > >
> > > The response: Array ( [RESULT] => -31 [RESPMSG] => The certificate
chain
> > did
> > > not validate, no local certificate found )
> > >
> > > The reason for this is that I need to set the cert path to go
> > and look for
> > > the  f73e89fd.0 file in my certs directory, and I don't
> > > know how to tell

RE: [PHP] Payflow Pro

2001-03-13 Thread Robert Covell

Dan,
The V2.11 SDK that they have is supported by PHP.  They (Verisign & PHP
developers) actually went to great lengths ensure that it did work by
release the beta V2.11.  The reason that the SDK your using (V3) does not
work with PHP is due to it just being released about 1 1/2 monthes ago.  So
PHP does support Payflow Pro just not the newest version, yet.  You can
still utilize the same payment links and V2.11 features, but will have to
wait for PHP to support V3 for the bleeding edge stuff.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Dan Harrington [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 4:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Payflow Pro



Is anyone on this list using the PayFlow Pro extensions for PHP?
If so, I would like to know what version of the SDK you are using, and
if you have knowledge of anyone at Verisign who deals with PHP.

So far, I have only found out that they don't support PHP.

Thanks
Dan Harrington


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] sendmail

2001-03-16 Thread Robert Covell

Do you have the switches for sendmail in your path?

Our installs have: /usr/sbin/sendmail -t -i for the path information...

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Marius Kirschner [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 10:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP] sendmail


I'm at a lossI've searched throught the knowledgebase, archives, docs,
etc but I can't figure out what's going on.  The problem is when using the
mail() function nothing gets send and I don't get any error messages either.
It's like the message gets eaten by a black hole.

I'm running PHP4 on a BSDI 3.1 box with Apache 3.9 and sendmail 8.9.3, my
php.ini file has the "sendmail_path   =   /usr/sbin/sendmail" in there,
but still when I click on submit nothing gets send.  I know the script is
working (works on another system) plus I've tried other "form mailers" with
the same problem.  Does anybody have some clue as to where I should start
looking to fix this?  Thanks,

---Marius


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Payflow Pro extension in php 4.0.4pl1

2001-04-25 Thread Robert Covell

I would not edit the files themselves as it causes server instabilities.
This is what I did and found that it did indeed work, for awhile, crashing
miserably.  Something like this is far from the production ready ecommerce
system that I would desire for my company.  We moved to the beta SDK until
PHP can be updated.

Ironically, I just got an update from PHP about a bug report I submitted a
couple of months ago on this subject.  The details follow:

Quote 1:
ID: 9530
Updated by: jdonagher
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Verisign Payflow Pro related
PHP Version: 4.0.4pl1
Assigned To: [EMAIL PROTECTED]
Comments:

Since I work on this extension for my company, work on
this will progress when Verisign converts our account from
v2 to v3. I've received notification of this; it will be
within the next couple weeks.

Quote 2:
ID: 9530
Updated by: jdonagher
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Assigned
Bug Type: Verisign Payflow Pro related
PHP Version: 4.0.4pl1
Assigned To: [EMAIL PROTECTED]
Comments:

As a sidenote, commenting out the pfpro_version function
will not solve the problem. There are other features that
the v3 SDK implements which this extension does not. The
extension does need some work.



Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Henning Kilset Pedersen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 2:52 PM
To: 'Dan Harrington'; [EMAIL PROTECTED]
Subject: RE: [PHP] Payflow Pro extension in php 4.0.4pl1


Wow, that was quick, Dan :)

Yeah, I'm having apache compile-time problems that stops on PNVersion() when
reading some PHP include/c file I can't remember the name of right now :)

Where did you edit it out? In the pfpro SDK files themselves, or in PHP's
header files?

Regards,
Henning


-Original Message-
From: Dan Harrington [mailto:[EMAIL PROTECTED]]
Sent: 25. april 2001 21:47
To: Henning Kilset Pedersen; [EMAIL PROTECTED]
Subject: RE: [PHP] Payflow Pro extension in php 4.0.4pl1


Hello there,
I have gotten the 3.0 SDK to work, all I had to do was edit out the version
function
and it compiled just fine.

Verisign was of ABSOLUTELY NO HELP in this matter.  They simply said "we
don't
support PHP at all" and left me to flounder.  So I edited the source and got
it
working after a few days of beating my head on it.

What types of problems are you having?

Dan

> -Original Message-
> From: Henning Kilset Pedersen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 25, 2001 1:20 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Payflow Pro extension in php 4.0.4pl1
>
>
> Hiya all.
>
> I'm trying to use the Pay flow pro (--with-pfpro) extension on PHP4.0.4pl1
> on Redhat 6.2 glibc2.1.
>
> There seems to be a problem with the pfpro 3.0 SDK not being compatible
with
> PHP's header and .c files for pfpro. Are anyone aware of somewhere I can
get
> the 2.11 pfpro SDK (which should be compatible, according to what I've
> hear) - or, ofcourse, even better - has anyone gotten the 3.0 SDK to work
> with PHP?
>
> I've also tried the newest CVS build of PHP, but it's still the same ol',
> same ol'...
>
> Regards,
> Henning Pedersen
> Funcom Oslo AS
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Payflow, story continued

2001-04-25 Thread Robert Covell

Is anybody reading the other posts about the work in progress being done by
John?  This extra work seems pointless if it is being looked into by the PHP
development team.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Dan Harrington [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 3:52 PM
To: Henning Kilset Pedersen; [EMAIL PROTECTED]
Subject: RE: [PHP] Payflow, story continued



Congratulations,

So you've overcome the PNVersion demons, now to others.
What you need to do now is to locate the f73e89fd.0 file found in the PFPro
library and make sure it is present in your OpenSSL or other SSL certs
directory.
It should be in the same directory as your server cert(s).  That is what
is generating the response code -31.

That file is (in the SDK 3.0) found in

verisign/payflowpro/linux/certs/f73e89fd.0

You need that to be in your SSL Certs directory in order for PHP to
recognize
that it exists, and present it to the Payflow Pro when it asks for it.

> Verisign response code was -31, which means: The certificate chain did not
> validate, no local certificate found The transaction request: Array
 [USER]
> => mylogin [PWD] => mypassword [TRXTYPE] => S [TENDER] => C [AMT] => 1.5
> [ACCT] => 4111 [EXPDATE] => 0904 ) The response: Array
>  [RESULT] => -31 [RESPMSG] => The certificate chain did not validate, no
> local certificate found )
>
> Hmm. Certificate not found. I think that is in the directory that I
> specified for --with-pfpro=., under the ./certs subdirectory there. I
> just downloaded the test version, tho. I haven't found any information
from
> Verisign on how to update/change that certificate if needed, or any
> information from PHP's manuals on how to choose where the cert is located.
> Should it be in some PHP includable directory, for example?
>
> Regards,
> Henning


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] remotely include file

2001-05-08 Thread Robert Covell

I tried the exact same thing.  I have a whole slew of the classes that have
been developed and wanted to centrally locate them on one server.  But every
time I included the class, it said cannot instantiate non-existent class
"Blah Blah Blah".  But when I copied over the file, it worked like a charm.
Any ideas why this would occur?

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Wico de Leeuw [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 9:30 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] remotly include file


At 15:40 8-5-2001 +0200, Dominic Brander wrote:
>Hi
>I'm trying to include some php3 files via http.
>one part of the php files is on a regular server and the other part is
>on an secure server.
>Instead of duplicating all the files for both servers I would like to
>include them via http.
>How does it work?

Like :

include("http://www.somehost.ext/path/to/include/include.php";);

:)

Greetz,

Wico

>thanx
>
>domnic
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] HTTP authentication : logout!!!

2001-05-07 Thread Robert Covell

I must support this fashion of "login" and "logout".  I have never been able
to find a way to clear the browser of the username and password.  Once I
combined sessions with a date and timestamp in the realm, it worked like a
charm.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Martín Marqués [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 2:13 AM
To: elias
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] HTTP authentication : logout!!!


On Mar 08 May 2001 02:07, you wrote:
> Never tried it though...but can you try to empty or unset the
> $PHP_AUTH_USER/PWD ?

This doesn't work, thats why I use a login html page and sessions. :-)

Saludos... :-)

--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-
Martin Marques  |[EMAIL PROTECTED]
Programador, Administrador  |   Centro de Telematica
   Universidad Nacional
del Litoral
-

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] I have a problem with phpMySqlAdmin

2001-05-16 Thread Robert Covell

I would check to make sure that your php installation has mysql compiled in.

Do this in phpinfo.php:


And look to see how it was compiled and if Mysql is listed there and or in
the list of valid options.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: John Monfort [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 8:05 AM
To: Enrique Ivorra Gómez
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] I have a problem with phpMySqlAdmin




  Is your MySQl server on?

 What platform are you on?

 Also, make sure your username, password, and database name, are correct.

__John Monfort_
_+---+_
 P E P I E  D E S I G N S
   www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-

On Wed, 16 May 2001, [iso-8859-1] Enrique Ivorra Gómez wrote:

> Sorry, but I dont speak Englich very well.
>
> I have Apache, PHP and MYSQL which work well but I want to use
phpMySQLAdmin
> and I have an error:
>
>
> Fatal error: Call to undefined function: mysql_connect() in lib.inc.php on
> line 255
>
> Can anybody help me?
>
> Bye!
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Computer Science and PHP

2002-01-17 Thread Robert Covell

They are trying to prepare you for what "they believe" businesses want.
What will give you the best opportunity to get a job once out of college.
When I was in college our teachers sat down with the businesses that came to
campus for recruiting and asked "What should we be teaching to suit your
needs".  The courses taught reflected their needs.  The perception in the
business world is on things such as (but not limited to): C, C++, COBOL,
Graphics, and M$ products.

I think your doing it the right way, on your own.  This is how I learned PHP
and use it for a majority of our web development.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.471.1095
Fax: 816.471.3447
24x7: 816.210.7145

-Original Message-
From: Francesco Gallarotti [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 5:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Computer Science and PHP


I am a student in a college in NY state. Here we have several servers and
dozens of courses on computer science. No server is PHP ready and no course
instructor knows anything about PHP. Why do you think this is happening? I
really like PHP and I am using it in my personal website to work with some
text files and a small database. Why PHP is so not popular in the computer
science teaching area?

F.G.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP,CyberCash,Verisign,PayFlow

2002-05-17 Thread Robert Covell

You have to have an account with either one.  Payflow or CyberCash is just a
card swiper on the Internet.  An acquiring bank is still needed.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.471.1095
Fax: 816.471.3447
24x7: 816.210.7145

-Original Message-
From: r [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 7:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP,CyberCash,Verisign,PayFlow


Hi Guys,
Special greetings to all of you who have helped me in the past.

As some of you know i just bought a PHP book called "Php Blackbook" which i
heard is really good.
Anyway, In chapter 4 it talks about credit cardsand then CyberCash which
is owned by verisign and payflow which too is owned by verisign. The book
also gave me some url and RFCs to look up.
I dont know if its coz i'm a newbie to PHP or just dumb but I just cant
understand this...its too damn high funda for me,
I know google is my pal so I went there, read up on differient RFCs and got
even more confused!

I just want to know have any of you worked on these systems? eg CyberCash
and PayFlow?
Does this mean that if i want to start accepting credit cards on my site i
wont have to pay for a credit card merchant account?

PLEASE HELP if you know the answer or can offer any suggestions,comments
ANYTHING.

Have a great day,
-Ryan.
/*If you see me getting beated up by the cops, put down the camera and come
and help me! */


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Accessing Mainframe

2002-03-05 Thread Robert Covell

Short answer:
Yes

Longer answer:
I did this exact (but PC using Java to the Mainframe) thing about 7 years
ago for Sprint, so my memory will not be the best.  From my experience you
can do this but the Mainframe does not "by default" speak TCP/IP.  There are
many applications, of which slip my mind, that we used to listen on specific
ports.  You can either define a protocol (header with actions and data) to
speak to the Mainframe or utilize Orb's.  Either way you would just open up
the port or establish the ORB and send the request over.

Now that I think about it I am not sure of the ability to utilize Orb's with
PHP.  Also, if you use the port method you will have to define some sort of
return mechanism.

This is off the top of my head.  So comments or suggestions would be great.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.471.1095
Fax: 816.471.3447
24x7: 816.210.7145

-Original Message-
From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 12:15 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Accessing Mainframe


Hi All,

Is it possible to access IBM Mainframe from PHP on Windows? Is so, do I need
to install any software on Mainframe? Are there any "classes"  available to
do this?

I am using PHP 4.X on Windows.

Thank you in advance,
Sridhar Moparthy




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] who added the damn slashes?

2002-04-15 Thread Robert Covell

I believe your php.ini file has the magic_quotes set to On.  If you switch
this to Off it will no long add the quotes for you.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.471.1095
Fax: 816.471.3447
24x7: 816.210.7145

-Original Message-
From: Jeroen Olthof [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 5:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] who added the damn slashes?


Hi,

The problem:
I don't use addslashes($) but somehow that is what happens to my posted
data

The situation:
I'm building a wizard like form that read all posted data (HTTP_POST_VARS,
HTTP_GET_VARS etc..) and puts it in an array that is registerd in a session.
This gives me the possibility to use back en next in the wizard form. But
every time the slashes are added !

What is the solution

PHP version 4.0.3pl1
server is running a slash admin interface (so upgrading is a bit difficult)

what to do , to avoid those auto addslasshes ???

kind regards
Jeroen Olthof



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Version To Version

2001-12-07 Thread Robert Covell

A question about different release versions of PHP.

Why do things like png from gd 1.8 work in 4.0.4p1 and stops working in
4.0.6?  We had to go back to 4.0.4p1.  I have seen similar things with mysql
support.  We used the same config script for each version.  Any ideas?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Version To Version

2001-12-07 Thread Robert Covell

Don't have the error handy anymore but it was something to the effect of:
ImageCreatPNG is not supported in 4.0.6 or something like that.  When I went
back to 4.0.4pl it was fine.  Very weird.


-Original Message-
From: Neil Freeman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 10:31 AM
To: Php-General
Subject: Re: [PHP] Version To Version


I'm using gd png in 4.0.6 with no problems (Windows). What problems are you
having?

Robert Covell wrote:

> A question about different release versions of PHP.
>
> Why do things like png from gd 1.8 work in 4.0.4p1 and stops working in
> 4.0.6?  We had to go back to 4.0.4p1.  I have seen similar things with
mysql
> support.  We used the same config script for each version.  Any ideas?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> ***
>  This message was virus checked with: SAVI 3.51
>  last updated 26th November 2001
> ***

--

 Email:  [EMAIL PROTECTED]
 [EMAIL PROTECTED]




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Post but not Post

2001-03-28 Thread Robert Covell

I was just doing this a while back and ran into problems when going to 443.
Any ideas on that?  A regular fsockopen failed because of the security
needed.

-Bob

-Original Message-
From: Jason Brooke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 5:55 PM
To: Peter Houchin; [EMAIL PROTECTED]
Subject: Re: [PHP] Post but not Post


Use fsockopen to send the data:

$host = "your.host";
$port = 80;
$postdata = "field1=value1&field2=value2&field3=value3";

if ($sp = fsockopen($host, $port)) {
  fputs($sp,"POST /path/to/script.php HTTP/1.0\n");
  fputs($sp,"Host: $host\n");
  fputs($sp,"Content-type: application/x-www-form-urlencoded\n");
  fputs($sp,"Content-length: ".strlen($postdata)."\n");
  fputs($sp,"Connection: close\n\n");
  fputs($sp,$postdata);
  fclose($sp);
}

jason


> Hello.
>
> we all know that we can send variables to another PHP file via  tag
> and with post method.
> now i wonder if i can send variables from a script to another like POST
> method but not using form tags.
> like my question is how can i transfer data from form to form like the
POST
> of the  tag, but w/o session variables or cookies, or url parameters
> (like the GET method), and w/o forms ofcourse?
>
> Currently, i'm doing this via hidden forms and automatic posting via
> JavaScript, but is there is any clean and better way?
>
> Thanks.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] scramble the code

2001-04-05 Thread Robert Covell

Just did this sort of thing and my solution might not be the best or the
most secure but it does scramble the code.  I really wasn't trying to make
an unbreakable query string, just something that would be a deterrent.  All
I did was use base64_encode and decode like:

Incoming:
$dec  = base64_decode($TAIL);

The on the return to the browser:
$TAIL = base64_encode($dec);

It is easy and works pretty good, producing a string that does not make a
lot of sense to the regular user.  Yes someone can probably reverse it if
they wanted to.  But someone can also brute force a lot of other encryption
algorithms as well.

-Bob


-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 8:07 AM
To: [EMAIL PROTECTED]
Subject: [PHP] scramble the code


For the data in the "post", when the user type in the data and press the
submit button, the data is then carry over to the nextpage.html.  In the URL
bar, I can clearly see the data, so is there to scramble hte data where
anyone won't see it in the URL box at the top of the web browser?
Thanks,
 Scott


  


  





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] logout

2001-06-20 Thread Robert Covell



Yes,
What I 
have found out is that if you change the realm name the browser (IE and NS) 
empty the cache for the current authentication and force a re-auth.  We 
append a time stamp to our realm, so they have 1 minute to login before it will 
change again.  If you combine this with sessions and remember the state: 
authorizing, logged in, not logged in (default) you can manage the entire 
process.
 
As of 
right now, there is no way to tell the browser to "Log Out".  Some 
combination of the above must be used.
Sincerely,Robert T. CovellPresident / OwnerRolet 
Internet Services, LLCWeb: www.rolet.comEmail: 
[EMAIL PROTECTED]Phone: 816.210.7145Fax: 816.753.1952 

  -Original Message-From: Jacky 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 20, 2001 
  5:35 PMTo: [EMAIL PROTECTED]Subject: [PHP] 
  logout
  Is there anyway I can do the logout that will completely get rid of all 
  login detail without having user to close browser?
  Jack[EMAIL PROTECTED]"Love 
  your enemies, it will drive them nuts"


[PHP] Cannot add SNMP support

2001-07-16 Thread Robert Covell

I have been trying to add snmp support into PHP 4.0.4pl1 and 4.0.6 without
success.  The box currently has ucd-snmp-4.2.1 on it and is working fine
with our mod_perl installation.  When we configure it with --with-snmp
and --enable-ucd-snmp-hack it configures fine and lists the it has found
SNMP.  The compile goes smoothly but when I try to run it returns:

Fatal error:  Call to undefined function:  snmpget() in ./snmpmonitor.
php on line 2

It is like snmp is not even compiled in.  Our configure options are:
./configure  --with-gd=/usr/local/gd1.3 --with-mysql=/usr/local/mysql
--enable-debug=no --enable-track-vars=yes --with-msql=/usr/local/Hughes
--enable-ftp --enable-snmp --with-snmp=shared --enable-ucd-snmp-hack

We did notice that configure stated that in order to use the shared libs
elsewhere we should use libtool or 1 or 3 other options.  Not sure how to do
this part.

When we do it without the "shared" option for --with-snmp or replace it with
/usr/local it returns:

++
|   *** ATTENTION ***|
||
| Something is likely to be messed up here, because the configure|
| script was not able to detect a simple feature on your platform.   |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
||
| If you are unable to fix this, send the file debug.log to the  |
| [EMAIL PROTECTED] mailing list and include appropiate  |
| information about your setup.  |
++


Debug.log has:
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/local/lib/libsnmp.so: undefined reference to `HMAC'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/local/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/local/lib/libsnmp.so: undefined reference to `des_key_sched'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/local/lib/libsnmp.so: undefined reference to `RAND_bytes'
/usr/local/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt'


Any suggestions would be great...

-Bob


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] SNMP

2001-07-24 Thread Robert Covell

I have been trying to add snmp support into PHP 4.0.4pl1 and 4.0.6 without
success.  The box currently has ucd-snmp-4.2.1 on it and is working fine
with our mod_perl installation.  When we configure it with --with-snmp
and --enable-ucd-snmp-hack it configures fine and lists the it has found
SNMP.  The compile goes smoothly but when I try to run it returns:

Fatal error:  Call to undefined function:  snmpget() in ./snmpmonitor.
php on line 2

It is like snmp is not even compiled in.  Our configure options are:
./configure  --with-gd=/usr/local/gd1.3 --with-mysql=/usr/local/mysql
--enable-debug=no --enable-track-vars=yes --with-msql=/usr/local/Hughes
--enable-ftp --enable-snmp --with-snmp=shared --enable-ucd-snmp-hack

We did notice that configure stated that in order to use the shared libs
elsewhere we should use libtool or 1 or 3 other options.  Not sure how to do
this part.

When we do it without the "shared" option for --with-snmp or replace it with
/usr/local it returns:

++
|   *** ATTENTION ***|
||
| Something is likely to be messed up here, because the configure|
| script was not able to detect a simple feature on your platform.   |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
||
| If you are unable to fix this, send the file debug.log to the  |
| [EMAIL PROTECTED] mailing list and include appropiate  |
| information about your setup.  |
++


Debug.log has:
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/local/lib/libsnmp.so: undefined reference to `HMAC'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/local/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/local/lib/libsnmp.so: undefined reference to `des_key_sched'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/local/lib/libsnmp.so: undefined reference to `RAND_bytes'
/usr/local/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt'


Any suggestions would be great...

-Bob


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] \ problem

2001-07-24 Thread Robert Covell

Try stripslashes or something like that (not sure on the name of the
function).  It is the opposite of addslashes.  If you look for addslashes in
the function list that you will see the other one.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 11:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] \ problem


I have a string that contains "\'" and I want to remove "\" and have only
"'".  Tried $mynewstring=ereg_replace("\'","'",$mystring); but no luck.

What is the way around this.

Regards

Ajdin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Array Bug?

2001-07-30 Thread Robert Covell

Recently I have noticed very strange occurances with PHP and arrays and
cannot for the life of me figure out why.  When I deal with a large array,
+2000 entries the Apache child process Aborts.  The same is true when I am
working with about 20 different arrays the vary in length, ranging from 3 to
30(total lines of code~230).  To make it stranger, the later case mentioned,
works in PHP Version 4.0.4pl1 and does not work in PHP Version 4.0.6.

I switched to PHP Version 4.0.6 because the 4.0.4p1 child process was
Aborting when I tried to add words from MySql to a pspell dictionary.  I
verified that the data was actually returning from MySql and that it got the
code to add it to the dictionary:

--Code Example---
//Test loop to recreate crash manually without MySql
//  for ($y=0;$y<2000;$y++)
//  $wordlist[]=$y;
$query = "select check_word from dictionary";
$words = $db->selectQuery($query);

//  for ($q=0;$q<2;$q++)
for ($q=0; $q" . $word;
$wordlist[]=$word;
}
//The data is all there
print_r($wordlist);

$sp = new SpellChecker($symbols, $wordlist, $wrongcolor);

In SpellChecker.checkSpelling()---
//  for ($i=0;$i<5;$i++)
for ($i=0;$iwordlist);$i++)
pspell_add_to_personal ($pspell_link, $this->wordlist[$i]);

If I comment out the above line to add only 5 elements to the list it
Aborts.  If I change the 5 to a 4, it works.

The data at element 5 is: ACCP's
for live data.

And for test data it is: 5

In either case, live data or test data, the child apache process aborted
with both versions of PHP.  PHP 4.0.4pl1 did not crash when including a file
with a list of arrays that are used for site Default values whereas 4.0.6
did.  I have gone back to PHP 4.0.4pl1 for now.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Array Bug?

2001-07-30 Thread Robert Covell

Thanks for the heads up.  I wanted to see if anyone else was having a
similar experience before filing a bug.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Alexander Wagner [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 9:22 AM
To: Robert Covell; Php-General
Subject: Re: [PHP] Array Bug?


File a bug-report on bugs.php.net

regards
Wagner

--
Madness takes its toll. Please have exact change.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] SNMP and PHP

2001-08-14 Thread Robert Covell

I had the same problem and never got it working on Linux.  Posted a very
similar question and got one response from someone that got it working on
FreeBSD but that was it.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 10:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SNMP and PHP


Hi,

I need some help in compiling SNMP functions with PHP 4.06 on Solaris 2.6.
What I did so far I downloaded UCD SNMP package and installed it.
I compiled php with '--with-snmp=shared' + '--enable-ucd-snmp-hack'
and installed everything without any errors.
When I do a phpconfig on that installation I can see this configure option.
Everything textbook.
BUT when I try to use any of the snmp function calls I get an error message
saying this is an undefined function.

Any ideas, please!!

Thanks
Heiko


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Ip Address to binary

2001-09-12 Thread Robert Covell

You could use MySql's built in functions:

INET_NTOA()
INET_ATON()

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Jason Bell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 4:30 PM
To: PHP Users
Subject: [PHP] Ip Address to binary


does anyone know of a way to convert an IP address to Binary using PHP? My
plan is to store the IP address in MySQL so that I can manage a mass amount
of IP subnets, and easily make sure I'm not assigning duplicate subnets.
the best way I can think of is to use binary.

any other ideas, thoughts or comments?


Thanks!

-Jason Bell


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] MySQl IP Address Storage

2001-09-20 Thread Robert Covell

INET_ATON

and

INET_NTOA

-Original Message-
From: Felix [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 11:49 AM
To: PHP list
Subject: [PHP] MySQl IP Address Storage


Hello all

Can anyone suggest their best idea for a way to store IP addresses in a
MySQL Database?

Felix


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Pricing for PHP programming???

2001-01-31 Thread Robert Covell

This is a very good question and deal with it everytime I bid a project.

Rule of thumb:
Ask for what you are worth, if you don't you will wish you did.

I have successfully bid on project with hourly rates ranging from $85 -
$125.  The $$$ range changes based on project needs(db work(+$),
e-commerce(+$), etc), and other projects going on (a.k.a time availability:
not a lot of time then the price goes up).  Also I am not sure how much
demographics has do with it, but I can see the numbers being higher on the
coasts then in Missouri which is where we are located.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Shane McBride [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 2:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Pricing for PHP programming???


I know this is not really a PHP question, but it should make for a good
thread. :)

I was wondering what other PHP people charge to write PHP? I have just been
given a project for a fairly large customer, much larger than I normally do
work for. So I am VERY confused.concerned about how to price it. Most of my
other PHP projects have been done for small single owners businesses, and
the PHP has been pretty basic.

Now that I can actually do what I am being asked without have to learn it, I
am stuck. I did a shopping cart for someone, but I didn't charge them a REAL
price because I didn't know how to do it with PHP. So, I of course didn't
charge the client for my learning curve.

I know the price is very dependant upon the task. What I am doing is
creating a web-based front-end for a MySQL database. I'll need to create the
database tables, etc. The front-end is going to be rather dynamic since the
data content depends largely on the previous choices of the end-user. One or
two tables with 20-30 fields. 5-6 pages of html and PHP.

I'm just scouting this out, and am VERY confident with the contributors to
this list and their opinions.

TIA,
Shane


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP hosting - the final frontier.

2001-02-03 Thread Robert Covell

I am going to have to disagree on this one.

I run a successful (and profitable) hosting company(http://www.rolet.com).
My employees total 1 (me, myself and I).  The number of clients hosted is
roughly 120.  I provide a wide variety of services on Linux, FreeBSD, NT,
and W2K.  Yes it is hard to believe that 1 person can be available 24x7, or
not take vacations, but this is what I do and LOVE every second of it.  I
value customer satisfaction and strive to provide that best Internet
services possible.  For me this is a career for life, not just a job.  So I
do believe that 1 person can be available 24x7 and not take vacations.
Don't get me wrong, some days it is tough.  I would like to have other
employees in the future, but don't mind the sacrifices taken to get there.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ben Peter
Sent: Saturday, February 03, 2001 11:59 AM
To: Chris Mason
Cc: Php-General
Subject: Re: [PHP] PHP hosting - the final frontier.


Chris,

This all sounds good but for one thing: I firmly believe that one man
with a root password is not enogh to look after even one client. I have
hosted with 3 one-man-companies, and it always came to the point where I
couldn't reach someone for a week, or I waited for 3 months, only to be
granted connect privileges to the mysql database - no offense meant! I
think it's just too much for one man, you cannot be available 24/7, and
you will want holidays.

Still, a PHP-specialized hosting environment would be worth much.

Cheers,
Ben

Chris Mason wrote:
>
> I see a lot of traffic regarding php hosting. From experience I know that
> the general hosting companies provide a minimal PHP environment which is
> often insufficient for PHP developers.
> With this in mind, I'm considering offering specialized hosting for PHP
> projects.
>
> The server will be tuned to the needs of PHP projects, and will have the
> latest PHP4 and mySQL versions, up to date XML libraries, IMAP and POP,
and
> will run php as a apache module for performance. The server will have a
low
> user count and I will offer migration alternatives as user's needs grow.
The
> machines will be hosted at a major data center with multiple large
internet
> feeds, and all the other essential requirements.
>
> I plan to be available to users to assist in configuration problems and
will
> stay abreast of developments in PHP to make our projects run faster and
> better.
>
> I'd like to hear from people interested in participating or with
> configuration suggestions. I'm not looking to start a large hosting
company
> but to be a specialized service provider on a small scale.
>
> Let me know what you think, guys.
>
> Chris Mason
> Box 340, The Valley, Anguilla, British West Indies
> Tel: 264 497 5670 Fax: 264 497 8463
> USA Fax (561) 382-7771
> Take a virtual tour of the island
> http://net.ai/ The Anguilla Guide
> Find out more about NetConcepts
> www.netconcepts.ai
> Talk to me in real time with Instant Messenger: [EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP hosting - the final frontier.

2001-02-03 Thread Robert Covell

I shouldn't even reply to this...

Yes I would host with me.

Have you ever heard of a backup plan.  People that would step in if
something happens to me?  People that I trust to keep the company going if
it fails.

With all due respect, how do people host with a company that doesn't give a
rats ass about them or their business.  How many big companies redirect your
call, or brush you away when problems occur.  I been over backwards for my
clients.  Providing better service then many of the bigger companies out
there.  That is why people do and will continue to host with me.  Like I
said, I plan on hiring people in the near future.  Things take time to
evolve.

I am not saying that my company is for everyone.  If you don't like a one
man shop then don't go there.  People have taken a chance with me and have
not been disappointed like so many times before.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 03, 2001 1:38 PM
To: 'Robert Covell'; Ben Peter; Chris Mason
Cc: Php-General
Subject: RE: [PHP] PHP hosting - the final frontier.


And if, God forbid, something was to happen to you...
120 People / Companies would be left with a server
that no one knows the root password too?

With all due respect, how can someone in his
right mind host with a one man gang company?

For all I know you can be a hosting genius and
give the best service around  but you are still one
man.

Would you host with you ? :)

Sincerely

  berber

Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.


-----Original Message-
From: Robert Covell [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 03, 2001 9:16 PM
To: Ben Peter; Chris Mason
Cc: Php-General
Subject: RE: [PHP] PHP hosting - the final frontier.


I am going to have to disagree on this one.

I run a successful (and profitable) hosting company(http://www.rolet.com).
My employees total 1 (me, myself and I).  The number of clients hosted is
roughly 120.  I provide a wide variety of services on Linux, FreeBSD, NT,
and W2K.  Yes it is hard to believe that 1 person can be available 24x7, or
not take vacations, but this is what I do and LOVE every second of it.  I
value customer satisfaction and strive to provide that best Internet
services possible.  For me this is a career for life, not just a job.  So I
do believe that 1 person can be available 24x7 and not take vacations.
Don't get me wrong, some days it is tough.  I would like to have other
employees in the future, but don't mind the sacrifices taken to get there.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ben Peter
Sent: Saturday, February 03, 2001 11:59 AM
To: Chris Mason
Cc: Php-General
Subject: Re: [PHP] PHP hosting - the final frontier.


Chris,

This all sounds good but for one thing: I firmly believe that one man
with a root password is not enogh to look after even one client. I have
hosted with 3 one-man-companies, and it always came to the point where I
couldn't reach someone for a week, or I waited for 3 months, only to be
granted connect privileges to the mysql database - no offense meant! I
think it's just too much for one man, you cannot be available 24/7, and
you will want holidays.

Still, a PHP-specialized hosting environment would be worth much.

Cheers,
Ben

Chris Mason wrote:
>
> I see a lot of traffic regarding php hosting. From experience I know that
> the general hosting companies provide a minimal PHP environment which is
> often insufficient for PHP developers.
> With this in mind, I'm considering offering specialized hosting for PHP
> projects.
>
> The server will be tuned to the needs of PHP projects, and will have the
> latest PHP4 and mySQL versions, up to date XML libraries, IMAP and POP,
and
> will run php as a apache module for performance. The server will have a
low
> user count and I will offer migration alternatives as user's needs grow.
The
> machines will be hosted at a major data center with multiple large
internet
> feeds, and all the other essential requirements.
>
> I plan to be available to users to assist in configuration problems and
will
> stay abreast of developments in PHP to make our projects run faster and
> better.
>
> I'd like to hear from people interested in participating or with
> configuration suggestions. I'm not looking to start a large hosting
company
> but to be a specialized service provider on a small scale.
>
> Let me know what you think, guys.
>
> Chris Mason
> Box 340,

Re: [PHP] PHP hosting - the final frontier.

2001-02-04 Thread Robert Covell

I understand your concerns, but with this type of logic this mailing list
not not be around.  Niether would Linux, Apache, MySql or anyother open
source tool that so many people utilize today.  We would all be on NT
instead of Linux and using IIS with ASP instead of PHP.  Do think Ramsus
when he started out on PHP/FI was thinking I am only one person I shouldn't
even try to make it because the big guys are more reliable.  Or Linus
thought the same thing when he made his first kernel.  I really doubt it,
and neither did I when I decided to take a chance learn PHP/FI on Linux
using Apache about 5 years ago.  Look at where they are today and the
bazillion people who rely on the tools that one or two people took the time
and a chance on developing.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

- Original Message -
From: "Boaz Yahav" <[EMAIL PROTECTED]>
To: "'Robert Covell'" <[EMAIL PROTECTED]>; "Boaz Yahav"
<[EMAIL PROTECTED]>; "Ben Peter" <[EMAIL PROTECTED]>; "Chris Mason"
<[EMAIL PROTECTED]>
Cc: "Php-General" <[EMAIL PROTECTED]>
Sent: Sunday, February 04, 2001 3:29 PM
Subject: RE: [PHP] PHP hosting - the final frontier.


> No need to get upset :) just stating MHO (nothing personal).
>
> In your own words you say : "People have taken a chance with me"
> and that's really what they did. Cause you know what happens to
> backup plans that don't have backup plans that don't...
>
> I'm assuming that there may be an audience for this kind of hosting
> but personally I wouldn't host my site under such circumstances.
>
> Prices are so cheep today and you can get so much for so less with
> many ISP's that have a department of people running the show.
>
> As for the Service, well, if you chose a company and don't like the
service
> you can always go somewhere else. Most companies that I worked with
> gave amazing service.
>
> Today I work with PhenomiNET and the service is simply amazing.
> you can look at what they offer here :
>
> http://www.weberdev.com/index.php3?GoTo=phenominet/prices.htm
>
> This is your one stop shop for hosting. WeberDev.com is hosted there
> and I can tell you that their service is amazing. They are fast, reliable
> and more than anything, very professional (specially in PHP / MySQL).
>
> Sincerely
>
>   berber
>
> Visit http://www.weberdev.com Today!!!
> To see where PHP might take you tomorrow.
>
>
> -Original Message-
> From: Robert Covell [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 03, 2001 10:40 PM
> To: Boaz Yahav; Ben Peter; Chris Mason
> Cc: Php-General
> Subject: RE: [PHP] PHP hosting - the final frontier.
>
>
> I shouldn't even reply to this...
>
> Yes I would host with me.
>
> Have you ever heard of a backup plan.  People that would step in if
> something happens to me?  People that I trust to keep the company going if
> it fails.
>
> With all due respect, how do people host with a company that doesn't give
a
> rats ass about them or their business.  How many big companies redirect
your
> call, or brush you away when problems occur.  I been over backwards for my
> clients.  Providing better service then many of the bigger companies out
> there.  That is why people do and will continue to host with me.  Like I
> said, I plan on hiring people in the near future.  Things take time to
> evolve.
>
> I am not saying that my company is for everyone.  If you don't like a one
> man shop then don't go there.  People have taken a chance with me and have
> not been disappointed like so many times before.
>
> Sincerely,
>
> Robert T. Covell
> President / Owner
> Rolet Internet Services, LLC
> Web: www.rolet.com
> Email: [EMAIL PROTECTED]
> Phone: 816.210.7145
> Fax: 816.753.1952
>
> -Original Message-
> From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 03, 2001 1:38 PM
> To: 'Robert Covell'; Ben Peter; Chris Mason
> Cc: Php-General
> Subject: RE: [PHP] PHP hosting - the final frontier.
>
>
> And if, God forbid, something was to happen to you...
> 120 People / Companies would be left with a server
> that no one knows the root password too?
>
> With all due respect, how can someone in his
> right mind host with a one man gang company?
>
> For all I know you can be a hosting genius and
> give the best service around  but you are still one
> man.
>
> Would you host with you ? :)
>
> Sincerely
>
>   berber
>
> Visit http://www.weberdev.com Today!!!

Re: [PHP] PHP hosting - the final frontier.

2001-02-04 Thread Robert Covell

I agree, point taken...

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952


- Original Message - 
From: "Christian Reiniger" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Sunday, February 04, 2001 4:37 PM
Subject: Re: [PHP] PHP hosting - the final frontier.


On Sunday 04 February 2001 23:18, Robert Covell wrote:
> I understand your concerns, but with this type of logic this mailing
> list not not be around.  Niether would Linux, Apache, MySql or anyother
> open source tool that so many people utilize today.  We would all be on
> NT instead of Linux and using IIS with ASP instead of PHP.  Do think
> Ramsus when he started out on PHP/FI was thinking I am only one person
> I shouldn't even try to make it because the big guys are more reliable.

That's comparing apples to oranges. If all of Rasmus's computers fail 
while he's on holiday for 3 weeks, who cares? (Sorry Rasmus :)
If some machine at a hosting company shows glitches while the only admin 
is sick, things will be very bad for the hosted people/companies.

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka", but "That's funny..."

- Isaac Asimov

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] [S.O.S.] round() problem

2001-02-17 Thread Robert Covell

Sumarlidi,
I have come across this same problem with earlier versions of PHP3.  There
are versions of PHP3 that do not have the extra parameter.  I have 3.0.12 on
one of my machines and it doesn't work.  You will have to manually calculate
your precision using something like:

round(100*number)/100

or

function my_rounder($value)
{ 
$buffer = $value * 100; 
$rounded = round($buffer); 
$buffer = $rounded / 100; 
 return $buffer; 
}
 

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-Original Message-
From: SED [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 7:32 PM
To: [EMAIL PROTECTED]
Subject: [PHP] [S.O.S.] round() problem


I have been writing this project in PHP4 but had to save it for PHP3 an
apache server.

http://www.sed.is/sereign_145.php3

When I saved it on an apache server (I have W2K - where it's 100% ok!) as
php3 I get these errors:

Warning: Wrong parameter count for round() in /sereign_145.php3 on
line 152

Warning: Wrong parameter count for round() in /sereign_145.php3 on
line 161

According to the manuals this function should work like in both PHP3 and
4...

Can anyone point me to a solution?

Regards,
Sumarlidi Einar Dadason

SED - Graphic Design

--
Phone:   (+354) 4615501
Mobile:  (+354) 8960376
Fax: (+354) 4615503
E-mail:  [EMAIL PROTECTED]
Homepage:www.sed.is <- New Homepage!
--


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]