RE: [PHP-WIN] Authentication Question!

2007-10-09 Thread Gustav Wiberg
Hi! I apologize.. Of course cookies are stored IN files. That was I meant. Best regards /Gustav Wiberg Ps. You should see what I meant, not what I typed ;-) -Original Message- From: Warren Vail [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 8:51 AM To: 'Gustav Wiberg'; '

RE: [PHP-WIN] Authentication Question!

2007-10-09 Thread Warren Vail
Gustav, Your statements are not entirely accurate, Cookies are stored IN files on the client HD and can be stored there for a while, they don't do anything to cause unspecified files to be stored as you seem to say. PHP sessions employ a cookie to store the session key, which is tranmitted with o

RE: [PHP-WIN] Authentication Question!

2007-10-09 Thread Gustav Wiberg
Hi! For higher security it's generally better to use Sessions BECAUSE Cookies generally stores files on the client hd for a longer time, and it's therefore easier to get the password (if the password itself is not encrypted). My tip is to use sessions if it works. Uses cookies in other hand (It

[PHP-WIN] Re: Authentication Question!

2007-10-09 Thread Mazzu
Matthew Gonzales <[EMAIL PROTECTED]> wrote: > Hello, > > Could some one offer their opinion one which is better to use when > creating a password protected area, a $Cookie or a $Session. I have > found alot of info on both and can't really make up my mind. I am > running PHP and MySQL on IIS 6.0

[PHP-WIN] Authentication Question!

2007-10-09 Thread Matthew Gonzales
Hello, Could some one offer their opinion one which is better to use when creating a password protected area, a $Cookie or a $Session. I have found alot of info on both and can't really make up my mind. I am running PHP and MySQL on IIS 6.0. Matt G -- Matthew Gonzales IT Professional Specia

RE: [PHP-WIN] VBScript - TO - PHP... Open-Method-COM+

2007-10-09 Thread Gustav Wiberg
Hi! Aha. Ok. I used $word->Selection->Documents->Open("c:\\www\\test.doc"); instead of $word->Documents->Open("c:\\www\\test.doc"); Thanx! /Gustav -Original Message- From: Niel Archer [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 11:13 AM To: php-windows@lists.php.net Sub

Re: [PHP-WIN] VBScript - TO - PHP... Open-Method-COM+

2007-10-09 Thread Niel Archer
Hi First off, let me say I don't use Word, don't even have it installed on my computers, so I can't test any of this. You seem to be doing unnecessary stuff to open one document (adding a new one that's not used after). Have you looked at PHP's online documentation for .COM (http://www.php.ne

[PHP-WIN] VBScript - TO - PHP... Open-Method-COM+

2007-10-09 Thread Gustav Wiberg
Hi again I don't know If I figure out exactly how to "convert" VB-application to PHP-code... I'm using the reference:http://msdn2.microsoft.com/en-us/library/aa220317(office.11).aspx (Because I'm using Word 2003 as test-application) And viewing example: "As it applies to Document-object"

RE: [PHP-WIN] Com++ Word AND PHP?

2007-10-09 Thread Gustav Wiberg
Hi! I solved it! With some further testing.. Couldn't find it anywhere on the net, but I simply guessed... So If someone is interested. This is how I did in Word 2003. $doc = $word->Selection->Document; $docName = "c:\\www\Useless test.doc"; $doc->SaveAs($docName); /Gustav -Original Messa