RE: [PHP] security question

2001-10-17 Thread Daniel Goldin

Tried this. Get an error from my host: open_basedir restriction in effect.
I'm new at this. Do you know what this means and is there a work around?

-Original Message-
From: Alexander Deruwe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 17, 2001 3:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] security question


On Wednesday 17 October 2001 19:14, Daniel Goldin wrote:
> But I need to protect the files themselves. Is
> their a way to protect the files without adding another level of
> authorization when someone does access them from the browser?

Move these text files one directory below the server root.
E.g: /www/myserver is the root, so you create a directory /www/text-files.
This can then never be accessed from a webbrowser, but PHP can still find
them.

Alexander

--
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 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] newbie has include path error

2001-06-30 Thread Daniel Goldin

I had php/apache/mysql working perfectly for awhile on my redaht 7.1 box.
Compiled them all from source and was very proud, as I am at best an amateur
programmer. In other words, I love this stuff, but it doen't come naturally.

Recently I've been fiddling with networking (to little avail), installed a
new ethernet card and did some other stuff... Anyway, now when I go into
http://localhost (apache is running), I get this error:

Warning: Failed opening '/etc/httpd/php/prepend.php' for
inclusion (include_path=") in unknown in line 0.

I've tried putting in this include path in my php.ini file to no effect.
Please help. I have several projects I'm working on that require php and I
have no way of working on them on my development box.

Any help gratefully appreciated. Also, I apologize for being too chatty.

daniel

--------

Daniel Goldin   [EMAIL PROTECTED]
Creative Director   323.225.1926

 BlueLamp Productions
   www.blue-lamp.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]




RE: [PHP] newbie has include path error & new problem

2001-07-03 Thread Daniel Goldin

Here what I get:

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
199.34.58.0 *   255.255.255.0   U 0  00 eth0
127.0.0.0   *   255.0.0.0   U 0  00 lo
default 199.34.58.7 0.0.0.0 UG0  00 eth0


If thids doesn't work I will hit the manuals a secomnd time, although I
admit my first time browsing through the extensive documentation on ethernet
devices and network administration had made me a bit flummoxed.

Anyway, thank you so much for your time. You and others on this list have
been fantastic dealing what has turned into an off-topic problem.

Best to all,

daniel

-Original Message-
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 11:22 PM
To: 'PHP List'
Subject: Re: [PHP] newbie has include path error & new problem


cool,

   you should be able to get the route table with either 'route' or 'netstat
-r' on a redhat box. they both return the same thing on my slackware box.

[use@box user]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
localnet*   255.255.255.0   U 0  00 eth0
loopback*   255.0.0.0   U 0  00 lo
default gw.mydomain 0.0.0.0 UG1  00 eth0

see how loopback points to the 'lo' interface? does yours?

like scott mentioned, you should read the man pages on route and ifconfig.
you can find good help at http://www.linuxdoc.org/

mike

on 7/2/01 9:53 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote:

> I'm on a redhat 7.1 box on a pentium 3 pc. I set up networking via netcfg.
> Here are the settings (names have been modified):
>
> Names
>
> Hostname localhost.localdomain
>
>
> Hosts
>
> IP   Name  Nickname
> -
> 127.0.0.1   localhost.localdomain   localhost
> 199.33.57.1 windowshost
> 198.77.110.8internet.com ghc000
>
>
> Interface
>
> interface   IP Proto
> --
> lo   127.0.0.1None
> eth0 199.33.57.3  None
>
>
> Routing
>
> Default Gateway   199.33.57.7
> default gateway deviceeth0
>
>
> Again, I appreciate your help.
>
> best,
>
> daniel
>
> -Original Message-
> From: mike cullerton [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 02, 2001 3:06 PM
> To: 'PHP List'
> Subject: Re: [PHP] newbie has include path error & new problem
>
>
> on 7/2/01 3:59 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote:
>
>> Yes, I could load a page from localhost until I set up networking.
>>
>> No, I cannot load a page from 127.0.0.1. Tried that.
>>
>> Embarrassed to ask. What is a routing table and how do I find it?
>
> no need to be embarrased for not knowing what a routing table is, most
> people wouldn't. a routing table is used by a networked computer to
> determine how to reach remote hosts. it tells the machine what interface
to
> use for a particular host and physical layer address to send to.
>
> what kind of a machine are you on?
>
> what steps (specifically) did you take to 'set up networking'?
>
> -- mike cullerton
>


 -- mike cullerton



--
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 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] seeking good annotate script

