php-windows Digest 17 Mar 2001 04:05:39 -0000 Issue 495

2001-03-16 Thread php-windows-digest-help
php-windows Digest 17 Mar 2001 04:05:39 - 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

RE: [PHP-WIN] multiple root paths with Apache

2001-03-16 Thread Ignatius Teo
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: Doc

[PHP-WIN] RE: popen() and fputs() functions work?

2001-03-16 Thread Jason Gan
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

RE: [PHP-WIN] (Q) CGI over Apache shebang echo

2001-03-16 Thread Robin Bolton
You don't need to put the shebang line in your script. Just enclose your code with: > -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 apologi

[PHP-WIN] Pass double-byte string to Word.application COM

2001-03-16 Thread Richard Hsiao
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, Ri

[PHP-WIN] (Q) CGI over Apache shebang echo

2001-03-16 Thread Wayne Smith
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 i

Re: [PHP-WIN] Parse error after install

2001-03-16 Thread Pablo Vera
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

[PHP-WIN] thanks

2001-03-16 Thread Mark Collins
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 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: [PHP-WIN] Acess to mySQL

2001-03-16 Thread Matt Williams
> 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.. fo

Re: [PHP-WIN] what happens with php404pl1 installer?

2001-03-16 Thread Phil Driscoll
>Aahhh...! >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, o

[PHP-WIN] options mis-matched php_imp.dll in PHP 4.0.4pl1

2001-03-16 Thread GregC
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=2

RE: [PHP-WIN] Acess to mySQL

2001-03-16 Thread Fernando Madruga
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

[PHP-WIN] Acess to mySQL

2001-03-16 Thread Mark Collins
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 addi

Re: [PHP-WIN] Parse error after install

2001-03-16 Thread OoCobra97
hello, try echoing the command phpinfo, such as that works on my windows 2000 machine without a problem =) Hope this helps ~Jeff

[PHP-WIN] Parse error after install

2001-03-16 Thread Mark Collins
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 t

php-windows Digest 16 Mar 2001 13:35:31 -0000 Issue 494

2001-03-16 Thread php-windows-digest-help
php-windows Digest 16 Mar 2001 13:35:31 - Issue 494 Topics (messages 6087 through 6097): popen() and fputs() functions work? 6087 by: Josh Seward Website, Design, hosting and maintenance for only $999.00 per year 6088 by: Netmark Desing multiple root paths with Apache

Re: [PHP-WIN] what happens with php404pl1 installer?

2001-03-16 Thread Antonio Lopez
Aahhh...! I have NT Workstation with PWS. And... where is the IIS metabase ? can i edit it manually? Thankyou You wrote: > The windows installer does different things for PWS depending on your > platform. > For NT Workstation, it does not touch the registry - it edits the IIS > m

Re: [PHP-WIN] what happens with php404pl1 installer?

2001-03-16 Thread Phil Driscoll
The windows installer does different things for PWS depending on your platform. For NT Workstation, it does not touch the registry - it edits the IIS metabase. For Windows 9x it edits the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map Of course, you h

[PHP-WIN] what happens with php404pl1 installer?

2001-03-16 Thread Antonio Lopez
On PWS: I`ve istalled Php404 whit the php404pl1 installer. All right. My question is: How? I want to say: What windows register keys has the installer set up? ¿¿¿ I think that the key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Scrip t Map] isn´t have modif

RE: [PHP-WIN] A restart question

2001-03-16 Thread Fernando Madruga
You failed to say WHERE do you use the php dll... Apache? Pws? IIS? If you use it in Apache, just shutdown apache, replace the dll, restart apache. Possibly the same applies to other http servers. HTH, Madruga -Original Message- From: Antonio Lopez [mailto:[EMAIL PROTECTED]] Sent: sext

RE: [PHP-WIN] Showing source code with .phps extension

2001-03-16 Thread Fernando Madruga
I use Apache 1.3.14 + PHP 4.0.4 on Windows 98 SE and it works perfectly. The lines I have on my apache config file inside AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps When I point my browser at a .phps file on my server, it shows

RE: [PHP-WIN] A restart question

2001-03-16 Thread Michael Rudel
Hi Antonio, it hasn't to do anything with php, but with your web-server. So all you have to do is to restart your webserver. Apache: /sbin/init.d/apache restart IIS: net stop iisadmin net start w3svc Greetinx, Mike Michael Rudel - Web-Development, Systemadministration - ___

[PHP-WIN] A restart question

2001-03-16 Thread Antonio Lopez
Everytime i set up a new php.dll, i have to restart my pc because i don´t know how to stop the php engine without shutdown my system. is possible to stop and restart the php engine without restart my pc? Thankyou. === Antonio López Luna Inge

RE: [PHP-WIN] multiple root paths with Apache

2001-03-16 Thread Urmil Parikh
You should try using virtual hosting (name based). First thing you have to do is set your DNS server to give the same IP for n sites that you want to use. That IP is IP of the machine on which you have installed Apache. Next thing you have to do is to tell apache what all (virtual) sites it will