php-general Digest 6 Mar 2008 09:39:54 -0000 Issue 5332

2008-03-06 Thread php-general-digest-help
php-general Digest 6 Mar 2008 09:39:54 - Issue 5332 Topics (messages 271051 through 271068): Re: Pear Installation Problem - Ubuntu 271051 by: Stephen 271053 by: Shawn McKenzie 271054 by: Stephen Re: Preserving URL after redirect? 271052 by: Shawn McKenzie

Re: [PHP] Pear Installation Problem - Ubuntu

2008-03-06 Thread Richard Heyes
You could just copy and paste from the PEAR website, And replicate the directory structure manually. g 1. Create the dire /use/local/share/pear/HTML 2. Copy (or create) the file Quickform (and all it's associated stuff) into that directory. IIRC, Quickform has quite a lot of files, so you

RE: [PHP] Logging session timeout in DB

2008-03-06 Thread Angelo Zanetti
Thanks Daniel, this is a good solution, I will implement it and get it working! Cheers Angelo -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: 05 March 2008 20:37 To: Angelo Zanetti Cc: php-general@lists.php.net Subject: Re: [PHP] Logging session timeout in DB On

[PHP] CVS Scripts

2008-03-06 Thread Adrian Walls
Hi, I would like to be able to automatically check projects out from a CVS repository using PHP rather than a traditional CVS client as part of a build process? Has anyone done this successfully before and if so can they point me in the right direction on how to go about this? Thanks,

Re: [PHP] Re: Preserving URL after redirect?

2008-03-06 Thread Jochem Maas
Skip Evans schreef: (Apologies to Shawn for sending this directly to him and not the entire list, that was an accident. Here it is for the list.) Shawn McKenzie wrote: SNIP! Rewrite rule would look something like: IfModule mod_rewrite.c RewriteEngine On RewriteCond

Re: [PHP] CVS Scripts

2008-03-06 Thread Eric Butera
On Thu, Mar 6, 2008 at 7:29 AM, Adrian Walls [EMAIL PROTECTED] wrote: Hi, I would like to be able to automatically check projects out from a CVS repository using PHP rather than a traditional CVS client as part of a build process? Has anyone done this successfully before and if so can

[PHP] Re: Alternative to Quickforms - Not Use Tables

2008-03-06 Thread Mark Wiesemann
Stephen wrote: Subject says it. Is there an open source class for forms that provides for the use of CSS for the layout of forms? Don't you like HTML_QuickForm, or aren't you aware about the tableless renderer that is available in PEAR? =

RES: [PHP] CVS Scripts

2008-03-06 Thread Thiago Pojda
-Mensagem original- De: Eric Butera [mailto:[EMAIL PROTECTED] CONFIDENTIALITY NOTICE This email is private and confidential and may contain legally privileged information. If you are not named as an addressee it may be unlawful for you to read, copy, distribute, disclose or

Re: [PHP] CVS Scripts

2008-03-06 Thread tedd
At 8:12 AM -0500 3/6/08, Eric Butera wrote: On Thu, Mar 6, 2008 at 7:29 AM, Adrian Walls [EMAIL PROTECTED] wrote: Adrian Walls K-Point Internet Solutions Limited Tel: (028) 4175 4836 Mob:+44 (0) 7734473615 Email: [EMAIL PROTECTED] Web: http://www.kpoint.co.uk

Re: [PHP] CVS Scripts

2008-03-06 Thread Eric Butera
On Thu, Mar 6, 2008 at 9:11 AM, Thiago Pojda [EMAIL PROTECTED] wrote: -Mensagem original- De: Eric Butera [mailto:[EMAIL PROTECTED] CONFIDENTIALITY NOTICE This email is private and confidential and may contain legally privileged information. If you are not named as an

Re: [PHP] Re: imagettftext and utf-8 (swedish characters)

2008-03-06 Thread tedd
At 8:35 AM +0100 3/6/08, David Sveningsson wrote: Sidenote: If I replace åäö with numerical html entities it works, but that's not a reasonable solution to me. And you're right -- it isn't a reasonable solution . Whatever is generating your characters should generating the same characters

Re: [PHP] CVS Scripts

2008-03-06 Thread tedd
At 9:25 AM -0500 3/6/08, Eric Butera wrote: Indeed. :) I was just poking fun at how asinine it is to think of a clear text email going over the wire has any possibility of being secure/confidential. Funny what lawyers make us do, right? It may be funny what they try to do, but doing it is up

Re: [PHP] URL modification

2008-03-06 Thread tedd
At 4:46 PM + 2/25/08, Nathan Rixham wrote: It may be a good time to throw in this .htaccess which just palms eveything [not found] off to php [.htaccess] RewriteEngine On RewriteBase / DirectoryIndex handle.urls.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d

RE: [PHP] Array questions...

2008-03-06 Thread Ford, Mike
On 05 March 2008 15:50, Jason Pruim advised: On Mar 5, 2008, at 10:41 AM, Ford, Mike wrote: (I was also wondering to myself whether you actually really, really wanted $txtNumArray = $_POST['txtNumArray'], but perhaps you can easily explain why not...?) It's a habit I picked up when I

Re: [PHP] CVS Scripts

2008-03-06 Thread Wolf
!-- snip -- CONFIDENTIALITY NOTICE This email is private and confidential and may contain legally privileged information. If you are not named as an addressee it may be unlawful for you to read, copy, distribute, disclose or otherwise use the information contained in this email.

Re: [PHP] URL modification

2008-03-06 Thread Aschwin Wesselius
tedd wrote: At 4:46 PM + 2/25/08, Nathan Rixham wrote: It may be a good time to throw in this .htaccess which just palms eveything [not found] off to php [.htaccess] RewriteEngine On RewriteBase / DirectoryIndex handle.urls.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond

RE: [PHP] CVS Scripts

2008-03-06 Thread Wolf
Adrian Walls [EMAIL PROTECTED] wrote: 1. It is a legal thing, whether it means anything or not or regardless of what anyone else's take is on it. 2. It was a straight forward question I asked. I guess it was my mistake for thinking this was a place to ask questions rather than

Re: [PHP] CVS Scripts

2008-03-06 Thread Daniel Brown
On Thu, Mar 6, 2008 at 10:31 AM, Adrian Walls [EMAIL PROTECTED] wrote: 1. It is a legal thing, whether it means anything or not or regardless of what anyone else's take is on it. 2. It was a straight forward question I asked. I guess it was my mistake for thinking this was a place to ask

RE: [PHP] CVS Scripts

2008-03-06 Thread Adrian Walls
Firstly thanks for a sensible reply. I am using Zend Studio Server and I haven't upgraded to Zend Studio for Eclipse as yet. It also has some CVS capability not its not what I am after. Google was my first stop but it didn't turn up anything which appeared to be in a stable enough state.

RE: [PHP] CVS Scripts

2008-03-06 Thread Wolf
I am using Zend Studio Server and I haven't upgraded to Zend Studio for Eclipse as yet. It also has some CVS capability not its not what I am after. Google was my first stop but it didn't turn up anything which appeared to be in a stable enough state. Hence my email to the list to see

RE: [PHP] CVS Scripts

2008-03-06 Thread Adrian Walls
1. It is a legal thing, whether it means anything or not or regardless of what anyone else's take is on it. 2. It was a straight forward question I asked. I guess it was my mistake for thinking this was a place to ask questions rather than somewhere to take the p*ss. I'll not make the same

Re: [PHP] CVS Scripts

2008-03-06 Thread Eric Butera
On Thu, Mar 6, 2008 at 10:58 AM, Adrian Walls [EMAIL PROTECTED] wrote: Firstly thanks for a sensible reply. I am using Zend Studio Server and I haven't upgraded to Zend Studio for Eclipse as yet. It also has some CVS capability not its not what I am after. Google was my first stop but

RE: [PHP] CVS Scripts

2008-03-06 Thread tedd
At 3:31 PM + 3/6/08, Adrian Walls wrote: 2. It was a straight forward question I asked. I guess it was my mistake for thinking this was a place to ask questions rather than somewhere to take the p*ss. I'll not make the same mistake again. Before you take that attitude -- oh, but wait you

Re: [PHP] Re: Alternative to Quickforms - Not Use Tables

2008-03-06 Thread Stephen
Mark Wiesemann wrote: Subject says it. Is there an open source class for forms that provides for the use of CSS for the layout of forms? Don't you like HTML_QuickForm, or aren't you aware about the tableless renderer that is available in PEAR? =

Re: [PHP] CVS Scripts

2008-03-06 Thread tedd
At 10:54 AM -0500 3/6/08, Daniel Brown wrote: And for those who say it's a waste of bandwidth (I'm staring in your direction, old man! ;-P) I'd say that there's no such thing as a waste of bandwidth, because it's an unlimited, indefinite resource. Not even just renewable, but infinite. And

RE: [PHP] CVS Scripts

2008-03-06 Thread Andrés Robinet
-Original Message- From: Wolf [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 11:02 AM To: Adrian Walls Cc: php-general@lists.php.net; 'Eric Butera' Subject: RE: [PHP] CVS Scripts I am using Zend Studio Server and I haven't upgraded to Zend Studio for Eclipse as yet.

RE: [PHP] CVS Scripts

2008-03-06 Thread tedd
At 11:30 AM -0500 3/6/08, Andrés Robinet wrote: Still, I kept the other part of the signature (which you can see at the bottom) because it contains information that can be of some value for anybody reading my posts. It says who I am, who I work with, where we are and the many to contact us.

Re: [PHP] CVS Scripts

2008-03-06 Thread Eric Butera
On Thu, Mar 6, 2008 at 12:10 PM, tedd [EMAIL PROTECTED] wrote: At 11:30 AM -0500 3/6/08, Andrés Robinet wrote: Still, I kept the other part of the signature (which you can see at the bottom) because it contains information that can be of some value for anybody reading my posts. It says

Re: [PHP] CVS Scripts

2008-03-06 Thread Ray Hauge
Eric Butera wrote: On Thu, Mar 6, 2008 at 10:58 AM, Adrian Walls [EMAIL PROTECTED] wrote: Firstly thanks for a sensible reply. I am using Zend Studio Server and I haven't upgraded to Zend Studio for Eclipse as yet. It also has some CVS capability not its not what I am after. Google was

Re: [PHP] CVS Scripts

2008-03-06 Thread Ray Hauge
Wolf wrote: I am using Zend Studio Server and I haven't upgraded to Zend Studio for Eclipse as yet. It also has some CVS capability not its not what I am after. Google was my first stop but it didn't turn up anything which appeared to be in a stable enough state. Hence my email to the list

Re: [PHP] CVS Scripts

2008-03-06 Thread tedd
At 12:43 PM -0500 3/6/08, Eric Butera wrote: You know most people do break the rules. :) http://us.php.net/reST/php-src/README.MAILINGLIST_RULES Specifically: 7. Please configure your email client to use a real name and keep message signatures to a maximum of 2 lines if at all necessary. No

Re: [PHP] CVS Scripts

2008-03-06 Thread Eric Butera
On Thu, Mar 6, 2008 at 1:03 PM, tedd [EMAIL PROTECTED] wrote: At 12:43 PM -0500 3/6/08, Eric Butera wrote: You know most people do break the rules. :) http://us.php.net/reST/php-src/README.MAILINGLIST_RULES Specifically: 7. Please configure your email client to use a real name and