2001-08-31 Thread daniel goldin


I'm looking for a good script that implements an
annotation function--much like the manual at php.net. Anybody
know where I could find such a beast?


Daniel Goldin
[EMAIL PROTECTED]
323-225-1926

www.blue-lamp.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]




[PHP] seeking good annotate script

2001-08-31 Thread daniel goldin


=
Note: The sender of this email has requested that you verify receipt of this email.
Please visit the web page below (click on the link) to verify receipt.
http://cgi.webbox.com/wbwc/webbox.asp?act=vr&ms=101724550&t=rlsbtsmefi
=

I'm looking for a good script that implements an
annotation function--much like the manual at php.net. Anybody
know where I could find such a beast?


Daniel Goldin
[EMAIL PROTECTED]
323-225-1926

www.blue-lamp.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]




[PHP] slightly OT -- content management systems and php

2001-08-31 Thread daniel goldin


I am a nonprogrammer--or enthiusiastic amateur--looking into
various open source content management systems and finding myself
bewildered by the possibilities. Couldn't think of a better list
to pose these questions and hope I don't offend by going slightly
off topic.

First, what's the differnce between a CMS and an API? Can onyone
point me to some good lay articles or faqs covering this stuff?

How essential is a CMS for producing scalable sites? PHP strikes
me as being almost a CMS in and of itself--with a little work.
I am afraid of losing flexibility by embracing somebody else's
system. Should I be?

What are the pros and cons of various systems such as Typo3,
SiteManager, etc. Anybody have any experience using these php-based
systems?  

What about Zope? Is it all it's cracked up to be? Does it work
with PHP?

Daniel

 
________
Daniel Goldin
[EMAIL PROTECTED]
323-225-1926



Daniel Goldin
[EMAIL PROTECTED]
323-225-1926

www.blue-lamp.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]




[PHP] eregi_replace problem

2001-09-21 Thread Daniel Goldin

The following does what it's meant to do: replace [i} and [ei} with the html
eqivalenets.

$welcome_html = eregi_replace("\[i]","",$welcome_html);
$welcome_html = eregi_replace("\[ei]","",$welcome_html);

Why does the following NOT work?

$welcome_html = eregi_replace("\[c]","",$welcome_html);
$welcome_html = eregi_replace("\[ec]","",$welcome_html);

Any help gratefully appreciated.



Daniel Goldin   [EMAIL PROTECTED]
Creative Director   323.225.1926

 BlueLamp Productions
   www.blue-lamp.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]




RE: [PHP] eregi_replace problem

2001-09-22 Thread Daniel Goldin

DSolved. Problem was a typo in other script called by this one. Many
apologies to the list.

Best,

daniel

-Original Message-
From: Daniel Goldin [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 9:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] eregi_replace problem


The following does what it's meant to do: replace [i} and [ei} with the html
eqivalenets.

$welcome_html = eregi_replace("\[i]","",$welcome_html);
$welcome_html = eregi_replace("\[ei]","",$welcome_html);

Why does the following NOT work?

$welcome_html = eregi_replace("\[c]","",$welcome_html);
$welcome_html = eregi_replace("\[ec]","",$welcome_html);

Any help gratefully appreciated.



Daniel Goldin   [EMAIL PROTECTED]
Creative Director   323.225.1926

 BlueLamp Productions
   www.blue-lamp.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]


-- 
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] can't get php working on redhat 7.1

2001-05-09 Thread Daniel Goldin \(E-mail\)

Got apache going. But no php. Anyone had any experience on this the latest
redhat.

Hoping to get some pointers to getting apache/php/mysql working nicely in
redhat 7.1. I've been struggling with this for days now.

