[PHP] XHTML to pdf converter

2005-03-24 Thread symbulos partners
Dear friends,

after an research on the subject, I have not been able to find an open
source converter from XHTML to pdf, with full suport for CSS, with full
support for tables.

Is there anything like that out there that yu know about?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] php pattern, software development pattern

2005-03-23 Thread symbulos partners
I looked at php pattern (www.phppatterns.com). I did not understand it well.

Is that supposed to be pattern as in software development pattern? If so why
the uml diagrams are not there?

For example

A sample Strategy pattern for form validation. 

What does that mean?

I am confused.
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] Re: php pattern, software development pattern

2005-03-23 Thread symbulos partners
Thanks for your explanation, it makes things clearer, but I need to work on
it a bit more before saying that is perfectly clear for me.

Are there more pattern repositories available than simply
www.phppatterns.com?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] [semi OT]: Planning projects

2005-03-22 Thread symbulos partners
Brent Baisley wrote:

 I remember reading that UML was fairly complex. Although brief reading
 up on it, it didn't seem all that hard. I think the next version is
 supposed to be simpler. I made a decision about 6 months wether I was
 going to learn UML or design patterns next. I chose design patterns,

what are design patterns?

-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] Using Apache SSL from PHP: tutorial?

2005-02-07 Thread symbulos partners
I am looking for a tutorial on using Apache SSL from PHP.

Do you know of any good one out there?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



RE: [PHP] Using Apache SSL from PHP: tutorial?

2005-02-07 Thread symbulos partners
Jay Blanchard wrote:

 [snip]
 I am looking for a tutorial on using Apache SSL from PHP.
 
 Do you know of any good one out there?
 [/snip]
 
 http://www.google.com/search?hl=enq=using+Apache+SSL+from+PHPbtnG=Goog
 le+Search
1)Results 1 - 10 of about 411,000 for using Apache SSL from PHP. (0.45
seconds) 

2)Does that also give an idea about how good the tutorial is?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] Hoe does that work - http://www.domainname.con/?var=lakjhd (instead of http://www.domainname.con/file.php?var=lakjhd)?

2005-02-03 Thread symbulos partners
How do you activate / allow the behavious

http://www.domainname.con/?var=lakjhd

instead of the more traditional

http://www.domainname.con/file.php?var=lakjhd
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] rss feeder using php?

2005-01-28 Thread symbulos partners
Dear friends,

we are looking for a RSS feeder implemented in php.

Is there anything good out there (something you have tried + tested).

Please, do not answer do a google search, because I ALREADY know how to do
a google search. What we are interested is some feedback on real products
you have tested.
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] geographic search engine

2005-01-13 Thread symbulos partners
Lester Caine wrote:
 Expensive. There are a few postcode management sites that provide
 positional data against the post code, but they all cost quite a bit of
 money. We are working on a cut down version for key areas, with a rough
 entry for the first part for all post codes, with a few that people will
 provide fine detail for their own area later.

Interesting. Is it an open project?

 
 http://www.spanner.org/postcodes/ is something that is already available.
 

I have tried to connect, but it does not work.
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] geographic search engine

2005-01-12 Thread symbulos partners
Brian Dunning wrote:

http://www.zipwise.com/

What about UK postcodes?

-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] geographic search engine

2005-01-12 Thread symbulos partners
 So often php-general is graced with the presence of people with
 multiple personalities.. or are you really the borg?  :)

What??

 
 Any body has any experience with anything similar?
 
 I coded a zip code to distance calculater last week.
 
 x = 69.1 * ( zip2.lat - zip1.lat )
 y = 69.1 * ( zip2.lon - zip1.lon ) * cos( zip1.lat / 57.3 )
 miles = sqrt( x^2 + y^2 )
 
 This does not take into account the curve of the earth.  In addition
 you'll need a db with the latitude and longitude for each zip code.

Does it work for UK postcodes? Where do you find UK post codes to latitude
databases?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] geographic search engine

2005-01-11 Thread symbulos partners
We would like to implement a geographic search engine.