[PHP] imagerotate

2008-03-06 Thread Zeshan Uddin
Image Resize Rotation Hi I have 2 scripts, one for Image rotation and other image resize and they both are working. Image resize scripts load the picture and resize it and Image rotation rotate the image by 90 deg. They are two differennt files i.e. resize.php and rotate.php. What I want to

Re: [PHP] imagerotate

2008-03-06 Thread Daniel Brown
On Wed, Mar 5, 2008 at 12:17 PM, Zeshan Uddin [EMAIL PROTECTED] wrote: I have 2 scripts, one for Image rotation and other image resize and they both are working. [snip!] What I want to do is to combine both rotate.php resize.php files [snip!] The merged code is below, and you can see

Re: [PHP] imagerotate

2008-03-06 Thread tedd
At 4:19 PM -0500 3/6/08, Daniel Brown wrote: On Wed, Mar 5, 2008 at 12:17 PM, Zeshan Uddin [EMAIL PROTECTED] wrote: I have 2 scripts, one for Image rotation and other image resize and they both are working. [snip!] What I want to do is to combine both rotate.php resize.php files

Re: [PHP] imagerotate

2008-03-06 Thread Daniel Brown
On Thu, Mar 6, 2008 at 4:41 PM, tedd [EMAIL PROTECTED] wrote: At 4:19 PM -0500 3/6/08, Daniel Brown wrote: New file: resizeandrotate.php It sounds like a phrase we used in high school with a hand gesture. I'm familiar with the phrase. I believe it involved passing an object to a

