php-general Digest 10 Apr 2008 07:05:37 -0000 Issue 5396

2008-04-10 Thread php-general-digest-help
php-general Digest 10 Apr 2008 07:05:37 - Issue 5396 Topics (messages 272801 through 272816): Re: Requested PHP apps / sites 272801 by: Shawn McKenzie 272802 by: Jay Blanchard 272803 by: Shawn McKenzie 272804 by: Daniel Brown 272805 by: Shawn McKenzie

php-general Digest 10 Apr 2008 20:58:10 -0000 Issue 5397

2008-04-10 Thread php-general-digest-help
php-general Digest 10 Apr 2008 20:58:10 - Issue 5397 Topics (messages 272817 through 272847): Re: books for php 272817 by: Manuel Lemos Re: How to create combo-boxes/list boxes connected with MS SQL Serverdatabase in PHP scripts 272818 by: Manuel Lemos Re: APC FastCGI !=

[PHP] php server installation

2008-04-10 Thread hce
Hi, I've installed lighty and php5 to a FC6 box for testing php code in my local machine, I set up www.mytest.com to the /etc/hosts. I can see a page of http://www.mytest.com/index.html, but a blank page to http://www.mytest.com/index.php. I've run an command php -l index.php, the result was No

[PHP] Re: books for php

2008-04-10 Thread Manuel Lemos
Hello, on 04/06/2008 12:28 PM news.php.net said the following: Which are the good books for learning php? Here you may find several PHP books that got good reviews: http://www.phpclasses.org/reviews/latest/latest.html -- Regards, Manuel Lemos PHP professionals looking for PHP jobs

[PHP] Re: How to create combo-boxes/list boxes connected with MS SQL Serverdatabase in PHP scripts

2008-04-10 Thread Manuel Lemos
Hello, on 04/09/2008 02:27 AM [EMAIL PROTECTED] said the following: Sir I want to create combo-boxes/list-boxes from a table which is available in MS-Sql server database. I have established connectivity with ms-sql server database using odbc. how can i create combo-boxes in my php scripts?

Re: [PHP] APC FastCGI != upload progress ?

2008-04-10 Thread Manuel Lemos
Hello, on 04/09/2008 03:07 PM steve said the following: FastCGI is *the* way to run PHP, but I think Apache is not the platform for it anymore. If need more than one server, Apache pre-forked model may limited. Otherwise it is just fine. Other than that, I think there are some features that

[PHP] Re: dynamic boxes problem... JS and PHP

2008-04-10 Thread David Lidstone
Ryan S wrote: Hey everyone, A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or just me. (My money is on the last one :p ) Here's what I am trying to do: In a form I have a listbox with the values 1-5, and under the listbox i have a TD with the id of recips

[PHP] PHP GD library installing

2008-04-10 Thread Luca Paolella
How do I install/activate the GD library with my existing PHP version? I'm quite sure it isn't already, since I got this error: Fatal error: Call to undefined function imagecreate() in /Volumes/Data/ Users/luca/Library/WebServer/Documents/reloadTest/image.php on line 6 Please forgive my

Re: [PHP] PHP GD library installing

2008-04-10 Thread Thijs Lensselink
Quoting Luca Paolella [EMAIL PROTECTED]: How do I install/activate the GD library with my existing PHP version? I'm quite sure it isn't already, since I got this error: Fatal error: Call to undefined function imagecreate() in

Re: [PHP] PHP GD library installing

2008-04-10 Thread Robin Vickery
On 10/04/2008, Thijs Lensselink [EMAIL PROTECTED] wrote: Quoting Luca Paolella [EMAIL PROTECTED]: How do I install/activate the GD library with my existing PHP version? I'm quite sure it isn't already, since I got this error: Fatal error: Call to undefined function imagecreate() in

[PHP] newsletter administration

2008-04-10 Thread Alain Roger
Hi, I need to do a little CMS for managing Newsletter for 1 of my customers. as i never worked on such thing in the past, i would be glad to have your feedback. basically, web site users are registered into DB. my customer would like to send them a newsletter to promote new products and

Re: [PHP] newsletter administration

2008-04-10 Thread Aschwin Wesselius
Alain Roger wrote: Hi, I need to do a little CMS for managing Newsletter for 1 of my customers. as i never worked on such thing in the past, i would be glad to have your feedback. basically, web site users are registered into DB. my customer would like to send them a newsletter to promote new

Re: [PHP] newsletter administration

