[PHP] How to use wsdl files?

2012-08-30 Thread Michelle Konzack
Hello Experts,

I am coding an Online Shop and need to include a VAT validation for  the
Europe Community.  The Form can be found here:

http://ec.europa.eu/taxation_customs/vies/vatRequest.html

However, there is a SOAP API:

http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl

but I do not understand, how I have to use it. I need it very simple and
a response of TRUE or FALSE plus maybe an ERROR CODE  is  enough.  I
would prefer to use a simple URL call and take the reponse to validate a
business customer.

An help welcome.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux
   Internet Service Provider, Cloud Computing
http://www.itsystems.tamay-dogan.net/

itsystems@tdnet Jabber  linux4miche...@jabber.ccc.de
Owner Michelle Konzack

Gewerbe Strasse 3   Tel office: +49-176-86004575
77694 Kehl  Tel mobil:  +49-177-9351947
Germany Tel mobil:  +33-6-61925193  (France)

USt-ID:  DE 278 049 239

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: How to use wsdl files?

2012-08-30 Thread Michelle Konzack
Hello Matijn Woudt,

Am 2012-08-30 16:44:53, hacktest Du folgendes herunter:
 You could start by looking at the PHP SoapClient [1], which takes a
 URI to a WSDL descriptor as argument. You can enter the URL to the
 WSDL file there, like this:
 $client = new 
 SoapClient(http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl;);
 
 Now you need to know which function you want to call, let's say it's
 called SomeFunction, then you can do:
 $client-SomeFunction($paramA, $paramB);
 
 Hope this gets you started.

Ah thanks...  Interesting how it works.

However, I have found wsdl2php and converted the wsdl file  to  a  PHP
class, but I hate classes...  Never used it in 12 years.  :-D

--8
?php

class checkVat{
  var $countryCode; //string
  var $vatNumber;   //string
}

class checkVatResponse{
  var $countryCode; //string
  var $vatNumber;   //string
  var $requestDate; //date
  var $valid;   //boolean
  var $name;//string
  var $address; //string
}

class checkVatApprox{
  var $countryCode; //string
  var $vatNumber;   //string
  var $traderName;  //string
  var $traderCompanyType;   //companyTypeCode
  var $traderStreet;//string
  var $traderPostcode;  //string
  var $traderCity;  //string
  var $requesterCountryCode;//string
  var $requesterVatNumber;  //string
}

class checkVatApproxResponse{
  var $countryCode; //string
  var $vatNumber;   //string
  var $requestDate; //date
  var $valid;   //boolean
  var $traderName;  //string
  var $traderCompanyType;   //companyTypeCode
  var $traderAddress;   //string
  var $traderStreet;//string
  var $traderPostcode;  //string
  var $traderCity;  //string
  var $traderNameMatch; //matchCode
  var $traderCompanyTypeMatch;  //matchCode
  var $traderStreetMatch;   //matchCode
  var $traderPostcodeMatch; //matchCode
  var $traderCityMatch; //matchCode
  var $requestIdentifier;   //string
}

class checkVatService{
  var $soapClient;

  private static $classmap = array('checkVat' = 'checkVat'
  ,'checkVatResponse' = 'checkVatResponse'
  ,'checkVatApprox' = 'checkVatApprox'
  ,'checkVatApproxResponse' = 
'checkVatApproxResponse');

  function 
__construct($url='http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl')
  {
$this-soapClient = new SoapClient($url,array(classmap = self::$classmap,
  trace = true,
  exceptions = true));
  }
 
  function checkVat(checkVat $checkVat)
  {
$checkVatResponse = $this-soapClient-checkVat($checkVat);
return $checkVatResponse;
  }

  function checkVatApprox(checkVatApprox $checkVatApprox)
  {
$checkVatApproxResponse = 
$this-soapClient-checkVatApprox($checkVatApprox);
return $checkVatApproxResponse;
  }
}

?
--8

OK, tried

$VALS = new checkVat;

$VALS-countryCode = 'DE';
$VALS-vatNumber   = '278049239';

$OBJECT = new checkVatService;
$OBJECT-checkVat;

and up the here I have no error.  But How do I get the answer now?

$ANS = $OBJECT-checkVat;
or
$ANS = $OBJECT-checkVat();

do not seem to work

print_r($ANS);

Also

$RET = new checkVatResponse;
print_r($RET);

seems not to work

What I am missing?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux
   Internet Service Provider, Cloud Computing
http://www.itsystems.tamay-dogan.net/

itsystems@tdnet Jabber  linux4miche...@jabber.ccc.de
Owner Michelle Konzack

Gewerbe Strasse 3   Tel office: +49-176-86004575
77694 Kehl  Tel mobil:  +49-177-9351947
Germany Tel mobil:  +33-6-61925193  (France)

USt-ID:  DE 278 049 239

Linux-User #280138 with the Linux Counter, http://counter.li.org/
--8


Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux
   Internet Service Provider, Cloud Computing
http://www.itsystems.tamay-dogan.net/

itsystems@tdnet Jabber  linux4miche...@jabber.ccc.de
Owner Michelle Konzack

Gewerbe Strasse 3   Tel

[PHP] How to send XML requests from PHP?

2012-05-08 Thread Michelle Konzack
Hello *,

I have to implement an interface which must access a Domain-Registration
API.  From the manual I have for example:

8--
Example 2.8. Contact Update:valid(change password)

Change password from multipass to green

REQUEST:

Generic Operation: 
POST(http://backend.example.com/bdom/contact/update/DOJOB0001/1/,xml)

Where xml:

?xml version=1.0 encoding=UTF-8?
request xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  typePERS/type
  sexMALE/sex
  first-nameOtto/first-name
  last-nameNormalverbraucher/last-name 
  organisationAcme Gmbh/organisation
  streetMain Strasse/street
  number13/number
  postcode55/postcode
  cityNewe Stad/city
  countryDE/country
  phone+040.0123456789/phone
  fax+040.0123456789/fax
  emailh...@nictest.de/email
  passwordnew_secret/password
/request


RESPONSE:

response1 updated/response
8--

The problem is (I am sitting on my line) that I do  not  understand  how
to send this XML stuff.

Any hints please?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux
   Internet Service Provider, Cloud Computing
http://www.itsystems.tamay-dogan.net/

itsystems@tdnet Jabber  linux4miche...@jabber.ccc.de
Owner Michelle Konzack

Gewerbe Strasse 3   Tel office: +49-176-86004575
77694 Kehl  Tel mobil:  +49-177-9351947
Germany Tel mobil:  +33-6-61925193  (France)

USt-ID:  DE 278 049 239

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: How to send XML requests from PHP?

2012-05-08 Thread Michelle Konzack
Hello Jim Lucas,

Am 2012-05-08 11:08:13, hacktest Du folgendes herunter:
 Look into cURL http://php.net/curl

I know curl but I do not know, HOW to send the XML stuff.

The XML code is generated using a temp file for logging, which  mean,  I
can see any changes on the system...

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux
   Internet Service Provider, Cloud Computing
http://www.itsystems.tamay-dogan.net/

itsystems@tdnet Jabber  linux4miche...@jabber.ccc.de
Owner Michelle Konzack

Gewerbe Strasse 3   Tel office: +49-176-86004575
77694 Kehl  Tel mobil:  +49-177-9351947
Germany Tel mobil:  +33-6-61925193  (France)

USt-ID:  DE 278 049 239

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] How to detect languages from (= LTR vs RTL)

2012-02-07 Thread Michelle Konzack
Hi colleges and gurus,

I coding a whole web office and one of my problems is LTR vs RTL.
If I have for exanple an E-Mail I use a

div style=direction:$DIRECTION
  $SOME_TEXT
/div

but HOW can I detect the type of $SOME_TEXT  from  within  PHP,  to  set
$DIRECTION? (RTL or LTR) correctly?

And how can I do this with mixed Text (by  line  or  entired  paragraph)
like:

   german   - must be LTR
   persian  --- must be RTL
   english  - must be LTR
   arabic   --- must be RTL
   french   - must be LTR
   jidisch  --- must be RTL

Ayn Iranian (Moxhtar?), Arabs (Jasin?) or Jews (Dotan?) here  which  can
help me please?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux
   Internet Service Provider, Cloud Computing
http://www.itsystems.tamay-dogan.net/

itsystems@tdnet Jabber  linux4miche...@jabber.ccc.de
Owner Michelle Konzack

Gewerbe Strasse 3   Tel office: +49-176-86004575
77694 Kehl  Tel mobil:  +49-177-9351947
Germany Tel mobil:  +33-6-61925193  (France)

USt-ID:  DE 278 049 239

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: File upload in map drive with PHP

2012-01-27 Thread Michelle Konzack
Merhaba Mehmet YAYLA,

Am 2012-01-26 15:10:34, hacktest Du folgendes herunter:
 I'm using code this bellow.

...with an error!

 form enctype=multipart/form-data action=upload_file.php?upload=1 
 method=post input type=hidden name=MAX_FILE_SIZE value=3 /
 Select image: input name=userfile type=file/
 input type=submit value=Upload /

You can not use
action=upload_file.php?upload=1

together with
method=post

and you have to use
form enctype=multipart/form-data action=upload_file.php method=post 
input type=hidden name=MAX_FILE_SIZE value=3 /
  input type=hidden name=upload value=1 /

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux
   Internet Service Provider, Cloud Computing
http://www.itsystems.tamay-dogan.net/

itsystems@tdnet Jabber  linux4miche...@jabber.ccc.de
Owner Michelle Konzack

Gewerbe Strasse 3   Tel office: +49-176-86004575
77694 Kehl  Tel mobil:  +49-177-9351947
Germany Tel mobil:  +33-6-61925193  (France)