RE: [PHP] CVS Scripts

2008-03-06 Thread Richard Lynch
On Thu, March 6, 2008 10:02 am, Wolf wrote: I am using Zend Studio Server and I haven't upgraded to Zend Studio for Eclipse as yet. It also has some CVS capability not its not what I am after. Google was my first stop but it didn't turn up anything which appeared to be in a stable enough

Re: [PHP] CVS Scripts

2008-03-06 Thread Chris
If you want to ask, and have answered, a question that's important to you, then consider asking it in a way that's respectful. That's understandable, is it not? He did ask a question. I would like to be able to automatically check projects out from a CVS repository using PHP rather than a

[PHP] Transferring files between computers using php

2008-03-06 Thread Rahul
I have a small file to be transferred between two computers every few seconds. I'm using unix with a bare bones version of php, i.e. just the original thing that gets installed when I run yum install php. As there is no webserver on any of these machines, I was wondering if there is a way to

Re: [PHP] Transferring files between computers using php

2008-03-06 Thread Chris
Rahul wrote: I have a small file to be transferred between two computers every few seconds. I'm using unix with a bare bones version of php, i.e. just the original thing that gets installed when I run yum install php. As there is no webserver on any of these machines, I was wondering if there

[PHP] Re: Transferring files between computers using php

