RE: [PHP] Tracking IP Addresses

2003-10-03 Thread Larry Rosenman
IP's are not locked to a geographical area.

Period.

LER

--On Friday, October 03, 2003 15:46:46 -0500 Stephen Craton 
<[EMAIL PROTECTED]> wrote:

So I'm going to have to use a 3rd party script? Is there not a way to make
the IP tracker on your own in any way?
Thanks,
Stephen Craton
http://www.melchior.us -- http://www.melchior.us/portfolio
-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 3:31 PM
To: Stephen Craton
Cc: PHP List
Subject: RE: [PHP] Tracking IP Addresses
Thanks, but how would I get the results in PHP? What I'm trying to do
involves getting the user's IP address then finding where they are, like
what country, and then showing content specific stuff.
Good luck tracking AOL IPs :)  They seem to use a common pool across the
world.  That said, I recall that the mysql folks use some kind of
commercial system from a company called MaxMind...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Larry Rosenman


--On Monday, September 29, 2003 12:43:06 -0400 Dan Anderson 
<[EMAIL PROTECTED]> wrote:

AOL uses IE libraries, so yes, it breaks as many standards as it can.
What specific symptoms are users reporting?
Users can't access the web page at all.  They are getting some kind of
error.
and that error would be?


-Dan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


[PHP] MIME decoder for use as the target of an Alias?

2003-07-21 Thread Larry Rosenman
I've got a strange request, maybe one of the experts here can help?

I need to be able to take a mail message on stdin, bust it up into headers, 
and the constituent mime-parts if any, and be able to parse the headers, 
and get at any
text/plain (or only) part, and shove the headers and
text/plain into a database.

I really don't feel like reinventing the wheel on the mime side.

PHP 4.3.x, if it matters.

Thanks!

LER

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Ticketing System?

2003-06-25 Thread Larry Rosenman


--On Wednesday, June 25, 2003 18:34:10 +0200 Andreas Cahen <[EMAIL PROTECTED]> 
wrote:

Hello List :)

Is there any usefull ticketing system (Hotline/Support/etc.) written in
PHP?
I have found some on hotscripts.com, but I don't know which one is
really got or not..

Any suggestions?
not in PHP, but look at RT:Request Tracker, at http://www.bestpractical.com/


Cheers,

Andreas Cahen



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Adding slashes

2003-02-19 Thread Larry Rosenman


--On Wednesday, February 19, 2003 19:42:00 + Joachim Krebs 
<[EMAIL PROTECTED]> wrote:

PHP seems to automatically be escaping quotes on my $_POST variables.

Am I talking rubbish, or is this some setting? It is annoying me
greatly.
check the smart_quotes_gpc stuff.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Why $ on variable names?

2002-11-12 Thread Larry Rosenman


--On Tuesday, November 12, 2002 16:53:07 -0500 "Jonathan Rosenberg (Tabby's 
Place)" <[EMAIL PROTECTED]> wrote:

In an earlier message, Larry Rosenman [mailto:ler@;lerctr.org] said ...


How about:



That's the way the language designers did it, and
there's LOTS of PRODUCTION code out there that uses it.


Because "that's the way it is"?  Well, that's good enough for me.  I'll
never question anything else again & I trust you won't, either.

You can't change the language at this date, and still call it PHP.  There 
is a LOT
of PHP code out there.  I can question, but expecting it to change is not 
realistic.




 See also the precedence of PERL.


Huh?  What does the "precedence of PERL" mean?

PERL has all it's variables (scalar at any rate) prefixed with Dollar 
Signs.




LER


--
JR





--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Why $ on variable names?

2002-11-12 Thread Larry Rosenman
How about:

   That's the way the language designers did it, and there's LOTS of 
PRODUCTION code out
there that uses it.

   See also the precedence of PERL.

LER


--On Tuesday, November 12, 2002 16:40:46 -0500 "Jonathan Rosenberg (Tabby's 
Place)" <[EMAIL PROTECTED]> wrote:

In an earlier message, Marco Tabini [mailto:marcot@;inicode.com] saidf ...


If I can venture a comment, what you think
"clutters" the code others may find a quick and
easy way to identify a variable in it.


I guess this could be true.  But I don't understand why someone would need
an "easy" way to identify variables?  Why not an easy way to identify
function names?  Or constants?

In any case, I don't recall anyone complaining that they had trouble
"identifying variables" in C, C++, Modula, Pascal, Java, etc.