USt-ID:  DE 278 049 239

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] API for something like phpsysinfo?

2011-11-22 Thread Michelle Konzack
Hello *,

is there something like an API to phpsysinfo?

I have the need to access more then 4800 Servers from scripts and I like
to do it over https.  The infos on phpsysinfo are already enough,  but
I need the values in a script

Any suggestions?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux
   Internet Service Provider, Cloud Computing
http://www.itsystems.tamay-dogan.net/

itsystems@tdnet Jabber  linux4miche...@jabber.ccc.de
Owner Michelle Konzack

Gewerbe Strasse 3   Tel office: +49-176-86004575
77694 Kehl  Tel mobil:  +49-177-9351947
Germany Tel mobil:  +33-6-61925193  (France)

USt-ID:  DE 278 049 239

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: API for something like phpsysinfo?

2011-11-22 Thread Michelle Konzack
Hello Jim Lucas,

Am 2011-11-22 08:49:49, hacktest Du folgendes herunter:
 Use the XML output option and parse returned data.

Fsck!  --  Forgotten about it!  :-S

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux
   Internet Service Provider, Cloud Computing
http://www.itsystems.tamay-dogan.net/

itsystems@tdnet Jabber  linux4miche...@jabber.ccc.de
Owner Michelle Konzack

Gewerbe Strasse 3   Tel office: +49-176-86004575
77694 Kehl  Tel mobil:  +49-177-9351947
Germany Tel mobil:  +33-6-61925193  (France)

USt-ID:  DE 278 049 239

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: trying this again....

2011-08-14 Thread Michelle Konzack
Hello Tamara,

I had this too and from an Admin (ome years ago) I know if there  is  an
[OT] or OT: in the subject, the list reject the mail.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet Franceitsystems@tdnet
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice) Gewerbe Straße 3
50, rue de Soultz 77694 Kehl/Germany
67100 Strasbourg/France   Tel: +49-177-9351947  mobil
Tel: +33-6-61925193 mobil Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Top Posting

2011-07-06 Thread Michelle Konzack
Hello Jim Giner,

Am 2011-07-05 22:52:39, hacktest Du folgendes herunter:
 Huh?  You have a problem with a person having a spam filter that requires 
 one valid response to ensure that the mail from an address is from a real 
 person ONE TIME ONLY?

The problem is, that
1)  I read the messages on the Linux Console
2)  I get every day such crap

 And what do you use to cut down on spam in your in-box? 

spamassassin + a bunch of procmail rules

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet Franceitsystems@tdnet
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice) Gewerbe Straße 3
50, rue de Soultz 77694 Kehl/Germany
67100 Strasbourg/France   Tel: +49-177-9351947  mobil
Tel: +33-6-61925193 mobil Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Top Posting

2011-07-05 Thread Michelle Konzack
Hello Jim Giner,

Am 2011-07-05 10:48:34, hacktest Du folgendes herunter:
 And besides - I'm sure there are PLENTY of people here who despise scrolling 
 thru endless repeated paragraphs from a long list of posts just to get the 
 the latest contribution to the topic.:)
 
 This newgroup may have its rules, but if bottom-posting was such a wise and 
 preferred method, why do millions of business users subscribe to a product 
 such as Outlook, that top-posts by default, to conduct their daily business 
 via emails flying back and forth with the latest post at the beginning so 
 that readers don't have to re-hash old news unless they want to? 

Imagine here a quoting of 200 lines and then a

ME TOO!

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet Franceitsystems@tdnet
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice) Gewerbe Straße 3
50, rue de Soultz 77694 Kehl/Germany
67100 Strasbourg/France   Tel: +49-177-9351947  mobil
Tel: +33-6-61925193 mobil Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Top Posting

2011-07-05 Thread Michelle Konzack
Hello Richard Quadling,

Am 2011-07-05 17:14:18, hacktest Du folgendes herunter:
 But that is what reply-all is about.
 Person A sends an message to List B.
 I reply-all and Person A and List B get replies.

I do not like to get PMs on my cellphone from the LIST

 Hmm.
 GMail sucks at this. Reply should be first Reply-To-List.

This is, WHY Reply-To-List exist

My Web-Mailer does support it.  SQUIRRELMAIL rocks! :-D

 Having said that, the PHP lists should proxy the sender so a reply
 is to the list and not the original poster.

NO!

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet Franceitsystems@tdnet
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice) Gewerbe Straße 3
50, rue de Soultz 77694 Kehl/Germany
67100 Strasbourg/France   Tel: +49-177-9351947  mobil
Tel: +33-6-61925193 mobil Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Top Posting

2011-07-05 Thread Michelle Konzack
Hello Jim Giner,

Am 2011-07-05 13:30:31, hacktest Du folgendes herunter:
 It's certainly not spam - it's a spam filter offered by my ISP and works 
 great.  The mail you are getting from it is a query asking you to reply if 
 you are real and once you do, you'll never get the request again.

Do you realy believe, that we like to click a dozen links per  day  only
that we are allowed to respond to a querry?

This is idiot thinking, because YOU need the answer!

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet Franceitsystems@tdnet
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice) Gewerbe Straße 3
50, rue de Soultz 77694 Kehl/Germany
67100 Strasbourg/France   Tel: +49-177-9351947  mobil
Tel: +33-6-61925193 mobil Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Top Posting

2011-07-05 Thread Michelle Konzack
Hello James Moe,

Am 2011-07-05 11:12:03, hacktest Du folgendes herunter:
   I suspect one reason top posting is popular is that responders do not
 have to think about tidying up, just spit out a reply and move on. 

Replying to what if s/he does not scroll down to read the answer of  the
previous person?  I do not understand, HOW someone can answer by TP.

It makes no sense...

Oh, I am Electronic Engineer and have to write  many  E-Mails  to  tech-
support of Microchip manufacturers and the  technics  there,  prefer  my
method (striping replied message and answer inside or bottom)

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet Franceitsystems@tdnet
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice) Gewerbe Straße 3
50, rue de Soultz 77694 Kehl/Germany
67100 Strasbourg/France   Tel: +49-177-9351947  mobil
Tel: +33-6-61925193 mobil Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: NOMAIL option for the list?

2011-05-18 Thread Michelle Konzack
Hello Daniel Brown,

Am 2011-05-17 15:07:58, hacktest Du folgendes herunter:
 On Tue, May 17, 2011 at 15:00, Michelle Konzack
 linux4miche...@tamay-dogan.net wrote:
  Ist there a way to set my account to NOMAIL option?
 To stop receiving emails you mean?  As in unsubscribing?

I mean, STOP receiving mail without UNSUBSCRIBING.

Which is a standardd function of newer majordomo and mailman.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947  mobil
  Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading

2011-05-18 Thread Michelle Konzack
Hello HallMarc Websites,

Am 2011-05-17 18:51:18, hacktest Du folgendes herunter:
 My concern is with the admission of belonging to 137 mailing lists!
 Where do you find the time? 

I fly over the subjects and if something is interesting I jump in.

I have gotten sometimes VERY good ideas only by reading messages here.
Same goes for postgesql lists...

However, I am on a bunch of developer lists and I think, arround 2/3  of
the list are only Low-Traffic list with less then 100 messages per month

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947  mobil
  Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] [SPAM] Re: Explode Question

2011-05-18 Thread Michelle Konzack
Hello ad...@buskirkgraphics.com,

since YOU ARE an ADMIN, you should real know abut,
HOW TO WRITE A NEW MESSAGE and not to hijack a SPAM thread...

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet Franceitsystems@tdnet
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947  mobil
  Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading

2011-05-17 Thread Michelle Konzack
Hmmm, this is now the 68th mailinglist (out of
137 where I am subscribed) which he has spamed!

Is this not longer subscriber only?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947  mobil
  Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] NOMAIL option for the list? [WAS: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading

2011-05-17 Thread Michelle Konzack
Hello Daniel Brown,

Am 2011-05-17 13:15:50, hacktest Du folgendes herunter:
 On Tue, May 17, 2011 at 13:11, Michelle Konzack
 linux4miche...@tamay-dogan.net wrote:
  Is this not longer subscriber only?
 Actually, it never has been.  It's subscription to receive, but
 open to the public for one-off postings.

Hmmm, when I tried to post to the List without subscribtion, any  of  my
post where rejected and I had to subscribe...

Unfortunately the messages are all coming into my CellPhone and  I  have
to /dev/null it on my server.

Ist there a way to set my account to NOMAIL option?

This extra traffic annoying and must not be.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947  mobil
  Tel: +49-176-86004575 office

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Looking for Tool to read JSON format

2011-04-02 Thread Michelle Konzack
Hello Me,

Am 2011-04-01 17:34:39, hacktest Du folgendes herunter:
 http://www.php.net/manual/en/book.json.php

Was using Debian/Lenny and have not found any JSON/PHP stuff  but  under
Squeeze the package php-services-json and what I dslike is, that there
is NO documentation with the Package, exspecialy if  I  install  Squeeze
from DVD and have from time to time no Intenet connection  and  wehre  I
live, I can not get ADSL only GSM and if the whether is good, UMTS/HSPA.

So, software without documentation is only worse...

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Looking for Tool to read JSON format

2011-04-02 Thread Michelle Konzack
Hello Robert Stone,

Am 2011-04-02 16:04:22, hacktest Du folgendes herunter:
 Have you looked at http://pecl.php.net/package/json

Yes, it took me over 40 seconds to  load  on  my  GSM  connection,  then
something hanged and timed out after arround 3 minutes...  not funny!

 Might help. Package php-services-json is at version 1.0.2-1 on my
 Debian install.

This what I have now installed and it is annoying, if there is not  even
a text/plain file (which can easyly generated from the HTML page) in the
package which tell someone how to use it.

Open Source Software is very nice, but there  are  MANY  things  which
could be much more better.  I am OSS programmer and my Customers expect,
that ANYTHING is documented because they do not want  to  guess  how  is
something working or like to search the Internet for infos about it.

 Bon soir,
 Robert

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Looking for Tool to read JSON format

2011-04-01 Thread Michelle Konzack
Hello *,

curently I am coding on my new Intranet Interface, but  some  teleguided
servers return only JSON or YAML files.

Can someone tell me, how to import JSON files in PHP 5/6?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Problem with PHP 5.3.3 under Debian/Squeeze

2011-03-20 Thread Michelle Konzack
'] == 'set') {
snip
-

I am something missing here...

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] [Solved] Problem with PHP 5.3.3 under Debian/Squeeze