2008-04-10 Thread Brice
On Thu, Apr 10, 2008 at 12:55 PM, Alain Roger [EMAIL PROTECTED] wrote: Hi, I need to do a little CMS for managing Newsletter for 1 of my customers. as i never worked on such thing in the past, i would be glad to have your feedback. basically, web site users are registered into DB. my

Re: [PHP] PHP GD library installing

2008-04-10 Thread Thijs Lensselink
Quoting Robin Vickery [EMAIL PROTECTED]: On 10/04/2008, Thijs Lensselink [EMAIL PROTECTED] wrote: Quoting Luca Paolella [EMAIL PROTECTED]: How do I install/activate the GD library with my existing PHP version? I'm quite sure it isn't already, since I got this error: Fatal error: Call to

[PHP] Evaluating math without eval()

2008-04-10 Thread Jason Norwood-Young
Hi all First post to this list! I'm trying to figure out how to evaluate a string with a mathematical expression and get a result, but without using eval() as I'm accepting user input into the string. I don't just want addition, subtraction, multiplication and division - I'd like to take

Re: [PHP] Evaluating math without eval()

2008-04-10 Thread Richard Heyes
First post to this list! I'm trying to figure out how to evaluate a string with a mathematical expression and get a result, but without using eval() as I'm accepting user input into the string. I don't just want addition, subtraction, multiplication and division - I'd like to take advantage of

Re: [PHP] Evaluating math without eval()

2008-04-10 Thread Jason Norwood-Young
On Thu, 2008-04-10 at 13:15 +0100, Richard Heyes wrote: First post to this list! I'm trying to figure out how to evaluate a string with a mathematical expression and get a result, but without using eval() as I'm accepting user input into the string. I don't just want addition,

Re: [PHP] Evaluating math without eval()

2008-04-10 Thread Jason Norwood-Young
On Thu, 2008-04-10 at 13:15 +0100, Richard Heyes wrote: First post to this list! I'm trying to figure out how to evaluate a string with a mathematical expression and get a result, but without using eval() as I'm accepting user input into the string. I don't just want addition, subtraction,

Re: [PHP] PHP GD library installing

2008-04-10 Thread Robin Vickery
On 10/04/2008, Thijs Lensselink [EMAIL PROTECTED] wrote: Quoting Robin Vickery [EMAIL PROTECTED]: On 10/04/2008, Thijs Lensselink [EMAIL PROTECTED] wrote: Quoting Luca Paolella [EMAIL PROTECTED]: How do I install/activate the GD library with my existing PHP version? I'm

[PHP] Vote for PHP support in Google App Engine

2008-04-10 Thread Paul van Brouwershaven
Have you seen the Google App Engine already, the guys from Google are crazy! You now can host your application on the Google network, including Big Table and GFS! Ok, one problem... they currently only support Python for programming, but the good news is that they will add more languages like

[PHP] Re: Connecting to an epp server

2008-04-10 Thread Paul van Brouwershaven
don't forget to send the 4 bytes! Alan Willsher schreef: Hi im trying to connect to Nominets EPP server Details can be found here http://www.nominet.org.uk/registrars/systems/epp/ Im trying to send a login request the example can be found here

Re: [PHP] PHP GD library installing

2008-04-10 Thread Thijs Lensselink
Quoting Robin Vickery [EMAIL PROTECTED]: On 10/04/2008, Thijs Lensselink [EMAIL PROTECTED] wrote: Quoting Robin Vickery [EMAIL PROTECTED]: On 10/04/2008, Thijs Lensselink [EMAIL PROTECTED] wrote: Quoting Luca Paolella [EMAIL PROTECTED]: How do I install/activate the GD library

Re: [PHP] PHP GD library installing

2008-04-10 Thread Daniel Brown
On Thu, Apr 10, 2008 at 4:54 AM, Luca Paolella [EMAIL PROTECTED] wrote: How do I install/activate the GD library with my existing PHP version? I'm quite sure it isn't already, since I got this error: Fatal error: Call to undefined function imagecreate() in

Re: [PHP] Vote for PHP support in Google App Engine

2008-04-10 Thread Julian Kennedy
On Thursday 10 April 2008 16:32, Paul van Brouwershaven wrote: Have you seen the Google App Engine already, the guys from Google are crazy! You now can host your application on the Google network, including Big Table and GFS! Ok, one problem... they currently only support Python for

Re: [PHP] Vote for PHP support in Google App Engine

