Re: [PHP] Select two table with DB_DataObject

2006-11-24 Thread Yves Tannier
2006/11/24, Richard Lynch <[EMAIL PROTECTED]>: On Fri, November 24, 2006 10:27 am, Yves Tannier wrote: > First, sorry for my bad english ;) > > I'm looking for a simple way to provide query with two table like this > : > > SELECT t1.idperson, t1.lastname FROM table1 t1, table2 t2 WHERE > t1.idpe

Re: [PHP] problems re-reading from socket

2006-11-24 Thread Martin Marques
On Fri, 24 Nov 2006 13:41:59 -0600 (CST), "Richard Lynch" <[EMAIL PROTECTED]> wrote: > On Fri, November 24, 2006 1:21 pm, Martin Marques wrote: >> I have a daemon class which reads and answers using socket_read and >> socket_write functions. The things is that I connect to the daemon, >> sent a c

Re: [PHP] GD - Problem writing text

2006-11-24 Thread Richard Lynch
On Thu, November 23, 2006 9:30 am, Fredrik Thunberg wrote: > imagettftext ($im, 30, 0, 10, 40 , $black, TTF_DIR. "times.ttf", > "Hello World!"); > FreeType Support enabled > FreeType Linkage with freetype > FreeType Version 2.1.3 > The one things that differs between the servers is:

Re: [PHP] PHP and XML

2006-11-24 Thread Richard Lynch
On Thu, November 23, 2006 6:57 am, onewaylife wrote: > I am novice in PHP & XML, while trying I am creating a small > application > i.e. Address Book. > In this I am using Apache2, PHP5 and XML no database is used. I have > FC5 > machines. but I am unable to store the files in XML. If any one share

Re: [PHP] To install a small program from a web browser

2006-11-24 Thread Richard Lynch
On Thu, November 23, 2006 11:01 am, Navid wrote: > I have a client that wants me to build a membership-based website > soon. He has small programs for > his members to install. He wants to post a link for them so that when > they click on it the program > installs on their machine automatically. I

Re: [PHP] Problems to login via POST on a external site.

2006-11-24 Thread Richard Lynch
On Thu, November 23, 2006 11:10 am, Benny Pfitzner wrote: > The traffic shows: > user=seppl2&pass=seppl2&x=72&y=13 > but I don't know where the x and y values are from. They also change > every time. Also note that if the INPUT TYPE="image" has a NAME="foo" attribute, the parameters change to: foo

Re: [PHP] Serving out a file to Firefox ... headers?

2006-11-24 Thread Richard Lynch
On Thu, November 23, 2006 10:40 pm, Brian Dunning wrote: > Sorry to revisit this issue YET ONE MORE TIME... :) :) > > My online store sends out the file for download upon purchase. Below > are the headers I send, and I understood that it should work for all > browsers. It does not work for Firefo

Re: [PHP] header

2006-11-24 Thread Richard Lynch
On Fri, November 24, 2006 9:13 am, João Cândido de Souza Neto wrote: > In my index.php file of my system i have got just one php tag in which > it > starts a smarty object, make a lot of includes of templates and use > $smarty->display("index.tpl") to show the result. > > Until i know, smarty do no

Re: [PHP] Select two table with DB_DataObject

2006-11-24 Thread Richard Lynch
On Fri, November 24, 2006 10:27 am, Yves Tannier wrote: > First, sorry for my bad english ;) > > I'm looking for a simple way to provide query with two table like this > : > > SELECT t1.idperson, t1.lastname FROM table1 t1, table2 t2 WHERE > t1.idperson=t2.idperson AND t1.idperson=2 > > I try with

Re: [PHP] problems re-reading from socket

2006-11-24 Thread Richard Lynch
On Fri, November 24, 2006 1:21 pm, Martin Marques wrote: > I have a daemon class which reads and answers using socket_read and > socket_write functions. The things is that I connect to the daemon, > sent a chain and the I get an answer, but after that the daemon get's > struck in the next socket_re

[PHP] problems re-reading from socket

2006-11-24 Thread Martin Marques
I have a daemon class which reads and answers using socket_read and socket_write functions. The things is that I connect to the daemon, sent a chain and the I get an answer, but after that the daemon get's struck in the next socket_read. The problem appears to be here (a method from my class).

[PHP] Re: header