2011-03-20 Thread Michelle Konzack
Fscking Debian installer has  killed/replaced  all  of  my  configs  and
restructured it.  Now installing  the  backups  from  Lenny  is  working
properly...

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] [Semi-OT] Request for help: Squirrelmail, PHP and RTL-Languages

2011-03-16 Thread Michelle Konzack
Hello,

I am wotking in an environent where it is required to  support  LTR  and
RTL languages at once. My own website support this but with squirrelmail
there is a problem.

Is there an Iranien, Israelian or Arabic Programmer which can  help  out
to get RTL support in the Squirrelmail interface including the New  Mail
form?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


Re: [PHP] [Semi-OT] Request for help: Squirrelmail, PHP and RTL-Languages

2011-03-16 Thread Michelle Konzack
Shalom Dotan,

thanks for your VERY fast answer.

Am 2011-03-16 22:39:43, hacktest Du folgendes herunter:
 What exactly is the problem? I have an associate using SquirrelMail in
 Hebrew, it even has a Hebrew interface. Are you getting directional
 display issues? Gibberish?

The locale on my workstation  is  set  to  de_DE.UTF8  and  the  default
charset in squirrelmail utf-8.

I can set the interface of squirrelmail to hebrew, farsi or  arabic  and
it is working RTL.

But if I have E-Mails from Al-Djasira, Jerusalem Post or Kaleme (I am on
there news lists), all text is aligned LEFT and not right.

Also it is not possibel to write E-Mails (Subject + Body) in RTL.

So what is needed, is to  get  the  Mail-View  corrected  and  then  the
New Mail input form.

And then, I need a solution if text is a mix of RTL and LTR.

Currently I am using the Squirelmail Version 1.4.21 from Debian/Squeeze
but I can update to any higher versions (1.5) since it s my own server

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: [Semi-OT] Request for help: Squirrelmail, PHP and RTL-Languages

2011-03-16 Thread Michelle Konzack
Again...

Here is a screenshoot (squirrelmail 1.4.21 from Debian/Squeeze): 

http://vserver04.tamay-dogan.net/squirrelmail/20110316221617_squirrelmail_prersian_error.jpg

which is set to Persian interface and even Firefox is  set  to  prefered
Language fa_IR and it does not work here (in 1.5.x persia is shown)

Also there are problems in the From: and latin text should  not  aligned
right, exspecialy if the entired mail is in latin characters

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: PHP -- using without installing

2011-02-15 Thread Michelle Konzack
Hello Steve Staples,

Am 2011-02-14 12:32:51, hacktest Du folgendes herunter:
 Is there such a thing?  or will I have to have a pre-req of php and
 php-cgi must be installed on linux disclaimer?

If you are a OVER-GEEK, youc can compile the php  and  php-cli  100%
static, which I have done some years agao with php4 du  to  a  special
requirement

But believe it you executable will be 20 or more MByte because you  need
libc6 and other things to be compiled into!  :-D

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: email list 101

2011-01-16 Thread Michelle Konzack
Hello Kirk Bailey,

Am 2011-01-16 10:09:03, hacktest Du folgendes herunter:
 So, in php, I want a program to handle sending out a mail list. All
 this is going to do is be a filter to exclude non subscribers, and
 send a copy to every person in the subscriber file. This is pretty
 simple in python, but this is not my mother tounge we speak here, so
 let's talk in php instead.
 
 If the submission does not come from a member, the script simply
 aborts. So the script should read the subscriber file, and if the
 source From: does not appear there, DIE. If it is there, walk the
 array and send a copy there, then end.
 
 Now how to do this in php? Is there an off the shelf solution?

Maybe using RTFW http://www.php.net/

This is realy basic and you can use shell() with a  shell/grep  line  or
fopen() and read line by line.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL   itsystems@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Michelle Konzack
Hello Ashley Sheridan,

Am 2011-01-08 17:09:27, hacktest Du folgendes herunter:
 Also, each label is checked to ensure it doesn't run over 63 characters,
 and the whole thing isn't over 253 characters. Lastly, each label is
 checked to ensure it doesn't completely consist of digits.

Do you know, that there are MANY domains with numbers only?

Like 163.com or 126.net which are legal names.

Oh I should mention that I block ANY mails from this two  domains  since
chinese spamers use it excessively.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Michelle Konzack
Hello Per Jessen,

Am 2011-01-09 12:15:04, hacktest Du folgendes herunter:
 Tamara Temple wrote:
  I'm wondering what mods to make for this now that unicode chars are
  allowed in domain names
 You're talking about IDNs ?  The actual domain name is still US-ASCII,
 only when you decode punycode do you get UTF8 characters.

And here is, where the hell starts...

Each country, which offer IDN has its own rules e.g. DE != AT  even both
is german.  I am Domain-Reseller and had to implement  a  checker  which
does validate ALL TLDs offered by my service.

And realy it IS not funny!

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Michelle Konzack
Hello Tedd,

Am 2011-01-10 11:39:16, hacktest Du folgendes herunter:
 IOW, an email address of t...@ˆ.com is perfectly legal (and will
 work), but no email application will allow it.

Hahaha, how many MUA have you checked?

My one does support ist.

mutt:
  Installiert: 1.5.20-5~bpo50+1
  Kandidat: 1.5.20-5~bpo50+1
  Versions-Tabelle:
 *** 1.5.20-5~bpo50+1 0
600 http://www.backports.org lenny-backports/main Packages
100 /var/lib/dpkg/status
 1.5.18-6 0
900 ftp://ftp2.de.debian.org lenny/main Packages

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Michelle Konzack
Hello Per Jessen,

Am 2011-01-11 11:54:53, hacktest Du folgendes herunter:
 Only for characters that are not part of a national alphabet, I believe?
 
 This one works fine:  http://rugbrød.ch/

http://ätsch.de/

works too

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] PHP extension for equivalen of getent?

2011-01-07 Thread Michelle Konzack
Hello and good morning,

I use php-pam for authentication but nowI have the  need  for  something
which give me the ${HOME} directory back.

Does someone know, whether there is a PHP  extension  like  getenv  or
something which give the passwd fields back?

Note:   I am using libpam-pgsql and libnss-pgsql2 which mean,
I can not grep /etc/passwd or use getent.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: PHP extension for equivalen of getent?

2011-01-07 Thread Michelle Konzack
Hello Michael Shadle,

Am 2011-01-07 00:35:38, hacktest Du folgendes herunter:
 http://php.net/posix

Grmpf!  Time to get a new PHP Book...  2002 is rather old!

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: PHP extension for equivalen of getent?

2011-01-07 Thread Michelle Konzack
Hello Tommy Pham,

Am 2011-01-07 17:38:26, hacktest Du folgendes herunter:
 The only book I use for reference is the official online.  You'll never be
 outdated. ;)

:-)  You are right and a TabetPC + GSM-Card will help...

But if you are Off-Line, an Hadcope ofa command/function reference would
be nice.  It would be perfect if there where a PDF  which  describe  the
commands/functions in short

 Regards,
 Tommy

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Re: PHP extension for equivalen of getent?

2011-01-07 Thread Michelle Konzack
Hello Tommy Pham,

Am 2011-01-07 19:31:17, hacktest Du folgendes herunter:
 There's the chm download for the times when you're unplugged :)

I was never able to open ths chm files under Debian

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Re: PHP extension for equivalen of getent?

2011-01-07 Thread Michelle Konzack
Hello David Robley,

Am 2011-01-08 16:25:38, hacktest Du folgendes herunter:
 You might find http://xchm.sourceforge.net/ useful :-)

[ 'apt-cache policy xchm' ]-
xchm:
  Installiert: 2:1.14-4
  Kandidat: 2:1.14-4
  Versions-Tabelle:
 *** 2:1.14-4 0
900 ftp://ftp2.de.debian.org lenny/main Packages
100 /var/lib/dpkg/status


and it crash all the time...  :-(

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] [SOLVED] Re: session_id() is not passed to the next page

2011-01-04 Thread Michelle Konzack
Hello Daniel Molina Wegener,

Am 2011-01-04 07:43:46, hacktest Du folgendes herunter:
   Did you tried working with error_reporting(E_ALL) and looking if you have
 the well known warning headers already sent?. Try to work with 
 error_reporting(E_ALL), instead of hiding errors. If you get that warning
 or error means that the cookie for session id was not written, so you can't
 handle the session id on the next page...

Yes, and it is clean

   Try using session_start() as the very first call or session.auto_start = 1
 in your php.ini (which is not recommended).

I have already found the error.

If my 00_main.inc is read in, I check first some required vars, then for
the existence of  three  config  files  and  then  I  output  errors  if
something is wrong and if all is fine I contine and do session_start().

