php-windows Digest 17 Feb 2005 05:39:55 -0000 Issue 2578

Topics (messages 25594 through 25603):

php error
        25594 by: Stefan
        25601 by: The Disguised Jedi

Re: Parsing a PHP file - Newbie alert
        25595 by: Andrew Hargreaves
        25596 by: Andrew Hargreaves
        25597 by: Jason Barnett
        25598 by: Andrew Hargreaves

Re: Undefined variable
        25599 by: Jim Plush

test
        25600 by: Jim Plush
        25602 by: The Disguised Jedi

XP and PHP
        25603 by: Stan Holmes

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 ---
Hi
I've a strange problem
When I try to send a form with method="POST" to a php-file I always get an
HTTP 404 error.
I really don't know why, because the file exists on the server.

I use IIS 5.1

Tnx.
Stefan

--- End Message ---
--- Begin Message ---
we need more information.  code, server setup, how you want things to
go, etc.  This is one of those "PHP is broken, fix it" questions....


On Wed, 16 Feb 2005 12:16:18 +0100, Stefan <[EMAIL PROTECTED]> wrote:
> Hi
> I've a strange problem
> When I try to send a form with method="POST" to a php-file I always get an
> HTTP 404 error.
> I really don't know why, because the file exists on the server.
> 
> I use IIS 5.1
> 
> Tnx.
> Stefan
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
The Disguised Jedi
[EMAIL PROTECTED]

Now you have my $0.02.  Or .01 Pounds, .014 Euros, or $0.025 CAN.  I'm
already internationally compatible!
PHP rocks!
"Knowledge is Power.  Power Corrupts.  Go to school, become evil"

Disclaimer: Any disclaimer attached to this message may be ignored. 
However, I must say that the ENTIRE contents of this message are
subject to other's criticism, corrections, and speculations.

This message is Certified Virus Free

--- End Message ---
--- Begin Message ---
Sorry Jason, I just assumed it would go straight to the list when I
hit reply. I should have checked.

I've forwarded it to the list for everyone else to see now.

Regards

Andrew


---------- Forwarded message ----------
From: Jason Barnett 
Date: Wed, 16 Feb 2005 09:38:51 -0500
Subject: Re: [PHP-WIN] Re: Parsing a PHP file - Newbie alert



Please keep email responses to the newsgroup / list.  Helps me stay
organized and I help out when I can.

Andrew Hargreaves wrote:
> On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett
> <[EMAIL PROTECTED]> wrote:
...

>>>When I tried to run my first PHP file to show the PHP Info (<?php
>>>phpinfo(); ?>) the browser, Firefox 1.0 did nothing.
>>
>>Assuming index.php is in the docroot and it contains the phpinfo() call:
>>
>>Is this a local server and is the server actually running?  Try browsing
>>to http://localhost/index.php if this is the case.
>
>
> I knew I forgot to add something. yes the file is in the htdocs folder
> of my apache2 folder on a local server that is running, as confirmed
> by checking services.msc
>
> As the file is on my local PC I have been opening it directly (File,
> Open File), as opposed to using http://localhost/index.php. Could this
> method have caused the problem?