Marco


--
JR



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Getting information of a client

2002-08-09 Thread Larry Rosenman

On Sat, 2002-08-10 at 01:38, radio x wrote:
> how can i get a variable posted from a form by a user whitout having
> register_globals set On?
> 
$_POST["variable"]
or
$HTTP_POST_VARS["variable"]


> Nick
> 
> 
> - Original Message -
> From: "Saci" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 09, 2002 1:08 PM
> Subject: [PHP] Re: Getting information of a client
> 
> 
> >  > $mensagem = $mensagem."Remote_addr  : ".$_SERVER['REMOTE_ADDR']."\n";
> > $mensagem = $mensagem."Remote_host  : ".$_SERVER['REMOTE_HOST']."\n";
> > $mensagem = $mensagem."Remote_agent : ".$_SERVER['HTTP_USER_AGENT']."\n";
> > $mensagem = $mensagem."Host : ".$_SERVER['HTTP_HOST']."\n";
> > echo $mensagem;
> > ?>
> >
> >
> >
> > "Jan Souman" <[EMAIL PROTECTED]> escreveu na mensagem
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > I would like to get information of a person who is browsing my site.
> Does
> > > anyone know how to get this information?
> > >
> > > Kind regards,
> > >
> > > Jan
> > >
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] function for size of array

2002-07-05 Thread Larry Rosenman

On Fri, 2002-07-05 at 11:45, Scott Fletcher wrote:
> What is RTFM??
Read The Fine Manual

 
> "Jason Wong" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > On Friday 05 July 2002 22:20, Scott Fletcher wrote:
> > > Ah!  Thanks!  By the way, it's "count()" with a "n".  :-)
> >
> > That was to trick you into RTFM! Hey you were lucky that the 'o' wasn't
> left
> > out instead :)
> >
> > --
> > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> > Open Source Software Systems Integrators
> > * Web Design & Hosting * Internet & Intranet Applications Development *
> >
> > /*
> > The shortest distance between two points is under construction.
> > -- Noelie Alito
> > */
> >
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Larry Rosenman

On Fri, 2002-07-05 at 10:04, Scott Fletcher wrote:
> What is the configure option that will turn on the register_globals?  This
> is for ./configure option in UNIX / LINUX.
It's in php.ini.  Look at the phpinfo() output, and modify to include
the register_globals=ON, then restart Apache (assuming it's in an apache
module).



-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] chmod failed: Operation not permitted

2001-08-31 Thread Larry Rosenman

Therein lies the problem.  The webserver, therefore your PHP script,
is probably *NOT* running with your credentials. 

Larry 
* Police Trainee <[EMAIL PROTECTED]> [010831 13:50]:
> the files are all owned by me, that is, my unix login.
> --- Jason Bell <[EMAIL PROTECTED]> wrote:
> >  who owns the file to begin with? your account?  a
> > web server typically runs
> > as a low access account, such as "nobody" on Unix.
> > So, what is probably
> > happening is that you don't have permissions to
> > chmod the file. Doesn't have
> > anything to do with your PHP configuration.
> > 
> > Jason Bell
> > 
> > - Original Message -
> > From: "Police Trainee" <[EMAIL PROTECTED]>
> > To: "PHP" <[EMAIL PROTECTED]>
> > Sent: Friday, August 31, 2001 11:43 AM
> > Subject: [PHP] chmod failed: Operation not permitted
> > 
> > 
> > > can anyone help?
> > > safe mode is set to "0", which i believe is "off".
> > >
> > > i put a chmod command in one of my scripts and got
> > the
> > > following error on running it:
> > >
> > > Warning: chmod failed: Operation not permitted in
> > > /path-here/index.phtml on line 1
> > >
> > > why won't chmod work?
> > >
> > > the chmod command i used is:
> >  > > 0646);write data to file that has been made
> > > world-writable here; chmod("../index.phtml",
> > 0644);}?>
> > >
> > > the full error printout is:
> > >
> > > Warning: chmod failed: Operation not permitted in
> > > /path-here/index.phtml on line 1
> > >
> > > Warning: fopen("../index.phtml","a") - Permission
> > > denied in
> > > /path here/index.phtml on line 1
> > >
> > > Warning: Unable to find file identifier 0 in
> > > /path here/index.phtml on line 2
> > >
> > > Warning: chmod failed: Operation not permitted in
> > > /path-here/index.phtml on line 2
> > >
> > > I know the second error is because the file wasn't
> > > made world-writable so it wasn't able to write to
> > it,
> > > i don't know what the third error is for
> > >
> > > __
> > > Do You Yahoo!?
> > > Get email alerts & NEW webcam video instant
> > messaging with Yahoo!
> > Messenger
> > > http://im.yahoo.com
> > >
> > > --
> > > PHP General 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]
> > >
> > >
> > 
> 
> 
> __
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com
> 
> -- 
> PHP General 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]
> 

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
PHP General 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]




