php-general Digest 19 May 2010 11:27:22 -0000 Issue 6752

2010-05-19 Thread php-general-digest-help
php-general Digest 19 May 2010 11:27:22 - Issue 6752 Topics (messages 305308 through 305317): Re: dompdf class problem 305308 by: Rene Veerman Re: html analyzer 305309 by: Manuel Lemos php photo galery 305310 by: David Mehler 305311 by: David McGlone

[PHP] Re: Authentification and session management

2010-05-19 Thread Michelle Konzack
Hello Ashley, Am 2010-05-18 12:25:59, hacktest Du folgendes herunter: I recently heard about a PHP-based authentication system called Sumo. It might be what you need to stop re-inventing them darn wheels! http://sumoam.sourceforge.net This sounds realy good... I will check ist immediately!

[PHP] Email from php

2010-05-19 Thread Ferdi
Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the situation: On Windows (WampServer 2.0i ) I manage to send email

Re: [PHP] Email from php

2010-05-19 Thread Peter Lind
On 19 May 2010 13:27, Ferdi ferdinan...@printo.in wrote: Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the

Re: [PHP] Email from php

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 16:57 +0530, Ferdi wrote: Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the situation:

Re: [PHP] Email from php

2010-05-19 Thread Teus Benschop
On Wed, 2010-05-19 at 16:57 +0530, Ferdi wrote: Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the situation:

[PHP] How to prevent duplicate record insertion after refreshing php page

2010-05-19 Thread Deva
Hi, If I do refresh after submission of a form, records are getting stored multiple times. I have two pages. /submission-form/ and /thank-you/ I was trying header('Location: /thank-you/'); on submission-form page after successful validation and insertion into db. Still if I do refresh on

Re: [PHP] How to prevent duplicate record insertion after refreshing php page

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 17:43 +0530, Deva wrote: Hi, If I do refresh after submission of a form, records are getting stored multiple times. I have two pages. /submission-form/ and /thank-you/ I was trying header('Location: /thank-you/'); on submission-form page after successful validation

Re: [PHP] How to prevent duplicate record insertion after refreshing php page

2010-05-19 Thread Deva
Yeah... Done... Got the solution... You need to do exit(0); after the header().. die() wont work... On Wed, May 19, 2010 at 5:42 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Wed, 2010-05-19 at 17:43 +0530, Deva wrote: Hi, If I do refresh after submission of a form, records are

Re: [PHP] How to prevent duplicate record insertion after refreshing php page

2010-05-19 Thread Peter Lind
On 19 May 2010 14:23, Deva devendra...@gmail.com wrote: Yeah... Done... Got the solution... You need to do exit(0); after the header().. die() wont work... That's rather odd, according to the docs die() and exit() are equivalent. You're sure nothing else changed? Also, note that you should

Re: [PHP] How to prevent duplicate record insertion after refreshing php page

2010-05-19 Thread Deva
wtf now its working for die() also.. weird need to figure out what happened... On Wed, May 19, 2010 at 6:00 PM, Peter Lind peter.e.l...@gmail.com wrote: On 19 May 2010 14:23, Deva devendra...@gmail.com wrote: Yeah... Done... Got the solution... You need to do exit(0); after the header()..

Re: [PHP] How to prevent duplicate record insertion after refreshing php page

2010-05-19 Thread tedd
At 2:30 PM +0200 5/19/10, Peter Lind wrote: At 5:43 PM +0530 5/19/10, Deva wrote: -snip- Still if I do refresh on thank-you page it adds one more record in database. How to prevent it without token? -- Devendra Jadhav Also, note that you should consider using form tokens, so you don't get

Re[6]: [PHP] preg_replace: avoiding double replacements

2010-05-19 Thread Andre Polykanine
Ash, Actually it's not the Caesar cypher itself (see http://en.wikipedia.org/wiki/Temurah_(Kabbalah), third method), but your way of transformation seems to me the best for a while) Thanks! -- With best regards from Ukraine, Andre

Re: Re[6]: [PHP] preg_replace: avoiding double replacements

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 16:40 +0300, Andre Polykanine wrote: Ash, Actually it's not the Caesar cypher itself (see http://en.wikipedia.org/wiki/Temurah_(Kabbalah), third method), but your way of transformation seems to me the best for a while)

[PHP] Content question

2010-05-19 Thread Ernie Kemp
This is not a direct PHP question but I will be using PHP in the website. After a website has been created there will a need to changes say a product or service page over time. The client asking how he will be able to make changes to these pages. Yes, I'm a newbie at this and the only way

Re: [PHP] Content question

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 13:07 -0400, Ernie Kemp wrote: This is not a direct PHP question but I will be using PHP in the website. After a website has been created there will a need to changes say a product or service page over time. The client asking how he will be able to make

[PHP] Re: html analyzer

2010-05-19 Thread Bill Guion
At 12:30 AM +0200 5/19/10, Rene Veerman wrote: Hi. I'm trying to build a html analyzer that looks at natural words in html text. I'd like to build a routine that walks through the HTML character by character, but i'm not sure on how to properly walk through escaped and ' characters in

Re: [PHP] Re: html analyzer