Thanks for any help

daniel

----

Daniel Goldin   [EMAIL PROTECTED]
Creative Director   323.225.1926

 BlueLamp Productions
   www.blue-lamp.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]




RE: [PHP] PHP Editor

2001-05-10 Thread Daniel Goldin \(E-mail\)

xemacs has a php-mode which is okay, syntax highlighting and so on.

-Original Message-
From: Daniel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 4:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Editor


Hi,

Just wondering whether you guys use any type of editor when programming in 
PHP? if so what have you found to be useful?


Thanks


Daniel


-- 
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 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] good chat script?

2001-06-23 Thread Daniel Goldin \(E-mail\)

Anybody know of a good chat script? I'm hoping for the chat equivalent of
phorum. Thanks for any help.

daniel

----

Daniel Goldin
[EMAIL PROTECTED]
323.225.1926

 BlueLamp Productions
   www.blue-lamp.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]




RE: [PHP] newbie has include path error & new problem

2001-07-01 Thread Daniel Goldin \(E-mail\)

Thanks for your help. The server document root is: /etc/httpd/htdocs.
Perhaps I need to point to this document in root in php.ini file?

Anyway, I cannot try that now as I have finally achieved networking linux
box to windows host that acts as our internet server. Now when I try to
connect to: http://localhost I get this error

"425 HTTP ERROR

Unable to connect to remote host"

I tried stopping the network, but that only caused Netscape to choke. Hmm.
(help?)

Best,

Daniel

-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 30, 2001 12:36 AM
To: [EMAIL PROTECTED]
Cc: php
Subject: Re: [PHP] newbie has include path error


Hi,

If you can "surf" local host for standard HTML pages and other php pages
(without includes in them) eg:

http://localhost/file.html

Then the problem isn't the server really, it seems to me that the server
document root for your files should be something like:

/usr/local/apache/ not /etc/httpd/php/prepend.php

Can you ftp into your server?  What's the path to your document root for
all your html / php files?  I doubt it's /etc/httpd/php/file.html, if it
isn't this, then the problem is somewhere in your php cnfig to indicate
where the document root is.

Eh, it's kidna hard to explain...  maybe someone else can explain it
better :)


Justin French
Creative Director
Indent.com.au



Daniel Goldin wrote:

> I had php/apache/mysql working perfectly for awhile on my redaht 7.1 box.
> Compiled them all from source and was very proud, as I am at best an
amateur
> programmer. In other words, I love this stuff, but it doen't come
naturally.
>
> Recently I've been fiddling with networking (to little avail), installed a
> new ethernet card and did some other stuff... Anyway, now when I go into
> http://localhost (apache is running), I get this error:
>
> Warning: Failed opening '/etc/httpd/php/prepend.php' for
> inclusion (include_path=") in unknown in line 0.
>
> I've tried putting in this include path in my php.ini file to no effect.
> Please help. I have several projects I'm working on that require php and I
> have no way of working on them on my development box.
>
> Any help gratefully appreciated. Also, I apologize for being too chatty.

--
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 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] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)

Appreciate your help. Yes I can ping localhost. I do believe I can solve the
php problem once I solve the networking problem as I've discovered that the
prepend path was set incorrectly.

Best,

Daniel

-Original Message-
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 01, 2001 10:29 PM
To: php-general
Subject: Re: [PHP] newbie has include path error & new problem


i'm guessing your problems are unrelated.

for your network problem, it seems that you didn't really achieve
'networking linux box to windows host' correctly. can you currently ping
localhost? what does your route table look like?