2008-04-10 Thread Paul van Brouwershaven
Julian Kennedy schreef: Looks like they extending their services to web hosting. Wonder when they'll offer VPS accounts? No they will not, you may upload your application. They have created a very nice system, but there are some restrictions because of security Bigtable and GFS. But your

Re: [PHP] Re: Connecting to an epp server

2008-04-10 Thread Alan Willsher
What is 4 bytes ? On Thu, Apr 10, 2008 at 3:35 PM, Paul van Brouwershaven [EMAIL PROTECTED] wrote: don't forget to send the 4 bytes! Alan Willsher schreef: Hi im trying to connect to Nominets EPP server Details can be found here http://www.nominet.org.uk/registrars/systems/epp/

Re: [PHP] Evaluating math without eval()

2008-04-10 Thread Jim Lucas
Jason Norwood-Young wrote: On Thu, 2008-04-10 at 13:15 +0100, Richard Heyes wrote: First post to this list! I'm trying to figure out how to evaluate a string with a mathematical expression and get a result, but without using eval() as I'm accepting user input into the string. I don't just want

[PHP] RES: [PHP-INSTALL] ftp_put cannot upload a file.

2008-04-10 Thread Thiago Pojda
Tina, Is there any error message in php logs? Can you reproduce manually what you're trying to do with PHP? I mean, connect and put that file. Enable E_ALL in PHP and try again. I'm copying PHP-GENERAL mailing list as this is not related to PHP-INSTALL issues. Regards, Atenciosamente,

Re: [PHP] php server installation

2008-04-10 Thread Nathan Nobbe
On Thu, Apr 10, 2008 at 1:05 AM, hce [EMAIL PROTECTED] wrote: Hi, I've installed lighty and php5 to a FC6 box for testing php code in my local machine, I set up www.mytest.com to the /etc/hosts. I can see a page of http://www.mytest.com/index.html, but a blank page to

[PHP] Re: Vote for PHP support in Google App Engine

2008-04-10 Thread Shawn McKenzie
Paul van Brouwershaven wrote: Have you seen the Google App Engine already, the guys from Google are crazy! You now can host your application on the Google network, including Big Table and GFS! Ok, one problem... they currently only support Python for programming, but the good news is that

[PHP] Re: RES: [PHP-INSTALL] ftp_put cannot upload a file.

2008-04-10 Thread Shawn McKenzie
Thiago Pojda wrote: Tina, Is there any error message in php logs? Can you reproduce manually what you're trying to do with PHP? I mean, connect and put that file. Enable E_ALL in PHP and try again. I'm copying PHP-GENERAL mailing list as this is not related to PHP-INSTALL issues.

Re: [PHP] Re: Vote for PHP support in Google App Engine

2008-04-10 Thread Spam Recipient
function sign_petition() { throw new Exception('I WANT PHP may use your email address to personalize your experience on their website.'); } try { sign_petition(); } catch (Exception $e) { echo 'No thank you: ', $e-getMessage(), \n; } -- Homer: You know what? Grampa: What? Homer:

Re: [PHP] Requested PHP apps / sites

2008-04-10 Thread Dan
That would be a pretty interesting app to make. If you actually followed Osborn's Brainstorming technique then you should be able to develop a pretty cool real-time think tank where developers work in a sort of chat room but with a place to post common code, with markup, share a virtual

Re: [PHP] Requested PHP apps / sites

2008-04-10 Thread Wolf
Dan [EMAIL PROTECTED] wrote: That would be a pretty interesting app to make. If you actually followed Osborn's Brainstorming technique then you should be able to develop a pretty cool real-time think tank where developers work in a sort of chat room but with a place to post common

[PHP] Socket create with ssl server

