[PHP] accelerator and Apache 2

2003-01-01 Thread Jochen Kaechelin
Is there a free php accelerator out there which runs under Apache 2?

-- 
Jochen Kaechelin 
[EMAIL PROTECTED]


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




[PHP] php_admin values in httpd.conf

2003-01-05 Thread Jochen Kaechelin

> php_admin_flag engine on
> php_admin_flag log_errors on
> php_admin_value error_reporting 7
> php_flag display_errors on
> php_admin_value doc_root /var/www/ HERE WHAT TO WRITE TO HAVE


Where can I find a list of all these php_admin parameters to use in
Apaches' httpd.conf?
-- 
Jochen Kaechelin

[EMAIL PROTECTED]


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




[PHP] PHP5 - Apache 2.0.44 - perchild mpm

2003-01-23 Thread Jochen Kaechelin
Will this combination work?
It would be great if we could use this combination for testing only 
til the big brothers apache and php work fine with perchild.


-- 
Jochen Kaechelin

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




RE: [PHP] Ideal cookie lift time???

2001-02-27 Thread Jochen Kaechelin

> Hiya as this is my first time using cookies could some one please
> give me an typical life time for a cookie before is destroys its self?

I always delete the cookie when the browsers is closed. set lifetime to ""
to do this.
But in some cases you need cookies to detect users after longer time. you
can use
6 days, 2 month 


-- 
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] PHP on Cobalt

2001-02-28 Thread Jochen Kaechelin

does anybody know which versions
of PHP are installed on a CobaltRAQ3 or CobaltRAQ4
when you buy a new one?

--
Ihr WEBberater
Stuttgarter Str.3, D-73033 Göppingen
Tel. +49(0)7161-929594 - Fax. +49(0)7161-929598
http://www.wa-p.de ** mailto:[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] Way to generate Passwords

2001-03-01 Thread Jochen Kaechelin

i built a script to generate passwords:

function passwort($laenge)
{
$allowed =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890:-+=";
$allowed_length = strlen($allowed);

$i=0;
$pw = "";

while ($i<$laenge) {
$pos = rand(0,$allowed_length);
$pw.= substr($allowed,$pos,1);
$i++;
}
return $pw;
}

My questions is, if this is a good or bad way?


--
Ihr WEBberater
Stuttgarter Str.3, D-73033 Goeppingen
Tel. +49(0)7161-929594 - Fax. +49(0)7161-929598
http://www.wa-p.de ** mailto:[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] dl()-function

2001-03-19 Thread Jochen Kaechelin

How can I dynamically load the PDF-extension only when
needed?


--
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.php-arbeitsgruppe.de, mailto:[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] Logout Problem auf .htaccess-Login

2001-05-01 Thread Jochen Kaechelin

Hello List!

Is it possible to unset $PHP_AUTH_USER and $PHP_AUTH_PW after
a successfull '.htaccess-login'?

I wan't to give all users the possibility to 'logout'.
I will destroy all sessions and unset $PHP_AUTH_USER,
but Apache still knows that there was a successfull login
a few minutes before.

Thanx

-- 
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.php-arbeitsgruppe.de, mailto:[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] PHP 4.0.5 and PDFLib

2001-05-03 Thread Jochen Kaechelin

Are there known probs with PDFLib 4.0 and PHP 4.0.5
on a WAMP-System!

It doesn't work after installing PHP 4.0.5!


-- 
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.php-arbeitsgruppe.de, mailto:[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] protect a pdf-document

2001-05-10 Thread Jochen Kaechelin

How can I protect a pdf-doc
with passwords after creating it
with pdflib?

--
Jochen Kaechelin - Ihr WEBberater
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.wa-p.de, mailto:[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] pdf generation

2001-05-12 Thread Jochen Kaechelin

Hello list!

When you create a pdf-document with Adobe Acrobat
you can protect it with a password!
Is there a way to protect it with php's pdf-funtions, too!

I found nothing in the docs!

-- 
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.php-arbeitsgruppe.de, mailto:[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] Querying mysql.log

2001-05-22 Thread Jochen Kaechelin

Is there a script to analyse the mysql.log files to
do some statistics, or would it be better to
store needed informationen in a MySQL-Database
using sessions?



-- 
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.php-arbeitsgruppe.de, mailto:[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] PEAR vs. ADODB

2002-04-01 Thread Jochen Kaechelin