I have  overseen  that  there  is  an  include  which  was  read  before
session_start() and created the problem...

This is one reason, WHY I rewrite my scripst from the last 10 years.

They where transformed in unreadable spagetti code.

However, now I can use my login script with PAM,  Shadow  Passwords  and
One-Time Passwords which use a 8 letter TAN list.

One-Time Passwords are very handy, if you have to  access  your  website
from unknown computers like in internet cafes or such.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] session_id() is not passed to the next page

2011-01-03 Thread Michelle Konzack
Hello,

I am rewriting currently a login script and I encountered a problem with
sessions.  While reading the two pages

http://php.net/manual/de/function.session-start.php
http://bugs.php.net/bug.php?id=14636

I have not found a solution for my problem:

8--
function fncLogin($user, $pass, $redirect, $type='pam') {

  if ($user != '' and $pass != '') {

$TEXT  = FONT size=\+2\ color=\red\BError/B/FONTbr /\n;
$TEXT .= HR size=\3\ noshade=\noshade\\n;
$TEXT .= The username does not exist or the password is wrong.p /\n;
$TEXT .= p /\n;
$TEXT .= Please go a href=\ . $_SERVER['HTTP_REFERER'] . \back/a 
and try it again.\n;

if ($type == 'pam') {

  if (pam_auth($user, $pass, $PAM_ERR) === FALSE) {
fncError('2', $TEXT, $errpage='false');
exit();
  }

} elseif ($type == 'shadow') {

  $shadow_file = DIR_HOST . /.shadow;
  if (is_file($shadow_file)) {

$SHADOW = exec(grep \^ . $user . :\  . DIR_HOST . /.shadow |cut 
-d: -f2);
if (empty($SHADOW)) {
}

$SALT=exec(grep \^$user:\  . DIR_HOST . /.shadow |cut -d: -f2 |cut 
-d$ -f1-3);
$ENCRYPTED=crypt($pass, $SALT);
if ($SHADOW != $ENCRYPTED) {
  fncError('2', $TEXT, $errpage='false');
  exit();
}

  } else {
$TEXT  = FONT size=\+2\ color=\red\BError/B/FONTbr /\n;
$TEXT .= HR size=\3\ noshade=\noshade\\n;
$TEXT .= This is a system error. I can not authenticate du to a 
missing config.\n;
$TEXT .= p /\n;
$TEXT .= Please inform the a href=\ . SYSAMIN . \sysadmin/a 
and try it later again.\n;
fncError('1', $TEXT, $errpage='false');
exit();
  }
}

session_register('sess_user');
session_register('sess_timeout');
$sess_user= $user;
$sess_timeout = time() + 900;
session_write_close();
header(Location:  . $redirect);
  }
  exit();
}
8--

which call the following page correctly, but the two vars $sess_user and
$sess_timeout are empty.

Can someone please tell me how to do this?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: session_id() is not passed to the next page

2011-01-03 Thread Michelle Konzack
Hello Adam Richardson,

Am 2011-01-04 00:14:30, hacktest Du folgendes herunter:
 session_register() registers global variables, but you're inside a function.
 
 Set the session values using this technique instead:
 
 $_SESSION['sess_timeout'] = time() + 900;

Thanks, I have already tried this and it does not work...

 Adam

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] How to send a GPG signed EMail with a PDF attached?

2010-12-29 Thread Michelle Konzack
Hello,

currently I am searching http://phpclasses.org/  for  a  solution  but
found nothing I need.

OK, I can write a string, mimeencode the PDF and send  it  using  exec()
and 'sendmail -t'.  Also I could use another exec() call to GPG sign the
message.

But is there a more PHP NATIVE solution?

I mean one without a bunch of exec() calls and I am trying to get rid of
this crap in all of my scripts (~1.700.000 lines of code in total).

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] File-Upload per Drag-N-Drop?

2010-12-29 Thread Michelle Konzack
Hello,

my users have an Online-File-Store with nearly anything  they  need  but
one feature is missing:  Drag-D-Drop.

I like to implement Drag-D-Drop so users can Drag a file  from  a  File-
Manager and Drop it on the Upload-Icon in my Webinterface.

Can someone tell me HOW THIS WORKS?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: How to send a GPG signed EMail with a PDF attached?

2010-12-29 Thread Michelle Konzack
Hello Tommy Pham,

Am 2010-12-29 10:38:39, hacktest Du folgendes herunter:
 Phpclasses.org naturally may not have all possible solutions.  Thus, the
 existence of search engines like google.  Try keywords 'php mime encode
 gpg'.

Already done and it returns 56.000 results where  the  first  500  where
notvery useful.

But I found via the gnupgp site gpg_encrypt() and now I changed my setup
to let users upload there public key and  then  they  get  the  invoices
crypted.  Otherwise as normal EMail or alternative as SMail.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: File-Upload per Drag-N-Drop?

2010-12-29 Thread Michelle Konzack
Hello Tommy Pham,

Am 2010-12-29 10:33:30, hacktest Du folgendes herunter:
 This sounds like RIA = Rich Internet Application.  Try google'ing for it.

This was the missing keyword.  Thanks.

Found DHTML and posibility  for  a  flash/gnash app  which  support  the
Drag-N-Drop.  If has only to create a normal fileupload where  the  rest
is handled as usual by PHP. Now have to check, whether gnash support it.

 YMMV depends on platform  technology supported.

Hmmm, if I see http://office.freenet.de/ and it woks on Linux the same
as on MacOS X as on Windows or BeOS.

 Regards,
 Tommy

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Need code like pastebin.org

2010-12-27 Thread Michelle Konzack
Hello Daniel P. Brown,

Am 2010-12-27 12:11:46, hacktest Du folgendes herunter:
 Sure, you can just download the actual PasteBin script from the
 original author.  It's GPL'd, and you can grab it here:
 
 http://links.parasane.net/42ez

Realy cool!  Thankyou!

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Need code like pastebin.org

2010-12-27 Thread Michelle Konzack
Hello Daniel P. Brown,

Am 2010-12-27 12:11:46, hacktest Du folgendes herunter:
 Sure, you can just download the actual PasteBin script from the
 original author.  It's GPL'd, and you can grab it here:
 
 http://links.parasane.net/42ez

OK, installed and it works  ;-)  but it seems, there are many  thing  to
do to get it running like on pastebin.com, like  public/private  and
pgsql support or  e-mail  input  and  links_emailer.php.  Also  my
version must work over two physical servers.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Need code like megaupload.com

2010-12-27 Thread Michelle Konzack
Hi *,

after I got my pastebin runing, I need a second tool for binary uploads.

Any hints?

(Must work easy like the pastebin script)

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: how would I do this?

2010-12-27 Thread Michelle Konzack
Hello David McGlone,

Am 2010-12-27 16:13:50, hacktest Du folgendes herunter:
 foreach ($services as $service){
 
 echo ulliraquo; a href=index.php?page=$service$service/a/li/ul;
 }
 
 Could anyone give me a hand? Obviously I don't understand arrays very well :-/

Maybe:

echo ulliraquo; a href=index.php?page=$service?php str_replace(_,  
, $service); =?/a/li/ul;

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Need code like pastebin.org

2010-12-27 Thread Michelle Konzack
Hello Daniel P. Brown,

Am 2010-12-27 12:11:46, hacktest Du folgendes herunter:
 Sure, you can just download the actual PasteBin script from the
 original author.  It's GPL'd, and you can grab it here:
 
 http://links.parasane.net/42ez

OK, I was a little bit working on it, but a  GPLed  code  which  include
AdWords and GoogleAnalytics is already suspect.

Then the whole code is spagetti...

And I do not know what Paul was smoking, when he has written layout.php.

It I want to adapt the code for my webste I can   recode  anything  from
scratch.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Need code like pastebin.org

2010-12-27 Thread Michelle Konzack
Hello Daniel P. Brown,

Am 2010-12-27 19:57:40, hacktest Du folgendes herunter:
 I didn't evaluate the code, I merely did a single two-second
 Google search, as I presumed you'd already done yourself.

I would say, the code was writen to prevent to be rewritten.

I have gotten some ideas and now I start coding my own stuff,  which  is
more flexibel in design and such.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Need code like pastebin.org

2010-12-25 Thread Michelle Konzack
Hello,

before I reinvent the weehl, I ask here:

In my webinterface My Space I wan t include a section where users  can
upload files and have them proposed like  on  pastebin.org.  Also  for
source codes it would be nice, if users could choose syntax highliting.

Does someone has a source codes to share or know, where I get one?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] [SOLVED] Re: Upgraded system and now $_SERVER['SERVER_NAME'] is not more working

2010-12-20 Thread Michelle Konzack
I do not know HOW, but it wors again...

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Upgraded system and now $_SERVER['SERVER_NAME'] is not more working

2010-12-19 Thread Michelle Konzack
Hello *,

I upgraded one of my servers from Debian/Etch to Lenny and now  the  var
$_SERVER['SERVER_NAME'] is not more working.

Did I have overseen something?

The offending code sniplet is this:

8--
T_setlocale(LC_MESSAGES, $locale);
$domain=$_SERVER['SERVER_NAME'];
T_bind_textdomain_codeset($domain, $encoding);
T_bindtextdomain($domain, LOCALE_DIR);
T_textdomain($domain);
8--

and the error messge is here:
http://vserver01.tamay-dogan.net/

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Joke [WAS: Counting Children!]

2010-09-13 Thread Michelle Konzack
Hello Sridhar Pandurangiah,

how women and children do you have, that you
need a program, which count it for you?  :-D

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: Making multiple RSS feeds for the blog website

2010-08-28 Thread Michelle Konzack
Hello Andre Polykanine,