as for the php problem. it's definitely a problem with your path. in your
error message
>> Warning: Failed opening '/etc/httpd/php/prepend.php' for
>> inclusion (include_path=") in unknown in line 0.
php thinks your include_path is ''. that means you have no include path, not
even '.'

mine is something like
.:/var/www/php:/var/www/docs/include:/usr/local/lib/php

this is defined in php.ini

what's really interesting, is that you call prepend.php with an absolute
path. you shouldn't even need the include path.

i'd look in php.ini. where do you actually store prepend.php?

mike

on 7/1/01 11:00 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote:

> Thanks for your help. The server document root is: /etc/httpd/htdocs.
> Perhaps I need to point to this document in root in php.ini file?
>
> Anyway, I cannot try that now as I have finally achieved networking linux
> box to windows host that acts as our internet server. Now when I try to
> connect to: http://localhost I get this error
>
> "425 HTTP ERROR
>
> Unable to connect to remote host"
>
> I tried stopping the network, but that only caused Netscape to choke. Hmm.
> (help?)
>
> Best,
>
> Daniel
>
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 30, 2001 12:36 AM
> To: [EMAIL PROTECTED]
> Cc: php
> Subject: Re: [PHP] newbie has include path error
>
>
> Hi,
>
> If you can "surf" local host for standard HTML pages and other php pages
> (without includes in them) eg:
>
> http://localhost/file.html
>
> Then the problem isn't the server really, it seems to me that the server
> document root for your files should be something like:
>
> /usr/local/apache/ not /etc/httpd/php/prepend.php
>
> Can you ftp into your server?  What's the path to your document root for
> all your html / php files?  I doubt it's /etc/httpd/php/file.html, if it
> isn't this, then the problem is somewhere in your php cnfig to indicate
> where the document root is.
>
> Eh, it's kidna hard to explain...  maybe someone else can explain it
> better :)
>
>
> Justin French
> Creative Director
> Indent.com.au
>
>
>
> Daniel Goldin wrote:
>
>> I had php/apache/mysql working perfectly for awhile on my redaht 7.1 box.
>> Compiled them all from source and was very proud, as I am at best an
> amateur
>> programmer. In other words, I love this stuff, but it doen't come
> naturally.
>>
>> Recently I've been fiddling with networking (to little avail), installed
a
>> new ethernet card and did some other stuff... Anyway, now when I go into
>> http://localhost (apache is running), I get this error:
>>
>> Warning: Failed opening '/etc/httpd/php/prepend.php' for
>> inclusion (include_path=") in unknown in line 0.
>>
>> I've tried putting in this include path in my php.ini file to no effect.
>> Please help. I have several projects I'm working on that require php and
I
>> have no way of working on them on my development box.
>>
>> Any help gratefully appreciated. Also, I apologize for being too chatty.
>
> --
> 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]
>


 -- mike cullerton



--
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 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] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)

Hmm. I tried "http://123.123.123.123/ (using windows machine) and I got a
request for authorization. When I filled in my Linux username and pass, it
returned an "authorization failed" message. Any advice.

Best,

daniel



