php-windows Digest 8 Jan 2005 09:08:20 -0000 Issue 2527

Topics (messages 25261 through 25271):

Re: PHP & Win2k
        25261 by: Jason Barnett

Blank screen problem
        25262 by: Roel Dillen
        25264 by: Jason Barnett
        25265 by: Luis Moreira
        25271 by: Roel Dillen

Re: Word COM Object
        25263 by: Ron.Herhuth.tatumpartners.com
        25266 by: tg-php.gryffyndevelopment.com
        25268 by: tg-php.gryffyndevelopment.com
        25269 by: Sven Schnitzke

Re: MySQL 4.1 Server
        25267 by: Dale Attree

$Dbhost
        25270 by: Daniel Aguilar

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message --- 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 this description.


http://php.net/manual/en/reserved.variables.php#reserved.variables.server

--
Teach a person to fish...

Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://php.net/manual/
php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2

--- End Message ---
--- Begin Message ---
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 "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

I have added c:/php to my Path variable in windows

--- End Message ---
--- Begin Message --- 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
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

I have added c:/php to my Path variable in windows

Just a question... did you put the PHP code within start and end tags? For example:


<?php

phpinfo();

?>

--
Teach a person to fish...

Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://php.net/manual/
php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2

--- End Message ---
--- Begin Message --- 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

<html>
<body>
<?php
   echo "<b>Hello World</b><br>";
   echo "It's me !";
?>
</body>
</html>


would produce

*Hello World*
It's me !


with this as the "view source" result

<html>
<body>
<b>Hello World</b><br>It's me !</body>
</html>


Luis



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
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

I have added c:/php to my Path variable in windows




--- End Message ---
--- Begin Message --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>


this is what I get when I view the source

And the following is in test.php

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<p>This is an HTML line</p>
<?php
echo â<p>This is a PHP line</p>â;
phpinfo();
?>
</body>
</html>

Quite curious is it not?





On Fri, 07 Jan 2005 14:45:34 +0000, Luis Moreira <[EMAIL PROTECTED]> wrote:

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

<html>
<body>
<?php
    echo "<b>Hello World</b><br>";
    echo "It's me !";
?>
</body>
</html>


would produce

*Hello World*
It's me !


with this as the "view source" result

<html>
<body>
<b>Hello World</b><br>It's me !</body>
</html>


Luis



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
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"


I have added c:/php to my Path variable in windows




--- End Message ---
--- Begin Message ---
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 use the Word COM object to insert the
HTML...the HTML isnt parsed and all I get is the HTML source code...but
the page breaks work great.  If I save the file first as HTML then open it
using the Word COM object then save it as a doc, it parses correctly...but
since there is no HTML page break function...all of the bios run one after
the other, when what I really need is each Bio starting on a new page.

This is killing me!
Ron

>From: Sven Schnitzke
>To: '[PHP-WIN]'
>Sent: 01/07/2005 8:15 AM
>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):
>
>       $word->Selection->InsertBreak(wdPageBreak);
>
>Named parms don't seem to be supported by PHP COM.
>
>HTH
>-- 
>Sven
>
>> -----Urspr�ngliche Nachricht-----
>> Von: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
>> Gesendet am: Mittwoch, 5. Januar 2005 18:55
>> An:  [email protected]
>> Betreff:     [PHP-WIN] Word COM Object
>>
>>
>> I have successfully made a PHP script that takes dynamically generated
>> HTML and creates a Word Doc then saves it to the server and creates a
link
>> to itself.  This is fine and dandy but now I have to do a multipage
>> document using several dynamically generated pages...this isnt a
problem
>> BUT I need to put a page break following each dynamically generated
page.
>> Is there some MS WORD command that I could embed in the HTML I am
>> generating that will cause a page break?
>>
>> This seemingly simple task is killing me.
>>
>> Ron
>>
>>
>>
>>
>>
>>
>
>-- 
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>