Am 2010-08-27 12:55:51, hacktest Du folgendes herunter:
 Hello Michelle,
 
 Hm. link rel=alternate... that's a good one, thanks (btw, you say me
 that I should RTFM, but if I knew what to read).
 Now there are two questions:
 1. How do I do those .RSS files with PHP? All of mmy blog entries and
 other stuff are in MySql. There are classes that can echo the
 appropriate data as RSS, but there will be more .PHP files, not
 .RSS/.XML ones. So how do we manage that?
 2. Should I make a separate .RSS file for each type of feeds (blog
 feed, comments feed, timeline feed, news feed)?

The Internet is full of HOWTOs which explain HOW-TO-MAKE-A-RSS-FEED...

However sometimes back I asked HERE IN THIS LIST the same IDIOTQUESTION!

You could have searched THIS LIST...  :-P

OK, since I now know, how to make RSS Feeds here some advice:

1)  you should know, how many days or hoe many items should be stored
in the RSS feed

2)  Create for each article in the BLOG in a directory a file like

8--
item
titlePHP Website/title
linkhttp://www.php.net//link
descriptionGreat programmers Website, where you an find nice peoples on 
the mailinglist, which explain how RSS is working./description
guid isPermaLink=truehttp://blog.pnp.net/items/1258834764.html/guid
pubDateSat, 21 Nov 2009 21:20:12 +0100/pubDate
/item
8--

and save them using the UNIX serialtime like 1258834764.rss
The included isPermaLink should point to the BLOG article

3)  Now you have to create the index.rss.tmp with the HEADER which looks
like

8--
?xml version=1.0 encoding=UTF-8?

rss version=2.0 
xmlns:blogChannel=http://backend.userland.com/blogChannelModule;

channel

titlePHP Superhere PHP RSS Feed/title
linkhttp://www.php.net//link
descriptionPHP RSS Feed Overview/description
languageen/language
copyrightCopyright 2010, Michelle Konzack/copyright
lastBuildDateSun, 29 Aug 2010 04:13:17 +0200/lastBuildDate
docshttp://www.php.net/michelles_php_rss_feed//docs
managingEditorlinux4miche...@tamay-dogan.net/managingEditor
webMasterwebmas...@php.net/webMaster
ttl10/ttl

image
titlePHP Website/title
urlhttp://www.php.net/logo.png/url
linkwww.php.net/link
width120/width
height160/height
descriptionPHP Logo/description
/image
8--


Now pipe how much (and in order ) the messages build under 2) at the
end and of this file...

4)  close the RSS feed index.rss.tmp with

8--
/channel

/rss
8--

5)  now move

mv index.rss.tmp doc_root/index.rss

thats all

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Making multiple RSS feeds for the blog website

2010-08-26 Thread Michelle Konzack
Hello Andre Polykanine,

Am 2010-08-27 02:52:48, hacktest Du folgendes herunter:
 Hi everyone,
 We are developing a blog service website.

Very interesting  ;-)

 Question: how do we do that with PHP?

By reading the Documentation...  :-D

html
head
titleBlubber Blog/title
  link rel=alternate type=application/rss+xml title=RSS href=index.rss 
/
  link rel=alternate type=application/rss+xml title=Foo href=foo.rss /
  link rel=alternate type=application/rss+xml title=Bar href=bar.rss /
/head
body


Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Authentification and session management

2010-05-19 Thread Michelle Konzack
Hello Ashley,

Am 2010-05-18 12:25:59, hacktest Du folgendes herunter:
 I recently heard about a PHP-based authentication system called Sumo. It
 might be what you need to stop re-inventing them darn wheels!
 http://sumoam.sourceforge.net 

This sounds realy good...  I will check ist immediately!

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Authentification and session management

2010-05-18 Thread Michelle Konzack
Hello PHP-Community,

I am PHP programmer since many years and over the years, I have reinvent
the wheel in authenification and session management at least 30 times.

Yeah, whenever a new project started, I had to reinvent the wheel.

So my question now is, is there a proven and secure framework which  can
be used?

My main problem is, that we (anything ISP  related)  authenticate  using
PAM+PostgreSQL while the normal Web-User stuff is authenticated directly
with a Virtual-DB based on PostgreSQL.

Another thing I like to implement in my scripts, that users can at there
implicit choice be permanently connected without using a password.  Also
the script shoud detect, whether a user is connected trough a dynamic IP
or a fixed one and sugegst a security level.

I am already detecting the IP from the login and many customers  (mostly
from http://www.free.fr/) have static IP's.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] function/class to convert IDN (Puny-Code)?

2010-05-12 Thread Michelle Konzack
Hello,

while reading RFC3490 (plus 3454/3491/3492) and before I am  ongoing  to
reinvent the wheel here the question:

Does someone HAVE or know a function/class which
does the IDN conversion toASCII and toUNICODE?

Note:   The C Source-Code is included in RFC3492 and
can more or less easily converted to PHP.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Object or such for building a directory tree?

2010-05-01 Thread Michelle Konzack
Hello *,

before I reinvent the wheel, I ask here, if someone know an object  or
function which build from an array of directories (filesystem or IMAP)
a directory tree which can be opened and close?

I have the need to do this for a local and  remote  filesystem  and  a
courier-imap tree.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Object or such for building a directory tree?

2010-05-01 Thread Michelle Konzack
Hello tedd,

Am 2010-05-01 11:54:45, hacktest Du folgendes herunter:
 Now on to your problem. You want to take a multidimensional array
 that contains the names of directories and names of the files
 contained therein and show them in a file tree where you can open
 and close the nodes of the tree to show contents -- is that correct?

Yes for the File-Browser.  The IMAP  Browser  need  only  the  directory
structure, but...

 It's pretty simple to populate an array in PHP to contain
 directories and files. To do this via PHP can produce something like
 this:
 
 http://php1.net/b/file-browser

But where is the PHP script?  There is no link to download the ZIP.

 I'm not happy with the result because it doesn't show a file tree
 complete with clickable nodes.

Yeah...  This is what I am missing too.

 While I am sure it's possible to do this in PHP, I was thinking that
 javascript might provide a better functional solution (i.e.,
 client-side with less trips to the server). Namely have PHP create
 the array and then have javascript show it.
 
 This is what I found:
 
 http://labs.abeautifulsite.net/projects/js/jquery/fileTree/demo/

But it uses AJAX which I can not use.  I must check it again, because  I
need a custom connector and have only to output this:

ul class=jqueryFileTree style=display: none;
li class=directory collapseda href=# rel=/this/folder/Folder 
Name/a/li
(additional folders here)
li class=file ext_txta href=# 
rel=/this/folder/filename.txtfilename.txt/a/li
(additional files here)
/ul

which I, more or less, have already.
This mean, for IMAP I have simply to s/./_/g

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/


signature.pgp
Description: Digital signature


[PHP] Re: Weird problem with is_file()

2010-04-26 Thread Michelle Konzack
Hello Jan G.B.,

Am 2010-04-26 11:52:02, hacktest Du folgendes herunter:
 I would recommend not to let any user input to your shell. This piece
 of code is very insecure as any client may manipulate the shell
 command at will.

It is ony a simplified example...  The  original  shell_exec()  is  more
comlicate and I have no absolute pathes (they are mostly all dynamic).

 You don't want people to take over your server that easily.

:-)

 See http://www.php.net/escapeshellcmd and alike.

I know

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Weird problem with is_file()

2010-04-26 Thread Michelle Konzack
Hello Peter,

Am 2010-04-26 09:28:28, hacktest Du folgendes herunter:
 var_dump($isfile);
 
 Don't make assumptions of what the value is, just check it.

Yes and grmpf!

The filename has a space at the end but it can not removed even using

