Re: [PHP] static Logging class?

2013-03-03 Thread Lars Nielsen
Thanks a lot Larry! This PSR-3 looks just the way to do such things! :-) I hope i chat with you at DrupalCon Praha! http://www.linkedin.com/profile/view?id=18644639 Best regards Lars Nielsen > Make a real classed object that you pass to various objects that need > it. Otherwise you mak

[PHP] static Logging class?

2013-03-03 Thread Lars Nielsen
just want to log to a file) Best regards Lars Nielsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Friday - Return of Brain Teasers

2012-10-07 Thread Lars Nielsen
have you includefiles in the $cowbell array and then require the next one! ;-) -- Lars Nielsen LFWeb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Easiest way to create a web service based on a WSDL document

2012-08-31 Thread Lars Nielsen
http://www.php.net/manual/en/soapserver.soapserver.php Best Regards Lars Nielsen www.lfweb.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Performance / AB issue?

2012-05-15 Thread Lars Nielsen
> >> On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg >> wrote: >>> >>> >>> Sent from my iPhone 5 Beta [Confidential use only] >>> >>> On 11 mei 2012, at 07:09, "Lars Nielsen" wrote: >>> >>>> >>

Re: [PHP] Performance / AB issue?

2012-05-15 Thread Lars Nielsen
> On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg > wrote: >> >> >> Sent from my iPhone 5 Beta [Confidential use only] >> >> On 11 mei 2012, at 07:09, "Lars Nielsen" wrote: >> >>> >>>> >>>> On 10 mei 2012, at

Re: [PHP] Performance / AB issue?

2012-05-11 Thread Lars Nielsen
> On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg > wrote: >> >> >> Sent from my iPhone 5 Beta [Confidential use only] >> >> On 11 mei 2012, at 07:09, "Lars Nielsen" wrote: >> >>> >>>> >>>> On 10 mei 2012, at

Re: [PHP] Performance / AB issue?

2012-05-10 Thread Lars Nielsen
> > On 10 mei 2012, at 23:26, Lars Nielsen wrote: > >> >>> >>> >>> Sent from my iPhone 5 Beta [Confidential use only] >>> >>> On 10 mei 2012, at 17:40, Matijn Woudt wrote: >>> >>>> On Thu, May 10, 2012 at 9:04 AM, L

Re: [PHP] Performance / AB issue?

2012-05-10 Thread Lars Nielsen
> > > Sent from my iPhone 5 Beta [Confidential use only] > > On 10 mei 2012, at 17:40, Matijn Woudt wrote: > >> On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen wrote: >>> Hi there, >>> >>> I have apache-2.22/php 5.3.10 set up on a dedicated se

[PHP] Performance / AB issue?

2012-05-10 Thread Lars Nielsen
apache. If I stress-test the site with : ab -c 50 -n 1500 http://sitename/static.html it works fine. I have set apache's errorlog to debug. But it writes nothing, either in the virtualhost or in the server-file. Can anyone give a hint about what can be wrong? Best regards LFWeb Lars Ni

Re: [PHP] Zend Amf and Drupal?

2011-10-30 Thread Lars Nielsen
d PHP/Drupal? Regards Lars Nielsen lør, 29 10 2011 kl. 12:53 +0200, skrev Lars Nielsen: > Hey List, > > I am making a webservice in Drupal with AMF Zend to provide some methods > to a Flash app. I have now managed to use standard Drupal services > (node,user and files) and I have m

[PHP] Zend Amf and Drupal?

2011-10-29 Thread Lars Nielsen
says that it expects zero arguments but I have provided 4 arguments. I have posted some info here : http://drupal.org/node/1323678 Can you give me some guidelines? or pointers on what to do? Kind Regards Lars Nielsen www.lfweb.dk / www.gearworks.dk -- PHP General Mailing List (http://www.php.net

Re: [PHP] starting php by asking basic questions

2011-10-16 Thread Lars Nielsen
søn, 16 10 2011 kl. 11:40 +0200, skrev saeed ahmed: > i want to learn php and i do not know much and my english is also > limited.isthere anyone who can explain me php by most simple > example,like explainig to > a child,something like this:if you put "this" symbol or writing, in your php > script,

Re: [PHP] Generate CMS based on database schema

2011-09-30 Thread Lars Nielsen
If you like Drupal, you should definitely take a look at Drush. Its a shell for Drupal which allows you to install, configure and manage drupal from the commandline. Secondly you could make Drupal installprofiles which is you own custom drupal configuration. Last you can look at Aegir which is a we

Re: [PHP] how to use echo checkboxes in php when i don't have access to $_POST