2006-11-24 Thread Jo�o C�ndido de Souza Neto
I found the trouble... My index.php file had been corrupted. I deleted and recreated it and works fine. Thanks a lot for your tips. ""João Cândido de Souza Neto"" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > In my index.php file of my system i have got just one php tag i

Re: [PHP] security question

2006-11-24 Thread Richard Lynch
void session_set_cookie_params ( int lifetime [, string path [, string domain [, bool secure [, bool httponly ) The "bool secure" part of that means you can set your cookie parameters such that your cookies are sent/received only over SSL connections. Only available since PHP 4.0.4 On Thu, N

[PHP] Select two table with DB_DataObject

2006-11-24 Thread Yves Tannier
Hi, First, sorry for my bad english ;) I'm looking for a simple way to provide query with two table like this : SELECT t1.idperson, t1.lastname FROM table1 t1, table2 t2 WHERE t1.idperson=t2.idperson AND t1.idperson=2 I try with joinAdd and selectAs but its always complexe query like : SELECT

Re: [PHP] backing up a database

2006-11-24 Thread Sumeet
Brad Fuller wrote: $command = "mysqldump -u $dbuser -p$dbpass $dbname | gzip > $backupFile"; system($command); what if system() has been disabled on the server? -- Thanking You Sumeet Shroff http://www.prateeksha.com Web Designers and PHP / Mysql Ecommerce Developm

[PHP] Re: PHP and XML

2006-11-24 Thread Myron Turner
I'm not sure you are going about this the right way. It's my impression that you may not yet have learned the basics of XML. Really, the very basics are quite simple. For your address book, for instance, you could create a simple XML structure such as this:

[PHP] header

2006-11-24 Thread Jo�o C�ndido de Souza Neto
In my index.php file of my system i have got just one php tag in which it starts a smarty object, make a lot of includes of templates and use $smarty->display("index.tpl") to show the result. Until i know, smarty do not send any data to browser before display method, but, in some cases i must d

RE: [PHP] Storing objects in sessions recursively

2006-11-24 Thread Vincent DUPONT
Hi, are you sure you did not forget a include of the Article source code ? You need all sources codes aiavlable (included) when getting the object back from the session. vincent -Original Message- From: Dave M G [mailto:[EMAIL PROTECTED] Sent: Fri 24/11/2006 11:22 To: php-general@lists

Re: [PHP] Storing objects in sessions recursively

2006-11-24 Thread Jochem Maas
Dave M G wrote: > PHP List, > > I have a class called "Session", which creates an object stored in the > $_SESSION variable. That object in turn holds on to a "User" object > which keeps track of the activity of the individual user who has logged > in and is using the web site. Then the $user obje

[PHP] Storing objects in sessions recursively

2006-11-24 Thread Dave M G
PHP List, I have a class called "Session", which creates an object stored in the $_SESSION variable. That object in turn holds on to a "User" object which keeps track of the activity of the individual user who has logged in and is using the web site. Then the $user object in turn holds on to

RE: [PHP] RE: PHP and XML

2006-11-24 Thread Edward Kay
In that case you need to do some of your own research. Google is your friend. > Hello Edward > Just i don't now where to start. > > > Edward Kay wrote: > > > > Hello, > > > > You say that you are "unable to store the files in XML". Why is > this? Are > > you getting an error message or do you jus

Re: [PHP] Attaching File to be Emailed

2006-11-24 Thread David Robley
Frank Arensmeier wrote: > I think the OP was about how to send e-mail attachments - not a > question about send a file to the client browser... > > 1) Read the manual about the function "mail" (especially the user notes) > http://se2.php.net/manual/en/ref.mail.php > 2) Google for e.g. "php mail a

Re: [PHP] Attaching File to be Emailed

2006-11-24 Thread David Robley
Frank Arensmeier wrote: > I think the OP was about how to send e-mail attachments - not a > question about send a file to the client browser... > > 1) Read the manual about the function "mail" (especially the user notes) > http://se2.php.net/manual/en/ref.mail.php > 2) Google for e.g. "php mail a

Re: [PHP] Attaching File to be Emailed

2006-11-24 Thread Frank Arensmeier
I think the OP was about how to send e-mail attachments - not a question about send a file to the client browser... 1) Read the manual about the function "mail" (especially the user notes) http://se2.php.net/manual/en/ref.mail.php 2) Google for e.g. "php mail attachment" Come back to this list