Re: [PHP] Online editor that edits all pages

2001-12-13 Thread Andreas D. Landmark

At 13.12.2001 11:30, George Pitcher wrote:
I'm using EditPlus to edit files on my server, from my laptop, but that
accesses the files via the NT network, which might not be what yopu are
looking for.

And EditPlus is hardly an online editor,

and I *don't* want a cc of a thread I didn't start as I am subscribed to the
list (how would I otherwise been able to reply?)


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] (RW) PHP installation problems

2001-09-26 Thread Andreas D. Landmark

At 27.09.2001 03:34, David Robley wrote:
  gcc -o conftest -g -O2
  -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
  -L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql conftest.c
  -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv
  15 /usr/bin/ld: cannot find -lmysqlclient
  collect2: ld returned 1 exit status

Obviously, it's not finding the mysql client library (libmysqlclient) in
the place its told to look,
usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql.

However, that seems an odd location. Perhaps something about default
locations in DeadRat? In the first instance, if you aren't using
_anything_ else that requires the mysql client library, try recompiling
using just the

--with-mysql

flag, without a path, to use the inbuilt (in PHP) mysql client.

Apart from the double slash it's not an entirely strange location as mysql
has always stored it's header|libs|etc under it's own directory rather than in
/usr/local/lib, the result is that libmysqlclient isn't found by ld because 
it's
not in ld's config file (usually /etc/ld.so.conf)...

But unless you have some reasons for not using the built in support,
(bleeding-edge or whatever pleases you) go with the built in support...


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


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

2001-08-09 Thread Andreas D. Landmark

At 09.08.2001 13:17, B. van Ouwerkerk wrote:

Where in php.ini do you set it so that .html files will also run php?

You don't.

httpd.conf is the place to look. It says something about what Apache has 
to do with .php and .php3 .. so.. add .html

Bye,


AddType application/x-httpd-php .php .html
(this line should be there already, so don't add it, update it!).
(substitute x-httpd-php with x-httpd-php3 for php3)

Further you might want to modify your DirectoryIndex statement
to include index.php (and/or index.php3).

This is more related to php-install than php-general though, keep in mind
for the future...



-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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: [Re: [PHP] user's ip]

2001-08-07 Thread Andreas D. Landmark

At 07.08.2001 13:06, Renze Munnik wrote:
Ahh see, that wasn't clear in the question. Yeah... that's true.
Pain in the ass those proxies. They're also realy useful while
testing your (dynamic) site. NOT!!! Hey, what's this? I thought I'd
realy changed that error. How's this possible?, Didn't I just
change the background-color? Why is it still the same?
BECAUSE THE DAMN PROXY DOESN'T WANT TO SHOW YOU THE NEW VERSION.
No... cache, cache, cache... Damn things always come up with pages
that are (way) to old!

1) proxies should cache dynamic content
2) proxies should not retrieve from cache if the request is a force-refresh
3) proxies should not cache any content which URL includes ?

Sounds like you've got yourself a poor proxy there, I've certainly never
seen any problem with developing through my proxy, apart from those pesky
doubleclick ads seem to disappear wonder why...


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] Traceroute without traceroute command!

2001-08-07 Thread Andreas D. Landmark

At 07.08.2001 21:12, James Crowley wrote:
Hi,
 I would like to perform a traceroute with PHP. However, my ISP
has disabled the traceroute command normally available in
/usr/sbin/traceroute. Is there any other way?

Regards,

- James

The easiest one, byfar, is to grab a binary suitable for the system in question
and shove it in your own homedir owned by you and executable by you.

They might not be too pleased if you're not supposed to run stuff like that,
but if you need it, do it...


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] Re: syntax help~~~

2001-08-06 Thread Andreas D. Landmark

At 06.08.2001 10:31, you wrote:
Hi..
I just wanna laugh really want to laugh  WUWUAHAHAHAHAHA
I have figure out the solution amazingly! here will be the code I am 
 running
