php-install Digest 8 Sep 2002 10:25:24 -0000 Issue 1013
Topics (messages 8360 through 8366):
Installing PHP as a module of Apache 1.3
8360 by: Jimmy Chau
Stupid problem: cannot send variables!
8361 by: Elias Lovén Larsson
8362 by: Sebastian Wolfgarten
Re: [PHP-WIN] Stupid problem: cannot send variables!
8363 by: Rich Gray
Install Problems (win2000, PNP4.2.3)
8364 by: John J. Fausto
Windows 2000 Install on certain servers fails
8365 by: RC
Error msg: Warning: open(/tmp\sess_92fb623b5c277034e5c7f4b0466ba11f, O_RDWR) failed:
No such file or directory (2)
8366 by: Patrick Latour
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 ---
"http://www.php.net/manual/en/print/faq.build.php#faq.build.Apache" says:
Compile PHP by first running ./configure --with-apache=/<path>/apache-1.3 (substitute
<path> for the actual path to your apache-1.3 directory.
does this mean the directory of the PHP source, future binary, or the data for the web
pages?
--- End Message ---
--- Begin Message ---
I am experiencing major problems with sending variables from forms to PHP
scripts.
Newbie error perhaps, but I have never ever witnessed anything like this
before with PHP!
I am running Apache 1.3.23 with PHP 4.2.3 (SAPI) on Windows XP.
The URL and the code:
http://corner.no-ip.com/me/profiles/test1.php
----------
<HTML>
<HEAD>
<TITLE>Untitled Document</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY>
<FORM NAME="form1" ACTION="test1.php">
<P>
<INPUT NAME="field" TYPE="text" ID="field">
</P>
<P>
<INPUT TYPE="submit" NAME="Submit" VALUE="Submit">
</P>
</FORM>
<?
echo $field;
$justanothervariable = "data";
echo $justanothervariable;
?>
</BODY>
</HTML>
----------
--- End Message ---
--- Begin Message ---
Hello Elias,
see www.php.net or php.ini -> register_globals.
Will these questions ever stop?
Bye,
Sebastian
--- End Message ---
--- Begin Message ---
Either switch on register_globals in php.ini (security implications however)
or use echo $_GET['field'] instead of echo $field.
HTH
Rich
-----Original Message-----
From: Elias Lovén Larsson [mailto:[EMAIL PROTECTED]]
Sent: 07 September 2002 11:32
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-WIN] Stupid problem: cannot send variables!
I am experiencing major problems with sending variables from forms to PHP
scripts.
Newbie error perhaps, but I have never ever witnessed anything like this
before with PHP!
I am running Apache 1.3.23 with PHP 4.2.3 (SAPI) on Windows XP.
The URL and the code:
http://corner.no-ip.com/me/profiles/test1.php
----------
<HTML>
<HEAD>
<TITLE>Untitled Document</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY>
<FORM NAME="form1" ACTION="test1.php">
<P>
<INPUT NAME="field" TYPE="text" ID="field">
</P>
<P>
<INPUT TYPE="submit" NAME="Submit" VALUE="Submit">
</P>
</FORM>
<?
echo $field;
$justanothervariable = "data";
echo $justanothervariable;
?>
</BODY>
</HTML>
----------
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
On the subject installation I followed the instructions for installing but I
still can get php scripts to execute. Using IE 6.0 I execute
http:\\machine name
I get the information in the default htm but do not get the php code
interpreted.
Any help will be appreciated.
Thank you,
John
> --Boundary_(ID_fEb65NgmR9p8EzKqeFB5kw)
> Content-type: text/html; charset=iso-8859-1
> Content-transfer-encoding: 7BIT
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> <META content="MSHTML 6.00.2600.0" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT face=Arial size=2>On the subject installation I followed the
> instructions for installing but I still can get php scripts to
execute.
> Using IE 6.0 I execute</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2> http:\\machine
name</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>I get the information in the default htm but
do not
> get the php code interpreted.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>Any help will be appreciated.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>Thank you,</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>John</FONT></DIV></BODY></HTML>
>
> --Boundary_(ID_fEb65NgmR9p8EzKqeFB5kw)--
>
--- End Message ---
--- Begin Message ---
I have a plain vanilla Win 2000 server which is low utilization,
production. I installed 4.2.3 on it. I get a message like "a missig
OCX caused the installer to fail. I have the php.ini file where it is
supposed to be and the phpinfo function returns nothing. What would you
suggest I do? It works on other machines where it did not fail the install.
Rich
--- End Message ---
--- Begin Message ---
Hello,
I run Apache 1.3.26 on Win2K
I have a file index.php that use the session_start() function, it work well
on IIS but here is what I got on Apache:
Warning: open(/tmp\sess_92fb623b5c277034e5c7f4b0466ba11f, O_RDWR) failed: No
such file or directory (2) in e:\program files\apache
group\apache\htdocs\index.php on line 2
The file shows correctly, but I see this error message. Any one can help?
Thanks and regards,
Patrick Latour
[EMAIL PROTECTED]
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.385 / Virus Database: 217 - Release Date: 9/4/2002
--- End Message ---