Re: [PHP] Re: shell_exec fails to compile java class?

2009-11-12 Thread Mark Cilissen
דניאל דנון schreef: Where are you trying to write text.txt? Are you setting a current working directory in your batch file? Do you have write permission in this directory? (copied it to make it easier to understand my answer) In the same folder. Yes, there is a "cd javafiles" Yes. I know its not

Re: [PHP] uniqid() and repetition of numbers generated

2009-11-12 Thread Angus Mann
Here's part of the confusion: If you were to express the number of microseconds since 1970 in a decimal number, it would indeed take 16 digits. But uniqid() returns a /13 character string/, not a 13 digit number. The string is actually a hexadecimal number (and thus can express a greater range o

Re: [PHP] is Aptana taking a crap on the face of PHP?

2009-11-12 Thread Bastien Koert
On Thu, Nov 12, 2009 at 8:40 PM, Robert Cummings wrote: > I've never even heard of Aptana... I use Joe...it's a terminal based editor. > Works anywhere you have a terminal... just like other popular editors such > as vi :) > > Cheers, > Rob. > > > Daevid Vincent wrote: >> >> Whoa, am I reading thi

Re: [PHP] uniqid() and repetition of numbers generated

2009-11-12 Thread John List
Angus Mann wrote: Original Message - From: Ashley Sheridan To: Angus Mann Cc: php-general@lists.php.net Sent: Friday, November 13, 2009 8:31 AM Subject: Re: [PHP] uniqid() and repetition of numbers generated On Fri, 2009-11-13 at 08:22 +1000, Angus Mann wrote: Hi all.

Re: [PHP] is Aptana taking a crap on the face of PHP?

2009-11-12 Thread Robert Cummings
I've never even heard of Aptana... I use Joe...it's a terminal based editor. Works anywhere you have a terminal... just like other popular editors such as vi :) Cheers, Rob. Daevid Vincent wrote: Whoa, am I reading this right that Aptana is basically moving away from PHP?? https://aptanast

Re: [PHP] is Aptana taking a crap on the face of PHP?

2009-11-12 Thread Raymond Irving
You might want to check out NetBeans for PHP - It's very nice open source IDE Best regards, __ Raymond Irving From: Daevid Vincent To: PHP General Sent: Thu, November 12, 2009 7:55:56 PM Subject: [PHP] is Aptana taking a crap on the face of PHP? Whoa, am I

[PHP] is Aptana taking a crap on the face of PHP?

2009-11-12 Thread Daevid Vincent
Whoa, am I reading this right that Aptana is basically moving away from PHP?? https://aptanastudio.tenderapp.com/discussions/suggestions/58-aptana-20 https://aptanastudio.tenderapp.com/discussions/questions/75-aptana-no-longer -has-php http://www.aptana.org/php It sounds like they put in the ol

Re: [PHP] What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread clancy_1
On Thu, 12 Nov 2009 09:45:55 -0800 (PST), stephe...@rogers.com (Stephen) wrote: >--- On Thu, 11/12/09, Chris Payne wrote: > >> I have been asked to create thumbnails from the first page >> of a PDF >> document on the fly with PHP, I have looked online but am >> confused as >> there doesn't seem 1

[PHP] Re: uniqid() and repetition of numbers generated

2009-11-12 Thread Ross McKay
On Fri, 13 Nov 2009 08:22:47 +1000, Angus Mann wrote: >I need a unique identifier in an SQL table and for complicated reasons >I don't want to use auto-increment. [...] So why not use a UUID/GUID as created by the DB? You don't specify which DB server technology you're using, but: * Microsoft S

Re: [PHP] uniqid() and repetition of numbers generated

2009-11-12 Thread Angus Mann
Original Message - From: Ashley Sheridan To: Angus Mann Cc: php-general@lists.php.net Sent: Friday, November 13, 2009 8:31 AM Subject: Re: [PHP] uniqid() and repetition of numbers generated On Fri, 2009-11-13 at 08:22 +1000, Angus Mann wrote: Hi all. I'm sure I can't be

Re: [PHP] uniqid() and repetition of numbers generated

2009-11-12 Thread Ashley Sheridan
On Fri, 2009-11-13 at 08:22 +1000, Angus Mann wrote: > Hi all. I'm sure I can't be the first person to ask this question but a > search of the net leaves me confused. > > I need a unique identifier in an SQL table and for complicated reasons I > don't want to use auto-increment. > > So I thoug

[PHP] uniqid() and repetition of numbers generated

2009-11-12 Thread Angus Mann
Hi all. I'm sure I can't be the first person to ask this question but a search of the net leaves me confused. I need a unique identifier in an SQL table and for complicated reasons I don't want to use auto-increment. So I thought I would use a pseudo-random method instead. I am NOT scared of p

Re: [PHP] Re: What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread Joseph Masoud
On 12/11/09 17:44, O. Lavell wrote: Chris Payne wrote: Hi Everyone, I have been asked to create thumbnails from the first page of a PDF document on the fly with PHP, I have looked online but am confused as there doesn't seem 1 simple solution. What would you all recommend as an easy way to d

Re: [PHP] Re: Need suggestions on PHP frameworks