We have a list of places, the user enters a postcode + a radius in kms and
the search engine returns a list of places within a certain radius.

Any body has any experience with anything similar?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-07 Thread symbulos partners
Jason Barnett wrote:
 exercise for myself, but then again I don't need to either.  ;)  This
 would also be something that would be a great benefit to share with the
 PHP community if you decide to compile this list of thread-safe
 extensions.

If we could share a bit of the effort with someone else, we would be
available (February). Eventually we could host the page on our website, f
necessary.

We could have a simple php base page where people could flag libraries /
sets of functions after checking. A simple table, in order to understand. 

We could manage it by e-mail eventually.
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-06 Thread symbulos partners
We know that. We understood all of that.

What we need to know is:

1)Are php core function thread safe?

2)Does php have internal mechanisms in php for protecting thread safety
(memory leak, threads overwriting memory in use by another thread, blah,
blah)?

3)Are the function in this LIMITED LIST thread safe? (This is THE LIMITED
LIST extracted from the list of the functions in section VI, the one you
requested, the one R.Lynch requested). Since we sent the list with the
functions we need already 2 times, would you please be so gentle as to
answer now?

Apache-specific Functions
Array Functions
Calendar Functions
Class/Object Functions
CURL, Client URL Library Functions
Cyrus IMAP administration Functions
Date and Time Functions
Direct IO Functions
Directory Functions
DOM Functions
DOM XML Functions
Error Handling and Logging Functions
File Alteration Monitor Functions
Filesystem Functions
Forms Data Format Functions
FTP Functions
Function Handling Functions
Gettext
GMP Functions
HTTP Functions
Image Functions
IMAP, POP3 and NNTP Functions
PHP / Java Integration
LDAP Functions
Mail Functions
Mathematical Functions
Multibyte String Functions
Mimetype Functions
Miscellaneous Functions
MySQL Functions
Improved MySQL Extension
Network Functions
Unified ODBC Functions
Object Aggregation/Composition Functions
Object property and method call overloading
OpenSSL Functions
Output Control Functions
PDF functions
PHP OptionsInformation
PostgreSQL Functions
Program Execution Functions
Session Handling Functions
Shared Memory Functions
SimpleXML functions
SQLite
Shockwave Flash Functions
Standard PHP Library (SPL) Functions
String Functions
URL Functions
Variable Functions
vpopmail Functions
XML Parser Functions
XML-RPC Functions
XSL functions
XSLT Functions

-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-05 Thread symbulos partners
Richard Lynch wrote:
 If you re-read the previous emails from Rasmus, you will find that these
 questions are already answered within them.
 
 So I'm going to go on at length here telling you (again) what you don't
 want to hear.

In my opinion, the answer some libraries are thread safe, some are not is
generic. The answer the libraries in chapter VI. Function Reference of
official PHP Manual version 03-01-2005 is specific. Now I think I
understand the answer a bit better.

We did not understand if you were talking about the libraries we develop,
the libraries you develop, the libraries everybody else develops,
commercial libraries, whatever library you can think of. Not
all the libraries are indeed listed in the manual.

I apologise for being stupid and hard of understanding.

 If you can narrow your focus down a bit from *ALL* of Section VI to *just*
 the libraries you *really* need, you might get the answer you want to
 hear: Oh, those are all thread-safe.

Here some more specific questions.

1)Is the core of php thread safe? That is, are the function which do not
need external libraries thread safe?

2)Here is the list of the function sets we need to use, from Section VI