LoL

it works without separating the code if you add the ; at the end of the
$temp = $username.watch line...


?

mysql_connect('localhost','coconut','tkming') or die (Unable to connect 
to SQL
Server);
mysql_select_db('helpwatch') or die (Unable to select database);

$temp = $username.watch
?

?
$watchlist_query = mysql_query( Create Table .$temp. ( WId int 
auto_increment
not null, QId int not null, Primary Key (WId) ) )  or die (Error! Cannot
create table ! . mysql_error() );
?

-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] Re: Host OnLine ?

2001-08-06 Thread Andreas D. Landmark

At 07.08.2001 06:17, Arcadius  A. wrote:
What if the host I'm checking is a simple workstation not running neither a
HTTP  nor a FTP server ?
I'm writing this script for an intranet to check which machines are
currently on ...

Thanks 

Arcad


IIRC there was a class that enabled you to send icmp echo's / pings, the name
has completely evaded me, but I guess google (and/or fm) would be happy to 
help ;-)


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


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

2001-08-06 Thread Andreas D. Landmark

At 06.08.2001 23:15, Craig Westerman wrote:
Does anyone here have a script to run uptime every ten minutes or so, log
output, then display daily output in a nice friendly chart?

Seems a bit daft running it every ten minutes, as a server should be up 24/7,
how do you plan to check it otherwise?

But on a more serious note, check out www.uptimes.net

(I used to be ranked in the top 250, but then i had to physically move the 
box *sniff*)

-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


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

2001-08-06 Thread Andreas D. Landmark

At 07.08.2001 03:19, Craig Westerman wrote:
 Does anyone here have a script to run uptime every ten minutes or so, log
 output, then display daily output in a nice friendly chart?

 Seems a bit daft running it every ten minutes, as a server should be up
24/7,
 how do you plan to check it otherwise?


I'm wanting to chart the server load average data displayed when you run
uptime not how many days it has been running.

%uptime
  6:10PM  up 321 days,  6:59, 3 user, load averages: 0.20, 0.16, 0.15
%uptime
  6:19PM  up 321 days,  7:08, 3 user, load averages: 0.15, 0.16, 0.16
%uptime
10:15PM  up 321 days, 11:04, 3 user, load averages: 0.19, 0.24, 0.22

The correct way to do that would be to read it straight from the source,
(eg. /proc/loadav for linux with procfs).

That would be much quicker, and it would also save your server a fork
for each reading (unless you are running php as a cgi ;-)

nice uptime btw...

-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] New lists (was [PHP] Attitude of B van Ouwerkerk)

2001-08-05 Thread Andreas D. Landmark

At 04.08.2001 17:27, Joel Ricker wrote:
  Similarly the FAQ is easy to find, and I do believe the words support
  suggest where help may be found.

Actually my suggestion would be to take a page from way the Python lists are
and call it tutor or PHP-tutor.

I'd second this suggestion, the general list has become flooded with posts that
seems like a pop-quiz taken straight from the manual...

don't get me wrong, I'm not a newbiebasher (well, sometimes ;-), but wading 
through
simple posts is getting a bit tedious...


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] How to ?

2001-08-05 Thread Andreas D. Landmark

At 05.08.2001 12:24, Alawi Albaity wrote:
how can i to make my page as a browser for another
pages

i mean i want as a proxy

how can i do that ?

I remember I did some thing like that a long time ago (to get around those 
nasty
blocks that libraries-schools-colleges-unis-whatever uses), basicly use a 
fopen()
and the URL you'd like to open (in this case get input from a input and 
use that
as the URL).

Things to consider though, are loads of sites use relative paths to images and
subsites, they can become a pain, you'll need to use a replace (of your choice)
or you could use a base href=??? to get around the images, but links would
still be a problem as you'll need the links to point to your script rather 
than straight
to the source...


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] syntax help~~~

2001-08-05 Thread Andreas D. Landmark

