php-windows Digest 15 Oct 2002 14:09:24 -0000 Issue 1389

Topics (messages 16380 through 16384):

Setting Up Advanced SEcurity
        16380 by: David P Lenk
        16384 by: Brian McGarvie

Re: Acces DB and PHP connection ?
        16381 by: Brad Thomas

Re: PHP_SELF
        16382 by: Sven Schnitzke

Re: php and lotus notes
        16383 by: Olav Bringedal

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

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

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
What commands should I shut down to  secure my PHP webserver?

I have already turned off unlink and exec any other huge ones that should be
turned off to make sure hackers cant shut my server down using scripts?

Thanks,
David P Lenk
(I dont know everything?)


--- End Message ---
--- Begin Message ---
simply rin it in safe-mode

"David P Lenk" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What commands should I shut down to  secure my PHP webserver?
>
> I have already turned off unlink and exec any other huge ones that should
be
> turned off to make sure hackers cant shut my server down using scripts?
>
> Thanks,
> David P Lenk
> (I dont know everything?)
>
>


--- End Message ---
--- Begin Message ---
Haha.
I rock :)

HTH
Brad

"Mark A. Nichols" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Here's a code snippet.  I haven't tried this yet.

http://www.phpbuilder.com/mail/php-general/2000101/1850.php


-----Original Message-----
From: Brad Thomas [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] RE: Acces DB and PHP connection ?


I would think the only way you could connect to an Access Database
without a DSN set would be through the use of COM, maybe?

We did a little bit of ASP in TAFE last term and we connected to an Access
DB without setting
a DSN .. so maybe it could follow a bit of the same path.

HTH

Brad

"Cisiodon.Com.Br - Mail Host - Listserv" <[EMAIL PROTECTED]> wrote in
message 001f01c27372$40734f80$2800a8c0@host">news:001f01c27372$40734f80$2800a8c0@host...
> Hi !!!
> The PHP:MySQL Table Manager has been designed to simplify the
>
> management of multiple mysql tables on a web site.
>
> It was not designed for complex table structures.
>
> It is assumed that the correct database privileges are in
>
> place before use.
>
> Website : www.appcreator.com
>
>
>
> Hope help you
>
>
> ----- Original Message -----
> From: "Uttam" <[EMAIL PROTECTED]>
> To: "'Dennis Philpot'" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Monday, October 14, 2002 8:09 AM
> Subject: [PHP-WIN] RE: Acces DB and PHP connection ?
>
>
> > u mean DSN (not DNS) i suppose...
> >
> > well, i hv also been looking for a way, pls. do let me know if you find
> > one...
> >
> > regds,
> >
> > -----Original Message-----
> > From: Dennis Philpot [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, October 14, 2002 15:56
> > To: [EMAIL PROTECTED]
> > Subject: Acces DB and PHP connection ?
> >
> >
> > Hi NG,
> >
> > can someone tell me how i make a database connection from php (under
> > windows) to an access datbase WITHOUT a DNS entry ?
> >
> > i've searched alot and i only find a dns way !
> >
> > thx !
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
>
> Certified by  Argosoft Mail Server Pro
>
> http://www.cisiodon.com.br
> Http://www.netforum.com.br
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.401 / Virus Database: 226 - Release Date: 10/9/2002
>
>



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



--- End Message ---
--- Begin Message ---
Hi,
is the real name of your table test_tabel as in the 
code sample or test_table as in the text ?

Sven Schnitzke


-----Ursprüngliche Nachricht-----
Von:    Rodrigo San Martin [SMTP:[EMAIL PROTECTED]]
Gesendet am:    Sonntag, 13. Oktober 2002 09:33
An:     [EMAIL PROTECTED]
Betreff:        [PHP-WIN] PHP_SELF

Hi

Have a problem. Need to pass a multiple array through a form using a
PHP_SELF.
I pass it whith a hidden variabel but i get an error warning.

"Warning: Supplied argument is not a valid MySQL result resource in..."

The code is:

$qu2             ="SELECT * FROM test_tabel ;";
$result       = mysql_query($qu2);
$num         = mysql_num_rows($result);

i take out some info from test_table (there are some questions in the table
that the user need to answer), the user does some operation, clicks submit
and is supposed to be presented whith the next question in the table. I pass
the variable like this:

<INPUT TYPE='hidden' VALUE='$result' NAME='result'>

But no way josey. I get that warning.

Anybody got i nice solution please.





------------------------------------------
Rodrigo San Martin
Institutt for datateknologi og informatikk

http://www.idi.ntnu.no/~rodrigo




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

--- End Message ---
--- Begin Message ---
 --- Tim Blackwell <[EMAIL PROTECTED]> wrote: 
> does anyone out there use php in lotus notes--i'm looking for a function
> that can access the NAB for user authentication.
> 
> thanks,
> 
> tim
> 

There is no easy-peasy way to do this.

Here are a few suggestions of approach though:

-php have a Notes (rather domino) extention. It is still experimental and might
not work as you want as it doesn't have any equivalents of
"view.GetAllDocumentsByKey"

-You can create a web interface that uses fopen/fgets to retive the result of a
web-login to the domino server if it is on the web.

-If the Dominoserver has LDAP enabled, php got a pretty ok LDAP extention. 

-It is also possible to write a COM or LotusAPI interface in C , but that would
be pretty much work, i guess. 

-And at last, you always got the Java interface...


=====
--

Olav Bringedal
jaggu.org

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---

Reply via email to