php-windows Digest 13 Jan 2002 16:52:47 -0000 Issue 950
Topics (messages 11405 through 11410):
phpinfo.php works on W2K with IE6 but not XP
11405 by: jsholberg.attbi.com
11408 by: alain samoun
11409 by: alain samoun
Re: PHP2EXE?
11406 by: Brian Higgins
Re: New PHP
11407 by: Pac mon
Setting up an XML platform/website
11410 by: Emile Bosch
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 ---
My configuration is WindowsXP, Apache 1.3.12, and
MySQL. I am just getting started with learning PHP and
am trying to run a short demo that displays PHP
information in my IE6 browser. PHP is executed using
the following line in a file called phpinfor.php:
<? phpinfo(); ?>
The file is located in the Apache document root
(hpdocs) folder, and the address that I enter in the
browser is "http://localhost/phpinfo.php".
When I perform the identical steps in Windows2000, it
works. I even copied the httpd.conf file to my XP box
since that configuration file seemed to work.
Any ideas? Is there something I need to configure
differently for WindowsXP? Thanks in advance for any
insight.
--
([EMAIL PROTECTED])
--- End Message ---
--- Begin Message ---
What about the php.ini? Is it the same in the two boxes? (Assuming that you
have the same php version too...). Note that people have installed PHP in XP
without problems.
A+
Alain
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 12, 2002 12:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] phpinfo.php works on W2K with IE6 but not XP
My configuration is WindowsXP, Apache 1.3.12, and
MySQL. I am just getting started with learning PHP and
am trying to run a short demo that displays PHP
information in my IE6 browser. PHP is executed using
the following line in a file called phpinfor.php:
<? phpinfo(); ?>
The file is located in the Apache document root
(hpdocs) folder, and the address that I enter in the
browser is "http://localhost/phpinfo.php".
When I perform the identical steps in Windows2000, it
works. I even copied the httpd.conf file to my XP box
since that configuration file seemed to work.
Any ideas? Is there something I need to configure
differently for WindowsXP? Thanks in advance for any
insight.
--
([EMAIL PROTECTED])
--
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]
--- End Message ---
--- Begin Message ---
Also, forgot to tell you:
Windows 2000 uses c:\winnt (for php.ini) and c:\winnt\system32 (for
php4ts.dll)
When Windows XP uses c:\windows and c:\windows\system32
A+
Alain
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 12, 2002 12:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] phpinfo.php works on W2K with IE6 but not XP
My configuration is WindowsXP, Apache 1.3.12, and
MySQL. I am just getting started with learning PHP and
am trying to run a short demo that displays PHP
information in my IE6 browser. PHP is executed using
the following line in a file called phpinfor.php:
<? phpinfo(); ?>
The file is located in the Apache document root
(hpdocs) folder, and the address that I enter in the
browser is "http://localhost/phpinfo.php".
When I perform the identical steps in Windows2000, it
works. I even copied the httpd.conf file to my XP box
since that configuration file seemed to work.
Any ideas? Is there something I need to configure
differently for WindowsXP? Thanks in advance for any
insight.
--
([EMAIL PROTECTED])
--
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]
--- End Message ---
--- Begin Message ---
I'll give their demo a whirl - thank you!
> ----- Original Message -----
> From: "alain samoun" <[EMAIL PROTECTED]>
> To: "Brian Higgins" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Friday, January 11, 2002 8:05 PM
> Subject: RE: [PHP-WIN] PHP2EXE?
>
>
> > You can try:
> > http://www.triplehash.com/content.php?id=26
> > but it is limited.
> > If you need to protect your code, used on client side, try the Zend
> encoder,
> > or, for a small number of clients, you can use the PHP encoder of
BadBlue
> > Enterprise:
> > http://badblue.com/helpphpe.htm
> > A+
> > Alain
> >
> >
> > -----Original Message-----
> > From: Brian Higgins [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 11, 2002 2:45 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] PHP2EXE?
> >
> >
> > I've been in search of a tool that would allow a PHP script to be
compiled
> > into some sort of self contained Win32 executable. I have found a few
> > references in PHP forums that ultimately end with broken or outdated
> links.
> > Does anyone know if such a tool exists, and where I might it?
> >
> > Your help is much appreciated.
> >
> > Regards,
> > Brian Higgins
> > [EMAIL PROTECTED]
> >
> >
> >
> > --
> > 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]
> >
> >
> > --
> > 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]
> >
>
--- End Message ---
--- Begin Message ---
First of all there's no reason to be using and ODBC Driver. You can access
mysql directly through PHP.
So you can access mysql through the mysql set of functions in the php
documentation at:
http://www.php.net/manual/en/ref.mysql.php
Secondly you can learn how to make the querys in question at:
http://www.devshed.com/Server_Side/MySQL/Intro/page1.html
To Print the results you would simply do something to the effect of:
while(list($field1,$field2) = mysql_fetch_row($queryresult))
{ print $field1 . " " . $field2; }
If you still can't figure it out then email the list again.
>
>I'm thinking of making the conversion from Cold Fusion. I am NOT a
>programmer and so Cold Fusion has been very easy for me to use. However
>due
>to cost and a few other factors, I"m thinking PHP might be a good switch.
>Some the deciding factors will be its ease of use and how good these forums
>are. The Cold Fusion forums have proven to be a fantastic resource for
>problems and so I would need these forums to be as good or better for me to
>justify changing languages...this leads me to my first php question. I
>have
>a database set up using MySQL on my windows 2000 server using an ODBC
>driver
>for my connection. My datasource name is "test," my database name is
>"testdatabase" and I have a table named "testtable". My username is
>"usernametest" and my password is "passwordtest" How would I run a simple
>query to insert a row in my testtable table that has two fields, one called
>testfield1 the other called testfield2. Then, how would I run another
>query
>to select that row and print it on my html page? I have scanned over the
>manual (VERY BRIEFLY) and didn't see anything related to the database
>integration.
>
>My apologies for this totally mundane question, but as I said above, this
>messages serves a two-fold purpose and the first is to see how good these
>forums are :)
>
>any help you can provide is greatly appreciated,
>
>thx in advance for your time,
>
>Burrito
>
>
>
>
>--
>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]
>
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--- End Message ---
--- Begin Message ---
Is anyone interested in setting up an XML platform for PHP, where the use of
XML is explained, with sample PHP/XML applications and in-depth real live
tutorials? Since lot's of people underestimate the power of XML. Maybe, it's
nice to be ready when Microsoft's dotNet crashes in and launches an new XML
era.
Anyone wants to help building such an platform/website?
Sincerly,
Emile
--- End Message ---