Am Dienstag, 2. April 2002 00:35 schrieb jon:
> Hey folks...
>
> Does anyone out there have a feel for how widely distributed the
> PEAR libraries are? I want to add DB abstraction to my project,
> but I don't want to use PEAR if it's going to horribly
> inconvenience all the people out there on managed servers.
>
> Has any played around with the ADODB libraries? What do you
> think?


Take a look at

http://php.weblogs.com/ADOdb

It works great!

-- 
Jochen

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




[PHP] Connect local->remote

2001-03-27 Thread Jochen Kaechelin

how can I connect to a remote-database from
my local dos-window?

I use the following without success:

mysql -u XXX -h mysql-XXX -p -D 


Jochen Kaechelin

-- 
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] Checking the REFERER

2001-04-07 Thread Jochen Kaechelin

Waht might be the most secure method to check,
if a certain page was reached by submitting a form
instead of typing the adress directly?

I read, the the $HTTP_REFERER may be changed, e.g. 
when WEBWASHER or other programs are in use!

Pleas help!

Thanx

--
Jochen Kaechelin - Ihr WEBberater
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.wa-p.de, mailto:[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] Dynamic Module Load

2001-04-08 Thread Jochen Kaechelin

My ISP does not support PDF-Support in PHP 4.0.3pl1.
But we urgently need to generate PDF-Files on the fly.

Is it secure to use the dl-command?
Is it possible to override the dl-extension-path
defined in the php.ini?



--
Jochen Kaechelin - Ihr WEBberater
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.wa-p.de, mailto:[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] Where to get php_pdf.so?

2001-04-08 Thread Jochen Kaechelin

Where can I get a php_pdf.so file
for trying the dl-function on our server?

I locally use a Win-System and therfore only
have a php_pdf.dll!

--
Jochen Kaechelin - Ihr WEBberater
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.wa-p.de, mailto:[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] COM-Functions

2001-04-10 Thread Jochen Kaechelin

Hello list!

Does anybody know some sources to read about the
COM-Functions in PHP? We wan't to develop some
tools to generate INCOMES out of a web application?

Only found some lines on phpbuilder, but that's not
really enough to get started!

Thanx

--
Jochen Kaechelin - Ihr WEBberater
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.wa-p.de, mailto:[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] checkdnsrr() in PHP 4.0.5rc1

2001-04-11 Thread Jochen Kaechelin

What about this error:

checkdnsrr() is not supported in this PHP build 

Any answers?

--
Jochen Kaechelin - Ihr WEBberater
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.wa-p.de, mailto:[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] back again!!!

2001-06-18 Thread Jochen Kaechelin

great - something is missing without this mailing list!


-- 
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.php-arbeitsgruppe.de, mailto:[EMAIL PROTECTED]



[PHP] RE: MySQLGUI

2001-06-25 Thread Jochen Kaechelin

> What do we require to use the MySQLGUI with our MYSQL  server.
> 
> We are looking to manage the users and tables over the web 
> from an NT
> machine. Can you  please advise us.
> 
> I think that you may have a very large market out there is 
> it works in the
> way that i have been lead to believe. 

Take a look at:

http://www.anse.de/mysqlfront/




-- 
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] PHP and Windows XP

2001-06-28 Thread Jochen Kaechelin

Will PHP run under Windows XP?



-- 
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: [PHP-DB] Memory Issues with MySQL & 4.0.6

2001-07-12 Thread Jochen Kaechelin

Have you looked at:

PHP 4.0.6 memory limit fix [0Kb] - 1 July 2001
(This patch fixes a bug in the 4.0.6 memory limit option.
This is only needed when configuring PHP with --enable-memory-limit).
If you have problems applying the patch try using GNU patch.

http://www.php.net/downloads.php


-- 
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: Downloading Data from Database

2001-07-12 Thread Jochen Kaechelin



> -Original Message-
> From: David Robley [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 2:48 AM
> To: Randy Johnson; PHP General List
> Subject: Re: [PHP] Re: Downloading Data from Database
> 
> 
> On Sun, 15 Jul 2001 01:15, Randy Johnson wrote:
> > Dave,
> >
> > The code below gives me an error in IE 5.+
> >
> > Here is the error:
> >
> > IE cannot download ..blah blah try again later
> >
> > Do you use this code on your site or do i just need to tweak it
> >
> > -Original Message-
> > header("Content-disposition: filename=maillist.dat");
> > header("Content-type: application/octetstream");
> > header("Pragma: no-cache");
> > header("Expires: 0");
> > //query database
> > //echo results required
> > //end
> 
> 
> We use it, but only internally and our preferred browser is 
> not from M$ 
> :-) I do have an IE5.5 somewhere, so I'll have a look and see what 
> happens with my script using it.
> 

