RE: [PHP-WIN] Problems with working with large text files

2007-05-31 Thread Adam Niedzwiedzki
Hi Stut, (yeah ok But still doesn't explain why php ain't letting me (I'm thinking BUG) :P) Anyways this is how I'm handling the file... if($fp = fopen($logfile, 'r')){ debug_log("$file has ".count(file($logfile))." lines to process"); while(!feof($fp)){ $lin

Re: [PHP-WIN] Problems with working with large text files

2007-05-31 Thread Stut
Adam Niedzwiedzki wrote: I have a simple php script that I'm running from command line, it opens up a http web log, proccess's it, then zips it when done. If the http log is under 200MB (approx) this all hum's along nicely, as soon as the files are up over 300MB php falls over. Fatal error: Out

[PHP-WIN] Problems with working with large text files

2007-05-31 Thread Adam Niedzwiedzki
Hi all, I have a simple php script that I'm running from command line, it opens up a http web log, proccess's it, then zips it when done. If the http log is under 200MB (approx) this all hum's along nicely, as soon as the files are up over 300MB php falls over. Fatal error: Out of memory (alloca

Re: [PHP-WIN] How to use Windows Authentication (SSPI) with mssql_connect command ?

2007-05-31 Thread Frank M. Kromann
Yes that is possible. If the web server allows anonymous access to the script it will use the generic account, but if anonymous access is disabled you can get the auth method and name from the $_SERVER array. I think it's called $_SERVER['AUTH_USER']. You can test that by creating a small script t

Re: [PHP-WIN] How to use Windows Authentication (SSPI) with mssql_connect command ?

2007-05-31 Thread Dan Shirah
I know you don't need it to connect/update the database. I was thinking more along the lines of using it for an event logging type of scenario. User A opens and processes an order. Upon completion User A saves the order with its new status. Would it be possible to extract who User A is by pull

Re: [PHP-WIN] How to use Windows Authentication (SSPI) with mssql_connect command ?

2007-05-31 Thread Frank M. Kromann
that will be the user configured under IIS (IUSR_). You don't need that information to update the database you should be able to cal mssql_connect() without any parameters. - Frank > If you set mssql.secure_connection = On, is there a way in PHP where you can > then retrieve the username of the p

Re: [PHP-WIN] Printing via webapp

2007-05-31 Thread Niel Archer
> Oh and one more question. Can php create a text file with the exenstion of > zpl instead of txt? Easily Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Printing via webapp

2007-05-31 Thread Moore, Joshua
Well ive got some new information and I need some suggestions. I can print to the printer via this ZPL code. The ZPL code is just in a textfile with the extension .zpl. To print successfully to the barcode printer all I have to do is copy the zpl file to the printer using a commandline: Copy test

RE: [PHP-WIN] Printing via webapp

2007-05-31 Thread Moore, Joshua
Well I just found out most of the Zebra barcode printers have their own code (ZPL code). So I try and send that data to the printer but still no luck. Heres my code: This would be the printer code to print a name: ^XA ^FO50,50^ADN,36,20^FDjoshmoore ^FS ^XZ Is my php correct? I still seem to ha

RE: [PHP-WIN] CMS?

2007-05-31 Thread Gustav Wiberg
Hi! Ok. It's because the customer wants to explore the documents when logging into the network as "network-user". And NOT just in the intranet-portal. Best regards /Gustav Wiberg -Original Message- From: Bill Bolte [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 3:59 PM To: php

RE: [PHP-WIN] CMS?

2007-05-31 Thread Bill Bolte
No, not really. it's more of an enhanced media manager allowing ftp, editing of files and folder/file permissions, etc. But as was asked before, why the need for the specific paths? -Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 8:46 AM To

RE: [PHP-WIN] CMS?

2007-05-31 Thread Gustav Wiberg
Hi there! Can this JoomlaExplorer be a replacement for Docman? I'm using Mambo 4.5.1 Best regards /Gustav Wiberg -Original Message- From: Bill Bolte [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 3:39 PM To: php-windows@lists.php.net Subject: RE: [PHP-WIN] CMS? With Joomla! i

RE: [PHP-WIN] CMS?

2007-05-31 Thread Bill Bolte
With Joomla! it really depends on what you're doing. Media Manager will allow you to store your images in the way you describe. The add-on component, DocMan stores them all in one folder. Get the JoomlaExplorer add-on and it allows you to upload files to any folder you want (as well as create those

RE: [PHP-WIN] CMS?

2007-05-31 Thread Moore, Joshua
Ok well sorry, I don't know of anything else :( -Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 6:08 AM To: Moore, Joshua Subject: RE: [PHP-WIN] CMS? Hi there! I could an application of my own that does this, but I'm just wondering if there

[PHP-WIN] CMS?

2007-05-31 Thread Gustav Wiberg
Hi there! Anyone know a good CMS for handling documents and adding/deleting news in diffrent categorys. Mambo/Joomla or Sharepoint Server would be great, BUT in these systems documents are stored in ONE map on the server (and through the db - the site shows respective document is shown in diff

Re: [PHP-WIN] How to use Windows Authentication (SSPI) with mssql_connect command ?

2007-05-31 Thread Dan Shirah
If you set mssql.secure_connection = On, is there a way in PHP where you can then retrieve the username of the person that is trying to update the database? On 5/30/07, Frank M. Kromann <[EMAIL PROTECTED]> wrote: use the mssql.secure_connection = On in your php.ini file and make sure the IIS us

Re: [PHP-WIN] Configuring and send mails in winxp??

2007-05-31 Thread Jody Williams
I had a similar situation. As a result, I switched to Pear::Mail. On 5/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Do you have a firewall rule that prevents incoming email from this particular host? I tried to ping the server smtp.fibertel.com.ar and could not receive a reply. It ma

Re: [PHP-WIN] javascript :close()

2007-05-31 Thread Stut
chandar wrote: I have a webpage with frames,i have provided a link and when the user clicks the link i am closing the window. For closing i am using javascript:window.close(); when i click the link in IE i get a command window telling you are going to close this window. Is there anyway to supr

[PHP-WIN] javascript :close()

2007-05-31 Thread chandar
Hi all, I have a webpage with frames,i have provided a link and when the user clicks the link i am closing the window. For closing i am using javascript:window.close(); when i click the link in IE i get a command window telling you are going to close this window. Is there anyway to supress th

RE: [PHP-WIN] Configuring and send mails in winxp??

2007-05-31 Thread N . A . Morgan
Do you have a firewall rule that prevents incoming email from this particular host? I tried to ping the server smtp.fibertel.com.ar and could not receive a reply. It may be our firewall is preventing a response from that server, or it may be that the email provider has limited the access to we