[PHP] Organizing php functions

2006-09-01 Thread The Doctor
The question comes up because: Sort file in the path interfere with one another which leads to web page malfunction. Question: should all php programmes such as drupal be placed under /usr/local/lib ? -- Member - Liberal International This is [EMAIL PROTECTED] Ici [EMAIL PROTECTED] Go

Re: [PHP] Problems with UTF

2006-09-01 Thread mbneto
Hi Peter, I am returning XML from my php script so I should use the charset in my XML header? The database (which holds the data) should be set to utf8 and the same thing in the XML header, right? On 8/28/06, Peter Lauri <[EMAIL PROTECTED]> wrote: Hi, Have you set header('Content-Type: text

Re: Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Silent1
Sorry, i was at work but the example i followed is located here. http://www.accesspdf.com/article.php/20050510131850979 Once you have pdftk compiled/setup this script in the example will pass the post/get data to the pdf to each field you setup in the pdf. If need be, i can send you the php i've

Re: [PHP] problems with clases, methods, HTML_Template_IT, etc.

2006-09-01 Thread Robert Cummings
On Fri, 2006-09-01 at 19:30 -0300, Martin Marques wrote: > I'm buidling a system in OOP, and I have a main clase which > objects in it. One of the objects inside is of type > HTML_Template_IT, which I use to handle presentation tier. > > Now, each time the system gets executed, I get this in my

Re: [PHP] problems with clases, methods, HTML_Template_I T, etc.

2006-09-01 Thread Martin Marques
On Fri, 01 Sep 2006 18:35:45 -0400, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Fri, 2006-09-01 at 19:30 -0300, Martin Marques wrote: >> >> Now, each time the system gets executed, I get this in my php >> error log: >> >> PHP Fatal error: Call to a member function get() on a non-object >> in

[PHP] problems with clases, methods, HTML_Template_IT, etc.

2006-09-01 Thread Martin Marques
I'm buidling a system in OOP, and I have a main clase which objects in it. One of the objects inside is of type HTML_Template_IT, which I use to handle presentation tier. Now, each time the system gets executed, I get this in my php error log: PHP Fatal error: Call to a member function get()

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Silent1
I actually just finished messing around with something like this. Basically the task was to have a form where users would input stuff and that needs to be autofilled into a pdf (already created). I used pdftk (http://www.accesspdf.com/pdftk/) and a php script called (forge_fdf http://www.pdfhacks.

[PHP] Re: live chat support

2006-09-01 Thread zerof
blackwater dev escreveu: Does anyone have any recommendations on some good live chat support apps? These are the ones where someone can go to your site, click a button and open a chat window with a customer service person. I'm particularly interested in ones where we handled the server and every

[PHP] Connecting to Webdav with php

2006-09-01 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I am looking to create a small script which can connect to a webdav server, authenticate and spit back the contents of a given directory on the server. What is the best way to do this? I've bene looking around and so far haven't found anythi

Re: [PHP] Re: remove SimpleXML nodes

2006-09-01 Thread Adam Zey
It seems there's no way to do this. You can unset certain things in simpleXML objects, but it's really strange non-standard behaviour. If I have this for an XML document: foo bar baz XML; and I run that through simplexml into $xml, then doing unset($xml->test) and then exporting agai

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Frank Arensmeier
Tedd, this issue has been discussed recently on the PDFlib mailing list. Search for the topic "search & replace on PDF". Archive is here: http://groups.yahoo.com/group/pdflib/ regards, /frank 1 sep 2006 kl. 16.33 skrev tedd: You seem to use FPDF. Although I never tried working with FPDF,

[PHP] Re: Functions vs html outpuit

2006-09-01 Thread M. Sokolewicz
Dave Goodchild wrote: Hi all, this may seem like a silly question, but I am creating a library of html form element generation function, for example a textarea fucntion that takes rows and cols as parameters, a function that generates a day, month and year select box, etc. My question is - is it

[PHP] live chat support

2006-09-01 Thread blackwater dev
Does anyone have any recommendations on some good live chat support apps? These are the ones where someone can go to your site, click a button and open a chat window with a customer service person. I'm particularly interested in ones where we handled the server and everything. Thanks!

Re: [PHP] what's all the about then?

2006-09-01 Thread tedd
tedd schrieb: At 4:34 PM +0200 8/30/06, Jochem Maas wrote: tedd wrote: At 2:19 PM +0200 8/30/06, Paul Scott wrote: Read up on MVC (Model View Controller) and the front end controller design pattern. Interesting that someone finally put a name to something we've been doing for decades. We

[PHP] Functions vs html outpuit

2006-09-01 Thread Dave Goodchild
Hi all, this may seem like a silly question, but I am creating a library of html form element generation function, for example a textarea fucntion that takes rows and cols as parameters, a function that generates a day, month and year select box, etc. My question is - is it significantly to switch

[PHP] Re: Free Shopping Carts

2006-09-01 Thread Mourad Boulahboub
John Nichel schrieb am 31.08.2006 23:12: > Jay Blanchard wrote: >> Can we do anything else for you today? >> > > I'm a php programmer and I have a valve knocking in the engine of my > car. Can you fix it? > lol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] Re: Error Handling Library?

2006-09-01 Thread Tony Marston
Take a look at http://www.tonymarston.net/php-mysql/errorhandler.html -- Tony Marston http://www.tonymarston.net http://www.radicore.org "Jay Paulson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've been doing some research and was wondering if anyone out there has > written

Re: [PHP] Re: remove SimpleXML nodes

2006-09-01 Thread Javier Ruiz
Thanks a lot to all :) Using DOM I can do what I need. Anyway I was trying the proposed solutions with SimpleXML but none of them worked for me :( I tried splitting $key and $value in the foreach command, but when I dump the xml (with the asXML function) I still have the nodes that I supposed to

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Frank Arensmeier
You seem to use FPDF. Although I never tried working with FPDF, you might take a look at http://fpdi.setasign.de/ which is a class that extends FPDF. If you are looking for a library with support for all PDF features, maybe PDFlib (http://www.pdflib.com) is the one for you (sure, PDFlib/ P