[PHP-WIN] $Dbhost

2005-01-07 Thread Daniel Aguilar
not sure what I should use in place of $Dbhost, is this referenced in another include file or should i replace this with my database address, ie. $SERVER_Dbhost [mysql] ? not sure any suggestions, has anyone installed php on IIS and mysql ? -- PHP Windows Mailing List (http://www.php.net/) To u

AW: AW: [PHP-WIN] Word COM Object

2005-01-07 Thread Sven Schnitzke
Ok Ron, let's see: Do you: a) create a HTML document and rely on your users M$ Word being able to read and interpret it or b) create a HTML doc, save and convert it to .doc on the server, finally presenting this .doc to your users? Case a): your quite busted, because besides tg's brilliant solu

RE: AW: [PHP-WIN] Word COM Object

2005-01-07 Thread tg-php
No prob, hope it helps. Usually, if Word or whatever application you're working with knows how to do something then usually you can work it backwards (start with the finished product and trace it back a little) to figure out how they do it or what standard they use get the job done. Sometimes

RE: [PHP-WIN] MySQL 4.1 Server

2005-01-07 Thread Dale Attree
Hi, I need your help please. I have downloaded the API below, but I am having trouble executing SQL statements against an access database using a dsn-less connection. Can you help? -Original Message- From: phpWalter [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 22:24 To: php-windows@

RE: AW: [PHP-WIN] Word COM Object

2005-01-07 Thread tg-php
Creating a new document in Word, inserting Page Breaks then saving it as a web page revealed that Word seems to use CSS tags to show the line breaks in HTML. The only odditiy I see is that when I load the HTML back into Word, mine is still set to "View -> Web Page Layout" or something (Word 2003

Re: [PHP-WIN] Blank screen problem

2005-01-07 Thread Luis Moreira
When you run a PHP script, if you "view source" you don't see the code. What you see is the result of the script. If the script doesn't output text, be it html or not, there's nothing to see... The script Hello World"; echo "It's me !"; ?> would produce *Hello World* It's me ! with this as

[PHP-WIN] Re: Blank screen problem

2005-01-07 Thread Jason Barnett
Roel Dillen wrote: I ran a basic php script (php_info) but appearantly it doesn't do anything. In viewsource the php code doesn't show up. I have Apache 2 and PHP 5 I have adapted my httpd.conf so it should be able parse the php through the CLI method. I have added these lines to achieve this LoadM

RE: AW: [PHP-WIN] Word COM Object

2005-01-07 Thread Ron.Herhuth
Thank you for reply. I figured out how to do that but now my issue is that since my styling is all done in HTML...I'm trying to bring over the HTML for each person's BIO, followed by a page break then the next person's BIO followed by a page break...and so on... The obvious problem is that if I u

[PHP-WIN] Blank screen problem

2005-01-07 Thread Roel Dillen
I ran a basic php script (php_info) but appearantly it doesn't do anything. In viewsource the php code doesn't show up. I have Apache 2 and PHP 5 I have adapted my httpd.conf so it should be able parse the php through the CLI method. I have added these lines to achieve this LoadModule php5_module "

[PHP-WIN] Re: PHP & Win2k

2005-01-07 Thread Jason Barnett
Daniel Aguilar wrote: I'm a newbie to PHP and I can't find what "PHP_Self" ( )ers to? it seems to be why I can't get my supposedly simple php shop to work. Any suggestions or websites with examples? I believe you are referring to a server variable? At least, there is a variable that might match t

Re: [PHP-WIN] Re: Sending Emails

2005-01-07 Thread Armando
That's what I did to get around it. Fortunately my ISP doesn't care who the mail is addressed from, so I'm able to send the mail as if it's from any address I want, but some ISPs have their mail server configured so that only the email address of the connected uername (primarily on dialup syste

AW: [PHP-WIN] Word COM Object

2005-01-07 Thread Sven Schnitzke
Hi, sorry for accidentally sending private mail first ! Now to the list: to insert a pagebreak just leave out the parameter entirely. It's default: $word->Selection->InsertBreak(); but for clarity you may want to specify it, so do it the positional way (it's the 1st one): $w

Re: [PHP-WIN] The Test.php program does not execute

2005-01-07 Thread Luis Moreira
The error is not PHP related. The message comes from the http server. Either you have restrictions on the directory, at OS level (I don't know if you can do that with '98), or within the HTTP server. Luis GKE wrote: I have just joined the learning bandwagon of PHP. I am using Windows 98SE, as suc

[PHP-WIN] IIS KeepAlive problem

2005-01-07 Thread Miha Nedok
Hi ! I can't force IIS to do KeepAlive with PHP scripts. I tried adding content-length via ob_get_length() and It won't work. Has anyone any suggestions how to make IIS and PHP do KeepAlive ? -Mika -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

[PHP-WIN] The Test.php program does not execute

2005-01-07 Thread GKE
I have just joined the learning bandwagon of PHP. I am using Windows 98SE, as such, I downloaded the Windows version of the PHP program 4.3.2-Win32 version. But after installation (Manual), I still cannot get anything working. Sometimes I get Access Denied ..something something FORCE REDIRECT

[PHP-WIN] The Test.php program does not execute

2005-01-07 Thread GKE
I have just joined the learning bandwagon of PHP. I am using Windows 98SE, as such, I downloaded the Windows version of the PHP program 4.3.2-Win32 version. But after installation (Manual), I still cannot get anything working. Sometimes I get Access Denied ..something something FORCE REDIRECT

Re: [PHP-WIN] Re: Sending Emails

2005-01-07 Thread HarryG
Well you should still be able to relay messages via your ISP's mail server. Meaning in your php.ini, under the mail server settings put in mail.aol.com or mail.whateverisp.com. You just have to find out your isps mail server name and put it in your php.ini "Armando" <[EMAIL PROTECTED]> wrote in me