-Original Message-
From: Peter Houchin - SunRentals Australia [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 01, 2001 11:37 PM
To: php-general
Subject: RE: [PHP] newbie has include path error & new problem


if the windows machine is the "host machine" ie for your internet
http://localhost/ will only be for the windows machine so if you are tring
to get to that address from your linux machine you won't be able to ...
however if your machines ip was say 123.123.123.123(windows machine) then
from your linux machine go http://123.123.123.123/ and you should be able to
see the pages

-Original Message-
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 3:29 PM
To: php-general
Subject: Re: [PHP] newbie has include path error & new problem


i'm guessing your problems are unrelated.

for your network problem, it seems that you didn't really achieve
'networking linux box to windows host' correctly. can you currently ping
localhost? what does your route table look like?

as for the php problem. it's definitely a problem with your path. in your
error message
>> Warning: Failed opening '/etc/httpd/php/prepend.php' for
>> inclusion (include_path=") in unknown in line 0.
php thinks your include_path is ''. that means you have no include path, not
even '.'

mine is something like
.:/var/www/php:/var/www/docs/include:/usr/local/lib/php

this is defined in php.ini

what's really interesting, is that you call prepend.php with an absolute
path. you shouldn't even need the include path.

i'd look in php.ini. where do you actually store prepend.php?

mike

on 7/1/01 11:00 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote:

> Thanks for your help. The server document root is: /etc/httpd/htdocs.
> Perhaps I need to point to this document in root in php.ini file?
>
> Anyway, I cannot try that now as I have finally achieved networking linux
> box to windows host that acts as our internet server. Now when I try to
> connect to: http://localhost I get this error
>
> "425 HTTP ERROR
>
> Unable to connect to remote host"
>
> I tried stopping the network, but that only caused Netscape to choke. Hmm.
> (help?)
>
> Best,
>
> Daniel
>
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 30, 2001 12:36 AM
> To: [EMAIL PROTECTED]
> Cc: php
> Subject: Re: [PHP] newbie has include path error
>
>
> Hi,
>
> If you can "surf" local host for standard HTML pages and other php pages
> (without includes in them) eg:
>
> http://localhost/file.html
>
> Then the problem isn't the server really, it seems to me that the server
> document root for your files should be something like:
>
> /usr/local/apache/ not /etc/httpd/php/prepend.php
>
> Can you ftp into your server?  What's the path to your document root for
> all your html / php files?  I doubt it's /etc/httpd/php/file.html, if it
> isn't this, then the problem is somewhere in your php cnfig to indicate
> where the document root is.
>
> Eh, it's kidna hard to explain...  maybe someone else can explain it
> better :)
>
>
> Justin French
> Creative Director
> Indent.com.au
>
>
>
> Daniel Goldin wrote:
>
>> I had php/apache/mysql working perfectly for awhile on my redaht 7.1 box.
>> Compiled them all from source and was very proud, as I am at best an
> amateur
>> programmer. In other words, I love this stuff, but it doen't come
> naturally.
>>
>> Recently I've been fiddling with networking (to little avail), installed
a
>> new ethernet card and did some other stuff... Anyway, now when I go into
>> http://localhost (apache is running), I get this error:
>>
>> Warning: Failed opening '/etc/httpd/php/prepend.php' for
>> inclusion (include_path=") in unknown in line 0.
>>
>> I've tried putting in this include path in my php.ini file to no effect.
>> Please help. I have several projects I'm working on that require php and
I
>> have no way of working on them on my development box.
>>
>> Any help gratefully appreciated. Also, I apologize for being too chatty.
>
> --
> 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]
>


 -- mike cullerton



--
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 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] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)

Yes, I could load a page from localhost until I set up networking.

No, I cannot load a page from 127.0.0.1. Tried that.

Embarrassed to ask. What is a routing table and how do I find it?

Best,

Daniel

-Original Message-
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 2:37 PM
To: [EMAIL PROTECTED]
Cc: 'PHP List'
Subject: Re: [PHP] newbie has include path error & new problem


so, let me see if i understand the situation. you could load a webpage from
localhost. then you set up networking to access the internet thru a windows
machine acting as a gateway. now you can't load a page from localhost?
correct?

is localhost still your machine? can you load a page from http://127.0.0.1

again, what does your routing table look like?

on 7/2/01 3:29 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote:

> Appreciate your help. Yes I can ping localhost. I do believe I can solve
the
> php problem once I solve the networking problem as I've discovered that
the
> prepend path was set incorrectly.
>
>>
>> for your network problem, it seems that you didn't really achieve
>> 'networking linux box to windows host' correctly. can you currently ping
>> localhost? what does your route table look like?


 -- mike cullerton



-- 
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] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)

I'm on a redhat 7.1 box on a pentium 3 pc. I set up networking via netcfg.
Here are the settings (names have been modified):

Names

Hostname localhost.localdomain


Hosts

IP   Name  Nickname
-
127.0.0.1   localhost.localdomain   localhost
199.33.57.1 windowshost
198.77.110.8internet.com ghc000


 Interface

interface   IP Proto
--
lo   127.0.0.1None
eth0 199.33.57.3  None


  Routing

Default Gateway   199.33.57.7
default gateway deviceeth0


Again, I appreciate your help.

best,

daniel

-Original Message-
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 3:06 PM
To: 'PHP List'
Subject: Re: [PHP] newbie has include path error & new problem


on 7/2/01 3:59 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote:

> Yes, I could load a page from localhost until I set up networking.
>
> No, I cannot load a page from 127.0.0.1. Tried that.
>
> Embarrassed to ask. What is a routing table and how do I find it?

