Re: [PHP] Re: PHP class question

2009-05-21 Thread Shawn McKenzie
Shawn McKenzie wrote: Peter van der Does wrote: On Thu, 21 May 2009 14:08:11 -0500 Shawn McKenzie nos...@mckenzies.net wrote: This doesn't make sense. You say class A needs to be extended with another class, however what you show below is class A extending framework_class. I worded it

Re: [PHP] Re: PHP class question

2009-05-21 Thread Nathan Rixham
Shawn McKenzie wrote: Shawn McKenzie wrote: Peter van der Does wrote: On Thu, 21 May 2009 14:08:11 -0500 Shawn McKenzie nos...@mckenzies.net wrote: This doesn't make sense. You say class A needs to be extended with another class, however what you show below is class A extending

[PHP] re[PHP] moving data from old users (session_set_save_handler ??)

2009-05-20 Thread pere roca
hi all, I need to remove data when user leaves my webapplication. I fire an unload event (that calls a php script) but sometimes fails, so I need a more secure option. I wonder if session_set_save_handler is what I need. I think so but not sure. So, EVEN if the user leaves my webapplication,

[PHP] Re: php ssl connection timeout issue

2009-05-15 Thread Jerry Zhao
On Thu, May 14, 2009 at 5:17 PM, Nathan Rixham nrix...@gmail.com wrote: Jerry Zhao wrote: On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham nrix...@gmail.com wrote: Jerry Zhao wrote: I tried different combination of ssl clients and servers, it all points to problems on the client side of

[PHP] Re: php html integration

