Re: [PHP-WIN] Reading files from Win 2003 Server

2007-10-10 Thread Gustav Wiberg
Hi! I haven't managed to use UNC-pat \\SERVER\computer... etc... with PHP But it's might be possible to do some network-mapping - a letter with the directory? and then access the mapping-letter through PHP? Best regards /Gustav Wiberg - Original Message - From: "Alexis" <[EMAIL PROT

RE: [PHP-WIN] Ajax and PHP

2007-10-10 Thread Jeff White
Hello Matt, I read this book and reference it often: "AJAX and PHP: Building Responsive Web Applications" Packt Publishing - 2006 ( http://www.packtpub.com ) ISBN 1-904811-82-5 As far as sites to check, I have used Prototype ( http://www.prototypejs.org/ ) more than anything else. There is somew

RE: [PHP-WIN] Permissions on Server 2003

2007-10-10 Thread Jeff White
Hello Alexis, I use PHP on our LAN at work using Windows authentication. If you want to restrict HTTP access to the directory using Windows permissions you'll have to: 1. Uncheck the Anonymous user authentication in IIS (in IIS 5.1: site properties > "Directory Security" > "Anonymous access and a

[PHP-WIN] Ajax and PHP

2007-10-10 Thread Matthew Gonzales
Has anyone out there conquered Ajax and PHP? Do you recommend any books or websites that provide good tutorials? Thanks! Matt -- Matthew Gonzales IT Professional Specialist Enterprise Information Technology Services University of Georgia Email: [EMAIL PROTECTED] Phone:

Re: [PHP-WIN] Permissions on Server 2003

2007-10-10 Thread Gustav Wiberg
Hi Alexis! As default there is two users assigned as anynomous users for Internet. the default is IUSR_ (and there is also IWAM_ but this is more for service-processing than administration of rights) Set the permissions of this user to read in the directory you want to read content from. B

[PHP-WIN] Permissions on Server 2003

2007-10-10 Thread Alexis
Hi, I am trying to read the contents of a directory on a Server 2003 network. I have removed the 'General Users' from the set of permissions on the directory, as only the owner of the directory is allowed to access it. In this case myself. Now by doing this I am obviously stopping PHP script

[PHP-WIN] Reading files from Win 2003 Server

2007-10-10 Thread Alexis
Hi, I know this may not be relevant to this list but I tried the General list and got no reply. I have a script located on an Ubuntu box and I am trying to read files located on a Win 2003 Server. I have 'mounted', if that's the right term to use, a connection from Ubuntu to Server 2003 and c

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread Gustav Wiberg
Hi again! I noticed I didn't pay enough attention to your question... Sorry for that. The file is stored on the server! And with COM-objects I managed to do a PHP-script - create a (Word)-COM-object to open a certain file (say c:\test.doc on the server). I changed te c:\test.doc from within t

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread John Mertic
Using PHP ( whether via COM or not ) in a web application to interact with a file on the local user's machine isn't possible. PHP is a server-side language in this context, and it interacts with the COM object on the server which has no access to the user's local machine. If the file is on the ser

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread Gustav Wiberg
Hi! It was just an example, but say Yes. Does it make a difference? Best regards /Gustav Wiberg - Original Message - From: "John Mertic" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP-Windows Group" Sent: Wednesday, October 10, 2007 7:55 PM Subject: Re: [PHP-WIN

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread John Mertic
Is c:\test.doc a file on the local user's machine or the server? On 10/10/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > Hi again! > > I want the logged-in user to able to open a word-file (or an Excel-file or > whatever) and then Push Save-Icon and make sure that changes are actually > made. > Ex

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread Gustav Wiberg
Hi again! I want the logged-in user to able to open a word-file (or an Excel-file or whatever) and then Push Save-Icon and make sure that changes are actually made. Example: John opens up file c:\test.doc. He writes "Ugly cow" in it and pushes the save-icon. Ugly Cow is now stored in file c:

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread TG
One thing to watch out for with using COM objects is to make sure you actually close the application when you're done using it and/or don't end up opening multiple instances of the application. I can't remember what the exactly sequence was, but I think it was either Application.Exit() or Appl

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread John Mertic
I've worked a lot with the Word COM and while it works well on a single desktop, I wouldn't recommend it for a server process. It's rather slow and while the memory eventually gets cleaned up, it still takes up a lot of memory for as little as it does. I'm not so sure OpenOffice is much better in t

[PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread Gustav Wiberg
Hi! I want to use COM+ objects (especially with Word). I have understood (a lot of reading on the Internet) that when initiating COM-objects with Word (even if the object is released in variable in the code). Word leaks a lot of memory. I have also read that if I want to use Word-COM+ object I