2008-04-10 Thread Alan Willsher
Hi how do you use socket_create with an ssl server ie I would do something like $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_bind($sock, $sourceip); socket_connect($sock, 'server.com', 2043); but if I do $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_bind($sock,

[PHP] $_SESSION problem

2008-04-10 Thread tedd
Hi gang: I'm stumped and in need of some expert explanation. I have prepared two demos (showing code) for your enjoyment: [1] http://www.webbytedd.com/x/index.php [2] http://sperling.com/x/index.php Both of these demos have the exact same code; and are on the same server; with exactly the

Re: [PHP] $_SESSION problem

2008-04-10 Thread Nathan Nobbe
On Thu, Apr 10, 2008 at 4:29 PM, tedd [EMAIL PROTECTED] wrote: Hi gang: I'm stumped and in need of some expert explanation. I have prepared two demos (showing code) for your enjoyment: [1] http://www.webbytedd.com/x/index.php [2] http://sperling.com/x/index.php Both of these demos have

Re: [PHP] $_SESSION problem

2008-04-10 Thread Nathan Nobbe
On Thu, Apr 10, 2008 at 5:05 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 4:29 PM, tedd [EMAIL PROTECTED] wrote: you might just dump out the session component of the php config on each site to ensure theyre the same. on that last note, this could be useful, ?php

Re: [PHP] Socket create with ssl server

2008-04-10 Thread Nirmalya Lahiri
--- Alan Willsher [EMAIL PROTECTED] wrote: Hi how do you use socket_create with an ssl server ie I would do something like $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_bind($sock, $sourceip); socket_connect($sock, 'server.com', 2043); but if I do $sock =

Re: [PHP] Requested PHP apps / sites

2008-04-10 Thread Shawn McKenzie
Dan wrote: That would be a pretty interesting app to make. If you actually followed Osborn's Brainstorming technique then you should be able to develop a pretty cool real-time think tank where developers work in a sort of chat room but with a place to post common code, with markup, share a

Re: [PHP] Requested PHP apps / sites

2008-04-10 Thread Shawn McKenzie
Shawn McKenzie wrote: Dan wrote: That would be a pretty interesting app to make. If you actually followed Osborn's Brainstorming technique then you should be able to develop a pretty cool real-time think tank where developers work in a sort of chat room but with a place to post common code,

[PHP] Google App Engine needs PHP support

2008-04-10 Thread Manuel Lemos
Hello, Google App Engine was launched but it does not support PHP. This article presents some ideas that can help Google adding PHP support sooner rather than later. http://www.phpclasses.org/blog/post/77-Google-App-Engine-needs-PHP-support.html -- Regards, Manuel Lemos PHP professionals

[PHP] Re: Google App Engine needs PHP support

2008-04-10 Thread Shawn McKenzie
Manuel Lemos wrote: Hello, Google App Engine was launched but it does not support PHP. This article presents some ideas that can help Google adding PHP support sooner rather than later. http://www.phpclasses.org/blog/post/77-Google-App-Engine-needs-PHP-support.html -1 Redundant :-) -- PHP

Re: [PHP] Vote for PHP support in Google App Engine

2008-04-10 Thread mike
A co-worker and I were talking about this again today, and I stumbled upon this crazy idea. What if this is Google providing people it's own preferred hosting and backend solutions in the hopes that people make some cool apps they can easily just buy and not even have to convert to land in their

Re: [PHP] Socket create with ssl server

2008-04-10 Thread Greg Bowser
The sockets extension is a much lower level interface to sockets than the fsockets/stream_ functions in PHP. Unlike with the aforementioned, with the sockets extension, you can't just expect to magically get an ssl connection by using ssl://. Your problem is that the sockets extension has no

Re: [PHP] $_SESSION problem

2008-04-10 Thread Eric Wood
tedd wrote: [1] http://www.webbytedd.com/x/index.php [2] http://sperling.com/x/index.php Both of these demos have the exact same code; and are on the same server; with exactly the same php-info -- so, why do they behave differently re sessions? Strange. I've run into issues whenever I use

Re: [PHP] $_SESSION problem

2008-04-10 Thread paragasu
it looks fine to me. but i want to share one bad experience with sessions. the code i wrote work just fine on my testing server (please note, the phpinfo is same with my production server). after days of figuring out why the session do not work. finally, i found the solutions. the solutions is to

Re: [PHP] $_SESSION problem

2008-04-10 Thread mike
I believe you can accomplish the same thing by just putting this in: register_shutdown_function('session_write_close'); On 4/10/08, paragasu [EMAIL PROTECTED] wrote: it looks fine to me. but i want to share one bad experience with sessions. the code i wrote work just fine on my testing

RE: [PHP] Socket create with ssl server

2008-04-10 Thread Wolf
Top postinng due to sendng from my cell phone... I'd suggest you lookl at doing the ssl to the server ip address not the host name, and from reading your other note, it looks like ssl: isnlt needed, merely the name/ip of the server. HTH, Wolf -Original Message- From: Alan Willsher

[PHP] Re: Common PHP functions benchmarks

2008-04-10 Thread Jason Knight
Does nobody have any other input? On Tue, Apr 8, 2008 at 12:52 PM, Jason Knight [EMAIL PROTECTED] wrote: I've been running some benchmarks on popular PHP functions. I would like to get some input on them from the community. So far I have run tests on Arrays and PHP5's SPL ArrayObject, as