At 05.08.2001 12:49, Coconut Ming wrote:
Hi
   I am having the problem in the coding below

?

mysql_connect('localhost','123','123') or die (Unable to connect to SQL
Server);
mysql_select_db('Helpwatch') or die (Unable to select database);

$temp = $username.watch;
$watchlist_query = mysql_query(Create Table $temp(WId int Not Null
auto_increment, QId int not null, Primary Key (WId)););
?

but I can't do that.. Because of the syntax error, the coding I have
underline is where the parser told me that is an error there.
I have playing around with it for 2 hours and more... but I cant solve
it.. Anyway help is greatly appreciated.
Thanks in advance.

Your underlining doesn't show verywell in plain text, but anyhow, your
line $watchlist_query ... is missing to .'s...

Create Table $temp, should be Create Table  . $temp . , that way you'll
concatenate the string in the way you want them to (and the code should work).



-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] How to ?

2001-08-05 Thread Andreas D. Landmark

At 05.08.2001 13:23, you wrote:
Alawi:

Generally speaking, this is a friendly list and people like to help if 
they can.
But it is not clear what you are asking for.
You need to give more detail or ask your question in another way.
Is this a PHP question?

Mick

This is very much a php question, as I understood it...

What he wants to do is to use php to get a webpage and show it to the user,
ie. similar to what a proxyserver does... it's an accepted of circumventing
filtering software.


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] How to ?

2001-08-05 Thread Andreas D. Landmark

At 05.08.2001 15:04, Michael Quinn wrote:
I assume you mean using controls in one browser window to navigate
other open windows? Like a remote control!  DHTML is the answer.

Maybe!

By mentioning proxy, I assumed he was looking for a code-sniplet that grabs
a webpage and sends it to the user, by this way dodgin any filters installed on
the user-end.


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


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

2001-08-05 Thread Andreas D. Landmark

At 02.08.2001 21:12, Daniel Goldin \(E-mail\) wrote:

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.

Freshmeat certainly does...

http://freshmeat.net/search/?site=Freshmeatq=project+managementsection=projects

-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] Need Help Compiling PHP with Apache modules

2001-08-04 Thread Andreas D. Landmark

At 04.08.2001 01:33, Matthew Tyler wrote:
Hey all,

I have a server with Apache running on it, and it currently uses PHP3
(installed with the OS). I am trying to upgrade to PHP4, but from the
php.net documentation it appears that I have to reinstall Apache in order to
have access to the PHP4 apache modules, something I would NOT like to do. Is
there any way around this?

- Matt

If you've compiled apache with support for static modules, there aren't any 
way around
it, if you've got support for dynamic modules (DSO) you should be able to 
compile a
new module and make apache load it.

However I'd suspect that the OS you didn't disclose probably compiled 
staticly as it's
the easiest way of compiling apache+php, since it's php3 that came by 
default you
might want to upgrade to a newer apache version too.


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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 Manual in PDF Format

2001-08-03 Thread Andreas D. Landmark

At 03.08.2001 10:36, Pere Vineta wrote:
Dear friends,

Any one of you know when PHP Manual in PDF Format will be available?

Thanks

Probably when Adobe stops picking on innocent cryptographers pointing out
weaknesses in their software and stops hiding the source for what they forced
through as the defacto standard for document distribution...

;-)


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] web traffic report

2001-08-03 Thread Andreas D. Landmark

At 03.08.2001 04:44, mike cullerton wrote:
another vote for analog.

Dunno what this has got to do with php, but my vote is for
webalyzer... fast and easy to use...


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] Failure Configuring 4.0.6 on SuSE 7.1

2001-07-31 Thread Andreas D . Landmark

On Tue, Jul 31, 2001 at 11:43:44AM -0400, Chris Anderson produced this golden nugget:
 When I try and configure php 4.0.6 I get the following msg:
 
 checking for flex... lex
 checking for yywrap in -ll... no
 checking lex output file root ... ./configure: lex: command not found
 configure: error: cannot find output from lex; giving up
 
 can anyone help?
 