var_dump(str_replace(' ', '', $isfile);

if I put a '1' as search parameter all '1' are removed, but  WHY  can  I
not remove a space at the end?

Even if a do a

  mv the_file_not_recognized the_file_not_recognized\space

it is not detected... even if the var_dump() show me something like

  string(29) /tmp/the_file_not_recognized 

Simple to test

exec(touch /tmp/the_file_not_recognized);
$FILE=shell_exec(ls /tmp/the_file_not_* |head -n1);
var_dump($FILE);
echo br;
var_dump(str_replace(' ', '', $FILE);

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Weird problem with is_file()

2010-04-26 Thread Michelle Konzack
Hello Pete,

Am 2010-04-26 17:04:32, hacktest Du folgendes herunter:
 Is it possible that the space is a new-line (or a carriage-return) ?

grmpf!  --  That it was...

preg_replace('/\s+$/','',$FILE);

Works now!

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Re: replying to list (I give up)

2010-04-25 Thread Michelle Konzack
Hello Michiel Sikma,

Am 2010-04-25 12:21:40, hacktest Du folgendes herunter:
 Ah, you're right, I misread. But I believe all of those games except Diablo
 will run under DOS as well. DOSBox can also run up to Windows 3.11.

WfW 3.11 in fullscreen?   Hahaha!   LOL!

I can imagine, my AMD Phenom Quad-Core with 16 GByte of memory and  then
WfW 3.11 in fullscreen in DOSBox.  Would be the fastest WfW 3.11 on  our
shady planet...

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Weird problem with is_file()

2010-04-25 Thread Michelle Konzack
Hi,

I have a code sniplet which does not work and I do not know why:

8--
  $isfile=shell_exec(ls /tmp/tdphp-vserver/SESSION_ . $_SERVER['REMOTE_ADDR'] 
. _ . $_COOKIE['VSERVER_AUTHUSER'] . _* |head -n1);

  if (is_file($isfile)) {
snip
8--

nothing special, and the file  is there, but the stuff with

is_file($isfile)

is not working...  If I enter the file in place of $isfile, then  it  is
working.   Quoting of $isfile does not work too.

What have a overseen?

Oh, if you think, it is an array, no it is not, because otherwise

  if (is_array($isfile)) {

would work.

Thanks, Greetings and nice Day/Evening
Michelle Konzack


signature.pgp
Description: Digital signature


[PHP] Re: Re: replying to list (I give up)[SOLVED TO A DEGREE]

2010-04-22 Thread Michelle Konzack
Hello Karl DeSaulniers,

Am 2010-04-21 15:55:41, hacktest Du folgendes herunter:
 WHY would we want to do that? Much unnecessary work when an admin
 could set a reply-to and all would be solved.
 With all due respect, if I was going to go through all that trouble
 just so I could hit reply instead of reply-all or reply-list or
 reply-group,

And WHY do you want to restrict my freedom to  choose  to  which  I  can
respond?  This is something like censorship!

Oh, there ARE Mail-Cients for Windows  which  understand  reply-all  and
reply-list and reply-group

 They just have to set the headers to point there. Much easier than
 what was suggested.

This is associal!

 It is curious though, why the admin of the PHP lists depend on
 special case scenarios such as reply-list or reply-group.
 To me, thats kind of like saying you can only click buttons on our
 website if you use Internet Explorer.
 Everyone else has to view the source and copy the urls to navigate.

On some of my pages you will be kicked off if you come in with  Infernal
Exploder.  Hahaha!

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: replying to list (I give up)

2010-04-21 Thread Michelle Konzack
Hello David McGlone,

Am 2010-04-21 08:27:18, hacktest Du folgendes herunter:
 I give up. trying to reply to messages on this list is tedious. I can't
 pinpoint whether it's because the list is set up to make replies go to
 the OP or the OP has his reply-to in his mail client set, or most people
 are hitting the reply-to button instead of simply reply.

You are using Evolution and I am wondering,
why you do not use the List-Reply Button!

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: replying to list

2010-04-21 Thread Michelle Konzack
Hello David McGlone,

Am 2010-04-21 05:23:07, hacktest Du folgendes herunter:
 
 Why is the list set up to reply to the OP and not the list?

Because a Reply-To-List Button exist in Evolution!  :-D

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: replying to list (I give up)

2010-04-21 Thread Michelle Konzack
Hello Peter Lind,

Am 2010-04-21 15:47:54, hacktest Du folgendes herunter:
 And waste time every single time you post to the list ... why do
 people become programmers/developers again? To end creating technical
 solutions they can then avoid using by doing extra, pointless manual
 work?

Hmmm, being a Programmer/Developer since 1982 and have ever used  decent
tools to accomplish a task...  including the right  MUA  which  simplify
the Programmers/Developers daily mailing tasks.

 Anyway, if there's no chance of changing the minds of the people
 administering the list, the discussion might as well end now.

Why should Programmers/Developers bother with non-reliable  MUAs  which
do not support Programmers/Developers daily mailing tasks?

If YOU are a Programmer/Developer why do you bother with a  non-suitable
MUA?

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: replying to list (I give up)

2010-04-21 Thread Michelle Konzack
Hello Michiel Sikma,

Am 2010-04-21 16:35:50, hacktest Du folgendes herunter:
 I'd like to refrain from actually passing judgement on this issue--since I
 use reply-all by default I could live with both of these settings--but I'm
 still curious as to why the list is set up the way it is.
 
 What is the advantage of sending to the OP by default rather than the list?

Because DECENT MUA's have three options:

R)  Reply to OP
G)  Reply to Group
L)  Reply to List

If you set Reply-To: to the list, you can not more send PM to the Poster
and you have to edit the message.  This is WHY Reply-To-List exist.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: replying to list (I give up)

2010-04-21 Thread Michelle Konzack
Hello Hans Åhlin,

Am 2010-04-21 16:12:06, hacktest Du folgendes herunter:
 Strange I only got one, but it ma be a mail server filter

For me it is only worse, because if someone respond to a message with ME
in the Cc:, the Cc'ed message arrive first and will be trashed because I
have setup a filter which does

# Prevent duplicated messages
:0Whc
|formail -D 8000 .msg_id_cache
:0a
/dev/null

# Kill unwanted CC messages on my cell-phone
:0
* to_linux4miche...@tamay-dogan.net
* ^List-Id:.*php-.*\.lists\.php\.net
/dev/null

:0
* ^List-Post:.*mailto:php-[-a-zA-Z0-9]+@
* ^List-Post:.*mailto:php-\/[-a-zA-Z0-9]+
.ML_php.${MATCH}/



Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: replying to list (I give up)

2010-04-21 Thread Michelle Konzack
Hello David McGlone,

Am 2010-04-21 09:37:48, hacktest Du folgendes herunter:
 Yes. but if it was so harmful, why does the 40, 50 or so lists that I've
 been on, simply let you hit the reply and it goes back to the list?

Can you tell me which list these are?  I assume that on  most  of  those
lists are handicaped Windows-Users which can not do better du  to  there
cuted down ad restricting software which does not allow Users-Freedom...

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France   itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack  Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz   Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil   Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature


[PHP] Re: Authorize.net test

2010-03-25 Thread Michelle Konzack
Hello David McGlone,

Am 2010-03-25 20:45:19, hacktest Du folgendes herunter:
 Does anyone have any experience with authorize.net?

Yes, I get currently per day arround 16.000 phishing
spams or something like this...

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC#Debian (irc.icq.com)  Tel. DE: +49 177 9351947
ICQ#328449886 Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Re: Will PHP ever grow up and have threading?

2010-03-24 Thread Michelle Konzack
Hello Teus,

You are a NOOB!  ;-)

You have not understood what he want.

Am 2010-03-24 06:55:56, hacktest Du folgendes herunter:
 Well, the multiple answers for a simple request per user as in your
 example, seem to be a lot of information to display all on one page, and
 present all that information to the user in one request. I would
 probably resolve it, IMHO, by using pagers. That is, only part of the
 information is shown to the user at one time, and the user can page
 through that information so as to get to other bits of information. If
 only part is shown, then the database query becomes so much faster
 (hopefully), and PHP still can do all of it in one thread.

He need threading because if you transform SAO Image (the NASA  program)
into a WebApp, you have to multi-query a 28 TByte  Database  and  if  ou
make sequetial queries it take 24 hours to run  and  you  get  a  server
timout.  using multi-threading will give you the result in 1 minutes but
a serverload of 100% with an loadaverage of 50 should for him no problem

Hell, I run a bunch of small Sun Fire X4100M2 with 3 SAS drives of 76 GB
and it can handel a 10 GE Internet  access  plus  a  PostgreSQL  cluster
behind it with more then 25000 requets per second...

I was never thinking off adding threading to PHP.
It realy sounds braindamaged

For such things here are optimized languages.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strabourg/France
IRC#Debian (irc.icq.com)  Tel. DE: +49 177 9351947
ICQ#328449886 Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Re: Will PHP ever grow up and have threading?

2010-03-24 Thread Michelle Konzack
Hello Tommy Pham,

Am 2010-03-23 18:17:56, hacktest Du folgendes herunter:
 Let's go back to my 1st e-commerce example.  The manufacturers list is
 about 3,700.  The categories is about about 2,400.  The products list
 is right now at 500,000 and expected to be around 750,000.  The site
 is only in English.  The store owner wants to expand and be I18n:
 Chinese, French, German, Korean, Spanish.  You see how big and complex
 that database gets?  The store owners want to have this happens when a
 customer clicks on a category:

I have something like this similar but my database  is  arround  2 TByte
and stored on seven Sun Fire X4150  and  I  have  only  two  X4100M2  as
redunant Front-End.

Your 750.000 items look a little bit like a gadget database...

I habe several 10 million rows and 200 columns and this is why I splited
the Database into seven Severs.

Even threading would not work on this database, because the botleneck is
the Disk-IO.

A query about the Irak-War and Backwater would kill a singel server.

 * show all subcategories for that category, if any
 * show all products for that category, if any,
 * show all manufacturers, used as filtering, for that category and 
 subcategories
 * show price range filter for that category
 * show features  specifications filter for that category
 * show 10 top sellers for that category and related subcategories
 * the shopper can then select/deselect any of those filters and
 ability to sort by manufacturers, prices, user rating, popularity
 (purchased quantity)
 * have the ability to switch to another language translation on the fly
 * from the moment the shopper click on a link, the response time (when
 web browser saids Done in the status bar) is 5 seconds or less.
 Preferably 2-3 seconds. Will be using stopwatch for the timer.

Nothing special...

Describtion for the products sould be a seperated server

Q:  Do you real mean, you put 750.000 product describtions into
the database and then create a new colum for ech language?

Your Mini-Shop could be done with redunancy using two Database- and two
Web-Servrs.

 is not even enterprise requirement.  I may have another possible
 project where # products is over 10 million easily.  With similar

More the 10 mio products?  Whats this?

I a in the electronic business, and geting 10 mio products, mean, take
ANY western manufacturers of microchip manufacturers,  passive  parts,
connectors and such into a database?

Put asian manufactures to are arround 30 mio in total.

If you say, you put the  FITS  data  from  the  ESO  into  it,  I  could
understand, but your explanation is a little but to unbelivable.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strabourg/France
IRC#Debian (irc.icq.com)  Tel. DE: +49 177 9351947
ICQ#328449886 Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Re: Will PHP ever grow up and have threading?

2010-03-24 Thread Michelle Konzack
Hello Tommy,