Apache-specific Functions
Array Functions
Calendar Functions
Class/Object Functions
CURL, Client URL Library Functions
Cyrus IMAP administration Functions
Date and Time Functions
Direct IO Functions
Directory Functions
DOM Functions
DOM XML Functions
Error Handling and Logging Functions
File Alteration Monitor Functions
Filesystem Functions
Forms Data Format Functions
FTP Functions
Function Handling Functions
Gettext
GMP Functions
HTTP Functions
Image Functions
IMAP, POP3 and NNTP Functions
PHP / Java Integration
LDAP Functions
Mail Functions
Mathematical Functions
Multibyte String Functions
Mimetype Functions
Miscellaneous Functions
MySQL Functions
Improved MySQL Extension
Network Functions
Unified ODBC Functions
Object Aggregation/Composition Functions
Object property and method call overloading
OpenSSL Functions
Output Control Functions
PDF functions
PHP OptionsInformation
PostgreSQL Functions
Program Execution Functions
Session Handling Functions
Shared Memory Functions
SimpleXML functions
SQLite
Shockwave Flash Functions
Standard PHP Library (SPL) Functions
String Functions
URL Functions
Variable Functions
vpopmail Functions
XML Parser Functions
XML-RPC Functions
XSL functions
XSLT Functions

We would like to know if they are thread safe to a level which is suitable
for production environment.

3)Are there internal mechanisms in php for protecting thread safety (memory
leak, threads overwriting memory in use by another thread, blah, blah)?

We hope these questions are specific enough.
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-04 Thread symbulos partners
Rasmus Lerdorf wrote:
 I thought I just explained that.  The problem is that the dozens of
 libraries you are likely to link into you Apache+PHP system may or may
 not be threadsafe.  

We are only thinking of using standard libraries,that is the libraries which
allow us to access the functions listed in chapter VI. Function Reference
of official PHP Manual version 03-01-2005.

Are these libraries all thread safe? If not, is there a list explaining
which libraries are thread safe (not thread safe)?

-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread symbulos partners
Dear friends,

we would like to migrate a server where we host several websites (in virtual
hosting) to PHP 5 with Apache 2.

Technical support at the hosting provider told us there are still problems
about safety of threads on php 5 + Apache 2 (management of memory). They
would propose to migrate Apache to the pre-fork version in order to avoid
these problems (but we would be unable to use all the features of Apache
2). 

Is that right?

Has anybody switched to that combination already?

Any suggestion about recommended php, Apache versions?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread symbulos partners
Rasmus Lerdorf wrote:
 You want to stay away from the threaded MPM's in Apache2.

Why?

-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread symbulos partners
Symbulos Partners wrote:

 Rasmus Lerdorf wrote:
 You want to stay away from the threaded MPM's in Apache2.
 
 Why?
 

Which versions would be recommended then? We would like to be able to use
the new PHP object model, and at the same time use features like the
possibility of running scriping languages using a lower rights users, as in
apache 2.
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread symbulos partners
Rasmus Lerdorf wrote:
 
 As far as threading goes, it is simply not a good idea for a large
 complex system. 


I do not understand why, probably because I am not well prepared. Can you
explain me? As far as I know, threading should be a noticeable improvement
in case of large systems. Is there something in the implementation of PHP 5
which does not allow for safe threading? If so, what it is?

 
 I am a big believer in keeping the base infrastructure as simple as
 possible.  You are going to layer a lot of complexity on top of Apache
 and PHP in the form of your web applications.  You want to make sure
 that your building blocks are rock solid so if you see a problem you can
 be confident that it is something you did wrong.  If your base is shaky
 everything you build on top of it is going to be that much more unstable.

I totally agree. Our problem is that we want to use the new php 5 object
model, and at the same time would like to move to Apache 2 for several
different reasons.

There are 4 alternative solutions

0)php 5 + Apache 2
1)php 5 + Apache 2 pre-fork (not totally satisfactory, but better than have
a  system that is unstable)
2)php 5 + Apache 1.3.33 (which is not totally satisfactory, less than 0,1 in
any case, but better than have a system that is unstable)
3)php 4 + Apache 2 (which is not totally satisfactory, less than 0,1,2 in
any case, better than have a system that is unstable)

which one does satisfy your condition of rock solid foundation? Or shall we
stick with php 4 + Apache 1.3.33, which is VERY unsatisfactory because we
cannot use the new object model?

The server is a production server, so we must have rock solid solutions on
it.

Thanks in advance.
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread symbulos partners
We would really give preference to the possibility of using PHP 5, in order
to use the new object model.