Easy...
You haven't got lex installed, or it's installed in a strange place (ie.
configure can't find it).

What does whereis lex (or locate lex) tell you?

-- 
Andreas D. Landmark / noXtension
Let us live!!!
Let us love!!!
Let us share the deepest secrets of our souls!!!

You first.

-- 
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 4.0.6 + GD 2.0.1

2001-06-24 Thread Andreas D. Landmark

At 24.06.2001 00:12, you wrote:
I'm using PHP 4.0.6 with GD 1.8.4 right now, and all is well. However, 
when I install GD 2.0.1, PHP's make dies, saying there is something wrong 
with gdio.h. I've removed all GD 1.8.4 bits from my box, just in case 
there is a library conflict; and the --with-gd-[DIR] is set correctly 
during PHP's ./configure, but make still goes kablooey.

What about posting the exact details of what went wrong (don't munge them, 
it only makes
it harder to solve your problems).


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


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

2001-06-20 Thread Andreas D. Landmark

At 22.06.2001 08:45, you wrote:
Wow, its
so nice to have the lists back. I missed getting hundreds of mails a
day.
You need to post more on usenet or other spambot-roaming-grounds...
That way they'll always keep your Maildir busy with the lovely Free
XXX messages,
hopefully you'll get atleast 5 of each from the same From: so
they'll leave you with
the option whether or not to send 5 x [EMAIL PROTECTED] (because you're
pissed of at the
admin for not securing his sendmail-by-default).

-- 
Andreas D Landmark / noXtension
Real Time, adj.:
Here and
now, as opposed to fake time, which only occurs there
and then.



Re: [PHP] apache and php ate up all my memory :-[

2001-06-20 Thread Andreas D. Landmark

At 19.06.2001 15:37, you wrote:
Hi all

Probably some Apache/mysql/php-Admin gurus can give me a hint :
i just moved a website to it's own server ( my first one).
now apache had eaten up all physical and virtual memory
some httpd had allocated 45MB of RAM, memory ran out myqsl crashed...

snipped techie details

My best guess is that somewhere in the code for your site you have a loop which
either allocations or fills up memory with variables on each loop...

For some reason this loop didn't exit as you ment it to, and therefore 
proceeded to
eat as much ram as it possibly could chew in the time it should be allowed 
to run.
You didn't say, but my guess is that this is running some Linux flavor, and 
due to the
poor-ish mem-handling under Linux the box bogged down when it realized 
that it
had nada physical and virtual memory left and therefore did get around to 
killing the
apache-process running the runaway script before you got around to doing it...


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.




Re: [PHP] Re: Lists are back up

2001-06-20 Thread Andreas D. Landmark

At 19.06.2001 15:59, A. Skwar wrote:
So sprach Wico de Leeuw am Tue, Jun 19, 2001 at 01:09:49PM +0200:
  I don't know which ancient version you are using but version 5+ can filter
  on cc:

Don't know about Eudora, but filters in webmailers (like gmx.de) cannot
filter on CC, nor can Lotus Notes 4.x filter reliably on CC.  Those are both
products I use regularly.

Since when did webmailers become a suitable and efficient MUA to use on
medium-to-high-volume mailingslists ?
Further why not filter it on the server through use of address-extentions like
most servers (apart from sendmail, but who wants to use sendmail?) support,
that would give excellent conditions even for webmails that can't do anything
apart from dish out your password in plaintext...

Notes can filter, but as you say, not very good, but then again Notes is a poor
emailclient as it can't thread and it doesn't follow any standards and even 
breaks
a few conventions...

Filtering on user-variable data is a poor deal, it's to easy to get mail 
filtered wrong
because of some (l)user putting [PHP] in the topic, or what ever you filter 
on, if
somebody replies to you offlist without changing topic, you don't want the 
reply to
go to the same place as the rest of the list... you get the picture...


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.




Re: [PHP] MySQL - Quicken

2001-06-20 Thread Andreas D. Landmark

At 19.06.2001 19:04, you wrote:
I've got a client who wants to be able to export some stuff from a MySQL
database in a format that Quicken can import to print some checks. Is
this possible? From what i've seen, Quicken takes a proprietary format.
Any info would be appreciated. Thanks,


I pressume quicken can import CSV files so figure out how Quicken wants
it's input and then put the file together on the fly when a user asks for 
it using
mysql_fetch_array() and header() to set the datatype to application/csv (or 
what
is appropriate for quicken.)


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.




Re: [PHP] logout

2001-06-20 Thread Andreas D. Landmark

At 20.06.2001 23:34, you wrote:
Is there anyway I can do the logout that will completely get rid of all 
login detail without having user to close browser?
Jack

I guess you could overwrite it with other logindetails by redirecting the 
user to a webpage
that requests a username/password that is different to the one that is 
cached in the browser.
But apart from that hard workaround, i don't think you can easily flush the 
logincache from
the serverside...


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] SMTP-access with PHP...

2001-06-20 Thread Andreas D. Landmark

At 20.06.2001 14:16, you wrote:
Hello!

Why do I get this error (Relaying denied ) from my SMTP-server and how do I
make it work?

220 mail.server.com ESMTP Sendmail 8.9.3/8.9.3; Wed, 20 Jun 2001 15:09:06
+0200 (CEST)
250 mail.server.com Hello localhost [127.0.0.1], pleased to meet you
250 [EMAIL PROTECTED] Sender ok
550 [EMAIL PROTECTED] Relaying denied
503 Need RCPT (recipient)

snip-code
It's not anything wrong with your code, it's the fact that your mailserver 
doesn't allow
relay from the IP you're connecting with. If you are connecting on loopback 
there's
something serious strange with your mailserver config (but we're talking 
sendmail
here, what d'ya expect?).

Contact your mailserver admin and get him/her to open for relay from the IP 
of your
webserver.


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
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] Re: Lists are back up

2001-06-19 Thread Andreas D. Landmark

At 19.06.2001 04:43, you wrote:
Eudora can't filter on CC lines.
I've dropped one subscription to another group because the members 
insisted on sending emails to each other individually, and CCing the group.

Wrong!

Eudora can filter on CC lines, Header CC: contains lists.php.net
and filter that however you like it.

Perhaps you need to look at upgrading your Eudora or swapping it
if your version doesn't support it... Eud5 certainly supports CC: filtering,
and you could always use anywhere-in-header contains lists.php.net as
that would do the same thing.


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.




Re: [PHP] php bug reporting

2001-06-19 Thread Andreas D. Landmark

At 19.06.2001 05:29, you wrote:
Dear Sir
  i am getting a bug in php where by i can't pass the values of the data
entered by the user into the database
  pls help
  --akhil

Show us your code, as more than 9 out of 10 times the error is in chair-screen
section aka. operator/user and not in the source for php itself.


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.




RE: [PHP] email forms

2001-06-19 Thread Andreas D. Landmark

At 19.06.2001 04:45, you wrote:
Hi tim,

Change this:

mail($toaddress, $subject, $mailcontent, $fromaddress);

mail ($toaddress, $subject, $mailcontent,
   From: Real Name $fromaddress\nReply-to: $fromaddress\n);

  I've spoken to the hosting company, they say they will not provide any
  assistance to PHP script related problems.  They are running on Solaris
  servers with PHP 3.0.16.

1) Get a new hosting service, since they seem uninterested in your
continued business.

