[PHP] Re: XML and XLS Sablotron

2002-10-30 Thread J Wynia
Daniele Baroncelli wrote: Dear all, I am just approaching to XML and I would need some explanation, which most of you will probably consider very trivial. I have read about the XLS Sablotron functions, which are able to apply XLS stylesheets to an XML document. My question is: if my aim is to

[PHP] Re: the xml functions

2002-10-24 Thread J Wynia
efine   as a valid entity in your DTD and make sure that all XML strings have a DTD when they are fed through the parser. J Wynia phpgeek.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP from behind a proxy-server ??

2002-10-16 Thread J Wynia
You can use the CURL module to do this fairly easily as it has a proxy setting. Some example code available at: http://www.phpgeek.com/articles.php?content_id=29 Rob wrote: > hi, > > i'm trying to get phpMySetiStats (phpmysetistats.sourceforge.net) > running on my NT4 box (Apache 2.0.39, PHP 4

[PHP] Re: Export email addresses from Outlook Express with PHP

2002-10-03 Thread J Wynia
Arnaud CastéRan wrote: > Do you think it is possible to export email addresses from Outook Express > with PHP. > I looking for a script using COM but i only found exemples for MSOutlook. > What i want to do is an address book for each members of my site > (www.universemail.net a directory of emai

Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread J Wynia
PHPTriad 2.2 will work on XP. No, Sokkit is not out yet. Sokkit will most definitely work on XP as that's what I'm developing it on. Stephen wrote: > Is this even out yet? I have PHPTriad 2.2 I'm pretty sure. > > - Original Message - > From: "Tyler Longren" <[EMAIL PROTECTED]> > To: "St

[PHP] Re: How to Pass the Username which from Windows Login

2002-03-29 Thread J Wynia
$network = new COM("WScript.Network"); $computername = $network->ComputerName; $username = $network->UserName; Password can't be grabbed for fairly obvious reasons. "Jack" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all > I want to prevent user to mak

[PHP] Re: Create Word Document from PHP??

2002-03-06 Thread J Wynia
Don't know what code you're using to do this, but here's a spellcheck function that creates a new Word doc. See if this works for you. function spellcheck($string){ $word = new COM("word.application") or die("The spellcheck function requires MS Word."); $word->Visible = 0; $word->Documents->Add()

[PHP] Re: sending mail via SMTP server

2002-02-26 Thread J Wynia
Does your script take longer than the default 30 seconds? It might be timing out and dying. You may just need to give the script time to finish by making the max_execution_time longer. "Matthew Delmarter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am usi

[PHP] Re: PHP COM with Distiller

2002-02-26 Thread J Wynia
Don't have sample code handy, but you'd create a new Word, Excel or Powerpoint object (depending), and use the print methods of those objects to send it to Distiller. "Kumar" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi All, > > Installed Apache, PH

[PHP] Re: php, win32, xml bug?

2002-02-26 Thread J Wynia
n server."); $xml_com -> loadXML($xml_string); $xsl_com -> loadXML($xsl_string); $output = $xml_com -> transformNode($xsl_com); "Alexander GräF" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > "J Wynia" <[EMAIL

[PHP] Re: php, win32, xml bug?

2002-02-25 Thread J Wynia
The first thing I'd do is run your transformation through one of (or all of) the rest of the XSL engines out there. There's a lot more variability out there in XSL engines. Unfortunately, Sablotron isn't the most conformant of the field. I haven't used Sablotron in a while for XSLT processing so a

[PHP] Specify php.ini per virtual host?

2002-02-21 Thread J Wynia
Is it possible to specify a different php.ini file for each virtual host? I know that that "-c altphp.ini" syntax on the end of the commandline will switch it, however, that doesn't exactly work like I'd hoped in Apache's configuration. I'd like a solution that worked with either the CGI or module

[PHP] Re: licensing, protection

2002-02-21 Thread J Wynia
There is the PHP Obfuscator that makes output code a real pain to read. It doesn't really compile it or anything, but it's a level of protection if you need it. http://pobs.mywalhalla.net/ "Kunal Jhunjhunwala" <[EMAIL PROTECTED]> wrote in message 005101c1bae4$6e7a6770$0301a8c0@CONFUSED">news:0051

[PHP] Re: Windows Logon Username Pass to PHP

2002-02-21 Thread J Wynia
This may sound kludgy. Probably is. Since it's an internal site, you can control things a bit. The Windows Scripting Host (installed on Win 98+ and Win2K+, available for others as download) exposes at least the username as a property on a WScript.Network object. However, since access to that objec

[PHP] Re: PHP and COM - Syntax question

2002-01-18 Thread J Wynia
Hopefully this is my last reply on this thread. I discovered after opening Word normally after a few dozen tests, that it tried to "recover" all those "lost" documents. The following demo script has that fixed. Visible = 0; $word->Documents->Add(); $word->Selection->TypeText($string); $word->Act

[PHP] Re: PHP and COM - Syntax question

2002-01-18 Thread J Wynia
Documents->Add(); $word->Selection->TypeText($string); $word->ActiveDocument->CheckSpelling(); $word->Selection->WholeStory(); $corrected = $word->Selection->Text; $word->Quit(false); $word->Release(); $word = null; return $corrected; } J Wynia phpgeek.com -- PH

[PHP] PHP and COM - Syntax question

2002-01-18 Thread J Wynia
>CheckSpelling(); $word->Selection->WholeStory(); $corrected = $word->Selection->Text; //the VBA sample code ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges $word->Quit(); $word->Release(); $word = null; return $corrected; } J Wynia phpgeek.com -- PHP General Mailing L