What about this version:

header("Content-Type: application/octet-stream");
header("Content-Disposition: inline; filename=\"".$filename."\"");
readfile($filename);

I have no problems with it at all!



-- 
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] the triple equal sign?

2001-07-16 Thread Jochen Kaechelin

> What is the '===' ?
> 

You can not only compare if the content of two variables
is the same ($a == $b) - you can also compare the type (integer, float...)

$a = 1;
$b = 1;

$a == $b -> TRUE

$a = "1";
$b = 1;

$a === $b -> FALSE  because $a is a STRING and $b is a INTEGER!

-- 
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.php-arbeitsgruppe.de, mailto:[EMAIL PROTECTED]





RE: [PHP] question

2001-07-17 Thread Jochen Kaechelin

> In Asp i have this
>  response.redirect "name_page.asp", it's used to go to another page
> 
> what is the similar function in PhP?

header("Location: http://www.your.domain/foo.php";);

-- 
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.php-arbeitsgruppe.de, mailto:[EMAIL PROTECTED]


[PHP] ADODB Library

2001-08-17 Thread Jochen Kaechelin

Anyone made good experiences
with the ADODB Library for PHP4?

--
WA-P : Jochen Kaechelin
Programmierung - Beratung - Hosting
Stuttgarter Strasse 3, D-73033 Göppingen
Tel. 07161 - 92 95 94, Fax 92 95 98


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

2001-08-20 Thread Jochen Kaechelin

is there a source for further information
connecting to databases with ADODB for PHP4?

I only know http://php.weblogs.com/ADODB


--
WA-P : Jochen Kaechelin
Programmierung - Beratung - Hosting
Stuttgarter Strasse 3, D-73033 Göppingen
Tel. 07161 - 92 95 94, Fax 92 95 98


-- 
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] Netscape & Cookies

2001-09-06 Thread Jochen Kaechelin

Netscape does not accept the following:

SetCookie("bilderanzeige",$bilderanzeige,time()+3600*24*30,"/","",0);

Works fine in IE and Opera!
Could anyone help, please!

Jochen



-- 
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] Netscape & Cookies

2001-09-06 Thread Jochen Kaechelin

>
SetCookie("bilderanzeige",$bilderanzeige,time()+3600*24*30,"/","",0);
> > Works fine in IE and Opera!
> > Could anyone help, please!
>
> What's in $bilderanzeige?


$bilderanzeige = "ja" or
$bilderanzeige = "nein"

Jochen


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

2001-09-12 Thread Jochen Kaechelin

Is this a secure way to check if some
data comes from a form-field of the
previous page, or ist it possible to
fill it without submitting a form?


-- 
Jochen

-- 
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] call a javascript within php

2006-07-30 Thread Jochen Kaechelin
How can I call a JavaScript inside php?

Thängs

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



[PHP] is it possible to manipulate vars here..

2006-08-02 Thread Jochen Kaechelin
.. to build a url like http://devil.server.com/vitims_page.php??


// a,b,c,d are coming from a form
// and are defined in a dropdown of the form
// there are no form fields which can be filled by the user

// a maybe Germany, England 
// b maybe Support, Training 


// register_globals = on


function build_url(a,b,c,d) {

$urlpart[a] = "parta";
// $urlpart["Germany"] = "Stuttgart";

$urlpart[b] = "partb";
$urlpart[c] = "partc";
$urlpart[d] = "partd";

$url = "";

if($a!="") $url.= $url+$urlpart[a];
if($b!="") $url.= $url+$urlpart[b];
if($c!="") $url.= $url+$urlpart[c];
if($d!="") $url.= $url+$urlpart[d];

return $url;
}

$link = build_url($a,$b,$c,$d);

echo $link;


-- 
Jochen Kaechelin

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



[PHP] IMAP und Umlaute

2004-03-09 Thread Jochen Kaechelin
Wie kann ich denn in den Betreffzeilen
möglich Umlaute entfernen?


-- 
Jochen Kächelin

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