2009-11-12 Thread Sudheer Satyanarayana
I doubt you'll get a reasoned bunch of suggestions, more a religious war... :-) Still, I like PEAR components. Exactly. You have to visit the websites of frameworks, comparison articles, etc and find out for yourself which one suits you best. Currently, if I get to decide, I choose ZF

Re: [PHP] sessions and email

2009-11-12 Thread Andrew Ballard
On Thu, Nov 12, 2009 at 1:21 PM, Ashley Sheridan wrote: > On Thu, 2009-11-12 at 13:17 -0500, Dan Shirah wrote: > >> All, >> >> I am using sessions for my application to verify a user has logged in: >> >> // Verify the user is logged in. >> if (!isset($_SESSION['basic_is_logged_in']) >>     || $_SE

Re: [PHP] sessions and email

2009-11-12 Thread Ashley Sheridan
On Thu, 2009-11-12 at 13:17 -0500, Dan Shirah wrote: > All, > > I am using sessions for my application to verify a user has logged in: > > // Verify the user is logged in. > if (!isset($_SESSION['basic_is_logged_in']) > || $_SESSION['basic_is_logged_in'] !== true) { > // If not logged in

[PHP] sessions and email

2009-11-12 Thread Dan Shirah
All, I am using sessions for my application to verify a user has logged in: // Verify the user is logged in. if (!isset($_SESSION['basic_is_logged_in']) || $_SESSION['basic_is_logged_in'] !== true) { // If not logged in, redirect to the login page. header('Location: login.php'); e

Re: [PHP] What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread Stephen
--- On Thu, 11/12/09, Chris Payne wrote: > I have been asked to create thumbnails from the first page > of a PDF > document on the fly with PHP, I have looked online but am > confused as > there doesn't seem 1 simple solution. Go to sitepoint.com and search for "photo gallery in minutes" Excell

[PHP] Re: What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread O. Lavell
Chris Payne wrote: > Hi Everyone, > > I have been asked to create thumbnails from the first page of a PDF > document on the fly with PHP, I have looked online but am confused as > there doesn't seem 1 simple solution. > > What would you all recommend as an easy way to do this? > > Any help woul

Re: [PHP] Re: Need suggestions on PHP frameworks

2009-11-12 Thread richardh
Hi, > ... I doubt you'll get a reasoned bunch of suggestions, more a religious war... :-) Still, I like PEAR components. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th November) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http:/

[PHP] What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread Chris Payne
Hi Everyone, I have been asked to create thumbnails from the first page of a PDF document on the fly with PHP, I have looked online but am confused as there doesn't seem 1 simple solution. What would you all recommend as an easy way to do this? Any help would be really appreciated. Chris -- P

[PHP] How to read certificate values of HTTPS webserver

2009-11-12 Thread Tanveer Chowdhury
Hi, I have a SSL enabledd webserver which is CA self signed. So when client hits the server , the server shows the client his certificate and as its self signed so the client browser add the exception and proceed. Now when the client hit the webserver and server showed its certificate; is there an

[PHP] Re: Need suggestions on PHP frameworks

2009-11-12 Thread Dhanushka Samarakoon
Thanks :-) Tried searching the archives, but maybe I was not using the correct search terms. Will give it another try. On Thu, Nov 12, 2009 at 11:01 AM, Nathan Rixham wrote: > Dhanushka Samarakoon wrote: > > Hi, > > > > I need to select a PHP framework for a small project about 20-25 pages > (bu

[PHP] Re: How to create CA certificate with PHP

2009-11-12 Thread Tanveer Chowdhury
thank you. I will have a look at it and will come up if any question. On Wed, Nov 11, 2009 at 11:47 PM, Manuel Lemos wrote: > Hello, > > on 11/10/2009 08:28 PM Tanveer Chowdhury said the following: >> Hello all, >> >> Using openssl, I can create CA certificate by using the linux command line. >>

[PHP] Re: Need suggestions on PHP frameworks

2009-11-12 Thread Nathan Rixham
Dhanushka Samarakoon wrote: > Hi, > > I need to select a PHP framework for a small project about 20-25 pages (but > expected to grow in the future). I was looking at the comparison chart at > http://www.phpframeworks.com/. > > After browsing through some forums seems like CodeIgniter is the popul

[PHP] Re: Form Validation filter - Regex Q

2009-11-12 Thread Al
Haig Davis wrote: Morning All, I've been figthing with this little problem for two days now, so far no luck with google and am beginning to question my own sanity. I have a application that has over one hundred forms some quite lengthy so what I'm trying to achieve rather than writing a bunc

[PHP] Need suggestions on PHP frameworks

2009-11-12 Thread Dhanushka Samarakoon
Hi, I need to select a PHP framework for a small project about 20-25 pages (but expected to grow in the future). I was looking at the comparison chart at http://www.phpframeworks.com/. After browsing through some forums seems like CodeIgniter is the popular option. *** But I really like event dri

[PHP] Re: Form Validation filter - Regex Q

2009-11-12 Thread Nisse Engström
On Tue, 10 Nov 2009 09:34:52 -0800, Haig Davis wrote: > foreach($_POST as $keyTemp => $valueTemp){ > $key = mysqlclean($keyTemp); > $value = mysqlclean($valueTemp); Mysql and form validation are totally unrelated. In my mind, this seems spectacularly misguided. >