php-windows Digest 17 Mar 2001 04:05:39 -0000 Issue 495
Topics (messages 6098 through 6111):
Parse error after install
6098 by: Mark Collins
6099 by: OoCobra97.aol.com
6106 by: Pablo Vera
Acess to mySQL
6100 by: Mark Collins
6101 by: Fernando Madruga
6104 by: Matt Williams
options mis-matched php_imp.dll in PHP 4.0.4pl1
6102 by: GregC
Re: what happens with php404pl1 installer?
6103 by: Phil Driscoll
thanks
6105 by: Mark Collins
(Q) CGI over Apache shebang echo
6107 by: Wayne Smith
6109 by: Robin Bolton
Pass double-byte string to Word.application COM
6108 by: Richard Hsiao
Re: popen() and fputs() functions work?
6110 by: Jason Gan
Re: multiple root paths with Apache
6111 by: Ignatius Teo
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]
----------------------------------------------------------------------
Hello,
I have installed php on my NT server and I think its all ok, it performs
very simple scripts, however a phpinfo(): gives me this
Parse error: parse error in C:\INetPub\WWWRoot\test.php on line 7
with line 7 being the phpinfo():
it seems like quite a fundimental error, have i messed up the install?
cheers
hello,
try echoing the command phpinfo, such as
<?
echo phpinfo();
?>
that works on my windows 2000 machine without a problem =) Hope this helps
~Jeff
Mark:
Try it with a semicolon:
phpinfo();
Pablo
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Friday, March 16, 2001, 8:16:15 AM, Mark wrote:
MC> Hello,
MC> I have installed php on my NT server and I think its all ok, it performs
MC> very simple scripts, however a phpinfo(): gives me this
MC> Parse error: parse error in C:\INetPub\WWWRoot\test.php on line 7
MC> with line 7 being the phpinfo():
MC> it seems like quite a fundimental error, have i messed up the install?
MC> cheers
Is it possible to export the content of an access database to mySQL? Most of
my clients have Access as standard. Could be a dumb question, appologies if
it is. Pretty new to the database thing.
Short Answer: YES.
Long Answer: look on the tools page on www.mysql.com/; there you will
find at least two different ways (not to mention ODBC drivers for
MySQL that would allow you to copy data using Access):
My Access 1.4
MyAccess is an AddIn for Access 97 / Access 2000 to manage MySQL
Databases from within MS Access. MyAccess has an Access-like
database window and allows you to create, modify and view
MySQL-tables without any knowledge of SQL.
ExportSQL:
' GOAL
' Export all tables in a MS-Access database file to 2 text files:
' one containing SQL instructions to delete the new tables to be
' created, and the other with SQL instructions to create and
' insert data into the new tables. The table structure and data
' will resemble as much as possible the current Access database.
HTH,
Madruga
-----Original Message-----
From: Mark Collins [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 16 de Março de 2001 14:52
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Acess to mySQL
Is it possible to export the content of an access database to mySQL? Most of
my clients have Access as standard. Could be a dumb question, appologies if
it is. Pretty new to the database thing.
--
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]
> Is it possible to export the content of an access database to
> mySQL? Most of
> my clients have Access as standard. Could be a dumb question,
> appologies if
> it is. Pretty new to the database thing.
Have a look at www.mysql.com.
In their downloads section they have various drivers etc.. for accessing the
db.
Their is a ODBC driver in their somewhere which will allow Access t oget at
and dump it's load into MySQL.
I think :-)
HTH
M@
Hey all,
The DLL that came with the 404pl1 distribution is broken (or the wrong
version I'd guess). How/where can I get the a new version of this DLL.
Here's teh warning message I get.
PHP Warning: imap:
Unable to initialize module
Module compiled with debug=0, thread-safety=1 module API=20000809
PHP compiled with debug=0, thread-safety=1 module API=20001214
These options need to match in Unknown on line 0
Thanks for any help!
GregC
>Aaaaaahhh...!
>I have NT Workstation with PWS.
>And... where is the IIS metabase ?
Good question - I think it lives in memory, however it must get saved out
as a file somewhere, but I suspect it won't be in text format.
> can i edit it manually?
No. You can either write some software, or you can use the user interface
provided by PWS - however, I only have NT server here at the moment, so I
can't give you more detail. On NT server, you do this in a thing called
Internet Service Manager if that helps.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
Just want to say thank for all the quick replys to my problems, got it
sorted now. Thanks for going easier on a beginner!
Probably be speaking to you again soon!
Cheers
All,
I apologize for the newbie question.
I am running PHP 4.0.4p1 over Apache 1.3.14 over Windows 2000 via CGI.
PHP scripts run fine, but I get the first line (i.e., the "shebang"
line), "#!d:/php/php" echo'ed to the browser upon each execution. Is
this fundamentally an Apache issue or a PHP issue? And what
configuration step did I miss?
Thanks
Wayne
You don't need to put the shebang line in your script.
Just enclose your code with:
<?php
code goes here
?>
> -----Original Message-----
> From: Wayne Smith [mailto:[EMAIL PROTECTED]]
> Sent: March 16, 2001 12:42 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] (Q) CGI over Apache shebang echo
>
>
> All,
>
> I apologize for the newbie question.
>
> I am running PHP 4.0.4p1 over Apache 1.3.14 over Windows 2000 via CGI.
> PHP scripts run fine, but I get the first line (i.e., the "shebang"
> line), "#!d:/php/php" echo'ed to the browser upon each execution. Is
> this fundamentally an Apache issue or a PHP issue? And what
> configuration step did I miss?
>
> Thanks
>
> Wayne
>
>
>
> --
> 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]
>
>
smime.p7s
Hi there,
I tried to pass a double-byte string to a Word.Application COM. I found the
Chinese string is converted to something strange. But it works fine if the
string is simple alphanumeric charaters. I doubt that I should use some
function like AddSlashes. Anyone have any comments?
Regards,
Richard Hsiao
Hi Josh,
If you're using ISAPI, popen() won't work because it's forking the command,
and you can't fork when running in-process in IIS.
fputs() does work, though, with fopen and fclose.
-----Original Message-----
From: Josh Seward [mailto:[EMAIL PROTECTED]]
Sent: Friday, 16 March 2001 12:03 PM
To: php-gtk; [EMAIL PROTECTED]
Subject: popen() and fputs() functions work?
Hello,
I would like to know if anyone can get the popen() function and the fputs()
function to work on a windows machine. (I use win200.)
thanks,
Josh Seward
[EMAIL PROTECTED]
You can setup multiple virtual hosts, and also multiple IPs on a Windoze
box.
You need to modify your C:\WINDOWS\HOSTS file eg.
127.0.0.1 localhost
127.0.0.2 mydomain mydomain.com mydomain.net
127.0.0.3 another-domain another-domain.com
Then in you HTTP.CONF file:
<VirtualHost 127.0.0.1>
DocumentRoot "C:/inetpub/wwwroot/"
ServerName localhost
ServerAlias localhost
</VirtualHost>
<VirtualHost 127.0.0.2>
DocumentRoot "C:/inetpub/wwwroot/mydomain"
ServerName mydomain
ServerAlias mydomain.com mydomain.net
</VirtualHost>
etc...
See the Apache doco for more info....
Ignatius
> -----Original Message-----
> From: Damien du Toit [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 16 March 2001 18:25
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] multiple root paths with Apache
>
>
> Is it at all possible to create multiple ("virtual") root paths
> on a single
> Apache installation? I have seperate folders for the different sites I am
> concurrently developing and would like to have each as it's own root for
> the site files that it contains, because I am referencing my code
> from the
> root.. ie.
> <a href="/blah.html">
> <img src="/blah.gif">
>
> It doesn't sound logical that you could, so if not possible, are
> there any
> alternative solutions to accomplish this?
> I am running Win2000.
> Thanks
>
>
> Damien du Toit
> New Media Programmer
>
> tel +27 21 425 9710
> fax +27 21 425 9713
>
> GENERATOR COMMUNICATIONS | BE AN ISLAND
>
>
>
> --
> 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]
>