Not really, if some of my users contact me and blame me for their scripts
failing, I usually ignore it unless they back it up with error messages or 
similar
to show that the error is in my software/hardware rather than in their php/perl
capabilities...

It's kinda harsh to call them uninterested, most serveradmins have more things
to do than to debug scripts/code that they didn't write... and are not 
going to use...


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.




[PHP] Re: PHP version?

2001-06-19 Thread Andreas D. Landmark

At 15.06.2001 10:29, you wrote:
Hi
Guys,

I wonder if you can help. One of our
servers has migrated to php V 4.05 from V 4.04. Unfortunately part
of the site that accesses a MySQL database no longer functions. I
have checked pretty much everything and it seems OK. Is there any changes
in the version which could be causing these problems?

Thanks very much.
I'd put my money on that who ever compiled 4.04 forgot to include support
for mysql...
sounds more likely than difference in source on a 
tiny-rollback.

-- 
Andreas D Landmark / noXtension
Real Time, adj.:
Here and
now, as opposed to fake time, which only occurs there
and then.



Re: [PHP] WebMail client

2001-06-19 Thread Andreas D. Landmark

At 19.06.2001 14:56, you wrote:
Try squirremail at http://www.squirrelmail.org


Rosen [EMAIL PROTECTED] wrote in message
9gnf7f$dsk$[EMAIL PROTECTED]">news:9gnf7f$dsk$[EMAIL PROTECTED]...
  Hi,
  I want to find some Web Mail script in PHP with possibilities to
  create mail accounts directly on Linux Mail server.
 
  Thanks
  Rosen Marinov
 

