Re: [PHP] Please guide in selection of Framework: according to your experience

2010-03-29 Thread Nilesh Govindarajan
On 03/30/2010 01:59 AM, Daevid Vincent wrote: -Original Message- From: Vishal Rewari [mailto:rewari.vis...@gmail.com] Sent: Friday, March 26, 2010 9:29 PM I am vishal, I have recently started development in PHP I have come across these PHP frameworks: 1. Codeigniter 2. Sympho

Re: [PHP] Please guide in selection of Framework: according to your experience

2010-03-29 Thread Nathan Rixham
Daevid Vincent wrote: > > >> -Original Message- >> From: Vishal Rewari [mailto:rewari.vis...@gmail.com] >> Sent: Friday, March 26, 2010 9:29 PM >> >> I am vishal, I have recently started development in PHP >> I have come across these PHP frameworks: >> >>1. Codeigniter >>2. Symp

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Nathan Rixham
Jan G.B. wrote: > 2010/3/29 Nathan Rixham > >> Jan G.B. wrote: >>> Top posting sucks, so I'll answer the post somewhere down there. >>> >>> >>> 2010/3/29 Devendra Jadhav >>> Then you can do file_get_contents within PHP. or any file handling mechanism. >> On Mon, Mar 29, 2010 at 1:

RE: [PHP] Please guide in selection of Framework: according to your experience

2010-03-29 Thread Daevid Vincent
> -Original Message- > From: Vishal Rewari [mailto:rewari.vis...@gmail.com] > Sent: Friday, March 26, 2010 9:29 PM > > I am vishal, I have recently started development in PHP > I have come across these PHP frameworks: > >1. Codeigniter >2. Symphony >3. CakePHP >4. PEAR

Re: [PHP] is there any setting to declare the member variables in constructor?

2010-03-29 Thread solo hsi
i have done my work, replaced fpdf with tcpdf, just by using fpdi:) On Tue, Mar 30, 2010 at 12:12 AM, Richard Quadling wrote: > On 29 March 2010 16:47, solo hsi wrote: >> sure, i know fpdf can deal with asian character like Chinese, but it >> can't work with utf-8 charactor so that i have to rep

Re: [PHP] is there any setting to declare the member variables in constructor?

2010-03-29 Thread Richard Quadling
On 29 March 2010 16:47, solo hsi wrote: > sure, i know fpdf can deal with asian character like Chinese, but it > can't work with utf-8 charactor so that i have to replace it with > tcpdf. > > On Mon, Mar 29, 2010 at 8:14 PM, Richard Quadling > wrote: >> On 27 March 2010 17:50, solo hsi wrote: >>

Re: [PHP] is there any setting to declare the member variables in constructor?

2010-03-29 Thread solo hsi
sure, i know fpdf can deal with asian character like Chinese, but it can't work with utf-8 charactor so that i have to replace it with tcpdf. On Mon, Mar 29, 2010 at 8:14 PM, Richard Quadling wrote: > On 27 March 2010 17:50, solo hsi wrote: >> now i'm re-writing some script to output pdf files.

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Anshul Agrawal
On Mon, Mar 29, 2010 at 6:10 PM, Nathan Rixham wrote: > Jan G.B. wrote: > > Top posting sucks, so I'll answer the post somewhere down there. > > > > > > 2010/3/29 Devendra Jadhav > > > >> Then you can do file_get_contents within PHP. or any file handling > >> mechanism. > On Mon, Mar 29, 2

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Jan G.B.
2010/3/29 Nathan Rixham > Jan G.B. wrote: > > Top posting sucks, so I'll answer the post somewhere down there. > > > > > > 2010/3/29 Devendra Jadhav > > > >> Then you can do file_get_contents within PHP. or any file handling > >> mechanism. > On Mon, Mar 29, 2010 at 1:00 AM, ebhakt wrote:

Re: [PHP] bug tracking system

