Re: [PHP] Re: error-catching

2002-05-09 Thread Gert Mellak

J Smith <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
>
> You can write your own error handlers using set_error_handler(). Then,
> depending on the error code, you can decide whether you should display the
> error message, email it to you, log it, whatever.
>
> http://www.php.net/manual/en/function.set-error-handler.php

thank you very much! this seems to be what I was looking for!

>
> If you just want to hide the error message, there's nothing wrong with
using
> @.

ok, it's a new point of view... I've always thought that this is bad
programming style!

Thank you for your hints!

Gert.




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




[PHP] Re: include text from a html-file online

2002-05-09 Thread Gert Mellak


Andreas Indahl <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
> I want to include text from a html-file that is online at another website.
> To be more precise: I want to include my seti-stats from
> http://setiathome.ssl.berkeley.edu/ on my own homepage. Can I do this with
> PHP?

certainly... just use the fopen-function and use the URL as the filename.
You handle it
the same way as a normal text-file.

Here's the link to the php-function:

http://www.php.net/manual/en/function.fopen.php

Greetings,

Gert.


I'm still confused - but on a much higher level...





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




[PHP] php-counter

2001-08-22 Thread Gert Mellak

hi!

do you know an easy-to-use-php-counter, which uses mysql to store the data?

gert



-- 
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 mysql admin?

2001-08-27 Thread Gert Mellak

yes, phpMyAdmin is the very best!

greetings,

gert mellak
==
eMail: [EMAIL PROTECTED]
http://www.mellak.com


Andrey Hristov <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
017a01c12f0c$3f013000$[EMAIL PROTECTED]
> Try phpMyAdmin
>
> http://phpwizard.net/
>
> Andrey Hristov
> IcyGEN Corporation
> http://www.icygen.com
> 99%
>
> - Original Message -
> From: "Joseph Bannon" <[EMAIL PROTECTED]>
> To: "PHP (E-mail)" <[EMAIL PROTECTED]>
> Sent: Monday, August 27, 2001 6:06 PM
> Subject: [PHP] PHP mysql admin?
>
>
> > Are there any free PHP mysql database admin programs out there?
> >
> > Thanks,
> > Joseph
> >
> >
> > --
> > 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] Re: authentication

2001-08-27 Thread Gert Mellak

hi!

I ever solve this problem with sessions... when a user does the login, I
have

session_start();
session_register("allowed");
$allowed = true;

and on the top of all the other sites, where just "special" users are
allowed to go in, there is a

include ("checkAllowed.php");

checkAllowed.php just contains:
if (!$allowed)
  die ("Access denied");

I hope I could help you... if so - or if you have got questions, please feel
free to email me!

yours,

gert mellak
==
eMail: [EMAIL PROTECTED]
http://www.mellak.com




Wilbert Enserink <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
006601c12ef5$aff7c380$[EMAIL PROTECTED]
Hi all,


Can anybody help me with this authentication problem?

Clients can log in using a html form on my site. When they log in their
username and password are checked in a mysql database. Then they are
forwarded to a url, a directory on my site also coming from the db. This
directory should not be public of couse, so I did a chmod 744 on the clients
directory.

Anybody has any ideas? I prefer not to use the standard window popup thing
for authentication.
I checked the php manual, but there is not much info on plain html forms on
the subject, or maybe it is my English...:-)



Regards, Wilbert

-
Pas de Deux
Van Mierisstraat 25
2526 NM Den Haag
tel 070 4450855
fax 070 4450852
http://www.pdd.nl
[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] gd-library

2001-09-07 Thread Gert Mellak

hi!

How can I find out if gd-library is installed on my server and if not, how
can I install it

please email me if you want to help me.

TIA,

gert.
email: [EMAIL PROTECTED]
http://www.mellak.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] emails with attachements

2001-09-21 Thread Gert Mellak

hi!

i want to send emails with attachements... can I modify the mail()-function
or how can I perform this?
please email me - thank you!

gert.
[EMAIL PROTECTED]
http://www.mellak.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]