Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Andy Shellam
Hi, > > Also http://www.softstack.com/freesmtp.html which vikash mentioned works > through outlook settings. > > Anyways the below will help- > > http://php.net/manual/en/ref.mail.php > > http://glob.com.au/sendmail/ Personally, I always found hMailServer to be perfectly reliable as a relay

Re: [PHP] PHP 5.3 shared hosting

2010-01-15 Thread Michael A. Peters
Adam Richardson wrote: Hi, I've developed a framework that requires PHP 5.3 (it takes a more functional approach.) I'm hosting my own apps on a dedicated server running cpanel (thanks to their recent upgrade.) However, for client work I prefer not to personally host the websites. I've been co

[PHP] PHP 5.3 shared hosting

2010-01-15 Thread Adam Richardson
Hi, I've developed a framework that requires PHP 5.3 (it takes a more functional approach.) I'm hosting my own apps on a dedicated server running cpanel (thanks to their recent upgrade.) However, for client work I prefer not to personally host the websites. I've been contacting hosts about thei

Re: [PHP] mysql_real_escape_string(0xffffffff) yields -1

2010-01-15 Thread Jim Lucas
Richard Lynch wrote: > The subject line says it all: > > mysql_real_escape_string(0x) yields -1 > > What's up with that? > > Is there some way to convince mysql_real_escape_string to use BIGINT? > > I guess I'll just PCRE for digits and then pass it in and... > > But what if somebody p

[PHP] mysql_real_escape_string(0xffffffff) yields -1

2010-01-15 Thread Richard Lynch
The subject line says it all: mysql_real_escape_string(0x) yields -1 What's up with that? Is there some way to convince mysql_real_escape_string to use BIGINT? I guess I'll just PCRE for digits and then pass it in and... But what if somebody passes in some BC Math number?... -- Some

Re: [PHP] PHP and javascript

2010-01-15 Thread Ashley Sheridan
On Fri, 2010-01-15 at 14:07 -0500, Andres Gonzalez wrote: > How do I call PHP code that will run server side, from javascript code > that is running client side? > > I have a lot of PHP server side code written and working within > CodeIgniter. Now, my project > has changed and (for reasons un

Re: [PHP] PHP and javascript

2010-01-15 Thread Ryan Sun
I don't think you can call php cli from client javascript unless you have a wrapper http interface On Fri, Jan 15, 2010 at 2:07 PM, Andres Gonzalez wrote: > How do I call PHP code that will run server side, from javascript code that > is running client side? > > I have a lot of PHP server side co

[PHP] PHP and javascript

2010-01-15 Thread Andres Gonzalez
How do I call PHP code that will run server side, from javascript code that is running client side? I have a lot of PHP server side code written and working within CodeIgniter. Now, my project has changed and (for reasons unimportant to this discussion) we are now NOT going to use apache and

RE: [PHP] strtotime

2010-01-15 Thread Bob McConnell
There are a variety of starting points available, depending on the environment and application. See the Computer section of for a brief review. Bob McConnell -Original Message- From: haliphax [mailto:halip...@gmail.com] Sent: Thur

Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Gaurav Kumar
Hi Richard, The problem is that if I am using any open source software or any other pre-built software then I will not be able to manage through ini_set. Also http://www.softstack.com/freesmtp.html which vikash mentioned works through outlook settings. Anyways the below will help- http://php.net

Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Richard Quadling
2010/1/15 : > You can install any smtp server on your windows machine and the mail() will > work with default settings. You can check this out: > http://www.softstack.com/freesmtp.html > > Thanks, > > Vikash Kumar > http://vika.sh > > > On Fri, Jan 15, 2010 at 5:30 PM, Gaurav Kumar > wrote: > >> S

Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread vikash . iitb
You can install any smtp server on your windows machine and the mail() will work with default settings. You can check this out: http://www.softstack.com/freesmtp.html Thanks, Vikash Kumar http://vika.sh On Fri, Jan 15, 2010 at 5:30 PM, Gaurav Kumar wrote: > Sorry Kim, don't want to use phpmail

Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Gaurav Kumar
Sorry Kim, don't want to use phpmailer script or manually setting user accounts u/p in the script. On Fri, Jan 15, 2010 at 5:23 PM, Kim Madsen wrote: > Hi Gaurav > > Gaurav Kumar wrote on 15/01/2010 09:54: > > > NO SMTP >> >> Any trusted SMTP software to install on local development machine a

Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Kim Madsen
Hi Gaurav Gaurav Kumar wrote on 15/01/2010 09:54: NO SMTP Any trusted SMTP software to install on local development machine and how to set it up with php to send an email? Also just providing the SMTP server details in php.ini will not work for me as this requires authentication/credentials e

Re: [PHP] What's the best way to extract HTML out of $var?

2010-01-15 Thread Bruno Fajardo
2010/1/15 alexus : > What's the best way to extract HTML out of $var? > > example of $var > > $var = "http://http://stackoverflow.com/"Stack Overflow" > I want > > $var2 = "http://starckoverflow.com/"; > example: preg_match(); > > what else? Hi, If you simply wants to remove all tags from the stri

[PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Gaurav Kumar
Hi All, Ash, Angelo, Any ideas how to send an email in PHP on windows platform/xp on local development machine. System Configuration PHP 5.2 Apache 2 No ISS NO SMTP Any trusted SMTP software to install on local development machine and how to set it up with php to send an email? Also just provid