[PHP-WIN] Re: help in installation in PHP

2002-11-01 Thread J Wynia
PHP is an interpreted language that requires that all code be passed through the interpreter. Since the browser doesn't have a PHP interpreter built in, you need to install a web server in order to see PHP scripts locally. You are able to open HTML files directly with the browser because the br

[PHP-WIN] Re: starting a program without waiting for it to terminate

2002-10-31 Thread J Wynia
Patrick wrote: hi i'm running apache 2.0.43 and php4.2.3 on win2k. what i need to do in my php script is to start some windows executable. but as it's taking quite a bit until it terminates i want php to continue without waiting for it. i tried lots of stuff but nothing worked and i'm quite des

[PHP-WIN] Re: Print data

2002-10-24 Thread J Wynia
José Moreira wrote: hello, at my company we have several network printers and i was was wondering if it's possible to print directly to them using PHP, instead of showing on the screen or both ... to gain more control on what is printed, because of the nasty browsers header and footer ... whom i n

[PHP-WIN] Re: read registry

2002-10-15 Thread J Wynia
just an example. The point is to use the RegRead method and give it a valid key. The key has to exist on the machine trying to execute the method. Obviously, trying to access a key that doesn't exist isn't going to work. J Wynia phpgeek.com -- PHP Windows Mailing List (http:

[PHP-WIN] Re: read registry

2002-10-14 Thread J Wynia
$shell->RegRead("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyServer"); There is RegWrite method that can be used just like the RegRead method to write keys to the registry as well. J Wynia phpgeek.com -- PHP Windows Mailing List (http

[PHP-WIN] Apache 1.3.x PHP module and php.ini precedence

2002-10-01 Thread J Wynia
em to be in the "path" that I would expect PHP to look. If I need to dig in the PHP source, can someone give me a pointer as to where to start? J Wynia phpgeek.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] What information would you like to see on PHP and Windows?

2002-10-01 Thread J Wynia
n up that isn't just a rehash of the Linux PHP information or another copy of the same PHP/MS Word example that everyone publishes when explaining PHP and COM. Feel free to respond to me privately. J Wynia [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsu

[PHP-WIN] Re: using exec on WIMP

2002-10-01 Thread J Wynia
Mwct - Markus Weber wrote: > Hi, > > may be someone can help me: > > I want to use the exec() function to run an executable as background > process. This means my php script should not wait for the end of the > background process. I tried a lot but without success. My script always wait > for th

Re: [PHP-WIN] PHP 4.2 - hard-coded paths

2002-04-23 Thread J Wynia
Not if the paths weren't in the binary for PHP 4.1.2. I'm not some sort of amateur nutcase poking around. There was a decided difference in behavior between 4.1.2 and 4.2 on the phpinfo() output. Since the values that were showing weren't to be found in any cleartext file on my system, I went to

[PHP-WIN] PHP 4.2 - hard-coded paths

2002-04-22 Thread J Wynia
I just installed Apache 2 and PHP 4.2. It does work and phpinfo() brings up indications of Apache 2 and the correct PHP version. However, the paths to resources on my system seem to be hard-coded within the php4ts.dll. The path to php.ini indicates c:\winnt (which has been hard-coded in the binary

[PHP-WIN] 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-WIN] Re: NT User info using COM...ASP getObject() alternative

2002-03-28 Thread J Wynia
You can grab some of those variables automatically. $network = new COM("WScript.Network"); $computername = $network->ComputerName; $username = $network->UserName; "Court Shrock" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Was searching through the groups

[PHP-WIN] Re: PHP4_Win98se_Apache. text in window instead of html response?

2002-03-10 Thread J Wynia
The most common cause of PHP scripts being displayed on PHPTriad installations is not routing requests through the web server, ie. opening the files through the browser's File -> open menu rather than through a URL like http://localhost/script.php. "Bob Parks" <[EMAIL PROTECTED]> wrote in message

[PHP-WIN] Re: Mail with php and w2k

2002-03-06 Thread J Wynia
I've got an article up on setting up Hermes as a local SMTP server for PHP scripts on Windows. http://www.phpgeek.com/modules.php?op=modload&name=News&file=article&sid=8&m ode=nested&order=2&thold=-1 "Mike Schmid" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: [PHP-WIN] Help with XSL

2002-02-25 Thread J Wynia
I did an XSLT demo a while back for the Twin Cities PHP User Group. My notes and demo code are available at http://www.tcphp.org/meeting_notes/xslt/. I wrote the demo on Windows. "Phillip Fox" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > On Mon, 25 Feb

[PHP-WIN] Re: VBA to Word - Syntax Question

2002-01-18 Thread J Wynia
spellcheck($text); print($checkedtext); } else { ?> Enter Text J Wynia phpgeek.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] Re: VBA to Word - 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-WIN] Apache 2.0.28 + PHP 4.1 CGI = Error 400 Bad Request

2001-12-19 Thread J Wynia
/localhost/phpinfo.php. If I change the URL to http://localhost/php/php.exe/phpinfo.php, the page loads (minus the images), but still throws a 400 error in the logs. Any ideas? J Wynia phpgeek.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP-WIN] Re: Problem with Sablotron extention for Windows

2001-09-12 Thread J Wynia
Here's a tutorial. http://shanx.com/php/xsl/getXsl.htm -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] Expired PDFLib

2001-09-12 Thread J Wynia
I hadn't messed with PDFLib for a few months, but having run across the PC4P PHP class for building them, I decided to work with it some more. When I loaded up the examples, I got an "expired PDFLib" error message. So, I went to PDFLib.com like a good little developer to figure it out. They had a

Re: [PHP-WIN] need some help with apahce-php-mysql under windows

2001-05-11 Thread J. Wynia
There's a link to start MySQL in your start menu under PHPTriad along with the one to start Apache. MySQL flashes a DOS window and then stays running in the background until you reboot. PHPMyAdmin is installed along with PHPTriad and is in c:\apache\htdocs\phpmyadmin. hi all, hope you can help me

Re: [PHP-WIN] How can I extend PHP

2001-04-27 Thread J. Wynia
> >While the content is the same, the PDF is all in one document and formatted > >for printing. It's much easier to take notes on a printed document. > > well, it's better to buy the book then :) > > daniel Which is why I bought it. However, if the only useful part to you is the API doc and you wa

Re: [PHP-WIN] How can I extend PHP

2001-04-27 Thread J. Wynia
> >I'll look at splitting the PDF so that that section can be distributed with > >the rest. > > there's no need to do that... > http://www.zend.com/apidoc/ > > daniel While the content is the same, the PDF is all in one document and formatted for printing. It's much easier to take notes on a prin

Re: [PHP-WIN] How can I extend PHP

2001-04-27 Thread J. Wynia
That book is cool. Actually, that section is under the open publication license. I originally thought the whole book was due to the OPL being in the directory above the PDF on the CD and the license being printed at the back of the book, and emailed Tobias before sending the PDF hither and yon. He