Is Apache 1 + php 5 rock stable? How are performances?

-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] What is happening to the news server?

2004-12-23 Thread symbulos partners
Dear friends,

What is happening to the news server? we cannot connect anymore!

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



[PHP] Re: An object oriented database in PHP?

2004-12-21 Thread symbulos partners
Jason Barnett wrote:

 Symbulos Partners wrote:
 Has anybody implemented an object oriented database in PHP yet?
 
 Boy you are new ;)
 
 Check out the PEAR DB package for several OO implementations.

Is PEAR DB not a OO DB API?

Is there a OO DB embedded?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



RE: [PHP] An object oriented database in PHP?

2004-12-21 Thread symbulos partners
Brandon Thompson wrote:

  We use Propel for all of our development.

Where can we find more about it?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] Using encrypted passwords (what we would like to achieve)

2004-12-21 Thread symbulos partners
What we would like to achieve?

If a malicious user finds a way of entering of accessing the docroot (rwx)
of a website with CMS (PHP + MySQL), we would like to have further barrier
to him accessing the Mysql database.

We had some problem with one hacker using the database of a website with
PhpBB launching an e-mail based DDoS (this is what they said at the
provider hosting our server).

We are trying to introduce as as many obstacles as possible.
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] Photogallery with features in php + DB

2004-12-20 Thread symbulos partners
Dear friends,

we would like to implement a photogallery where the users can upload some
photographs,and then can rotate them. The photographs are stored in a
temporary area waiting for approval.

The system then performs the following operations

1)reduces the size of the photograph so that the largest edge is x
2)generates thumbnail for each photograph

There should finally be an administrator login, which enables to authorise
publication and to perform operations like rotating the photographs which
are wrong.

Do you know of any php based application, function, set of classes for
implementing this features?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] Using encrypted passwords

2004-12-20 Thread symbulos partners
Dear friends,

is it possible to use encrypted passwords in php files, for connecting to a
database? 

We do not like too much the idea of the password being in clear text.

Example
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); 

'mysql_password' should be encrypted

Thanks in advance
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



Re: [PHP] Using encrypted passwords

2004-12-20 Thread symbulos partners
Jason Wong wrote:
 Why? It's not going to offer any protection. If I know your encrypted
 password and am able to access your database using it there is no reason
 for me to know what your cleartext password is. In other words if I am
 able to read the file containing your password (whether encrypted or
 cleartext) then I can access your database.
 

Sorry for the silly question, you are probably right.

Would it be possible to encrypt the whole file, so that the password could
not be read?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] An object oriented database in PHP?

2004-12-20 Thread symbulos partners
Has anybody implemented an object oriented database in PHP yet?
-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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



[PHP] How does google index PHP + MySQL (PostgreesSQL) websites?

2004-12-14 Thread symbulos partners
Dear friends,

does anybody know how does google (and other search engines) index websites
implemented in PHP + MySQL? For instance, sites which use PHP based CMS
(Content Management Systems)?

Someone told us google spiders do call for the pages so they only see the
resulting HTML code. Is that right?

Do other search engine use different methodologies?

-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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


Re: [PHP] curl libraries on Debian Woody with apache 1.3.29.0.2-6 and php 4.3.4-4

2004-12-14 Thread symbulos partners
Christophe Chisogne wrote:

 hem, this is a PHP list. Perhaps you're talking about curl PHP extension?
 


Sorry Cristophe, should have been more precise :-).

We meant the related PHP libraries. 

Thanks for your help!

-- 
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com

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


[PHP] curl libraries on Debian Woody with apache 1.3.29.0.2-6 and php 4.3.4-4

2004-12-13 Thread symbulos partners
Dear friends,

we would like to use the curl libraries on a server, which is open on the
internet.

We would like to know about security issues with curl, before installing it.

We are using Debian Woody (some few packages from Sarge), and apache
1.3.29.0.2-6 and php 4.3.4-4.

Thanks in advance.
-- 
symbulos partners
-.-
symbulos
ethical services for your organisation
http://www.symbulos.com

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