[PHP] Re: SMTP

2007-10-25 Thread Jens Kleikamp
Diana schrieb: I dont know what I did but now I get this message Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" Do you have a smtp server running on localhost? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: MySQL and SVN

2007-10-25 Thread Jens Kleikamp
Emil Edeholt schrieb: Hi all! Maybe slightly off topic, but I would like to know how you guys handle mysql structures between different computers (and for that matter from the developer desktop to the stable server). I work on my home and my office computer with the same php projects. I kee

[PHP] Re: php-tidy

2007-09-01 Thread Jens Kleikamp
OOzy Pal schrieb: > I have php4 running on Ubuntu Feisty. I can see php5-tidy in the > Synaptic (Package Manager) but can not see php4-tidy or php-tidy. How > can I install php4-tidy for php4? > On linux: - download the source - untar and go to directory - /path/to/phpize - ./configure ( maybe

[PHP] Re: PHP Frameworks - Opinion

2006-08-03 Thread Jens Kleikamp
Matt Todd wrote: In my experience with the other frameworks (primarily Wasp, CakePHP, Symfony, eZ Components, and Zend Framework), I've found that I was not satisfied with the quantity of low-quality code they advocate. I have a high standard for code quality, readability, maintainability, and (m

[PHP] Re: Templates, PHP Frameworks, and DB Abstraction?

2006-07-03 Thread Jens Kleikamp
Robert Cummings wrote: On Mon, 2006-07-03 at 08:37, Jens Kleikamp wrote: Jay Paulson wrote: I'd like to get some feedback on what the list thinks is a good template engine other than smarty. I like ezTemplate. (E_STRICT) YOU DO?? I hope it's changed then from the one used on a si

[PHP] Re: Templates, PHP Frameworks, and DB Abstraction?

2006-07-03 Thread Jens Kleikamp
Jay Paulson wrote: I'd like to get some feedback on what the list thinks is a good template engine other than smarty. I like ezTemplate. (E_STRICT) I'd also like to do some quick prototyping using a PHP framework does anyone have any recommendations for one that is easy to pick up and run wi

[PHP] Re: Forms Validation library

2006-04-25 Thread Jens Kleikamp
Murtaza Chang wrote: Hi I just wanted to know if there's a generalised library available for Forms validation in php? -- Murtaza Chang http://pear.php.net/package/HTML_QuickForm http://ez.no/doc/components/view/latest/(file)/introduction_UserInput.html -- PHP General Mailing List (http://www.

[PHP] Re: SVN PHP

2006-03-09 Thread Jens Kleikamp
Jon Morgan wrote: Hi. I'm trying to access SVN from PHP and as there seems to be no direct binding for it yet i've had a look at WebSVN source to try and list directories in a repository with the following code but it just doesn't return anything. It doesn't return anything whether re-directing

[PHP] Re: APC and PHP 5.1.2

2006-03-03 Thread Jens Kleikamp
steve wrote: Really? Now I am confused on why I'd be having a problem and you aren't. I even deleted the php.ini file and made a new one that only contained this: extension=apc.so apc.optimization=1 and it still failed. At least I have it working without the second line. My phpinfo() has this

[PHP] Re: APC and PHP 5.1.2

2006-03-03 Thread Jens Kleikamp
steve wrote: Thanks for that! It meant that I should look in other directions which helped me figure out the problem. Can you try again with: apc.optimization=1 Your script also seems to work on my sytem with optimization=1. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: Coding Practice: Use global $var or pass in by refernce

2006-03-03 Thread Jens Kleikamp
Mark Steudel wrote: I was wondering what the general rule on using the global driective versus passing in a variable by reference, why you should or shouldn't, etc. e.g. function () { global $db; $res =& $db->query( "SQL"); } or function ( &$db ) { $res =& $db->query( "

[PHP] Re: APC and PHP 5.1.2

2006-03-02 Thread Jens Kleikamp
steve wrote: You know not what you ask!! I'm going to have to wait a bit before I do that. Currently using Apache 2, and the config files would need to be different, etc., so I'll have to choose a webserver I can take down for a longer time. :( What I did try was different versions of PHP (All u

[PHP] Re: Linux distributions and tools for Linux/Apache/PHP/MySQL dev

2006-02-26 Thread Jens Kleikamp
Chris Lott wrote: I'm making the switch from Windows to Linux for mydesktop and development environment and would greatly appreciate suggestions for development tools on this platform. Ubuntu seems to be getting all the press, but suggestions about Linux distributions are welcome as well! c J

[PHP] Re: auto download

2006-02-23 Thread Jens Kleikamp
Benjamin Adams wrote: I have three links. The code already auto selects one. I'm trying to take that one link and automaticly start the download. I tryed with header('location:$link'); but it tells me "Warning: Cannot modify header information" what would I use to start downloading? one of the li

[PHP] Re: Working with a config file

2006-02-20 Thread Jens Kleikamp
Benjamin Adams wrote: I'm trying to parse a config file, example of the config is: [fred] id=8782 section=s1 years=4 download1=mirror1 [frank] id=8372 section=s3 years=4 download1=mirror12 download2=mirror2 . . . I want to parse this so I can only call frank or freds data and move id, section,

[PHP] Re: how to build custom/private pear packages

2006-02-15 Thread Jens Kleikamp
Jochem Maas wrote: hi people, I have been thinking about how I rollout some of my code (stuff that gets reused alot) and I thought it would be nice if I could have basic functionality available for my projects via a custom pear package server (referred to as a 'pear channel'??) - so what I would

[PHP] Re: Stopping users to see uploaded files

2005-05-27 Thread Jens Kleikamp
symbulos wrote: > Dear friends, > > we are using php for developing a small tool for uploading files for > download > (publications). Using the usual move_uploaded_file, the publications are > loaded into a directory where the webserver can write / read. > > Unfortunately, that means every per

[PHP] Re: Fastest templating mechanism

2005-05-08 Thread Jens Kleikamp
Evert | Rooftop Solutions wrote: > Hi all, > > I'm working on a template system which works a bit like a text > translation block. The data looks for example like: > > beginblock > endblock > beginauthor > endauthor > > > The list is going to be very large, it will have several overlays an