[PHP-WIN] Re: saving word files

2005-04-19 Thread Nick
Just a note to those wanting to use COM to interface to printers under Windows 2000/XP. If it doesn't work or seems to hang, try changing the logon identity under which the Apache (assuming you're using Apache) service is running from the System account to another account. By default most serv

[PHP-WIN] saving word files

2005-04-19 Thread Nick
i need to print the word file, but first testing by saving this seems not to work, site keeps loading :s:s:s nothing happens Documents->Open($file); $new_file = "c:/reminder_new.doc"; $word->Documents[1]->SaveAs($new_file); $word->Quit(); $word->Release(); $word = null; ?> this neither, also muc

Re: [PHP-WIN] Call to undefined function printer_open()

2005-04-19 Thread Nick
Ah thanks, i will try that. "Darvin Andrioli" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > -Messaggio originale- > > Da: Nick [mailto:[EMAIL PROTECTED] > > Inviato: martedì 19 aprile 2005 18.04 > > A: php-windows@lists.php.net > > Oggetto: Re: [PHP-WIN] Call to undefin

Re: [PHP-WIN] Call to undefined function printer_open()

2005-04-19 Thread Darvin Andrioli
> -Messaggio originale- > Da: Nick [mailto:[EMAIL PROTECTED] > Inviato: martedì 19 aprile 2005 18.04 > A: php-windows@lists.php.net > Oggetto: Re: [PHP-WIN] Call to undefined function printer_open() > > > yeah, but thats only to print an single line, not a whole word file (MS > office word

Re: [PHP-WIN] Call to undefined function printer_open()

2005-04-19 Thread Nick
yeah, but thats only to print an single line, not a whole word file (MS office word ;) ) the files that i use are like 5 to 10 pages. not very usefull that i draw text i suppose thanks anyway "Darvin Andrioli" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Have a look at the exampl

[PHP-WIN] R: [PHP-WIN] Call to undefined function printer_open()

2005-04-19 Thread Darvin Andrioli
Have a look at the example at http://it2.php.net/manual/en/function.printer-draw-text.php it may help you. Darvin > -Messaggio originale- > Da: Nick [mailto:[EMAIL PROTECTED] > Inviato: martedì 19 aprile 2005 15.04 > A: php-windows@lists.php.net > Oggetto: Re: [PHP-WIN] Call to undefined

[PHP-WIN] PHP Files won't parse

2005-04-19 Thread Brett Patterson
Hey guys. I just set up Apache 2, PHP 5, and mySQL on my Windows XP Pro sp2 box. Everything works great. If I run the phpinfo() I get everything back as expected. If I go to a page that I have created that is PHP and there's no dynamic content, just a templated system, nothing renders. I get t

Re: [PHP-WIN] Call to undefined function printer_open()

2005-04-19 Thread JC Botha
Dear Users What is the name for the precision floating point function(syntax). Like having 2.987 to be 2.89? Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Call to undefined function printer_open()

2005-04-19 Thread Nick
on a network printer it dont seem to work, but on local he "starts" printing, the paper goes in :) but he prints nothing, just an empty page :s:s "Nick" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ok i fixed it > > i removed php 5.0.1 and installed 5.0.4 and it worked perfect?

Re: [PHP-WIN] Call to undefined function printer_open()

2005-04-19 Thread Nick
sry, error in code > $printer = "GLENN\\hp deskjet 990c"; > > $file= $lening[$i]->briefVDABbestand; -> contains an word document path(ex letter.doc) > $handle = printer_open($printerlocatie); > printer_start_doc($handle, $file); > printer_start_page($ha

Re: [PHP-WIN] Call to undefined function printer_open()

2005-04-19 Thread Nick
ok i fixed it i removed php 5.0.1 and installed 5.0.4 and it worked perfect? now i need to print the file can some one help me? $printer = "GLENN\\hp deskjet 990c"; $file= $lening[$i]->briefVDABbestand; -> contains an word document $handle = printer_open($printerloc

Re: [PHP-WIN] Call to undefined function printer_open()

2005-04-19 Thread Nick
also added c:\php\ext and c:\php\ext\ to windows %path% environment variable, saw in other thread did not work :s "Jin Yong Wu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Check whether you install related printer driver. For instance, it's not > enough only to load > module ,

Re: [PHP-WIN] Call to undefined function printer_open()

2005-04-19 Thread Nick
i have tried in as an netwerk printer and local printer, both doesnt work :s:s yeah i have libmysql.dll, and al my database operations work fine, just not that printer_open function this is what i did -installed Apache HTTP Server (apache_1.3.31-win32-x86-no_src.exe and on other

[PHP-WIN] Re: [PHP] Localhost not working with cookies

2005-04-19 Thread Joseph L. Mueller
Richard Lynch wrote: On Sun, April 17, 2005 1:05 pm, Proudly Pinoy said: I've read from php.net/setcookie and codecomments.com that using localhost won't work with cookies and neither are IP addresses. So how do I test cookies on local system? Works for me. Maybe doesn't work with specific broken