php-install Digest 12 Jul 2002 17:17:36 -0000 Issue 928

Topics (messages 7698 through 7704):

[security] logging source of mail()-use
        7698 by: Sam Baum

Unable to pass variables through URL with '?'
        7699 by: Eckstein, David
        7700 by: Moraes, Fabio

apache error: failed to get a socket for port 80 (W98)
        7701 by: Uwe Birkenhain
        7702 by: Matthew Kurowski

PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area
        7703 by: Jay Blanchard

Installation and Configuration of PHP 4.2.1 and Apache 1.3.2 on Win98
        7704 by: Tom Mac

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,

is there a way to configure PHP, or Postfix so, that i can trace the source 
of mail()-uses? I dont want to disable the command. But in the current 
state the use just leaves the userid of the web-server in the 
mail-logfiles. 
The only idea i have is to insert a syslog-call that writes the script-name 
with the full path into the method and recompile. So i could trace back the 
user who wrote the script.
Is there an already working way to do something similar?

Sam

--- End Message ---
--- Begin Message ---
Hello, 

I'm having a bit of trouble passing variables to PHP scripts and am hoping
someone can help me.  I am running php4isapi.dll on an NT4 server running
IIS5.  When I try to pass a variable such as:

test.php?quid=4

to a script like:

<?PHP
echo $quid;
?>

I get the error message:

Notice: Undefined variable: quid in test.php on line 2

Anyone have any idea why this may be happening? (same thing with quotes echo
"$quid";)

Thanks!
Dave Eckstein
--- End Message ---
--- Begin Message ---
set register_globals to "on" in your php.ini or use global variables.


---
 Fabio Moraes
 [EMAIL PROTECTED]
 +55 21 3088 9548 

-----Original Message-----
From: Eckstein, David [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 11:02 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP-INST] Unable to pass variables through URL with '?'


Hello, 

I'm having a bit of trouble passing variables to PHP scripts and am hoping
someone can help me.  I am running php4isapi.dll on an NT4 server running
IIS5.  When I try to pass a variable such as:

test.php?quid=4

to a script like:

<?PHP
echo $quid;
?>

I get the error message:

Notice: Undefined variable: quid in test.php on line 2

Anyone have any idea why this may be happening? (same thing with quotes echo
"$quid";)

Thanks!
Dave Eckstein
--- End Message ---
--- Begin Message ---
Hi,
I tried to install apache 1.3.26 under Win98 on my laptop,
but all I'll get is the DOS-Box with the error message:
"make_sock: failed to get a socket for port 80"

I have no other process running which might use port 80 (as far as I know).
Is the problem perhaps, that there is NO network adapter (ethernet card,
modem, ...) in the laptop?

I installed TCP/IP - but don't know how to check whether it's working.

Yes, in httpd.conf the servername is 127.0.0.1

Any suggestions?

Thank's a lot in advance,

Uwe


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

If you can't telnet to port 80 when Apache is down, then there is nothing
listening at that port (assuming you don't have a local firewall that would
allow a port to register but not allow data through/in/from).

So:

telnet localhost 80

... when apache is stopped and see what comes back. And stop your local
firewall first if applicable.

Then at least you will have confirmed that you are at a safe point to look
at other configuration issues.

Feel free to email me/post your Apache config and I can take a quick scan.
Please kill comments first if to my email especially.

Best Regards,
Matthew Kurowski

----- Original Message -----
From: "Uwe Birkenhain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 10:00 AM
Subject: [PHP-INST] apache error: failed to get a socket for port 80 (W98)


> Hi,
> I tried to install apache 1.3.26 under Win98 on my laptop,
> but all I'll get is the DOS-Box with the error message:
> "make_sock: failed to get a socket for port 80"
>
> I have no other process running which might use port 80 (as far as I
know).
> Is the problem perhaps, that there is NO network adapter (ethernet card,
> modem, ...) in the laptop?
>
> I installed TCP/IP - but don't know how to check whether it's working.
>
> Yes, in httpd.conf the servername is 127.0.0.1
>
> Any suggestions?
>
> Thank's a lot in advance,
>
> Uwe
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
No, it's not a dating service.... :)
Want to meet other PHP developers in your area? Check out:

http://php.meetup.com/

Pretty nifty idea... especially given the lack of user groups in the U.S.
[/snip]

I thought for others who had not seen this I would post this. There is
probably already a user group in your area if you live near a major city.
According to the PHPusergroups.org web site
[http://www.phpusergroups.org/groups.phtml?menu=groups] there 189 PHP user
groups in 52 countries.

Jay

"Chaos, panic & disorder…my work here is done!"


--- End Message ---
--- Begin Message ---
Hi All,
 
    I've been trying to configure PHP4.2.1 to work
with Apache 1.3.2 on Windows 98.  I tried both as a
SAPI module or as a CGI setup, but had no luck.  Can
someone help please?  Thanks.  I have the snippets
from my conf files below:
 
PHP Installation Directory --> c:\php  
 
1. SAPI Setup:
        c:\windows\php.ini:
            extension_dir = "c:\php"
            cgi.force_redirect = 1
        httpd.conf:
            ClearModuleList
           
            LoadModule php4_module
c:/php/sapi/php4apache.dll
           AddModule mod_php4.c
            AddType application/x-httpd-php .php
 
    * When i start apache, it saids the php4 mod has
been loaded but i get a HTTP 404 when I browse to any
.php page *
 
2. CGI Setup:
        c:\windows\php.ini:
            extension_dir = "c:\php"
            ;cgi.force_redirect = 1
        httpd.conf:
               ScriptAlias /php/ "c:/php/"
               AddType application/x-httpd-php .php
               Action application/x-httpd-php
"/php/php.exe"

            
    * When i start apache, everything seems normal,
but i get a blank page when I browse to any .php page
*
 
 
Tom
 
 

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--- End Message ---

Reply via email to