Am 2010-03-23 19:08:36, hacktest Du folgendes herunter:
 The response time, max 5 seconds, will be tested on local gigabit LAN
 to ensure the adequate response (optimized DB  code  proper
 hardware) without worrying about users' connection limit and site's
 upload bandwidth limit (which can easily rectify).  Then thereafter
 will be doing stress test of about 10 concurrent users.  As for the
 major queries, that's where threads come in, IMO, because those
 queries depend on 1 primary parameter (category ID) and 1 secondary
 parameter (language ID).  This particular site starts with 500
 products about 15 categories, without many of those mentioned filters,
 later grew to its current state.

Because not a singel OSS OnlineStore software support  features  I  need
for my business, I am coding  a  whole  Waren Wirtschafts System  with
production checkout and an additional OnlineStore where I sell  products
which I have bought in VERY big quantities to get my Endproducts cheaper
in production.

I start with bneary the same requiements as you, have 18 main categories
and each has 5 to 40 sub categories.

Currently I have arround 1700 different products I need  for  production
but over the tieme I count with 30-50.000 products.

The server I will use is developed by my own using  a  Marvell  Kirkwood
MV78200 with an attached Marvell 8-channel SATA/SAS  Raid-0/1/10/5  con-
troller.  This pig has 2 GByte DDR2 memory and beat anything I have ever
used in this class.  It is an ARM Microcontroller with 1200MHz.

The Reference Design I use currently can handel more then 400 requests
at once...

If such small machine can handel this, I realy think, you  do  not  know
what are you talking about...

My software (Apache2, PHP5 and PostgreSQL 8.3;  Debian GNU/Linux  Lenny)
installed on this Low-Energy (17W) machine  can  be  scaled  by  adding
parallel machines to increase performance...

The machine without harddrives cost me in production  of  1000 pcs  less
then 300 Euro/machine.

I am slightely sure, yo make something wrong...

I will not continue to read ths thread, because it is sick.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strabourg/France
IRC#Debian (irc.icq.com)  Tel. DE: +49 177 9351947
ICQ#328449886 Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Re: Re: Will PHP ever grow up and have threading?

2010-03-24 Thread Michelle Konzack
Hello Tommy,

Am 2010-03-24 19:16:47, hacktest Du folgendes herunter:
 10+ million products is not hard to believe.  Look at Amazon (my
 future possible project is not related to Amazon nor am I endorsing
 it).  They sell consumer goods.  Their product skus are about 30
 million, and that's not all the consumer goods there are either.

They have a datacenter, a bunch of load balancer and does not  run  any-
thing on a singel database server.  They use more then 1000 servers!

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strabourg/France
IRC#Debian (irc.icq.com)  Tel. DE: +49 177 9351947
ICQ#328449886 Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Re: Will PHP ever grow up and have threading?

2010-03-24 Thread Michelle Konzack
Hello Matt,

Am 2010-03-24 21:21:35, hacktest Du folgendes herunter:
 ok, how do I get off this list? 

Realy easy...  :-D

You continue reading this thread and then commit suicid!  If  then  your
maibox overflow, you will automaticaly unsubscribed through the bounces.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strabourg/France
IRC#Debian (irc.icq.com)  Tel. DE: +49 177 9351947
ICQ#328449886 Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Re: Will PHP ever grow up and have threading?

2010-03-24 Thread Michelle Konzack
Hello Robert,

Am 2010-03-24 21:22:21, hacktest Du folgendes herunter:
 Matt Giddings wrote:
 unsubscribe
 *lol*

That hit it, -- right?

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strabourg/France
IRC#Debian (irc.icq.com)  Tel. DE: +49 177 9351947
ICQ#328449886 Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Re: Will PHP ever grow up and have threading?

2010-03-24 Thread Michelle Konzack
Hello Daevid Vincent,

Am 2010-03-24 18:13:49, hacktest Du folgendes herunter:
 P.S. I HATE bottom posting. WTF do I have to scroll all the way down past
 hundreds of useless lines just to read a me too or some other comment. If
 it's at the top, I can simply just keep moving from header to header in
 Outlook (or your email GUI of choice). DELETE as I go. Easy. Simple.
 Efficient.

Hehehe...  It seems there are peoles which dislike you with your idea!


Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strabourg/France
IRC#Debian (irc.icq.com)  Tel. DE: +49 177 9351947
ICQ#328449886 Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Traffic throttling

2009-07-21 Thread Michelle Konzack
Hello,

since I have not the file store in my webspace  for  security  reason,  I
use a php5 script to push it out.  It even support resumeing.

some times ago, there was someone who told me to send out the  files  in
chunks of, e.g. 1 kByte, which let me know to count the REAL  traffic  a
client produce...

OK, now the script works perfectly and I am able to  delay  the  sending
between two chunks, but what I need is a milisecond timer, because 1s is
definitively to long.

Is there something in php5 I can use?

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   c/o Vertriebsp. KabelBW
http://www.flexray4linux.org/   Blumenstrasse 2
Jabber linux4miche...@jabber.ccc.de   77694 Kehl/Germany
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Re: Traffic throttling

2009-07-21 Thread Michelle Konzack
Hello Stuart,

Am 2009-07-21 16:39:30, schrieb Stuart:
 http://php.net/usleep

Thank you, that it was.

Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   c/o Vertriebsp. KabelBW
http://www.flexray4linux.org/   Blumenstrasse 2
Jabber linux4miche...@jabber.ccc.de   77694 Kehl/Germany
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


Re: [PHP] Add php.net to my browser search box

2009-07-17 Thread Michelle Konzack
Hello Jim,

Am 2009-07-16 09:40:53, schrieb Jim Lucas:
 I use FF 2  3 and I created a bookmark that simply had a keyword
 assigned to it.
 
 Bookmark properties are as follows:
 
 Name: PHP.net
 Location: http://www.php.net/%s
 Keyword:  php
 Description:  Type php search term in the address bar
   to perform a PHP.net search
 
 Not sure if you can do this with other browsers, but I have found it to
 be very useful.

You are great...  It works even with:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20070113 
Debian/1.7.8-1sarge10

on my nifty IBM ThinkPad 570.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   c/o Shared Office KabelBW  ICQ #328449886
+49/177/9351947Blumenstasse 2 MSN LinuxMichi
+33/6/61925193 77694 Kehl/Germany IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: [PHP] Linking to images above the webspace

2009-07-17 Thread Michelle Konzack
Am 2009-07-17 14:23:30, schrieb Nitsan Bin-Nun:
 You can create a PHP script which will serve files based on their location
 which will be transfered through a GET parameter.
 Just send the correct response headers which will be corresponded to the
 file's mime type, size, etc.
 
 Then use something like:
 img src='a.php?image_full_path=/home/root/etc/fdsa.jpg' /
 
 Good luck!

Good luck! is good...  He should be careful with such stuff... because
someone can do something like:

wget http://${SERVER}/a.php?image_full_path=/etc/passwd


Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   c/o Shared Office KabelBW  ICQ #328449886
+49/177/9351947Blumenstasse 2 MSN LinuxMichi
+33/6/61925193 77694 Kehl/Germany IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: [PHP] Add php.net to my browser search box

2009-07-16 Thread Michelle Konzack
Good evening Daniel,

thank you for the link...  I was searching such tool...

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


Am 2009-07-16 12:09:07, schrieb Daniel Brown:
 I had written one about two and a half years ago.  It's the
 dumbest, simplest thing, and yet it's now been downloaded over 30,000
 times.  Nuts.
 
 If you want to use it, or just use the model as a frame to build
 your own, check it out:
 
 http://isawit.com/php_search.php
 
 END OF REPLIED MESSAGE 




-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   c/o Shared Office KabelBW  ICQ #328449886
+49/177/9351947Blumenstasse 2 MSN LinuxMichi
+33/6/61925193 77694 Kehl/Germany IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


[PHP] Weird domain seting in setcookie()

2009-07-14 Thread Michelle Konzack
Hello,

on two websites I have encountered that cookies are not working properly
and are accesibel from other subdomains which I do not  want.  The  line
is:

setcookie('AdminOnCrack', $drug, $timeout, '/', $_SERVER['HTTP_HOST']);

but the domain is always prefixed with a ..

OK, now I have tested it using:

setcookie('AdminOnCrack', $drug, $timeout, '/', 'myspace.tdwave.net');

but with the same problem. I do not want that the cookies are  available
in *.myspace.tdwave.net.

Any suggestions?

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   c/o Shared Office KabelBW  ICQ #328449886
+49/177/9351947Blumenstasse 2 MSN LinuxMichi
+33/6/61925193 77694 Kehl/Germany IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: [PHP] Weird domain seting in setcookie()

2009-07-14 Thread Michelle Konzack
Hi Bob,

Am 2009-07-14 11:46:16, schrieb Bob McConnell:
 In Firefox 3.0 under Tools-Options-Privacy, uncheck Accept
 third-party cookies.

What has this to do with the Webbrowser?

In the PHP manual it is written:

[ url 'http://de.php.net/manual/en/function.setcookie.php' ]
snip
domain

The domain that the cookie is available. To make the cookie available on
all subdomains of example.com then you'd set it to '.example.com'. The .
is not required but makes it compatible with more browsers. Setting it
to www.example.com will make the cookie only available in the www
subdomain. Refer to tail matching in the » spec for details.
snip


This mean, if I wan to have the COOKIE available in the subdomains

foo.myspace.tdwave.net
bar.myspace.tdwave.net
baz.myspace.tdwave.net

I have to use the domain .myspace.tdwave.net with a preceding DOT. But
this is not what I want because I want to have the COOKIE only available
in

myspace.tdwave.net