--- End Message ---
--- Begin Message ---
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) which doesn't 
show the page breaks (since you don't have page breaks in HTML) but if you set 
it to "View -> Normal" the page breaks are in there.

Anyway, generating HTML like the following should give you page breaks when 
loaded into Word:

<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=Generator content="Microsoft Word 11 (filtered)">
<title>Test 1</title>
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
~{margin:0in;
~margin-bottom:.0001pt;
~font-size:12.0pt;
~font-family:"Times New Roman";}
@page Section1
~{size:8.5in 11.0in;
~margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
~{page:Section1;}
-->
</style>
</head>
<body lang=EN-US>

<div class=Section1>

<p class=MsoNormal>Test 1</p>

<span style='font-size:12.0pt;font-family:"Times New Roman"'><br clear=all
style='page-break-before:always'>
</span>

<p class=MsoNormal>Test 2</p>

<span style='font-size:12.0pt;font-family:"Times New Roman"'><br clear=all
style='page-break-before:always'>
</span>

<p class=MsoNormal>Test 3</p>

</div>

</body>

</html>


Really you probably just need this as the page break:

<br clear=all style='page-break-before:always'>

Not sure what "clear=all" does, but the "page-break-before" is standard CSS 
(CSS2 I believe) that's telling it to insert the page break before the <BR> tag 
(right? I think that's right).

Maybe that helps.. if not, post again   "Ask again later" - Magic 8 Ball  :)

-TG


= = = Original message = = =

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 use the Word COM object to insert the
HTML...the HTML isnt parsed and all I get is the HTML source code...but
the page breaks work great.  If I save the file first as HTML then open it
using the Word COM object then save it as a doc, it parses correctly...but
since there is no HTML page break function...all of the bios run one after
the other, when what I really need is each Bio starting on a new page.

This is killing me!
Ron

>From: Sven Schnitzke
>To: '[PHP-WIN]'
>Sent: 01/07/2005 8:15 AM
>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):
>
>~$word->Selection->InsertBreak(wdPageBreak);
>
>Named parms don't seem to be supported by PHP COM.
>
>HTH
>-- 
>Sven
>
>> -----Urspr~ngliche Nachricht-----
>> Von:[EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
>> Gesendet am:~Mittwoch, 5. Januar 2005 18:55
>> An:[EMAIL PROTECTED]
>> Betreff:~[PHP-WIN] Word COM Object
>>
>>
>> I have successfully made a PHP script that takes dynamically generated
>> HTML and creates a Word Doc then saves it to the server and creates a
link
>> to itself.  This is fine and dandy but now I have to do a multipage
>> document using several dynamically generated pages...this isnt a
problem
>> BUT I need to put a page break following each dynamically generated
page.
>> Is there some MS WORD command that I could embed in the HTML I am
>> generating that will cause a page break?
>>
>> This seemingly simple task is killing me.
>>
>> Ron
>>
>>
>>
>>
>>
>>
>
>-- 
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

--- End Message ---
--- Begin Message ---
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 there are 
some special little codes that aren't really obvious that will do the job.

Try exporting an Excel spreadsheet to HTML ("Save for web" or whatever) and 
take a look at THAT code.  If you have a formula like "=B2+5" and B2 is "2", 
the cell with the formula will have the value "7" between the <td></td> but 
then there's a code embedded in there that's ignored by web browsers that 
actually has the formula so Excel knows how to reconstruct it.  It's kind of 
cool but definitely useful to know that you can do things like that.

I did a thing once that generated an HTML table with some embedded Excel tags.  
It displayed correctly in HTML and then you could click a "Download" or "Open 
in Excel" button and just send some custom headers to pretend it was an .XLS 
file and the document would open in Excel with all the formulas and things in 
the right place...  all without having to mess with PEAR Excel Writer (??) or 
creating an .XLS file itself.

Anyway, good luck.  I think there are probably lots of ways to skin this 
particular cat.  Play around with different methods.

-TG

= = = Original message = = =

Wow thanks!

I will try this out.

I really appreciate the help.

Ron

>From: [EMAIL PROTECTED]
>To: [email protected]
>Sent: 01/07/2005 9:54 AM
>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) which doesn't show the page breaks (since you don't have page
breaks in HTML) but if you set it to "View -> Normal" the page breaks are
in there.
>
>Anyway, generating HTML like the following should give you page breaks
when loaded into Word:
>
><html>
>
><head>
><meta http-equiv=Content-Type content="text/html; charset=windows-1252">
><meta name=Generator content="Microsoft Word 11 (filtered)">
><title>Test 1</title>
><style>
><!--
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
>~margin:0in;
>~margin-bottom:.0001pt;
>~font-size:12.0pt;
>~font-family:"Times New Roman";
>@page Section1
>~size:8.5in 11.0in;
>~margin:1.0in 1.25in 1.0in 1.25in;
>div.Section1
>~page:Section1;
>-->
></style>
></head>
><body lang=EN-US>
>
><div class=Section1>
>
><p class=MsoNormal>Test 1</p>
>
><span style='font-size:12.0pt;font-family:"Times New Roman"'><br
clear=all
>style='page-break-before:always'>
></span>
>
><p class=MsoNormal>Test 2</p>
>
><span style='font-size:12.0pt;font-family:"Times New Roman"'><br
clear=all
>style='page-break-before:always'>
></span>
>
><p class=MsoNormal>Test 3</p>
>
></div>
>
></body>
>
></html>
>
>
>Really you probably just need this as the page break:
>
><br clear=all style='page-break-before:always'>
>
>Not sure what "clear=all" does, but the "page-break-before" is standard
CSS (CSS2 I believe) that's telling it to insert the page break before the
<BR> tag (right? I think that's right).
>
>Maybe that helps.. if not, post again   "Ask again later" - Magic 8 Ball
:)
>
>-TG
>
>
>= = = Original message = = =
>
>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 use the Word COM object to insert the
>HTML...the HTML isnt parsed and all I get is the HTML source code...but
>the page breaks work great.  If I save the file first as HTML then open
it
>using the Word COM object then save it as a doc, it parses
correctly...but
>since there is no HTML page break function...all of the bios run one
after
>the other, when what I really need is each Bio starting on a new page.
>
>This is killing me!
>Ron
>
>>From: Sven Schnitzke
>>To: '[PHP-WIN]'
>>Sent: 01/07/2005 8:15 AM
>>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):
>>
>>~$word->Selection->InsertBreak(wdPageBreak);
>>
>>Named parms don't seem to be supported by PHP COM.
>>
>>HTH
>>-- 
>>Sven
>>
>>> -----Urspr~ngliche Nachricht-----
>>> Von:[EMAIL PROTECTED]
[SMTP:[EMAIL PROTECTED]
>>> Gesendet am:~Mittwoch, 5. Januar 2005 18:55
>>> An:[EMAIL PROTECTED]
>>> Betreff:~[PHP-WIN] Word COM Object
>>>
>>>
>>> I have successfully made a PHP script that takes dynamically generated
>>> HTML and creates a Word Doc then saves it to the server and creates a
>link
>>> to itself.  This is fine and dandy but now I have to do a multipage
>>> document using several dynamically generated pages...this isnt a
>problem
>>> BUT I need to put a page break following each dynamically generated
>page.
>>> Is there some MS WORD command that I could embed in the HTML I am
>>> generating that will cause a page break?
>>>
>>> This seemingly simple task is killing me.
>>>
>>> Ron
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>-- 
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>
>
>___________________________________________________________
>Sent by ePrompter, the premier email notification software.
>Free download at http://www.ePrompter.com.
>
>
>


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

--- End Message ---
--- Begin Message ---
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 solution the 
history of M$ Words understanding
of HTML is one of errors and really bad interpretation. So you won't ever 
know which version your user has
and so you cannot be sure what s/he will see.

So i'd consider it better to convert on the server, serving the .doc. This 
way you are sure about the final output.

Said this, you might just insert ||pagebreak|| or anything else not 
incidentally valid text into your HTML where a page
break should occur. Then, while converting on the server via COM, before 
$word->Document[n]->SaveAs(...) insert the
following:

// Parameters:
// 1st: Match what
// 2nd: Case sensitive ?
// 3rd: Whole word only ? ( False -> there need not be word breaking chars 
around a match)
// 4th: Wildcards ? (has to be true to let ^m be interpreted as a 
pagebreak)
// 5th: Match soundslike ? (special: doesn't go with Wildcards = true)
// 6th: Match all wordforms ? (special: doesn't go with Wildcards = true)
// 7th: Forward ?
// 8th: Wrap ? (we go thru doc just once)
// 9th: Format ? (Is 1st or 10th Parm a formatting special char like 
paragraph, tab, ... ?)
// 10th: Replace with: This is caret and small 'a' followed by caret and 
small 'm', the special formatting placeholder for a page break
// 11th: How many times ?