Re: [PHP] Referrer

2001-08-30 Thread Larry Rosenman

* Nic Skitt <[EMAIL PROTECTED]> [010830 06:30]:
> Hi all,
> 
> What is the server variable for referrer?
$HTTP_REFERER


> 
> Cheers
> 
> Nic
> 
> 
> 
> -- 
> PHP General 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]
> 

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
PHP General 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]




Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman

* CC Zona <[EMAIL PROTECTED]> [010214 21:21]:
> [restored to bottom-posting, for clarity]
> 
> > > > I was trying to build up a multi-line body to use with the mail
> > > > command, using code similar to:
> > > >  $mailbody = $mailbody . '\n' . $HTTP_POST_VARS["somefield"];
> 
> 
> 
> > > I think you can do it like this:
> > > 
> > > $mailbody="$varname\n$varname2";
> > That works.  Hmm.  I wonder why the concatenation didn't?
> 
> Because '\n' is a string consisting of a backslash followed by the letter 
> n, while "\n" is a newline character.  Gotta use double-quotes.
I even had trouble within double quotes with the concatenation.

LER

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
PHP General 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]




Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread &#x27;Larry Rosenman'

* Janet Valade <[EMAIL PROTECTED]> [010214 18:33]:
> I think you can do it like this:
> 
> $mailbody="$varname\n$varname2";
That works.  Hmm.  I wonder why the concatenation didn't?

Thanks!

LER

> 
> Janet
> 
> 
> > -Original Message-
> > From:   Larry Rosenman [SMTP:[EMAIL PROTECTED]]
> > Sent:   Wednesday, February 14, 2001 11:22 AM
> > To: [EMAIL PROTECTED]
> > Subject:[PHP] concatenating strings and \n's for mail...
> > 
> > Greetings,
> > I was trying to build up a multi-line body to use with the mail
> > command, using code similar to:
> >  $mailbody = $mailbody . '\n' . $HTTP_POST_VARS["somefield"];
> > 
> >   when I sent the mail, the \n showed up, not as a new line, but a
> > literal \n.  How do I fix this? 
> > 
> > This is with 4.0.4pl1. 
> > 
> > LER
> > 
> > 
> > -- 
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
> > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> > 
> > -- 
> > PHP General 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]
-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
PHP General 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]




Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman

* Lewis Bergman <[EMAIL PROTECTED]> [010214 13:50]:
> On Wed, 14 Feb 2001, you wrote:
> > Greetings,
> > I was trying to build up a multi-line body to use with the mail
> > command, using code similar to:
> >  $mailbody = $mailbody . '\n' . $HTTP_POST_VARS["somefield"];
> > 
> >   when I sent the mail, the \n showed up, not as a new line, but a
> > literal \n.  How do I fix this? 
> Did you try . "\r\n" .  ? I use it though in many places just as you have "\n"
Nope, will tonight though.
> ...
> 
>  --
> Lewis Bergman
> Texas Communications
> 4309 Maple St.
> Abilene, TX 79602
> 915-695-6962
-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
PHP General 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]




Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman

* Christian Cresante <[EMAIL PROTECTED]> [010214 13:27]:
> You need to use "\n" for interpolation.
Tried that too...  Didn't work for me...
> 
> --- Larry Rosenman <[EMAIL PROTECTED]> wrote:
> > Greetings,
> > I was trying to build up a multi-line body to
> > use with the mail
> > command, using code similar to:
> >  $mailbody = $mailbody . '\n' .
> > $HTTP_POST_VARS["somefield"];
> > 
> >   when I sent the mail, the \n showed up, not as a
> > new line, but a
> > literal \n.  How do I fix this? 
> > 
> > This is with 4.0.4pl1. 
> > 
> > LER
> > 
> > 
> > -- 
> > Larry Rosenman
> > http://www.lerctr.org/~ler
> > Phone: +1 972-414-9812 E-Mail:
> > [EMAIL PROTECTED]
> > US Mail: 1905 Steamboat Springs Drive, Garland, TX
> > 75044-6749
> > 
> > -- 
> > PHP General 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]
> > 
> 
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35 
> a year!  http://personal.mail.yahoo.com/
> 
> -- 
> PHP General 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]

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
PHP General 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] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman

Greetings,
I was trying to build up a multi-line body to use with the mail
command, using code similar to:
 $mailbody = $mailbody . '\n' . $HTTP_POST_VARS["somefield"];

  when I sent the mail, the \n showed up, not as a new line, but a
literal \n.  How do I fix this? 

This is with 4.0.4pl1. 

LER


-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
PHP General 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]




Re: [PHP] PHP4.0.4pl1 with Apache 1.3.17/SSL and Frontpage ...

2001-02-09 Thread Larry Rosenman

* The Hermit Hacker <[EMAIL PROTECTED]> [010208 21:39]:
> On Thu, 8 Feb 2001, Larry Rosenman wrote:
> 
> > * The Hermit Hacker <[EMAIL PROTECTED]> [010208 21:12]:
> > >
> > > Simple ... everything compiles cleanly, but as soon as I try and run it, I
> > > get:
> > >
> > > pegasus# /usr/local/apache/bin/httpsd
> > > httpsd: module "mod_php4.c" is not compatible with this version of Apache.
> > > Please contact the vendor for the correct version.
> > >
> > > The only thing I can find on the list archives deals with a -DEPI switch,
> > -DEAPI
> >
> > Are you using Ports?
> 
> Nope, compiling straight from source ...
> 
> my configure is:
> 
> #!/bin/tcsh
> setenv CFLAGS "-I/usr/local/include/gd"
> ./configure \
> --enable-force-cgi-redirect \
> --disable-debug \
> --with-jpeg-dir=/usr/local \
> --with-tiff-dir=/usr/local \
> --enable-ftp \
> --without-mysql \
> --with-gd \
> --with-pgsql \
> --with-gdbm \
> --enable-track-vars \
> --enable-sysvsem \
> --with-apxs=/usr/local/apache/bin/apxs \
> --enable-sysvshm
> 
> Does anything look wrong with that?
> 
> I build apache 1.3.17 as follows, just in case I screwed something up
> there ...
> 
> #!/bin/sh
> ./configure \
> --prefix=/usr/local/apache \
> --with-layout=Apache \
> --enable-module=auth_dbm \
> --enable-module=log_agent \
> --enable-module=log_referer \
> --enable-module=expires \
> --enable-module=headers \
>     --enable-module=rewrite \
> --enable-suexec \
> --suexec-caller=nobody  \
> --add-module=mod_frontpage.c \
> --enable-rule=SHARED_CORE --enable-module=so
did you add mod_ssl?  how did you add it? 

LER

> 

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
PHP General 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]




Re: [PHP] PHP4.0.4pl1 with Apache 1.3.17/SSL and Frontpage ...

2001-02-08 Thread Larry Rosenman

* The Hermit Hacker <[EMAIL PROTECTED]> [010208 21:12]:
> 
> Simple ... everything compiles cleanly, but as soon as I try and run it, I
> get:
> 
> pegasus# /usr/local/apache/bin/httpsd
> httpsd: module "mod_php4.c" is not compatible with this version of Apache.
> Please contact the vendor for the correct version.
> 
> The only thing I can find on the list archives deals with a -DEPI switch,
-DEAPI

Are you using Ports? 


> so I tried that to see if it helps, and it doesn't ...
> 
> Help?
> 
> Marc G. Fournier   ICQ#7615664   IRC Nick: Scrappy
> Systems Administrator @ hub.org
> primary: [EMAIL PROTECTED]   secondary: scrappy@{freebsd|postgresql}.org
> 
> 
> -- 
> PHP General 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]

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
PHP General 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] apache/SUexec/PHP

2001-02-03 Thread Larry Rosenman

I noticed today that PHP apps run as the WWW user, not the User/Group
specified in httpd.conf for virtualhosts. 

(Module version of PHP running in Apache 1.3.17). 

Is there any way to get the PHP module to assume the identity 
similar to the SUexec module will do for CGI? 

Thanks!


-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
PHP General 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]