so, I have set the the domain  explicit  to  myspace.tdwave.net  which
should register the cookie as it is according to the PHP manual or not?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   c/o Shared Office KabelBW  ICQ #328449886
+49/177/9351947Blumenstasse 2 MSN LinuxMichi
+33/6/61925193 77694 Kehl/Germany IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: [PHP] This Friday's OT Thread

2009-06-26 Thread Michelle Konzack
...and no one care about the foreign (european) sniper WHO  killed  Neda
in Iran.

Note:   I can not reach my Company Website in Tehran nor can I reach  my
Office over fixed telephone lines. I can not even contact one of
my 57 employees  privately.  No  one  has  tried  to  access  my
courier-imap or my webmail server in Germany...

F..king world...  and now Jackson?  WHO IS HE?



Am 2009-06-26 08:41:21, schrieb Tom Worster:
 and Kaleem Omar.
 
 and 15 people in Baghdad when motorcycle loaded with nails and ball-bearings
 exploded in a crowded bazaar.
 
 
 
 On 6/26/09 4:27 AM, Robert Cummings rob...@interjinn.com wrote:
 
  Farah Fawcett has also died. I guess you gotta go sometime :|
  
  Björn Bartels wrote:
  Hello fellow coders...
  
  THE 'KING OF POP' IS DEAD !
  
  Tonight (here in Germany), Mr. Michael Joseph Jackson, also known as
  'the king of pop',
  died on heart failure in the age of 50.
  
  I just want to express my condolences to his family and friends and
  all the people
  who loved him and his music.
  This incomparable legendary musician has made such a big impact on
  music and musicians
  than any other artist in history.
  
  Rest in peace, Mr. Jackson! And may you and your music never be
  forgotten...
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 END OF REPLIED MESSAGE 

*   Do not Cc: me, because I READ THIS LIST, if I write here   *
*Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe*


Hello,


Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


[PHP] PHP5 based Web-Chat?

2009-05-21 Thread Michelle Konzack
Hello,

I like to install a forum for my customers and additional a  PHP5  based
Web-Chat system with publich and private chatrooms.

What can you recommend?

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Re: PHP5 based Web-Chat?

2009-05-21 Thread Michelle Konzack
Hello Nathan,

Am 2009-05-21 13:44:38, schrieb Nathan Rixham:
 Nothing :D

grmpf

 - anything php based would involve polling which will kill  
 any server when trying to create a realtime chat environment
 (1 request per second per chatter + 1 for each message send + normal  
 hits) - so say 30 chatters and you have at a minimum 30 requests per  
 second with all the weight and db hits they involve.

if you check http://chat.tchatche.com/ then you will see, they  refesh
only all 5-8 seconds.  Currently I have encountered a maximum  of  ~4800
users connected at once. I am already trying a small thing with 5 frames
imitating the above website and already used it with 10 clients at  once
which work on a Quad-Xeon (P3/550MHz/768MByte) on  a  2.5 MBit  Internet
connection.

 in all honesty I'd recommend using openfire together with sparkweb or a  
 custom client - that combo is premade, feature packed, opensource and  
 can easily handle circa 50k users in realtime per server (connections  
 and things aside). Additionally its a proper jabber server so you can  
 have desktop clients, mods and of course full featured IM with custom  
 addresses, openid and integrated in with yahoo, gtalk, msn, aol,  
 *whatever* accounts as well.

I have a Jabber Server (Package jabber; Debian Distribution) installed
but no one want to use it...  Pidgin is working perfectly with it and is
available on ALL Operating Systems.

However, I need a Webinterface where People can connect to others een if
they have NO Laptop/Smartphone  with them.

Is there a USER Web-Interface to Jabber?

 going down the php route is a complete waste of time imho (unless you  
 are creating a custom php socket server which bypasses apache,  
 implementing XMPP and connecting in the users client via flash, flex or  
 a java client)

I was thinking on a Flash/Java solution too, but I do  not  know  HOW TO
create this Flash-Stuff and do not even code Java.

 yours, not of a very strong opinion, nathan

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] New installation and can not more include files

2009-04-12 Thread Michelle Konzack
Hello,

to test a new setup I have setup DynDNS.org and it works, but...

http://vserver1.tamay-dogan.homelinuxnet/

the copied config of my working website is failing here to include ANY
files...  I do not find the difference between the configs.

Please can you tell me where I must looking for?

Note:  My orig website was under Gentoo and now I am under Debian Lenny.
 
Thanks, Greetings and nice Day/Evening
Michelle Konzack



-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: [PHP] New installation and can not more include files

2009-04-12 Thread Michelle Konzack
Am 2009-04-12 20:05:31, schrieb Michelle Konzack:
 http://vserver1.tamay-dogan.homelinuxnet/

Oops... I mean http://vserver1.tamay-dogan.homelinux.net/

Thanks, Greetings and nice Day/Evening
Michelle Konzack



-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


[PHP] Re: Weird problem with T_gettext()

2009-04-04 Thread Michelle Konzack
Am 2009-04-04 10:13:52, schrieb Per Jessen:
 Michelle Konzack wrote:
 
  Now selecting de as prefered language is  working,  but  if  I 
  select de_DE in  Firefox,  the  second  term  About Us  is 
  something like Über Uns insteed Über Uns because the Website is
  UTF-8. 
 
 Indeed.  I'll venture a guess and say it's because your dictionary file
 is bad or not actually UTF8.

Weird, since my whole system is UTF-8 and if I try to einter  iso-8859-1
charachters it complys that there is a error. Even xgettext tell me this

I have checkd it already with iconv

It seems the problem is if my msgid have strings like uuml; which are
not correctly converted to UTF-8 if I use de_DE since in  de  it  is
working.

Unfortunately the upstream of php-gettext is not responding to my mail

  This is realy weird, since the MO file  is  the  same  for  both 
  locale versions.
 
 Ah. Very weird, yes.  Are you doing a setlocale() anywhere? 

The only setlocale() I have found in the whole system is in

/usr/share/php/php-gettext/gettext.inc

which a part of the php-gettext package.

 Fallback to what?  I only have 'de' in my browser language preferences,
 and your site came up fine in German.

If someone have in the browser only de-de and I have NO locale de_DE
but de, php-gettext does not fallback to de.

Normaly under Linux you can have 

/usr/share/locale/de_DE.UTF-8
/usr/share/locale/de...@euro

/usr/share/locale/de_DE
/usr/share/locale/de

So if your system is de_DE.UTF-8 and there is no UTF-8 locale, gettext
try de_DE and if that fais it try de.  Unfortunately this  does  not
work with php-gettext.  For me it is a bug.

Thanks, Greetings and nice Day/Evening
Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Weird problem with T_gettext()

2009-04-03 Thread Michelle Konzack
Hello,

I need some help from german  coders  since  I  have  a  weird  encoding
problem.  Currently I am coding the new website http://www.tdwave.net/
and if I do not select any languages in my Webbrowser, it show correctly
english in the Siteindex (topmost block).

Now selecting de as prefered language is  working,  but  if  I  select
de_DE in  Firefox,  the  second  term  About Us  is  something  like
Über Uns insteed Über Uns because the Website is UTF-8.

This is realy weird, since the MO file  is  the  same  for  both  locale
versions.

Any hints or ideas?

Also it is weird, that php-gettext does not do a fallback, if  I  have
only de and not de_DE.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] [SOLVED] How do you use php-gettext?

2009-03-22 Thread Michelle Konzack
Now it works...  I do not know why but it works.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] Re: [SOLVED] How do you use php-gettext?

2009-03-22 Thread Michelle Konzack
There are two example coming with php-gettext package.

However, it is realy easy since you have to use only:

print T_gettext(Hello World);
or
print sprintf(T_ngettext(%i Developer, 
 %i Developers, ${COUNT}), $COUNT);

Run the command

xgettext -k T_gettext -k T_ -L PHP -o script.pot script.php

and then you have the Translation Template.

Copy it to your desired language like

cp script.pot script.po

and translate the msgstr.  Not call the command

msgfmt -o script.mo script.po

and copy the file script.mo to your desired locale directory with e.g.

cp script.mo /var/www/locale/de/LC_messages/

and then setup your script.php to use

[ 'script.php' ]
?php

define(PROJECT_DIR, realpath('/var/www'));
define(LOCALE_DIR, PROJECT_DIR .'/locale');
define(DEFAULT_LOCALE, 'en_US');

require_once('/usr/share/php/php-gettext/gettext.inc');

$supported_locales = array('de_DE', 'de', 'en_US', 'en');
$encoding = 'UTF-8';

$locale = (isset($_GET['lang']))? $_GET['lang'] : DEFAULT_LOCALE;

T_setlocale(LC_MESSAGES, $locale);

$domain = 'script';

bindtextdomain($domain, LOCALE_DIR);
bind_textdomain_codeset($domain, $encoding);
textdomain($domain);

print T_gettext(The rest of your script);

?
8--

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] How do you use php-gettext?

2009-03-20 Thread Michelle Konzack
Hello,

I am trying to i18n a website using php-gettext with strings like

   T_gettext(Hello World)

the problem is, they are inside the PHP scripts and  xgettext  does  not
find them to write the POT files.

How do you use php-gettext and get the POT files to translate it?

Note:  Writing all strings in on file which then will be include
   is no option, since they are to many strings...

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


[PHP] GeoIP?

2009-03-15 Thread Michelle Konzack
Hello,

I am in creation of a WaveLAN service in Germany  and  my  HTML-Form  is
DoS'ed be idiots outside of Germany.  Can someone tell me how to prevent
peoples, filling out the form without being in Germany?

Note: I do not want to load the whole GeoIP Database in my scripts.

Or is there a Free Online-Service which can do this?

If not, it would be a nice project to start and could work like the RBL.


Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


  1   2   3   4   >