no need to be embarrased for not knowing what a routing table is, most
people wouldn't. a routing table is used by a networked computer to
determine how to reach remote hosts. it tells the machine what interface to
use for a particular host and physical layer address to send to.

what kind of a machine are you on?

what steps (specifically) did you take to 'set up networking'?

 -- mike cullerton



--
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 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] newbie has include path error & new problem

2001-07-04 Thread Daniel Goldin \(E-mail\)

Mike,

I do believe you are right. Here are my apache logs for today, after I
attempted to  connect to localhost:

[Wed Jul  4 09:43:33 2001] [crit] (98)Address already in use: make_sock:
could not bind to port 80
[Wed Jul  4 09:43:37 2001] [crit] (98)Address already in use: make_sock:
could not bind to port 80
[Wed Jul  4 09:44:05 2001] [crit] (98)Address already in use: make_sock:
could not bind to port 80

Thanks again for taking the time to help me chase down this problem.

daniel

-Original Message-
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 9:55 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] newbie has include path error & new problem


hey daniel,

   i think we're chasing a red herring here, and i'm not sure i remember the
original problem... ;)

   so, you can't load http://localhost or http://127.0.0.1

correct?

what do your apache error logs say? i'm beginning to think your networking
is fine.

mike

on 7/3/01 12:17 PM, Daniel Goldin at [EMAIL PROTECTED] wrote:

> Here what I get:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> 199.34.58.0 *   255.255.255.0   U 0  00
eth0
> 127.0.0.0   *   255.0.0.0   U 0  00 lo
> default 199.34.58.7 0.0.0.0 UG0  00
eth0
>
>
> If thids doesn't work I will hit the manuals a secomnd time, although I
> admit my first time browsing through the extensive documentation on
ethernet
> devices and network administration had made me a bit flummoxed.
>
> Anyway, thank you so much for your time. You and others on this list have
> been fantastic dealing what has turned into an off-topic problem.
>
> Best to all,
>
> daniel


 -- mike cullerton



-- 
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] newbie seeks template info

2001-07-25 Thread Daniel Goldin \(E-mail\)

Could somebody point me to a good primer--and I mean PRIMER--that explains
how templates work in php. I'm thinking--not too clearly, I admit--about
apps like Smarty and PhpLib and Pear, which I've heard so much about.

I would like to know how to use templates--particularly to separate
structure from content.

I am a true newbie, picking up a little programming in the course of
learning php. And loving it! Well-commented examples are always very helpful
too--perhaps most helpful of all.

Thanks beforehand for any help.

Best,

Daniel


-- 
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] best php editor

2001-07-26 Thread Daniel Goldin \(E-mail\)

Recently there's been a thread about what editor is best for PHP. I have
discovered a new (for me) fantastic editor for HTML, PHP and other scripting
languages. It is called HTML-kit! I absolutely love it and felt I had to
share that love with you all.

It is free. A little like Homesite, except better in my view. Certainly far
more feature-rich for PHP scripting.

Unless I'm missing some serious drawback, it's the best editor for web work
I've found!! Works on Windows. Wish they had a Linux version.

Best,

Daniel


-- 
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] Example high-profile PHP sites

2001-07-30 Thread Daniel Goldin \(E-mail\)

www.kinderstart.com

Major childrens portal. Php and MySql and some perl.

-Original Message-
From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 10:38 AM
To: Maurice Rickard
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Example high-profile PHP sites


So sprach »Maurice Rickard« am 2001-07-26 um 13:31:36 -0400 :
> a few marquee names wouldn't hurt matters.  But yeah, functionality
> (which is why I'm using it in the first place) should trump
> popularity.

Yep, I also like that sweet dream :)

Alexander Skwar
--
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 3 days 18 hours 20 minutes

--
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 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] project management scripts?

2001-08-05 Thread Daniel Goldin \(E-mail\)


Anybody know of any good project management scripts? Nothing too bloated.
Just a good simple way to organize projects and groups remotely. I've found
phpGroupware to be unwieldy and slow.



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