$word->Selection->Find->ClearFormatting();
$word->Selection->Find->Execute('||pagebreak||', False, False, True, False, 
False, True, wdFindStop, True, '^a^m', wdReplaceAll);

Note ^a^m : These are four letters, the carets standing on their own. Being 
picky, this is a new paragraph followed by a pagebreak.
But this is necessary because only automatic pagebreaks may occur within a 
paragraph. A forced pagebreak has to be preceeded
by the end-of-paragraph.

Note || as delimiters: One could be tempted to create a tag <pagebreak /> 
or the like (Should be ignored by any HTML processor not
knowing what it's for. But not so M$ Word: Its converters, at least some, 
consider the text not valid HTML,
- suppressing the tag (correctly, so far) and
- preventing Word to store it as genuine .doc (it will be saved as plain 
text, showing the HTML tags even when told to be stored as .doc)

HTH
--
Sven

> -----Urspr�ngliche Nachricht-----
> Von:  [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Freitag, 7. Januar 2005 15:51
> An:   [email protected]
> Cc:   [EMAIL PROTECTED]
> Betreff:      RE: AW: [PHP-WIN] Word COM Object
>
> 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) which doesn't show the page breaks (since you don't have page breaks 
in HTML) but if you set it to "View -> Normal" the page breaks are in 
there.
>
> Anyway, generating HTML like the following should give you page breaks 
when loaded into Word:
>
> <html>
>
> <head>
> <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
> <meta name=Generator content="Microsoft Word 11 (filtered)">
> <title>Test 1</title>
> <style>
> <!--
>  /* Style Definitions */
>  p.MsoNormal, li.MsoNormal, div.MsoNormal
> ~{margin:0in;
> ~margin-bottom:.0001pt;
> ~font-size:12.0pt;
> ~font-family:"Times New Roman";}
> @page Section1
> ~{size:8.5in 11.0in;
> ~margin:1.0in 1.25in 1.0in 1.25in;}
> div.Section1
> ~{page:Section1;}
> -->
> </style>
> </head>
> <body lang=EN-US>
>
> <div class=Section1>
>
> <p class=MsoNormal>Test 1</p>
>
> <span style='font-size:12.0pt;font-family:"Times New Roman"'><br 
clear=all
> style='page-break-before:always'>
> </span>
>
> <p class=MsoNormal>Test 2</p>
>
> <span style='font-size:12.0pt;font-family:"Times New Roman"'><br 
clear=all
> style='page-break-before:always'>
> </span>
>
> <p class=MsoNormal>Test 3</p>
>
> </div>
>
> </body>
>
> </html>
>
>
> Really you probably just need this as the page break:
>
> <br clear=all style='page-break-before:always'>
>
> Not sure what "clear=all" does, but the "page-break-before" is standard 
CSS (CSS2 I believe) that's telling it to insert the page break before the 
<BR> tag (right? I think that's right).
>
> Maybe that helps.. if not, post again   "Ask again later" - Magic 8 Ball 
 :)
