[PHP] Resin/Quercus

2010-01-06 Thread Mattias Thorslund
Hi, I wonder if anyone has experience with running PHP on the Resin server. Opinions, good, bad? Gotchas? Similar projects? http://www.caucho.com/projects/resin/ Thanks, Mattias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Site Moved From PHP4 to PHP5 Server - header, location no longer working

2010-01-06 Thread James McLean
On Thu, Jan 7, 2010 at 1:35 PM, Vernon Webb wrote: > I move a number of sites from one server to another and one the one server we > had php4 and now we have php5 and since then my server seems to hang every > time there is a header, location redirect. Anyone have any ideas on how to > resolve

Re: [PHP] Re: PHP programming strategy; lots of little include files, or a few big ones?

2010-01-06 Thread Robert Cummings
Daniel Kolbo wrote: Daevid Vincent wrote: -Original Message- From: Al [mailto:n...@ridersite.org] Sent: Wednesday, January 06, 2010 5:09 PM To: php-general@lists.php.net Subject: [PHP] Re: PHP programming strategy; lots of little include files, or a few big ones? On 1/6/2010

Re: [PHP] Re: PHP programming strategy; lots of little include files, or a few big ones?

2010-01-06 Thread Daniel Kolbo
Daevid Vincent wrote: > > >> -Original Message- >> From: Al [mailto:n...@ridersite.org] >> Sent: Wednesday, January 06, 2010 5:09 PM >> To: php-general@lists.php.net >> Subject: [PHP] Re: PHP programming strategy; lots of little >> include files, or a few big ones? >> >> >> >> On 1/6/2

RE: [PHP] Re: PHP programming strategy; lots of little include files, or a few big ones?

2010-01-06 Thread Daevid Vincent
> -Original Message- > From: Al [mailto:n...@ridersite.org] > Sent: Wednesday, January 06, 2010 5:09 PM > To: php-general@lists.php.net > Subject: [PHP] Re: PHP programming strategy; lots of little > include files, or a few big ones? > > > > On 1/6/2010 7:18 PM, clanc...@cybec.com.a

[PHP] Site Moved From PHP4 to PHP5 Server - header, location no longer working

2010-01-06 Thread Vernon Webb
I move a number of sites from one server to another and one the one server we had php4 and now we have php5 and since then my server seems to hang every time there is a header, location redirect. Anyone have any ideas on how to resolve this? Is there something I can easily change in the php.ini

[PHP] SVG and PHP

2010-01-06 Thread Bob Strasser
Hi, Just went online and saw an SVG generated from Python, and wanted to do the similar thing by loading the SVG into an PHP script. Here is the script that I have: The problem is that my screen appears as blank even though I could open up USA_Counties_with_FIPS_and_names.svg and see the e

[PHP] SVG and PHP

2010-01-06 Thread Bob Strasser
Hi, Just went online and saw an SVG generated from Python, and wanted to do the similar thing by loading the SVG into an PHP script. Here is the script that I have: The problem is that my screen appears as blank even though I could open up USA_Counties_with_FIPS_and_names.svg and see the e

[PHP] SVG and PHP

2010-01-06 Thread Bob Strasser
Hi, Just went online and saw an SVG generated from Python, and wanted to do the similar thing by loading the SVG into an PHP script. Here is the script that I have: The problem is that my screen appears as blank even though I could open up USA_Counties_with_FIPS_and_names.svg and see the e

[PHP] Re: PHP programming strategy; lots of little include files, or a few big ones?

2010-01-06 Thread Al
On 1/6/2010 7:18 PM, clanc...@cybec.com.au wrote: I have a flexible program, which can do many different things according to the type of data it is fed. Ideally the flexibility is achieved by calling different functions, though when the functionality is ill-defined I sometimes just include b

Re: [PHP] PHP programming strategy; lots of little include files, or a few big ones?

2010-01-06 Thread Robert Cummings
clanc...@cybec.com.au wrote: I have a flexible program, which can do many different things according to the type of data it is fed. Ideally the flexibility is achieved by calling different functions, though when the functionality is ill-defined I sometimes just include blocks of code. Ideall

[PHP] PHP programming strategy; lots of little include files, or a few big ones?

2010-01-06 Thread clancy_1
I have a flexible program, which can do many different things according to the type of data it is fed. Ideally the flexibility is achieved by calling different functions, though when the functionality is ill-defined I sometimes just include blocks of code. Ideally, from the point of program ma

[PHP] First time PHP user question

2010-01-06 Thread Rick Dwyer
Hello List. I have been playing around with PHP, running a few tutorials and I came across an error message I could not resolve. The tutorial is Generating One Time URL's by Oreilly: http://www.oreillynet.com/pub/a/php/2002/12/05/one_time_URLs.html Basically the PHP code is supposed to read f

Re: [PHP] How to POST JSON data via PHP?

2010-01-06 Thread shiplu
curl_setopt($ch,CURLOPT_POSTFIELDS,http_build_query(array("data"=>$fields_string))); Now on the server end $_POST['data'] will contain your json data. if you just pass the $fields_string it can be read in the server end too. $data = file_get_contents("php://input"); now $data will contain your js

[PHP] How to POST JSON data via PHP?

2010-01-06 Thread Rob Gould
I've used curl before to post "field" data to a server, but in this case, I actaully need to post JSON data. However, when I run this PHP script, I get nothing back. If I do this curl manually in Terminal, it works. I'm pretty sure the bug has something to do with CURLOPT_POSTFIELDS - -

Re: [PHP] Open source project management tool - PHP

2010-01-06 Thread Robert Cummings
Angelo Zanetti wrote: Thanks all, for the responses and advice. After much research and trying out we decided to go with: http://www.fengoffice.com/ its PHP based and also uses the EXTJS library. Its got quite a lot of features (calendar, tasks, email, notes, documents, reporting) etc... wit

Re: [PHP] SVG Won't Color?

2010-01-06 Thread Ashley Sheridan
On Wed, 2010-01-06 at 11:27 -0500, Alice Wei wrote: > Hi, > > I have the code as in the following, and I am trying to colorize the map. > The SVG File is located here: > http://upload.wikimedia.org/wikipedia/commons/5/5f/USA_Counties_with_FIPS_and_names.svg. > Looks like when I tried to m

[PHP] SVG Won't Color?

2010-01-06 Thread Alice Wei
Hi, I have the code as in the following, and I am trying to colorize the map. The SVG File is located here: http://upload.wikimedia.org/wikipedia/commons/5/5f/USA_Counties_with_FIPS_and_names.svg. Looks like when I tried to modify the contents of the line, it does not seem to take into a

Re: [PHP] Open source project management tool - PHP

2010-01-06 Thread Andrew Williams
What could be a php potential problem with contact forms that are only protected against SQL injections and have an admin side view for the enquiry?

RE: [PHP] Open source project management tool - PHP

2010-01-06 Thread Angelo Zanetti
Thanks all, for the responses and advice. After much research and trying out we decided to go with: http://www.fengoffice.com/ its PHP based and also uses the EXTJS library. Its got quite a lot of features (calendar, tasks, email, notes, documents, reporting) etc... with a great AJAX interface