Re: [PHP-WIN] PHP and SQL 2000

2004-08-12 Thread PHP MySQL
hi list, I set mssql.secure_connection = On in php.ini file and my php file is now successfully getting connected to the SQL 2000 database. Thank u very much for ur helpspecial thanks to Frank. Regards, penjo Yahoo! India Matrimony: Find your life partneronline.

[PHP-WIN] Re: Mail functions?

2004-08-12 Thread Manuel Lemos
Hello, On 08/12/2004 04:37 PM, Anne Shroeder wrote: Alas, I cannot use the mail() function on Windows. Someone told me about this: http://www.phpguru.org/static/mime.mail.html but attempts to get it to work have been futile. Does anyone else have a good and straightforward solution for sending m

Re: [PHP-WIN] User Level Access Control Priviledges

2004-08-12 Thread Justin Patrin
On Thu, 12 Aug 2004 18:14:53 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Can I actually look behind the scenes to see how LiveUser actually implements this? > Also, if I were to use LiveUser, would I be able to bolt it onto my online > Application? > Yes, that's that PEAR packages are

Re: [PHP-WIN] User Level Access Control Priviledges

2004-08-12 Thread trystano
Can I actually look behind the scenes to see how LiveUser actually implements this? Also, if I were to use LiveUser, would I be able to bolt it onto my online Application? Sorry can you send me the link again, I seem to have accidentally deleted yopur previous email. Thanks Tryst -- PHP Wind

Re: [PHP-WIN] User Level Access Control Priviledges

2004-08-12 Thread Justin Patrin
On Thu, 12 Aug 2004 17:50:44 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I meant be implemeting the User Access priviledges into the database, so then the > code being used will extract that this data for certain users and execute whats > necessary. > > For example... > > CREATE TABLE

Re: [PHP-WIN] User Level Access Control Priviledges

2004-08-12 Thread trystano
I meant be implemeting the User Access priviledges into the database, so then the code being used will extract that this data for certain users and execute whats necessary. For example... CREATE TABLE User ( ID int not null , Name varchar(30) not null , PRIMARY KEY (ID) ); CREATE TABLE Access

Re: [PHP-WIN] Mail functions?

2004-08-12 Thread Justin Patrin
On Thu, 12 Aug 2004 17:42:57 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Am I correcting thinking that, when you use the mail() function on the hosting > server, the server will automatically pick up the SMTP server (i assume a hosting > server will already have the SMTP-Server value in

Re: [PHP-WIN] connection: close header

2004-08-12 Thread Justin Patrin
On Thu, 12 Aug 2004 15:38:02 -0400, Gryffyn, Trevor <[EMAIL PROTECTED]> wrote: > Just tossing out my 2cents.. Maybe there's a way or a reason, but HTTP > connections are, by their nature, connectionless. They send the data > and close the connection. I'm not sure why you'd want to keep a > persi

Re: [PHP-WIN] Mail functions?

2004-08-12 Thread trystano
Am I correcting thinking that, when you use the mail() function on the hosting server, the server will automatically pick up the SMTP server (i assume a hosting server will already have the SMTP-Server value in the php.ini file, which we do not have access to). But if testing on a local server,

RE: [PHP-WIN] connection: close header

2004-08-12 Thread Gryffyn, Trevor
Just tossing out my 2cents.. Maybe there's a way or a reason, but HTTP connections are, by their nature, connectionless. They send the data and close the connection. I'm not sure why you'd want to keep a persistant connection to a specific page. There are "Keep Alive" codes you can send that ma

Re: [PHP-WIN] Mail functions?

2004-08-12 Thread Cory D. Wiles
What happens when you try to use the mail function. Did you put your correct smpt-server in the php.ini? Anne Shroeder wrote: Alas, I cannot use the mail() function on Windows. Someone told me about this: http://www.phpguru.org/static/mime.mail.html but attempts to get it to work have been futi

[PHP-WIN] Mail functions?

2004-08-12 Thread Anne Shroeder
Alas, I cannot use the mail() function on Windows. Someone told me about this: http://www.phpguru.org/static/mime.mail.html but attempts to get it to work have been futile. Does anyone else have a good and straightforward solution for sending mail from a web page (results from a form). Nothing

[PHP-WIN] connection: close header

2004-08-12 Thread d c
Hello, I am using php 4.3.4 on windows 2000 with iis 5 and isapi. We recently switched from asp to php. There is an application that we have that hits one of the pages to send some info, and it uses persistant connections. The php page was not working correctly, and a trace using ethereal show

Re: [PHP-WIN] User Level Access Control Priviledges

2004-08-12 Thread Justin Patrin
On Thu, 12 Aug 2004 13:52:33 EDT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all, > > I am encountered with what seems a potentially difficult system to > implement. I need to implement a user level access control system. The application I > will create is a consultancy application, wi

[PHP-WIN] User Level Access Control Priviledges

2004-08-12 Thread Trystano
Hi all, I am encountered with what seems a potentially difficult system to implement. I need to implement a user level access control system. The application I will create is a consultancy application, with various user categories, where each user category will have access rights to a part

Re: [PHP-WIN] PHP and SQL 2000

2004-08-12 Thread Frank M. Kromann
Hello, The default way to connect is to use SQL Server user names and passwords, but the mssql extension can be configured to use secure/trusted connections. This is don by setting mssql.secure_connection = On in php.ini. With a secure connection the client maschine will use the userid/password f

[PHP-WIN] Re: PHP and SQL 2000

2004-08-12 Thread Nathan
Php mysql schreef: But when i try to connect to the database using the mssql_ functions like: $user = ""; $password = ""; $myDB = "BACSDB_test"; $sqlconnect = mssql_connect ("$localhost", $user, $password); $sqldb = mssql_select_db($myDB, $sqlconnect) or die("Couldn't open database $myDB"); $sq