>
> -TG
>
>
> = = = Original message = = =
>
> 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 use the Word COM object to insert the
> HTML...the HTML isnt parsed and all I get is the HTML source code...but
> the page breaks work great.  If I save the file first as HTML then open 
it
> using the Word COM object then save it as a doc, it parses 
correctly...but
> since there is no HTML page break function...all of the bios run one 
after
> the other, when what I really need is each Bio starting on a new page.
>
> This is killing me!
> Ron
>
> >From: Sven Schnitzke
> >To: '[PHP-WIN]'
> >Sent: 01/07/2005 8:15 AM
> >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):
> >
> >~$word->Selection->InsertBreak(wdPageBreak);
> >
> >Named parms don't seem to be supported by PHP COM.
> >
> >HTH
> >--
> >Sven
> >
> >> -----Urspr~ngliche Nachricht-----
> >> Von:[EMAIL PROTECTED] 
[SMTP:[EMAIL PROTECTED]
> >> Gesendet am:~Mittwoch, 5. Januar 2005 18:55
> >> An:[EMAIL PROTECTED]
> >> Betreff:~[PHP-WIN] Word COM Object
> >>
> >>
> >> I have successfully made a PHP script that takes dynamically generated
> >> HTML and creates a Word Doc then saves it to the server and creates a
> link
> >> to itself.  This is fine and dandy but now I have to do a multipage
> >> document using several dynamically generated pages...this isnt a
> problem
> >> BUT I need to put a page break following each dynamically generated
> page.
> >> Is there some MS WORD command that I could embed in the HTML I am
> >> generating that will cause a page break?
> >>
> >> This seemingly simple task is killing me.
> >>
> >> Ron
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>
> ___________________________________________________________
> Sent by ePrompter, the premier email notification software.
> Free download at http://www.ePrompter.com.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
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: [email protected]
Subject: Re: [PHP-WIN] MySQL 4.1 Server
Importance: High


> Does anyone know where I can download the latest MySQL PHP API to connect
> to MySQL 4.1?

Best API out there...

    http://adodb.sourceforge.net/


walter

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
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 ?

--- End Message ---

Reply via email to