php-install Digest 9 Sep 2002 12:21:51 -0000 Issue 1015

Topics (messages 8369 through 8373):

Running PHPAuction with MySQL on e-Smith
        8369 by: James Redfern

Problem with 4.2.3
        8370 by: Vallimar

Info on return code 304
        8371 by: John J. Fausto

Weird problems with PHP 4.2.2 / mySQL / Apache
        8372 by: Doug Young

POST form variables not being sent to destination page
        8373 by: Howard Roscoe

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 ---
One of the reasons I chose e-Smith because it runs native PHP and
MySQL servers, and I have a specific PHP application I want to run on
it.  However, I have fallen at the first hurdle by trying to learn how
to drive e-Smith, PHP and MySQL all at the same time.  I need the
following information to set up PHPAuction v.2 and I wondered if
anyone has set up PHPAuction on e-smith or could help steer my in the
right direction...

¦ Step 1  
¦ 
¦ Please select :       [Create new database Use existing database]
¦ Database host :       [               ]
¦ Database name :       [               ]
¦ Database username :   [               ]
¦ Database password :   [               ]
¦ Admin E-Mail :        [[EMAIL PROTECTED]   ]
¦ Site name :           [                       ]
¦ Site URL :            [http://www.privacyx.co.uk/]
    
There is precious little information I can be sure I understand either
in the manual or the text files on this, so any help or guidance would
be much appreciated.

JR.


-- 
James Redfern [The Redfern Organization]
PGP Auto-responder <mailto:[EMAIL PROTECTED]?subject=0xCB81E8E8>
Fingerprint: 6809 FE89 4CEF E76F C6DF  04BF 46DC 58B9 CB81 E8E8

...You always suppress momentary anger at something you deeply and permanently 
hate"--Robert M. Persig
--- End Message ---
--- Begin Message ---
I didn't see any similar info on the list, but I compiled
php 4.2.3 as a module under apache 2.0.40 and it pretty much
breaks all my php stuff.  There is only one error that it generates.
Nothing in debug, nothing in the php_errorlog, only this one
line in the apache error log:

[Sun Sep 08 23:26:55 2002] [crit] [client x.x.x.x] (13)Permission 
denied: /var/www/html/xxxx/.htaccess pcfg_openfile: unable to 
check htaccess file, ensure it is readable

Now I know this is very odd as it worked not 5 minutes ago under 4.2.2, 
switching back to 4.2.2 everything works again.  Both were compiled
with exactly the same options and use exactly the same php.ini file.

I didn't see anything about deal-breaking new config options anywhere
so something somewhere is broken and I'm not sure where...

Any help would be appreciated.


--- End Message ---
--- Begin Message ---
I get an error 

    /Default.htm 304

whenever I try to test my installation.  I don't know if this is MS, C, or php error.

Thanks

--- End Message ---
--- Begin Message ---
I'm attempting to muddle my way through configuration stuff & having
problems with
variables & posting data to mySQL. The explanation in 'official'
documentation is hopelessly vague so I'm working from the Graeme Merrall /
WebMonkey php / mySQL tutorial.

As per the above article, I tried using '$HTTP_POST_VARS' & '$GLOBALS' to
debug, however it appears that my system doesn't know what to do with either
as it completely ignores them.

Similar problem with posting data ..... works fine when I add data directly,
but not from the web form..

Any suggestions / pointers to explicit (as in 'non-official') config
explanations would be appreciated



--- End Message ---
--- Begin Message ---
Hi all,

I'm assuming this is an installation error, hence the posting to this group.

I've got an html form but when I use the POST method the form variables
don't make it to the destination page, when I use the GET method, there's no
problem.  I've uploaded the test pages to our web servers and the POST and
GET methods both work fine, therefore I'm assuming it's a problem with my
installation, which is;

    PHP 4.2.2
    Apache 2.0.40 on Windows XP Pro with as many MS patches as I can find
!!.

I've tried this with and without the register_globals, I've also tried
setting the "always_populate_raw_post_data" to on by way of a stab in the
dark.

The only thing I can think of is something to do with the Apache
configuration, but I can't find anythnin in there re this.

The test PHP is;

Form Page:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<form action="b.php" method=post name="bb">
<input name="aa" type="text" value="12" size="10"><br>
<input name="a1" type="submit">
</form>
<body>

</body>
</html>



Target Page:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<?php

 echo "POSTED :".$_POST["aa"]."<br>";
 echo "GET :".$_GET["aa"]."<br>";

?>
<body>

</body>
</html>


Any help / pointers will be much appreciated as this is starting to drive me
nuts.

Thanks,
Howard


--- End Message ---

Reply via email to