2010-05-19 Thread Robert Cummings
Bill Guion wrote: At 12:30 AM +0200 5/19/10, Rene Veerman wrote: Hi. I'm trying to build a html analyzer that looks at natural words in html text. I'd like to build a routine that walks through the HTML character by character, but i'm not sure on how to properly walk through escaped and '

Re: [PHP] Re: html analyzer

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 13:24 -0400, Bill Guion wrote: At 12:30 AM +0200 5/19/10, Rene Veerman wrote: Hi. I'm trying to build a html analyzer that looks at natural words in html text. I'd like to build a routine that walks through the HTML character by character, but i'm not sure on how

[PHP] Version de MySQL

2010-05-19 Thread MSc. Carlos Pollán Estrada
Hola colegas. Neceseto saber con qué función de PHP (si la hay) puedo optener la versión del MySQL que estoy utilizando. Gracias de antemano. Salu2 MSc. Carlos Pollán Estrada. Esp. Ciencias de la Computación. Archivo Histórico de Manzanillo.

Re: [PHP] Version de MySQL

2010-05-19 Thread Adam Richardson
2010/5/19 MSc. Carlos Pollán Estrada cpol...@ahm.granma.inf.cu Hola colegas. Neceseto saber con qué función de PHP (si la hay) puedo optener la versión del MySQL que estoy utilizando. Gracias de antemano. Salu2 MSc. Carlos Pollán Estrada.

[PHP] Versión del MySQL en PHP

2010-05-19 Thread MSc. Carlos Pollán Estrada
Hola colegas. Neceseto saber con qué función de PHP (si la hay) puedo optener la versión del MySQL que estoy utilizando. Gracias de antemano. Hello friends. I need to know with what function of PHP (if it exists) I can obtain the version of the MySQL that I am using. Thank you ahead of

Re: [PHP] Email from php

2010-05-19 Thread Gary
Ferdi writes: I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). IMAP is only incoming (at least, the protocol is - the clue is in the name Internet Message

Re: [PHP] Versión del MySQL en PHP

2010-05-19 Thread kranthi
http://www.php.net/manual/en/function.mysql-get-server-info.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to Protect Against SQL Injection Attacks While Using SQLite?

2010-05-19 Thread seandakid
Hi, Have you ever used the BIND statement? http://www.sqlite.org/c3ref/bind_blob.html http://www.sqlite.org/c3ref/bind_blob.html -Steve NotReally GonnaTell wrote: Hello all, I am wondering how I should prevent SQL injection attacks while using SQLite, MySQL has the trusted

Re: [PHP] How to Protect Against SQL Injection Attacks While Using SQLite?

2010-05-19 Thread Daniel Brown
On Wed, May 19, 2010 at 15:28, seandakid seanda...@hotmail.com wrote: Hi, Have you ever used the BIND statement? http://www.sqlite.org/c3ref/bind_blob.html http://www.sqlite.org/c3ref/bind_blob.html Have you looked at the date of that thread? -- /Daniel P. Brown

[PHP] Re: php photo galery

2010-05-19 Thread Shawn McKenzie
On 05/18/2010 08:11 PM, David Mehler wrote: Hello, I've googled for this and tried some downloads but not finding what i'm looking for. A site requirement is to have a photo gallery. These user's are not very technical so i thought about getting a galery with the ability to upload photos via

[PHP] Standard built-in functions source code

2010-05-19 Thread Leandro de Oliveira
Hi, I'd like to know where is the source code of built-in functions if it's freely available. I'm interested in math and cryptography functions specifically. Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Standard built-in functions source code

2010-05-19 Thread Fernando
http://www.php.net/downloads.php Download the complete source code. On 19/05/2010 16:24, Leandro de Oliveira wrote: Hi, I'd like to know where is the source code of built-in functions if it's freely available. I'm interested in math and cryptography functions specifically. Thank you

Re: [PHP] Standard built-in functions source code

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 16:24 -0400, Fernando wrote: http://www.php.net/downloads.php Download the complete source code. On 19/05/2010 16:24, Leandro de Oliveira wrote: Hi, I'd like to know where is the source code of built-in functions if it's freely available. I'm interested in

[PHP] Re: How to prevent duplicate record insertion after refreshing php page

2010-05-19 Thread Nathan Rixham
Deva wrote: Hi, If I do refresh after submission of a form, records are getting stored multiple times. I have two pages. /submission-form/ and /thank-you/ I was trying header('Location: /thank-you/'); on submission-form page after successful validation and insertion into db. Still if I do

[PHP] Standard built-in functions source code

2010-05-19 Thread Leandro de Oliveira
Hi, I'd like to know where is the source code of built-in functions if it's freely available. I'm interested in math and cryptography functions specifically. Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Standard built-in functions source code

2010-05-19 Thread la...@garfieldtech.com
http://www.php.net/svn.php Everything is in SVN, although anything built-in is written in C code, not in PHP. --Larry Garfield On 5/19/10 3:41 PM, Leandro de Oliveira wrote: Hi, I'd like to know where is the source code of built-in functions if it's freely available. I'm interested in

[PHP] Brandon Rampersad wants to chat

2010-05-19 Thread Brandon Rampersad
--- Brandon Rampersad wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-b89a7a894d-04fb7fdbad-NeHRsydO6kBsIkVOT8hXbjPA1ZU