2008-03-06 Thread Shawn McKenzie
Rahul wrote: I have a small file to be transferred between two computers every few seconds. I'm using unix with a bare bones version of php, i.e. just the original thing that gets installed when I run yum install php. As there is no webserver on any of these machines, I was wondering if

[PHP] Re: Transferring files between computers using php

2008-03-06 Thread Shawn McKenzie
Rahul wrote: I have a small file to be transferred between two computers every few seconds. I'm using unix with a bare bones version of php, i.e. just the original thing that gets installed when I run yum install php. As there is no webserver on any of these machines, I was wondering if

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Zareef Ahmed
On 3/7/08, Shawn McKenzie [EMAIL PROTECTED] wrote: Rahul wrote: I have a small file to be transferred between two computers every few seconds. I'm using unix with a bare bones version of php, i.e. just the original thing that gets installed when I run yum install php. As there is no

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Rahul
Thank you all so much for replying... I guess I was very vague in describing the situation. I will write in detail: I have three computers A, B and C. To login to B and C I should use A because it has a SSH key. I don't have any other way of accessing these two computers. Now, if I need to

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Zareef Ahmed
On 3/7/08, Rahul [EMAIL PROTECTED] wrote: Thank you all so much for replying... I guess I was very vague in describing the situation. I will write in detail: I have three computers A, B and C. To login to B and C I should use A because it has a SSH key. I don't have any other way of

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Rahul
Zareef Ahmed wrote: On 3/7/08, Rahul [EMAIL PROTECTED] wrote: Thank you all so much for replying... I guess I was very vague in describing the situation. I will write in detail: I have three computers A, B and C. To login to B and C I should use A because it has a SSH key. I don't have any

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Chris
Rahul wrote: Thank you all so much for replying... I guess I was very vague in describing the situation. I will write in detail: I have three computers A, B and C. To login to B and C I should use A because it has a SSH key. I don't have any other way of accessing these two computers. Now,

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Ray Hauge
Rahul wrote: Zareef Ahmed wrote: On 3/7/08, Rahul [EMAIL PROTECTED] wrote: Thank you all so much for replying... I guess I was very vague in describing the situation. I will write in detail: I have three computers A, B and C. To login to B and C I should use A because it has a SSH key. I

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Shawn McKenzie
Rahul wrote: Thank you all so much for replying... I guess I was very vague in describing the situation. I will write in detail: I have three computers A, B and C. To login to B and C I should use A because it has a SSH key. I don't have any other way of accessing these two computers. Now,

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Chris
If ssh keys are installed on the remote hosts then scp works transparently and you just stick the scp in a cron job. Am I missing something? Yeh - looks like you have to log in to A and then it uses key-forwarding to let you log in to B and C: --- To login to B and C I should use A