Absolutely!  It's a common mistake.  If you try to open a PHP file
directly then your browser would have no idea to send the script through
PHP.  But when you browse to that webpage on your local machine
(http://localhost/index.php) Apache should do all of that work for you.
  Assuming of course that Apache is set up properly; if it's not, then
tell us what happened when you tried going to this webpage.

>
> I'm at work now but I'll give it a go tonight when I get in and let
> you know hwo that goes.
>
> Regards
>
> Andrew H
>

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
> 
> Andrew Hargreaves wrote:
> > On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett
> > <[EMAIL PROTECTED]> wrote:
> ...
> 
> >>>When I tried to run my first PHP file to show the PHP Info (<?php
> >>>phpinfo(); ?>) the browser, Firefox 1.0 did nothing.
> >>
> >>Assuming index.php is in the docroot and it contains the phpinfo() call:
> >>
> >>Is this a local server and is the server actually running?  Try browsing
> >>to http://localhost/index.php if this is the case.
> >
> >
> > I knew I forgot to add something. yes the file is in the htdocs folder
> > of my apache2 folder on a local server that is running, as confirmed
> > by checking services.msc
> >
> > As the file is on my local PC I have been opening it directly (File,
> > Open File), as opposed to using http://localhost/index.php. Could this
> > method have caused the problem?
> 
> Absolutely!  It's a common mistake.  If you try to open a PHP file
> directly then your browser would have no idea to send the script through
> PHP.  But when you browse to that webpage on your local machine
> (http://localhost/index.php) Apache should do all of that work for you.
>   Assuming of course that Apache is set up properly; if it's not, then
> tell us what happened when you tried going to this webpage.
> 
> >


Ok, some progress has been  made but not in a good way.By browsing to
http://localhost/index.php, I receive the message "The connection was
refused when attempting to contact localhost", same for
127.0.0.1/index.php so I think I need to look at the DNS settings now.

I'll let you know how I get on.

Andrew

--- End Message ---
--- Begin Message --- Andrew Hargreaves wrote:
Andrew Hargreaves wrote:

On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett
<[EMAIL PROTECTED]> wrote:

...


Absolutely! It's a common mistake. If you try to open a PHP file directly then your browser would have no idea to send the script through PHP. But when you browse to that webpage on your local machine (http://localhost/index.php) Apache should do all of that work for you. Assuming of course that Apache is set up properly; if it's not, then tell us what happened when you tried going to this webpage.




Ok, some progress has been  made but not in a good way.By browsing to
http://localhost/index.php, I receive the message "The connection was
refused when attempting to contact localhost", same for
127.0.0.1/index.php so I think I need to look at the DNS settings now.

I'll let you know how I get on.

Andrew

If you're attempting to view a page from the localhost then you shouldn't need to muck around with DNS unless you installed Apache and then changed the DNS already. By default Apache *should* work for localhost and it will listen on port 80 / 8080.

At this point it is safe to say you have a server (Apache) problem.
Make sure the server is running and it is listening on port 80 / 8080.
A "connection was refused" error indicates that the server didn't
respond at all!  Try google / Apache manual pages for this error message
if you need more help.

--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
OK, got it - finally. Instead of typing http://localhost/index.php, I
had to type http://localhost:8080/index.php to get it working.

I thought that I had to set that in httpd.conf but it appears that I
have had to explicitly tell it to look at port 8080.

The main thing for now is that it works as I want to play about with
it some more. Thanks for everyone's help.

Andrew H


On Wed, 16 Feb 2005 18:02:46 +0000, Andrew Hargreaves
<[EMAIL PROTECTED]> wrote:
> >
> > Andrew Hargreaves wrote:
> > > On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett
> > > <[EMAIL PROTECTED]> wrote:
> > ...
> >
> > >>>When I tried to run my first PHP file to show the PHP Info (<?php
> > >>>phpinfo(); ?>) the browser, Firefox 1.0 did nothing.
> > >>
> > >>Assuming index.php is in the docroot and it contains the phpinfo() call:
> > >>
> > >>Is this a local server and is the server actually running?  Try browsing
> > >>to http://localhost/index.php if this is the case.
> > >
> > >
> > > I knew I forgot to add something. yes the file is in the htdocs folder
> > > of my apache2 folder on a local server that is running, as confirmed
> > > by checking services.msc
> > >
> > > As the file is on my local PC I have been opening it directly (File,
> > > Open File), as opposed to using http://localhost/index.php. Could this
> > > method have caused the problem?
> >
> > Absolutely!  It's a common mistake.  If you try to open a PHP file
> > directly then your browser would have no idea to send the script through
> > PHP.  But when you browse to that webpage on your local machine
> > (http://localhost/index.php) Apache should do all of that work for you.
> >   Assuming of course that Apache is set up properly; if it's not, then
> > tell us what happened when you tried going to this webpage.
> >
> > >
> 
> Ok, some progress has been  made but not in a good way.By browsing to
> http://localhost/index.php, I receive the message "The connection was
> refused when attempting to contact localhost", same for
> 127.0.0.1/index.php so I think I need to look at the DNS settings now.
> 
> I'll let you know how I get on.
> 
> Andrew
>

--- End Message ---
--- Begin Message ---
testing

"Louis Young" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi there
>
> I'm getting the following error regardless of whether register_globals
> is on or off.
>
> *Notice*: Undefined variable: button1 in *C:\Program Files\Apache
> Group\Apache2\htdocs\spar\admin\login.php* on line *28
>
> Here's the code for the entire page:
>
> <?
>   session_start();
>   session_register("Login_session");
>   session_register("Outlet_session");
> ?>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>
> <html>
> <head>
>
>
>     <meta name="Description" content="Kwikpay keeps electronic commerce
> simple and smart, providing a total solution for delivering a virtual
> payment. Empowering customers to manage their financial obligations
> anytime and anywhere with products which are user-friendly is what lies
> at the core of Kwikpay's business. The core business of Kwikpay is to
> empower customers to manage their financial obligations anytime and
> anywhere through smart products that are easy to use and manage. It is
> the principal objective of Kwikpay to fundamentally enhance the value,
> volume, quality and accessibility of e-commerce products and services
> offered at point of sale. This objective is reflected in our mission
> statement: To be the leading provider of electronic commerce solutions,
> facilitating transactions that enhance the ability of any business to
> satisfy their customers">
>     <meta name="Keywords" content="KWIK, kwik, Kwik, Pay, PAY, Kwikpay,
> KwikPay, KWIKPAY, quick, Quick, quickpay, QuickPay, Business, Magic,
> electronic, commerce, customers, products, solutions, transactions,
> Prepaid Cellular, Vodacom, MTN, Cell-C, Telkom, Century City, Cape Town,
> Kwikpay SA, Johannesburg, Durban, Port Elizabeth, Bloemfontein, SA, sa,
> terminal, terminal, customer,Internet, support, Benefits">
>
>     <title>Kwikpay</title>
>
>     <link rel="STYLESHEET" type="text/css" href="../style/style.css">
>     <script language="javascript" src="../scripts/functions.js"></script>
>     <script language="JavaScript1.2" src="../scripts/fw_menu.js"></script>
>     <script language="javascript" src="../scripts/links.js"></script>
> </head>
>
> <body bgcolor="#FFFFFF" leftmargin="0" rightmargin="0" marginheight="0"
> marginwidth="0" topmargin="0">
>
>
> <?
> $ErrorMessage="";
> if (${"button1"}=="Login" && ${"siteno"}!="" && ${"password"}!="" &&
> ${"emailaddress"}!="")
> {
>
> // $oConnection is of type "ADODB.Connection"
>
> // $oRecordset is of type "ADODB.Recordset"
>
>
>   $a2p_connstr=$Application["ConnectionString"];
>   $a2p_uid=strstr($a2p_connstr,'uid');
>   $a2p_uid=substr($d,strpos($d,'=')+1,strpos($d,';')-strpos($d,'=')-1);
>   $a2p_pwd=strstr($a2p_connstr,'pwd');
>   $a2p_pwd=substr($d,strpos($d,'=')+1,strpos($d,';')-strpos($d,'=')-1);
>   $a2p_database=strstr($a2p_connstr,'dsn');
>
$a2p_database=substr($d,strpos($d,'=')+1,strpos($d,';')-strpos($d,'=')-1);
>   $oConnection=mysql_connect("localhost",$a2p_uid,$a2p_pwd);
>   mysql_select_db($a2p_database,$oConnection);
> $oRecordset=$oRecordset_query=mysql_query(("SELECT * FROM tbl_WWWUsers
> WHERE szOutlet = '".trim(${"SiteNo"})."' AND szPassword LIKE
> '".trim(${"Password"})."' AND szEmail LIKE '".trim(${"EmailAddress"})."'
> AND iActive = 1"),$oConnection);
> $oRecordset=mysql_fetch_array($oRecordset_query);
>
>   if (!($oRecordset==0))
>   {
>
> // [unsupported] session.timeout=20;
>     $Login_session=true;
>     $Outlet_session=$oRecordset["szOutlet"];
>     $oRecordset=null;
>
>     $oConnection=null;
>
>     header("Location: "."clientmenu.asp");
>   }
>     else
>   {
>
>     $ErrorMessage="One of the fields are not correct and cannot be
> validated, <br> or your outlet has not been registered - please register
!";
>   }
>
>
> }
>
> ?>
>
>
> <!-- Main Table -->
> <table cellpadding="0" cellspacing="0" border="0" width="770">
>     <tr>
>         <td align="left" valign="top">
>             <!-- Table 1 -->
>             <table cellpadding="0" cellspacing="0" border="0"
> bgcolor="#99CC33" width="770">
>                 <tr>
>                     <td align="left" valign="top"><a
> href="../main.php"><img src="../images/kplogo.gif" alt="" width="87"
> height="86" border="0"></a></td>
>                     <td align="left" valign="top">
>                         <table cellpadding="0" cellspacing="0"
> border="0" bgcolor="#99CC33" width="457">
>                             <tr>
>                                 <td align="left" valign="top"
> colspan="2"><img src="../images/shim.gif" alt="" width="457" height="27"
> border="0"></td>
>                             </tr>
>                             <tr>
>                                 <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="15" height="33" border="0"></td>
>                                 <td align="left" valign="middle"
> class="blueheader">Outlet Login</td>
>                             </tr>
>                             <tr>
>                                 <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="15" height="26" border="0"></td>
>                                 <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="450" height="26" border="0"></td>
>                             </tr>
>                         </table>
>                     </td>
>                     <td align="left" valign="top">
>                         <table cellpadding="0" cellspacing="0"
> border="0" bgcolor="#99CC33" width="226">
>                             <tr>
>                                 <td align="left" valign="top"
> colspan="12"><img src="../images/shim.gif" alt="" width="226"
> height="27" border="0"></td>
>                             </tr>
>                             <tr>
>                                 <td align="left" valign="top"><a
> href="../new.php" onMouseOut="MM_swapImgRestore()"
>
onMouseOver="MM_swapImage('new','','../images/navigation/t1_over.gif',1)"><i
mg
> src="../images/navigation/t1.gif" alt="What's New" name="new" id="new"
> width="33" height="33" border="0"></a></td>
>                                 <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="4" height="33" border="0"></td>
>                                 <td align="left" valign="top"><a
> href="../kwikpayuk.php" onMouseOut="MM_swapImgRestore()"
>
onMouseOver="MM_swapImage('world','','../images/navigation/t2_over.gif',1)">
<img
> src="../images/navigation/t2.gif" alt="Kwik around the world"
> name="world" id="world" width="33" height="33" border="0"></a></td>
>                                 <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="4" height="33" border="0"></td>
>                                 <td align="left" valign="top"><a
> href="../loginintro.php" onMouseOut="MM_swapImgRestore()"
>
onMouseOver="MM_swapImage('login','','../images/navigation/t3_over.gif',1)">
<img
> src="../images/navigation/t3.gif" alt="Outlet Login" name="login"
> id="login" width="33" height="33" border="0"></a></td>
>                                 <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="4" height="33" border="0"></td>
>                                 <td align="left" valign="top"><a
> href="index.php" onMouseOut="MM_swapImgRestore()"
>
onMouseOver="MM_swapImage('home','','../images/navigation/t4_over.gif',1)"><
img
> src="../images/navigation/t4.gif" alt="Home" name="home" id="home"
> width="33" height="33" border="0"></a></td>
>                                 <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="4" height="33" border="0"></td>
>                                 <td align="left" valign="top"><a
> href="mailto:[EMAIL PROTECTED]" onMouseOut="MM_swapImgRestore()"
>
onMouseOver="MM_swapImage('contact','','../images/navigation/t5_over.gif',1)
"><img
> src="../images/navigation/t5.gif" alt="Contact Us" name="contact"
> id="contact" width="33" height="33" border="0"></a></td>
>                                 <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="4" height="33" border="0"></td>
>                                 <td align="left" valign="top"><a
> href="../sitemap.php" onMouseOut="MM_swapImgRestore()"
>
onMouseOver="MM_swapImage('sitemap','','../images/navigation/t6_over.gif',1)
"><img
> src="../images/navigation/t6.gif" alt="Site Map" name="sitemap"
> id="sitemap" width="33" height="33" border="0"></a></td>
>                                 <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="4" height="33"
> border="0"></td>
>                             </tr>
>                             <tr>
>                                 <td align="left" valign="top"
> colspan="12"><img src="../images/shim.gif" alt="" width="226"
> height="26" border="0"></td>
>                             </tr>
>                         </table>
>                     </td>
>                 </tr>
>             </table>
>            </td>
>     </tr>
>     <tr>
>         <td align="left" valign="top">
>             <!-- Table 2 -->
>             <table cellpadding="0" cellspacing="0" border="0"
> width="780"  background="../images/clientbackground.jpg">
>                 <tr>
>                     <td align="left" valign="top" colspan="2"><img
> src="../images/shim.gif" alt="" width="780" height="20" border="0"></td>
>                 </tr>
>                 <tr>
>                     <td align="left" valign="top" width="20"><img
> src="../images/shim.gif" alt="" width="20" height="10" border="0"></td>
>                     <td align="left" valign="top" width="750">
>
>                     <!--- Main Content --->
>                        <table cellpadding="0" cellspacing="0"
> border="0">
>                          <tr>
>                              <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="50" height="10" border="0"></td>
>                             <td align="center" valign="top" colspan="3">
>                                 <table cellpadding="0" cellspacing="0"
> border="0">
>                                     <form action="login.php"
> method="post" id="MyForm" name="MyForm">
>                                     <tr>
>                                         <td align="center" valign="top"
> colspan="4" class="redtext"><? if ($ErrorMessage!="")
> {
> ?><?   echo $ErrorMessage; ?><br><br><? }
>   else
> {
> ?><br><br><br> <? } ?></td>
>                                     </tr>
>                                     <tr>
>                                         <td align="left" valign="top"
> colspan="4"><img src="../images/shim.gif" alt="" width="1" height="5"
> border="0"></td>
>                                     </tr>
>
>                                     <tr>
>                                         <td align="right" valign="top"
> class="bluetext">Outlet No:</td>
>                                         <td align="left"
> valign="top"><img src="../images/shim.gif" alt="" width="10" height="1"
> border="0"></td>
>                                         <td align="left"
> valign="top"><INPUT name="SiteNo" maxlength="8" size="6" value="<? echo
> $Outlet_session; ?>"></td>
>                                         <td align="left"
> valign="top"><img src="../images/shim.gif" alt="" width="100" height="1"
> border="0"><a href="../loginintro.php" class="pagecontent"><img
> src="../images/buttons/howtoreg.gif" alt="Register" width="153"
> height="35" border="0"></a></td>
>                                     </tr>
>                                     <tr>
>                                         <td align="left" valign="top"
> colspan="3"><img src="../images/shim.gif" alt="" width="1" height="5"
> border="0"></td>
>                                     </tr>
>                                     <tr>
>                                         <td align="left" valign="top"
> class="bluetext">Email Address:</td>
>                                         <td align="left"
> valign="top"><img src="../images/shim.gif" alt="" width="10" height="1"
> border="0"></td>
>                                         <td align="left"
> valign="top"><INPUT name="emailaddress" maxlength="40" size="30"
> value="<? echo trim(${"emailaddress"}); ?>"></td>
>                                         <td align="left"
> valign="top"><img src="images/shim.gif" alt="" width="100" height="1"
> border="0"><a href="password.php"><img
> src="../images/buttons/forgotpassword.gif" alt="Forgot Password"
> width="153" height="35" border="0"></a></td>
>                                     </tr>
>                                     <tr>
>                                         <td align="left" valign="top"
> colspan="3"><img src="../images/shim.gif" alt="" width="1" height="5"
> border="0"></td>
>                                     </tr>
>                                     <tr>
>                                         <td align="right" valign="top"
> class="bluetext">Password:</td>
>                                         <td align="left"
> valign="top"><img src="../images/shim.gif" alt="" width="10" height="1"
> border="0"></td>
>                                         <td align="left"
> valign="top"><INPUT name="password" type=password  maxlength="20"
> size="20></td>
>                                         <td align="left"
> valign="top">&nbsp;</td>
>                                     </tr>
>                                     <tr>
>                                         <td align="left" valign="top"
> colspan="4"><img src="../images/shim.gif" alt="" width="1" height="60"
> border="0"></td>
>                                     </tr>
>                                     <tr>
>                                         <td align="left" valign="top"
> colspan="4"><img src="../images/shim.gif" alt="" width="1" height="20"
> border="0"></td>
>                                     </tr>
>                                     <tr>
>                                         <td align="center" valign="top"
> colspan="4"><INPUT type="submit" value="Login" id="button1"
> name=button1>&nbsp;<INPUT type="reset" value="Reset" id=button2
> name=button2></td>
>                                     </tr>
>                                     </form>
>                                     <tr>
>                                         <td align="left" valign="top"
> colspan="4"><img src="../images/shim.gif" alt="" width="1" height="20"
> border="0"></td>
>                                     </tr>
>                                     <tr>
>                                         <td align="left" valign="top"
> colspan="4" class="bluetext">
>                                             <table cellpadding="0"
> cellspacing="0" border="0">
>                                                 <tr>
>                                                     <td align="left"
> valign="top" class="bluetext">
>                                                     <u>Please Note</u>:
>                                                     </td>
>                                                     <td align="left"
> valign="top" class="bluetext">
>                                                     <img
> src="../images/shim.gif" alt="" width="5" height="1" border="0">
>                                                     </td>
>                                                     <td align="left"
> valign="top" class="bluetext">
>                                                     Notification of
> change of email address shall be provided to Kwikpay<br> in writing with
> immediate effect of the change being actioned.
>                                                     </td>
>                                                 </tr>
>
>                                             </table>
>                                         </td>
>                                     </tr>
>                                 </table>
>                             </td>
>                          </tr>
>                          <tr>
>                            <td align="left" valign="top"><img
> src="../images/shim.gif" alt="" width="100" height="30" border="0"></td>
>                            <td align="left" valign="top" colspan="3"></td>
>                          </tr>
>                       </table>
>
> Cheers
> Louis
> *

--- End Message ---
--- Begin Message ---
testing 1,2,9

--- End Message ---
--- Begin Message ---
you aren't going to get this back if that's what you are going for.

Yes, we can hear you now...


On Wed, 16 Feb 2005 12:11:38 -0800, Jim Plush <[EMAIL PROTECTED]> wrote:
> testing 1,2,9
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
The Disguised Jedi
[EMAIL PROTECTED]

Now you have my $0.02.  Or .01 Pounds, .014 Euros, or $0.025 CAN.  I'm
already internationally compatible!
PHP rocks!
"Knowledge is Power.  Power Corrupts.  Go to school, become evil"

Disclaimer: Any disclaimer attached to this message may be ignored. 
However, I must say that the ENTIRE contents of this message are
subject to other's criticism, corrections, and speculations.

This message is Certified Virus Free

--- End Message ---
--- Begin Message ---
Hi
  New at this game. I loaded php5 on XP with the php installer. I cannot get 
a varable to parse. Can anyone help. I do believe it is with the 
instalation. I have checked the rights to the ini file and the the php 
directory - i gave full control to try and get it working. Set the path 
varable. Here is the code which is in the root directory of the IIS web 
site. Right are correct on these files.

<html>
<head>
  <title>PHP Test</title>
</head>
<body>
<FORM METHOD="POST" ACTION="p-3-3.php">
<BR> NAMES:
<INPUT TYPE="TEXT" NAME="NAMES">
<BR>
<INPUT TYPE="SUBMIT" VALUE="SEND">
</FORM>
</body>
</html>

==========================
PHP FILE
==========================

<?php

echo ("Names=$NAMES");
?>


My email address is [EMAIL PROTECTED]
Thanks
  Stan 

--- End Message ---

Reply via email to