2009-05-14 Thread Shawn McKenzie
PJ wrote: I'm a bit fuzzy on the relationship between the ? ? and the HTML code. Where should the php code be placed in a page so that execution is carried out smoothly? So far, my coding has managed to avoid horrendous snags; but as I delve deeper into the quagmire of coding, I would like to

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Shawn McKenzie
Jerry Zhao wrote: Hi, I am having trouble connecting to https sites using php's builtin ssl functions. I tried: file_get_contents('https://securesite') fsockopen('ssl://securesite', 443, $errno, $errstr,20) and same errors every time: SSL: connection timeout Failed to enable crypto

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: Hi, I am having trouble connecting to https sites using php's builtin ssl functions. I tried: file_get_contents('https://securesite') fsockopen('ssl://securesite', 443, $errno, $errstr,20) and same errors every time: SSL: connection timeout Failed to enable crypto Call to

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Jerry Zhao
I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. On Thu, May 14, 2009 at 4:57 PM, Nathan Rixham nrix...@gmail.com wrote: Jerry Zhao wrote: Hi, I am having trouble

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. checked the output of print_r( stream_get_wrappers() );? -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Jerry Zhao
On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham nrix...@gmail.com wrote: Jerry Zhao wrote: I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. checked the output of print_r(

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham nrix...@gmail.com wrote: Jerry Zhao wrote: I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. checked the

[PHP] Re: [PHP ADVANCE] tcp CLIENT server connection and authentication

2009-05-13 Thread Nathan Rixham
Andrew Williams wrote: Hi All, please, I need to connect to IP via a specific port en validate my user name and password to get data. Port : XXX7X Andrew, You're going to have some real fun with this one making the tcp connection is the least of your worries, sounds very much like a raw

[PHP] re[PHP] moving data from old users (session_set_save_handler ??)

2009-05-13 Thread pere roca
hi all, I need to remove data when user leaves my webapplication. I fire an unload event (that calls a php script) but sometimes fails, so I need a more secure option. I wonder if session_set_save_handler is what I need. I think so but not sure. So, EVEN if the user leaves my webapplication,

[PHP] Re: [PHP ADVANCE] tcp CLIENT server connection and authentication

2009-05-13 Thread Andrew Williams
Hi, http://php.net/stream_socket_client does not have the option to supply authentication details and how do you supply that. On Wed, May 13, 2009 at 12:22 PM, Nathan Rixham nrix...@gmail.com wrote: Andrew Williams wrote: Hi All, please, I need to connect to IP via a specific port en

[PHP] Re: [PHP ADVANCE] tcp CLIENT server connection and authentication

2009-05-13 Thread Nathan Rixham
Andrew Williams wrote: Hi, http://php.net/stream_socket_client does not have the option to supply authentication details and how do you supply that. is it chi-xmd your doing and do you have the API docs? as that'll tell you - if you don't let me know I have them here. On Wed, May 13,

Re: [PHP] Re: [PHP ADVANCE] tcp CLIENT server connection and authentication

2009-05-13 Thread Per Jessen
Andrew Williams wrote: Hi, http://php.net/stream_socket_client does not have the option to supply authentication details and how do you supply that. According ot the instructions you posted: A session begins with the client establishing a TCP session and sending a login packet. If a

[PHP] Re: [php] tcp server connection

2009-05-12 Thread Nathan Rixham
Andrew Williams wrote: Can someone help me about how to retrieve data using TCP server connection you'll need to be a bit more specific to get any useful help back mate.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [php] tcp server connection

2009-05-12 Thread Nathan Rixham
Hi Andrew, You'll be needing the stream functions I'd guess (this si how I always do it, with no problems) http://php.net/stream_socket_client is your starting point. Many Regards, Nathan Andrew Williams wrote: I need to connect to server using IP connection to get raw data, process the

Re: [PHP] Re: [php] tcp server connection

2009-05-12 Thread Per Jessen
Nathan Rixham wrote: Andrew Williams wrote: Can someone help me about how to retrieve data using TCP server connection you'll need to be a bit more specific to get any useful help back mate.. Just point your browser to http://example.com/blah/blah; and you'll get some data using a TCP

[PHP] Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Mikko Koppanen
On Tue, Apr 14, 2009 at 1:26 PM, Glen glen...@gmail.com wrote: I didn't say PHP tags were valid XML. I said short_open_tag conflicts with ?xml and other PIs. % is not valid XML either, but it doesn't conflict with processing instructions. Glen. Hello Glen, posting to mailing-lists is

[PHP] Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Glen
Mikko, I'm not in a speed race. All my answers are well-thought out. I sent separate e-mails because mailing list discussions are threaded*, and I was responding to different people regarding different things. Who should I reply to if I want to respond to more than one person? I apologize if

[PHP] Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Glen
[moving to general list as per Mikko's request] short_open_tag is not deprecated. What if you want to use ? foreach ($x as $y): ? in your template? There is no point removing ? and not ?= at the same time, since a large portion of code would be broken anyway (and NO, I am *not* suggesting

Re: [PHP] Re: PHP and Send Mail

2009-04-09 Thread Michael A. Peters
9el wrote: On Thu, Apr 9, 2009 at 7:19 AM, Shawn McKenzie nos...@mckenzies.net wrote: Alejandro Esteban Galvez wrote: Hi!, I am making a web system and i need known how send a mail using PHP Hi, Use PHPmailer or PEAR:mail() I second PHPmailer. It rocks! -- PHP General Mailing List

RE: [PHP] Re: PHP and Send Mail

2009-04-09 Thread Bob McConnell
From: Michael A. Peters 9el wrote: On Thu, Apr 9, 2009 at 7:19 AM, Shawn McKenzie nos...@mckenzies.net wrote: Alejandro Esteban Galvez wrote: Hi!, I am making a web system and i need known how send a mail using PHP Hi, Use PHPmailer or PEAR:mail() I second PHPmailer. It rocks! Just be

Re: [PHP] Re: PHP and Send Mail

2009-04-09 Thread Michael A. Peters
Bob McConnell wrote: *snip* Just be aware that it does have a few bugs you may need to work around or patch. The SourceForge tracker is at http://sourceforge.net/tracker/?group_id=26031atid=385707. I submitted two reports last year against 1.73 which the tracker says were summarily closed with

[PHP] Re: PHP and Send Mail

2009-04-08 Thread Shawn McKenzie
Alejandro Esteban Galvez wrote: Hi!, I am making a web system and i need known how send a mail using PHP Bye --- Alejandro Esteban Galvez Administrador de Red IPICHMC Rimed, Radio-Aficionado CL2AEG Linux User #472120 -

Re: [PHP] Re: PHP and Send Mail

2009-04-08 Thread 9el
On Thu, Apr 9, 2009 at 7:19 AM, Shawn McKenzie nos...@mckenzies.net wrote: Alejandro Esteban Galvez wrote: Hi!, I am making a web system and i need known how send a mail using PHP Hi, Use PHPmailer or PEAR:mail() And I'm Lenin Bye :) www.twitter.com/nine_L -- PHP General Mailing List

[PHP] Re: PHP class or functions to manipulate PDF metadata?

2009-04-07 Thread Peter Ford
O. Lavell wrote: Peter Ford wrote: O. Lavell wrote: [..] Any and all suggestions are welcome. Thank you in advance. So many people ask about manipulating, editing and generally processing PDF files. In my experience, PDF is a write-once format - any manipulation should have been done

[PHP] Re: PHP class or functions to manipulate PDF metadata?

2009-04-07 Thread O. Lavell
Peter Ford wrote: O. Lavell wrote: Peter Ford wrote: [..] I do accept that the metadata should be machine-readable: that part of your project is reasonable and I'm fairly sure that ought to be possible with something simple. The best bet I found so far is PDFTK

[PHP] Re: PHP class or functions to manipulate PDF metadata?

2009-04-06 Thread Peter Ford
O. Lavell wrote: Hi group, I am looking for an easy way to manipulate (read, write) the metadata (title, subject, keywords, author) in PDF files through PHP. Most PHP/PDF solutions I have found so far (through Google) are aimed at constructing PDFs from text and graphics, with lots of

[PHP] Re: PHP class or functions to manipulate PDF metadata?

2009-04-06 Thread tedd
At 10:06 AM +0100 4/6/09, Peter Ford wrote: O. Lavell wrote: Any and all suggestions are welcome. Thank you in advance. So many people ask about manipulating, editing and generally processing PDF files. In my experience, PDF is a write-once format - any manipulation should have been done

[PHP] Re: PHP class or functions to manipulate PDF metadata?

2009-04-06 Thread O. Lavell
Peter Ford wrote: O. Lavell wrote: [..] Any and all suggestions are welcome. Thank you in advance. So many people ask about manipulating, editing and generally processing PDF files. In my experience, PDF is a write-once format - any manipulation should have been done in whatever source

Re: [PHP] Re: PHP class or functions to manipulate PDF metadata?

2009-04-06 Thread O. Lavell
tedd wrote: [..] All the attempts I have done into opening up a PDF file and then trying to make sense of it and put it back together with something changed have been absolute failures. The algorithm used to make a PDF file reminds me of a replacement-type compression technique -- it's

[PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-31 Thread BuildSmart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As you have now found out, doing the auto-build from PECL doesn't work. Start by building the dependancies (libraries that are linked in the build) then the modules. (you can copy the next 7 following lines verbatim since this works for most

[PHP] Re: PHP task manager

2009-03-31 Thread Colin Guthrie
'Twas brillig, and George Larson at 31/03/09 20:31 did gyre and gimble: We've got a homebrew ToDo list (task project) manager / mailer that we're thinking about replacing with something a little more robust. Any suggestions? I saw TaskFreak! on Google but I am curious if there are any

Re: [PHP] Re: PHP task manager

2009-03-31 Thread Phpster
Zoho's project tool looks pretty good. Www.zoho.com Bastien Sent from my iPod On Mar 31, 2009, at 18:20, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and George Larson at 31/03/09 20:31 did gyre and gimble: We've got a homebrew ToDo list (task project) manager / mailer that

[PHP] Re: php bug from 2003 still alive?! - UTF8 BOM

2009-03-30 Thread Merlin Morgenstern
Hello everybody, has anybody an idea on how to fix this? Is it really necessary to recomplile for utf-8 BOM support? Regards, Merlin Merlin Morgenstern wrote: Hello, I am experiencing problems with utf-8 and php. There seems to be a problem with BOM. Some postings say that I have to

[PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-30 Thread BuildSmart
On Mar 30, 2009, at 09:22 AM, Stutter Stutters wrote: I've been wrestling with mac os x + php 5.2.6 off and on for a few months to get it to load the memcache.so and imagick.so extensions. When I executed php on the command line `php -i | grep imagick` or `php -i | grep memcache` the

[PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-30 Thread Stutter Stutters
I used Pecl to install memcache and imagick, I ran the command you mentioned and this was the output: $ file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: Mach-O bundle i386 I don't see anything regarding x86_64, so

Re: [PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-30 Thread Lists
Stutter Stutters wrote: I used Pecl to install memcache and imagick, I ran the command you mentioned and this was the output: $ file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: Mach-O bundle i386 I don't see

[PHP] Re: PHP checkstyle

2009-03-24 Thread Hans Schultz
Hello Dipen, I recently found Codenizer (http://www.softwarehood.com/Codenizer/) to do similar (only code syntax semantics analysis - no formatting) thing for PHP. However I couldn't find out how to use it with eclipse, so I switched to Netbeans for now. Regards On Mon, 23 Mar 2009

[PHP] Re: PHP 5.3.0RC1

2009-03-24 Thread Johannes Mueller
Lukas Kahwe Smith wrote: Windows binaries are available here: http://windows.php.net/qa/ The .ini files in the 5.3RC1-VC6-nts-package are empty. Can someone fix this? thanks for your hard work Johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: [PHP-DEV] Re: PHP 5.3.0RC1

2009-03-24 Thread Pierre Joye
hi Johannes, Fixed, thanks for the head up! Cheers, On Tue, Mar 24, 2009 at 11:02 PM, Johannes Mueller johanne...@gmx.net wrote: Lukas Kahwe Smith wrote: Windows binaries are available here: http://windows.php.net/qa/ The .ini files in the 5.3RC1-VC6-nts-package are empty. Can someone fix

[PHP] Re: PHP + IIS7 - 'weird stuff' with multiple sites on same server

2009-03-23 Thread scubak1w1
Shawn McKenzie nos...@mckenzies.net wrote in message news:b8.7e.55398.e12b2...@pb1.pair.com... [snip] I've never done this, but just scanning that link, did you do the Per-site PHP process pools steps? Found it! I was using a php.ini file, a little adjusted, from the test server on IIS5.1

[PHP] Re: PHP + IIS7 - 'weird stuff' with multiple sites on same server

2009-03-19 Thread Shawn McKenzie
scubak1w1 wrote: Hello, I was/am using the excellent tutorial over at http://learn.iis.net/page.aspx/246/u...ons-on-iis-70/ to get PHP5.2.9 up and running on Server '08 and IIS7. All was working well, got my site migrated across, code was working, data coming and going out of

[PHP] Re: PHP to create an ERD (sic) on the fly on a web page based on current DB records?

2009-03-19 Thread scubak1w1
Ross McKay ro...@zeta.org.au wrote in message news:3l4kr4dp3hta7o1poi4bbsl0eqdmp0d...@4ax.com... On Thu, 12 Mar 2009 18:47:40 -0600, scubak1w1 wrote: Seeking some advice on how to create an ERD (sic) graphically on the page on the fly when the page is 'called'... [...] Maybe GraphViz?

[PHP] Re: PHP + IIS7 - 'weird stuff' with multiple sites on same server

2009-03-19 Thread scubak1w1
Shawn McKenzie nos...@mckenzies.net wrote in message news:b8.7e.55398.e12b2...@pb1.pair.com... scubak1w1 wrote: Hello, I was/am using the excellent tutorial over at http://learn.iis.net/page.aspx/246/u...ons-on-iis-70/ to get PHP5.2.9 up and running on Server '08 and IIS7. All was

[PHP] Re: [PHP-WIN] Can't seem to transfer a dynamically chosen parameter to next page

2009-03-18 Thread Stuart
Please keep the discussion on-list. 2009/3/18 Bill Mudry billmu...@rogers.com: At 04:44 AM 3/18/2009, you wrote: 2009/3/18 Joao Gomes Madeira jpcg@gmail.com: Hey Stuart That's what I thought at first, but Bill mentioned the usage of a form only as an example, in reality he is not using

[PHP] Re: [PHP-DB] SQL for counting comments - is this smart?

2009-03-16 Thread Martin Zvarík
Chris napsal(a): Martin Zvarík wrote: Is it smart to use all of this on one page? Or should I rather do one SQL and let PHP count it? $q = $DB-q(SELECT COUNT(*) FROM comments); $int_total = $DB-frow($q); $q = $DB-q(SELECT COUNT(*) FROM comments WHERE approved IS NULL); $int_waiting =

Re: [PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-13 Thread mike
On Thu, Mar 12, 2009 at 10:35 PM, Robert Cummings rob...@interjinn.com wrote: The only thing that should defeat the usefulness of a bytecode cache is the use of eval since the cache has no reference point upon which to determine if the eval'd code has been previously compiled and has changed

[PHP] Re: PHP to create an ERD (sic) on the fly on a web page based on current DB records?

2009-03-13 Thread Ross McKay
On Thu, 12 Mar 2009 18:47:40 -0600, scubak1w1 wrote: Seeking some advice on how to create an ERD (sic) graphically on the page on the fly when the page is 'called'... [...] Maybe GraphViz? http://graphviz.org/ -- Ross McKay, Toronto, NSW Australia Let the laddie play wi the knife - he'll

[PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-12 Thread mike
For templating ideas ... Would bytecode caches (APC) be able to work properly with this: function print_something($args, $output = 'html') { switch($output) { 'iphone': print_something_iphone($args); break; default:

Re: [PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-12 Thread Robert Cummings
On Thu, 2009-03-12 at 21:55 -0700, mike wrote: For templating ideas ... Would bytecode caches (APC) be able to work properly with this: function print_something($args, $output = 'html') { switch($output) { 'iphone': print_something_iphone($args);

Re: [PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-12 Thread mike
On Thu, Mar 12, 2009 at 10:10 PM, Robert Cummings rob...@interjinn.com wrote: I thought we covered a question just like this a week ago... yes this will not pose a problem for a bytecode cache. Apologies. I saw an example of some OOP thing from internals before it moved to -general. So even

Re: [PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-12 Thread Robert Cummings
On Thu, 2009-03-12 at 22:27 -0700, mike wrote: On Thu, Mar 12, 2009 at 10:10 PM, Robert Cummings rob...@interjinn.com wrote: I thought we covered a question just like this a week ago... yes this will not pose a problem for a bytecode cache. Apologies. I saw an example of some OOP thing

[PHP] Re: PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-11 Thread Martin Zvarík
Marc Venturini napsal(a): Hi all, I wrote a PHP script running in Apache which takes more than 30 seconds to complete. It uses set_time_limit() to extend the time it is allowed to run. The script generates thumbnails from a list of images. Upon completion, the script redirects the browser to

Re: [PHP] Re: PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-11 Thread haliphax
On Wed, Mar 11, 2009 at 10:30 AM, Martin Zvarík mzva...@gmail.com wrote: Marc Venturini napsal(a): Hi all, I wrote a PHP script running in Apache which takes more than 30 seconds to complete. It uses set_time_limit() to extend the time it is allowed to run. The script generates thumbnails

Re: [PHP] Re: PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-11 Thread Marc Venturini
Hi all, Thank you all very much for your contributions. I tried to monitor the network with Wireshark: there is only one request from my browser to the server, and not any answer (redirect or otherwise). This means the problem is definitely not with unexpected browser requests. Calling die() at

Re: [PHP] Re: PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-11 Thread Nathan Rixham
Marc Venturini wrote: Hi all, Thank you all very much for your contributions. I tried to monitor the network with Wireshark: there is only one request from my browser to the server, and not any answer (redirect or otherwise). This means the problem is definitely not with unexpected browser

Re: [PHP] Re: PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-11 Thread Michael A. Peters
Nathan Rixham wrote: Marc Venturini wrote: Hi all, Thank you all very much for your contributions. I tried to monitor the network with Wireshark: there is only one request from my browser to the server, and not any answer (redirect or otherwise). This means the problem is definitely not with

[PHP] Re: PHP includes

2009-03-10 Thread Gary
Again, thank you for everyone that offered their advice. Gary gwp...@ptd.net wrote in message news:8a.64.51087.33bf3...@pb1.pair.com... I'm working on learning php and have been toying with includes, and I am trying to figure the advantages/disadvantages to using them. I know that using

[PHP] Re: PHP includes

2009-03-10 Thread Gary
Again, thank you for everyone that offered their advice. Gary gwp...@ptd.net wrote in message news:8a.64.51087.33bf3...@pb1.pair.com... I'm working on learning php and have been toying with includes, and I am trying to figure the advantages/disadvantages to using them. I know that using

RE: [PHP] Re: PHP includes

2009-03-10 Thread Mayer, Jonathan
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: 09 March 2009 19:55 To: Mayer, Jonathan Cc: Gary; php-general@lists.php.net Subject: RE: [PHP] Re: PHP includes On Mon, 2009-03-09 at 15:10 +, Mayer, Jonathan wrote: Thank you to everybody

Re: [PHP] Re: PHP includes

2009-03-10 Thread Michael A. Peters
Mayer, Jonathan wrote: Just thought I'd point out that it's recommended against giving non-php extensions to PHP code pages. Basically, making all of your include files .inc without the server correctly configured to recognise all .inc files as PHP files, you are opening yourself up to

[PHP] Re: php fop (XSLFO)

2009-03-09 Thread Nathan Rixham
Tom Sparks wrote: is there a php Fop (XSLFO)? if not are there any that are not java based and can be run o a website that has php support only? Hi Tom, Not XSLFO as such, this was split up years ago in to it's comprising parts - XSLT, XSL and XPath, all of which PHP supports with the

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
/ -Original Message- From: Micah Gersten [mailto:news.php@micahscomputing.com] Sent: Monday, March 09, 2009 9:52 AM To: php-general@lists.php.net Subject: [PHP] Re: PHP Frameworks HallMarc Websites wrote: First time caller; long time listener.. I have been looking at various PHP

RE: [PHP] Re: PHP Frameworks

2009-03-09 Thread Marc Christopher Hall
seem to be a promising future contender. Thanks - Marc Measure twice and cut once. -Original Message- From: haliphax [mailto:halip...@gmail.com] Sent: Monday, March 09, 2009 10:00 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: PHP Frameworks On Sun, Mar 8, 2009 at 11:57 PM

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:25 AM, Marc Christopher Hall m...@hallmarcwebsites.com wrote: @todd; Micah - Precisely why I presented the question anew. Not only do I not have enough time to troll through the archives; I was looking for a fresher set of responses based on today's smorgasbord. Thank

[PHP] Re: PHP includes

2009-03-09 Thread Gary
Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has unique content on it,

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Virgilio Quilario
m...@hallmarcwebsites.com wrote: @todd; Micah - Precisely why I presented the question anew. Not only do I not have enough time to troll through the archives; I was looking for a fresher set of responses based on today's smorgasbord. Thank you for your input; I have looked at both YII and

RE: [PHP] Re: PHP includes

2009-03-09 Thread Mayer, Jonathan
Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has unique content on it,

RE: [PHP] Re: PHP includes

2009-03-09 Thread Bob McConnell
From: Gary Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has

Re: [PHP] Re: PHP includes

2009-03-09 Thread Sudheer Satyanarayana
Gary wrote: Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has unique

[PHP] Re: PHP includes

2009-03-09 Thread Nathan Rixham
Gary wrote: Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has unique

[PHP] Re: PHP includes

2009-03-09 Thread Nathan Rixham
Gary wrote: Thank you to everybody that replied...but it almost seems it is making extra work. What is the best type of file to be used as an include (.txt, .php). new I forgot something! the best type of file to be used as an include differs on a case by case basis. name the files

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Jason Norwood-Young
haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that overhead/bloat vs. productivity of the developer is a trade-off you're going to have to make for ANY of the

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 1:26 PM, Jason Norwood-Young ja...@freespeechpub.co.za wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that overhead/bloat vs.

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Nathan Rixham
Jason Norwood-Young wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that overhead/bloat vs. productivity of the developer is a trade-off you're going to have to

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Jason Norwood-Young
haliphax wrote: On Mon, Mar 9, 2009 at 1:26 PM, Jason Norwood-Young ja...@freespeechpub.co.za wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Nathan Rixham
Jason Norwood-Young wrote: haliphax wrote: On Mon, Mar 9, 2009 at 1:26 PM, Jason Norwood-Young ja...@freespeechpub.co.za wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing

RE: [PHP] Re: PHP includes

2009-03-09 Thread Ashley Sheridan
On Mon, 2009-03-09 at 15:10 +, Mayer, Jonathan wrote: Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not

Re: [PHP] Re: PHP includes

2009-03-09 Thread Nathan Rixham
Ashley Sheridan wrote: Just thought I'd point out that it's recommended against giving non-php extensions to PHP code pages. Basically, making all of your include files .inc without the server correctly configured to recognise all .inc files as PHP files, you are opening yourself up to possible

Re: [PHP] Re: PHP includes

2009-03-09 Thread Larry Garfield
On Monday 09 March 2009 3:07:17 pm Nathan Rixham wrote: Ashley Sheridan wrote: Just thought I'd point out that it's recommended against giving non-php extensions to PHP code pages. Basically, making all of your include files .inc without the server correctly configured to recognise all .inc

Re: [PHP] Re: PHP includes

2009-03-09 Thread Ashley Sheridan
On Mon, 2009-03-09 at 15:23 -0500, Larry Garfield wrote: On Monday 09 March 2009 3:07:17 pm Nathan Rixham wrote: Ashley Sheridan wrote: Just thought I'd point out that it's recommended against giving non-php extensions to PHP code pages. Basically, making all of your include files .inc

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 2:50 PM, Nathan Rixham nrix...@gmail.com wrote: haliphax wrote: Framework = Overhead (when compared to vanilla PHP). Period. I'm not by vanilla do you mean vanilla from lussimo? [http://getvanilla.com/] ? You know damn well I didn't. :) -- // Todd -- PHP General

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Nathan Rixham
haliphax wrote: On Mon, Mar 9, 2009 at 2:50 PM, Nathan Rixham nrix...@gmail.com wrote: haliphax wrote: Framework = Overhead (when compared to vanilla PHP). Period. I'm not by vanilla do you mean vanilla from lussimo? [http://getvanilla.com/] ? You know damn well I didn't. :) I'd love to

[PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Nathan Rixham
Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled Olson Timezone Database Version 0.system Timezone Database internal Default timezone America/Chicago Directive

Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Dirk
Nathan Rixham wrote: Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled Olson Timezone Database Version 0.system Timezone Database internal Default timezone

Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Nathan Rixham
Dirk wrote: Nathan Rixham wrote: Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled Olson Timezone Database Version 0.system Timezone Database internal Default

Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Dirk
Nathan Rixham wrote: Dirk wrote: Nathan Rixham wrote: Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled Olson Timezone Database Version 0.system Timezone Database

Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Dirk
Nathan Rixham wrote: Dirk wrote: Nathan Rixham wrote: Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled Olson Timezone Database Version 0.system Timezone Database

[PHP] Re: PHP Frameworks

2009-03-08 Thread Micah Gersten
HallMarc Websites wrote: First time caller; long time listener.. I have been looking at various PHP MVC frameworks; Limb3, Symphony, Mojavi, Navigator, WACT, etc. I'm looking for any input anyone might have regarding which framework seems to be the most promising? Thanks,

Re: [PHP] Re: PHP Frameworks

2009-03-08 Thread Micah Gersten
-general@lists.php.net Subject: [PHP] Re: PHP Frameworks HallMarc Websites wrote: First time caller; long time listener.. I have been looking at various PHP MVC frameworks; Limb3, Symphony, Mojavi, Navigator, WACT, etc. I'm looking for any input anyone might have regarding which framework

Re: [PHP] Re: PHP script lag (5 secs) when declaring mime type.

2009-03-06 Thread Jsbeginner
Thankyou for the help, I will contact the script maintainer to ask him to work on this problem for future updates, and for the moment I've commented out the line that specifies the length. I suppose that it won't cause any problems with files that are sent through this script that are not

Re: [PHP] Re: PHP script lag (5 secs) when declaring mime type.

2009-03-06 Thread 9el
On Fri, Mar 6, 2009 at 4:18 PM, Jsbeginner jsbegin...@monarobase.netwrote: Thankyou for the help, I will contact the script maintainer to ask him to work on this problem for future updates, and for the moment I've commented out the line that specifies the length. I suppose that it won't

Re: [PHP] Re: [PHP-DB] Re: Problems with displaying results

2009-03-05 Thread Terion Miller
On Tue, Mar 3, 2009 at 2:16 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Tue, 2009-03-03 at 11:08 -0600, Terion Miller wrote: On Tue, Mar 3, 2009 at 10:32 AM, Shawn McKenzie nos...@mckenzies.net wrote: Terion Miller wrote: I have two queries one pulls out which users to

[PHP] Re: [PHP-DB] Re: [PHP] Re: [PHP-DB] Re: Problems with displaying results

2009-03-05 Thread Lex Braun
On Thu, Mar 5, 2009 at 10:30 AM, Terion Miller webdev.ter...@gmail.comwrote: Still having problems with getting this script to work, the first part of the query does now work since I used the suggested JOIN, so my results are there and I can echo them but now I can't seem to get them to

[PHP] Re: PHP script lag (5 secs) when declaring mime type.

2009-03-05 Thread Nisse Engström
On Thu, 05 Mar 2009 15:45:35 +0100, Jsbeginner wrote: ?php header('Content-Type: application/x-javascript'); header('Content-Length: '.filesize('test.js')); readfile('test.js'); ? test.js is only a few lines long, and if I remove the header content type the file loads instantaniously do

[PHP] Re: PHP script lag (5 secs) when declaring mime type.

2009-03-05 Thread Nisse Engström
On Thu, 5 Mar 2009 19:14:20 +0100, Nisse Engström wrote: On Thu, 05 Mar 2009 15:45:35 +0100, Jsbeginner wrote: ?php header('Content-Type: application/x-javascript'); header('Content-Length: '.filesize('test.js')); readfile('test.js'); ? test.js is only a few lines long, and if I remove

[PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-04 Thread Jochem Maas
..not an internals question me thinks ... redirecting to generals mailing list mike schreef: I am trying to figure out a strategy for multiple output formats on a site, and it seems like I can have functions defined by default, but have them defined -after- I've included the targetted format

<    1   2   3   4   5   6   7   8   9   10   >