2011-05-28 Thread Lars Nielsen
lør, 28 05 2011 kl. 13:32 +0430, skrev Negin Nickparsa: > because I echo the checkboxes like this: > > if($num>0) > { > echo ""; > for($i=0;$i<$num;$i++) > { > $row=mysql_fetch_row($result); > echo ""; > echo""; > echo"$row[0]"; > echo""; > }//for > echo""; > }//if > > i can't use $_POST because

Re: [PHP] dynamic copyright in page footer?

2011-04-30 Thread Lars Nielsen
n the copyright notice, adding an > additional year the site's up. I'd appreciate some suggestions i'm > very likely overthinking this. > > Thanks. > Dave. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net

[PHP] database abstraction layer

2010-02-02 Thread Lars Nielsen
that I can use the same SQL, or should i make some exceptions? Regards Lars Nielsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IDE with ftp and subversion?

2009-10-24 Thread Lars Nielsen
lør, 24 10 2009 kl. 12:15 +0200, skrev John Black: > Lars Nielsen wrote: > > Can anyone recommend an IDE with both subversion and ftp integration? > > I have played a little with eclipse but find the integrations a little > > dificult to manage. > > Idealy I want a lo

Re: [PHP] IDE with ftp and subversion?

2009-10-24 Thread Lars Nielsen
Hi, No I have not tryed that yet. Giving it a shot now! :-) Thanks /Lars lør, 24 10 2009 kl. 12:15 +0200, skrev John Black: > Lars Nielsen wrote: > > Can anyone recommend an IDE with both subversion and ftp integration? > > I have played a little with eclipse but find the integr

[PHP] IDE with ftp and subversion?

2009-10-24 Thread Lars Nielsen
. Can anyone give me a hint? Regards Lars Nielsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php exception handling

2009-10-11 Thread Lars Nielsen
and then just write eg "An error occurred" or so on the webpage. Can anyone give me a hint about how to achieve this? Regards Lars Nielsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] modules in php?

2009-09-26 Thread Lars Nielsen
Hi, I am developing a cms and I want to make it able to use modules. Ex a statistics module. Can you give som examples or pointers to where i can start reading without getting lost in the details? regards Lars Nielsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] variable

2009-09-24 Thread Lars Nielsen
Hi Grega I think you might want to have a look at the array's section of the php manual. http://www.php.net/array regards Lars tor, 24 09 2009 kl. 19:10 +0200, skrev Grega Leskovšek: > Suppose I have a variable $i = 0 or 1 or 2 > and I have variables $item0, $item1 and $item2 > how do I print th

Re: [PHP] accessing variable from inside a class

2009-09-04 Thread Lars Nielsen
_get_contents($c->template_dir.$templateFile) : die('Error:Template file '.$template_dir.$templateFile.' not found'); } /Lars fre, 04 09 2009 kl. 14:49 -0700, skrev James Colannino: > Lars Nielsen wrote: > &

[PHP] accessing variable from inside a class

2009-09-04 Thread Lars Nielsen
} I run Fedora 10, apache 2.2.11 and php 5.2.9. I get an error saying that $template_dir is undefined. Regards Lars Nielsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php cms?

2009-08-25 Thread Lars Nielsen
tir, 25 08 2009 kl. 17:05 -0400, skrev Bastien Koert: > On Tue, Aug 25, 2009 at 4:35 PM, Lars Nielsen wrote: > > Hey list, > > > > I am going to use a cms for some sites and I have looked a little at > > Typo3, Joomla and php-fusion. > > Can anyone recommend a sys

[PHP] php cms?

2009-08-25 Thread Lars Nielsen
Hey list, I am going to use a cms for some sites and I have looked a little at Typo3, Joomla and php-fusion. Can anyone recommend a system where it is easy to customize the "templates"? regards Lars Nielsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] share code between sites

2009-06-21 Thread Lars Nielsen
Yeah maybe thats the way to do it. It certantly sounds like a working solution. søn, 21 06 2009 kl. 16:02 -0400, skrev Eddie Drapkin: > The same document root and different Vhosts? > > On Sun, Jun 21, 2009 at 4:01 PM, Lars Nielsen wrote: > > Hey List > > > > Is there

[PHP] share code between sites

2009-06-21 Thread Lars Nielsen
Hey List Is there any good approach to share code between multiple sites? The code might be on the same server but on different domains. best regards Lars -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mirroring website

2009-06-21 Thread Lars Nielsen
Thanks for the cents. I will try a combination of multiple configuration files and rsync! /Lars søn, 21 06 2009 kl. 16:39 +0100, skrev Richard Heyes: > Hi, > > > I have the following issue! I want to develop my website on my local > > machine, and then upload the entire developed site to a produ

[PHP] mirroring website

2009-06-21 Thread Lars Nielsen
newer approach? By the way... I'm using Fedora linux with LAMP (php5) best regards Lars Nielsen www.mit-web.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php