2010-03-29 Thread Anshul Agrawal
On Mon, Mar 29, 2010 at 5:30 PM, Jan G.B. wrote: > > 2010/3/29 Anshul Agrawal > > There is something new based on Trac but written in PHP. >> >> mtrack (http://bitbucket.org/wez/mtrack/wiki/Home) >> >> It is written by one of the PHP Core Developers (Wez Furlong). May be you >> want to try it ou

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Nathan Rixham
Jan G.B. wrote: > Top posting sucks, so I'll answer the post somewhere down there. > > > 2010/3/29 Devendra Jadhav > >> Then you can do file_get_contents within PHP. or any file handling >> mechanism. On Mon, Mar 29, 2010 at 1:00 AM, ebhakt wrote: > Hi > i am writing a web applica

[PHP] Re: Converting funky characters

2010-03-29 Thread Al
On 3/28/2010 8:05 PM, Skip Evans wrote: Hey all, What's the best way to filter/convert characters that don't translate properly from say news stories to HTML? For example, I have a form that people cut and paste the lead in paragraph from news stories they want to link to from their sites to

Re: [PHP] is there any setting to declare the member variables in constructor?

2010-03-29 Thread Richard Quadling
On 27 March 2010 17:50, solo hsi wrote: > now i'm re-writing some script to output pdf files. the original code > is based on fpdf, but as you know, fpdf can't deal with the characters > in utf8. >From http://www.fpdf.org/?lang=en "What languages can I use? The class can produce documents in ma

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Jan G.B.
Top posting sucks, so I'll answer the post somewhere down there. 2010/3/29 Devendra Jadhav > Then you can do file_get_contents within PHP. or any file handling > mechanism. > >> On Mon, Mar 29, 2010 at 1:00 AM, ebhakt wrote: > >>> Hi > >>> i am writing a web application in php > >>> this webap

Re: [PHP] bug tracking system

2010-03-29 Thread Jan G.B.
2010/3/29 Anshul Agrawal > There is something new based on Trac but written in PHP. > > mtrack (http://bitbucket.org/wez/mtrack/wiki/Home) > > It is written by one of the PHP Core Developers (Wez Furlong). May be you > want to try it out. > > And there's something quite new that's aimed to be lik

Re: [PHP] Sessions and Security Concerns

2010-03-29 Thread Nathan Rixham
Ashley Sheridan wrote: > On Mon, 2010-03-29 at 12:24 +0100, Ben Stones wrote: > >> Hi, >> >> I'm just wondering whether there are any apparent security concerns I should >> be aware of when using sessions in my PHP scripts. I understand that >> sessions are tracked with an individual user via a se

Re: [PHP] Sessions and Security Concerns

2010-03-29 Thread Ashley Sheridan
On Mon, 2010-03-29 at 12:24 +0100, Ben Stones wrote: > Hi, > > I'm just wondering whether there are any apparent security concerns I should > be aware of when using sessions in my PHP scripts. I understand that > sessions are tracked with an individual user via a session ID which is > stored in a

Re: [PHP] bug tracking system

2010-03-29 Thread Anshul Agrawal
There is something new based on Trac but written in PHP. mtrack (http://bitbucket.org/wez/mtrack/wiki/Home) It is written by one of the PHP Core Developers (Wez Furlong). May be you want to try it out. Best, Anshul On Sun, Mar 28, 2010 at 10:36 PM, Nathan Rixham wrote: > shiplu wrote: > > I

[PHP] Sessions and Security Concerns

2010-03-29 Thread Ben Stones
Hi, I'm just wondering whether there are any apparent security concerns I should be aware of when using sessions in my PHP scripts. I understand that sessions are tracked with an individual user via a session ID which is stored in a temporary location on the server, as well as a PHPSESSID cookie a

Re: [PHP] Re: optimizing PHP for microseconds

2010-03-29 Thread Nathan Rixham
Bastien Helders wrote: > I have a question as a relatively novice PHP developper. > > Let's say you have this Intranet web application, that deals with the > generation of file bundles that could become quite large (let say in the 800 > MB) after some kind of selection process. It should be availa

Re: [PHP] Converting funky characters

2010-03-29 Thread Nilesh Govindarajan
On 03/29/2010 02:21 PM, Ashley Sheridan wrote: On Mon, 2010-03-29 at 14:25 +0530, Nilesh Govindarajan wrote: On 03/29/2010 01:22 PM, Ashley Sheridan wrote: > On Mon, 2010-03-29 at 07:24 +0530, Nilesh Govindarajan wrote: >> On 03/29/2010 07:22 AM, solo hsi wrote: >> > i think you just need f

Re: [PHP] Converting funky characters

2010-03-29 Thread Ashley Sheridan
On Mon, 2010-03-29 at 14:25 +0530, Nilesh Govindarajan wrote: > On 03/29/2010 01:22 PM, Ashley Sheridan wrote: > > On Mon, 2010-03-29 at 07:24 +0530, Nilesh Govindarajan wrote: > >> On 03/29/2010 07:22 AM, solo hsi wrote: > >> > i think you just need function urldecode() > >> > > >> > On Mon

Re: [PHP] Converting funky characters

2010-03-29 Thread Nilesh Govindarajan
On 03/29/2010 01:22 PM, Ashley Sheridan wrote: On Mon, 2010-03-29 at 07:24 +0530, Nilesh Govindarajan wrote: On 03/29/2010 07:22 AM, solo hsi wrote: > i think you just need function urldecode() > > On Mon, Mar 29, 2010 at 8:05 AM, Skip Evansmailto:s...@bigskypenguin.com>> wrote: >> Hey

Re: [PHP] Re: optimizing PHP for microseconds

2010-03-29 Thread Peter Lind
That's impossible to answer given the brief layout of what you've described. However, rule of thumb: optimizing for microseconds only makes sense when the microseconds together make up a significant amount of time. An example might be in order: for ($i = 0; $i < count($stuff); $i++) { // do oth

Re: [PHP] Re: optimizing PHP for microseconds

2010-03-29 Thread Per Jessen
Bastien Helders wrote: > I have a question as a relatively novice PHP developper. > > Let's say you have this Intranet web application, that deals with the > generation of file bundles that could become quite large (let say in > the 800 MB) after some kind of selection process. It should be > ava

Re: [PHP] PHP to server prompt

2010-03-29 Thread Ashley Sheridan
On Mon, 2010-03-29 at 11:36 +0300, Manolis Vlachakis wrote: > did it but it seems that is not working.. > do you think because it requires the 'enter' to be given after the password > is required... > > > > > On 29 March 2010 11:21, Ashley Sheridan wrote: > > > On Mon, 2010-03-29 at 11:13 +

Re: [PHP] PHP to server prompt

2010-03-29 Thread Manolis Vlachakis
did it but it seems that is not working.. do you think because it requires the 'enter' to be given after the password is required... On 29 March 2010 11:21, Ashley Sheridan wrote: > On Mon, 2010-03-29 at 11:13 +0300, Manolis Vlachakis wrote: > > Thanks a lot for your reply, > by mentioning >

Re: [PHP] Re: optimizing PHP for microseconds

2010-03-29 Thread Bastien Helders
I have a question as a relatively novice PHP developper. Let's say you have this Intranet web application, that deals with the generation of file bundles that could become quite large (let say in the 800 MB) after some kind of selection process. It should be available to many users on this Intrane

Re: [PHP] PHP to server prompt

2010-03-29 Thread Ashley Sheridan
On Mon, 2010-03-29 at 11:13 +0300, Manolis Vlachakis wrote: > Thanks a lot for your reply, > by mentioning > /usr/sbin/function function_args > > you mean the file that runs and requires the password? > from what i had in mind i tried to use the args and argv attributes i used > in linux > but i

Re: [PHP]Zip and text files generated are corrupted

2010-03-29 Thread Bastien Helders
>I'm not sure. What is the exact command you are using? I'll show the code for the two scenario, maybe it'll help. I've edited out the sensitive information though, but I kept the essence of how it works. 1) Copy the previous file and make modification on it &1'; exec($command, $output,

Re: [PHP] PHP to server prompt

2010-03-29 Thread Manolis Vlachakis
Thanks a lot for your reply, by mentioning /usr/sbin/function function_args you mean the file that runs and requires the password? from what i had in mind i tried to use the args and argv attributes i used in linux but i couldn't make it ! Thanks again On 29 March 2010 10:58, Ashley Sheridan

Re: [PHP] PHP to server prompt

2010-03-29 Thread Ashley Sheridan
On Mon, 2010-03-29 at 10:38 +0300, Manolis Vlachakis wrote: > Hallo there everyone, > i am using a command on the server (kinit)and after that a password is > required to type in > the thing is that i would like that to be done automaticaly from the php > code! > i found that one > http://stackove

Re: [PHP] Converting funky characters

2010-03-29 Thread Ashley Sheridan
On Mon, 2010-03-29 at 07:24 +0530, Nilesh Govindarajan wrote: > On 03/29/2010 07:22 AM, solo hsi wrote: > > i think you just need function urldecode() > > > > On Mon, Mar 29, 2010 at 8:05 AM, Skip Evans wrote: > >> Hey all, > >> > >> What's the best way to filter/convert characters that don't

[PHP] PHP to server prompt

2010-03-29 Thread Manolis Vlachakis
Hallo there everyone, i am using a command on the server (kinit)and after that a password is required to type in the thing is that i would like that to be done automaticaly from the php code! i found that one http://stackoverflow.com/questions/1...-prompt-in-php