Doesn't really do what he wants to, as he wants to _create_ accounts,
sounds like you're looking at a script specific for the server software you
are running...

And that is way-OT for this list, check with the .com or .org of your 
mailserver.




-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.




[PHP] PHP Support (was: Re: SV: [PHP] Re: Lists are back up)

2001-06-19 Thread Andreas D. Landmark

At 19.06.2001 11:20, Mattias Segerdahl wrote:

For all those that's seeking support for php, there are two options,
zend.com sells SOS, you could also join #php on efnet for help..

I doubt #php would attract the big bad corporations using php, I've seen
people give rm -rf / millions of times on IRC, and who would you sue if you
happen to get that advice... no money involved, usually no responsibilities...

Further you have to be reasonably lucky to find somebody with the required
knowledge, time and willigness to solve a problem over IRC, and for a complex
and possible business-critical web-solution you'd probably require the 
developers
to sign a NDA...

Zend and _many_ other companies offer this to those who can pay for it, just
check with your local webhotel and ask them about creating a web-solution for
you and tell more than happily take your money ;-).

(No I haven't given the rm -rf /, but witnessed it and actually seen people 
come
back and say.. 'uh what happened?', 'ls doesn't work anymore...')


-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.




Re: [PHP] Passwords?

2001-05-22 Thread Andreas D. Landmark

At 22.05.2001 23:27, you wrote:
I have some field error checking going on ... and when a user (say) doesn't
fill in a field correctly, my error page comes up telling them.  They then
must click on their browsers back button and make the changes.

Now -- I have a password field, and when they click back, they are forced to
re-enter their password -- this is annoying.

My questions are:

1. Is there a way to make this stop happening?
2. Instead of the user clicking on their browsers back button, can I add a
URL that provides the same functionality -- that will work in IE and
Netscape?


echo a href=\.$HTTP_REFERER.\back/a;

Should work in IE and Netscape, however not all browsers pass a REFERER
so you might be left with a dead link...



-- 
Andreas D Landmark / noXtension
An Englishman never enjoys himself, except for a noble purpose.
 -- A. P. Herbert


-- 
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] alter table name with php and mysql

2001-04-26 Thread Andreas D. Landmark

At 26.04.2001 22:38, you wrote:
Hi,
check you've got a D/B connection, then use this, with the appropriate names
in the variables, or use the explicit table names if you wish.  If an error
spews up, most likely the table name your trying to rename it to already
exists.

Or the table you're trying to rename doesn't exists...


--
Andreas D. Landmark
[EMAIL PROTECTED]
I hesitate to articulate for fear of deviating from the true path of 
rectitude.
Meaning:  I don't know.


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