Re: [PHP] Prefered Method for User authetification on VHosts

2008-10-06 Thread Per Jessen
Michelle Konzack wrote: > Currently I have > [snip] OK, so a plain file-password authentification. That's fine. > I like to know, whether this is good enough or is there a > better solution? Good enough depends entirely on your security requirements, i.e. how safe do you need the auth

Re: [PHP] Best Search Algorithm for Millions of record

2008-10-06 Thread Hemant Patel
It will be a Postgres SQL Database and Fields will be like descriptive as well as Area of land,of street etc specific... With Regards, Hemant Patel On Mon, Oct 6, 2008 at 8:30 PM, Micah Gersten <[EMAIL PROTECTED]> wrote: > What type of data is in the fields? Also, which database engine? > > Than

Re: [PHP] Re: db_* => pg_*/my_*/ifx_* ?

2008-10-06 Thread Larry Garfield
On Wednesday 01 October 2008 10:44:29 am Michelle Konzack wrote: > Am 2008-09-30 19:58:03, schrieb Ashley Sheridan: > > Hi Michelle, I'm not sure exactly what it is you're after. Are you > > looking for software that will allow you to develop applications that > > are database agnostic? > > What is

Re: [PHP] Drupal 6

2008-10-06 Thread Larry Garfield
On Monday 06 October 2008 9:19:03 am Nathan Rixham wrote: > So as part of my "new job" I've been asked to research and indeed get > used to drupal 6; recon I guess. > > I've been using it for the past week; figured out all the best modules > to do everything I want etc etc. > > q: do you use drupal

Re: [PHP] The 'at' sign (@) variable prefix

2008-10-06 Thread Jochem Maas
mike schreef: > Mon, Oct 6, 2008 at 12:17 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > >>> I will get an error, but if I prefix the value with '@', >>> >>> [EMAIL PROTECTED]"q"]; >>The @ is an error control operator, used to buffer the output and >> store it in a variable - $php_errormsg. >

Re: [PHP] Required files not being parsed properly...

2008-10-06 Thread Eric Butera
On Mon, Oct 6, 2008 at 7:28 PM, Stephen Johnson <[EMAIL PROTECTED]> wrote: > OK .. I am upgrading to PHP5 on a clients box, and after doing so I have > run into the problem that files that get brought in by a require statement, > or include, end up just getting dumped to the browser as text.. > >

Re: [PHP] Required files not being parsed properly...

2008-10-06 Thread Jim Lucas
Stephen Johnson wrote: > OK .. I am upgrading to PHP5 on a clients box, and after doing so I have > run into the problem that files that get brought in by a require statement, > or include, end up just getting dumped to the browser as text.. > > For instance : > > require("/home/tnr/incs/tnr_db

[PHP] Required files not being parsed properly...

2008-10-06 Thread Stephen Johnson
OK .. I am upgrading to PHP5 on a clients box, and after doing so I have run into the problem that files that get brought in by a require statement, or include, end up just getting dumped to the browser as text.. For instance : require("/home/tnr/incs/tnr_db.php"); $db = new mysql(); Produces

Re: [PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread Ashley Sheridan
On Mon, 2008-10-06 at 12:35 -0400, J. Hill wrote: > [Sorry Nathan.] > > Yes, I should have said "autopopulate". And from what I have found, > you're right; it does appear java applets can do it, but I had hoped to > avoid that option. > > > Eric Butera -- The file upload will only exist in the

Re: [PHP] AJAX and PHP

2008-10-06 Thread Ashley Sheridan
On Mon, 2008-10-06 at 17:09 +0200, Alain Roger wrote: > And AFAIK it does not work on linux platform > > On Mon, Oct 6, 2008 at 3:36 PM, Wolf <[EMAIL PROTECTED]> wrote: > > > > > > yes, flex is "flash for developers"; the main language is AS3 and it > > > outputs swf's; flex is basically a progr

Re: [PHP] Re: db_* => pg_*/my_*/ifx_* ?

2008-10-06 Thread Ashley Sheridan
On Wed, 2008-10-01 at 17:44 +0200, Michelle Konzack wrote: > Am 2008-09-30 19:58:03, schrieb Ashley Sheridan: > > Hi Michelle, I'm not sure exactly what it is you're after. Are you > > looking for software that will allow you to develop applications that > > are database agnostic? > > What is "agn

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread farid lópez
what is your framework??? uacaman. i'm using symfony, but i'm reading the book. it's hard but there are so many things you can do easily with symfony! 2008/10/7 uaca man <[EMAIL PROTECTED]> > To be or not to be dump it your choice. > > My framework it not just awesome it is super awesome. > > An

Re: [PHP] The 'at' sign (@) variable prefix

2008-10-06 Thread mike
Mon, Oct 6, 2008 at 12:17 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: >> I will get an error, but if I prefix the value with '@', >> >> [EMAIL PROTECTED]"q"]; > >The @ is an error control operator, used to buffer the output and > store it in a variable - $php_errormsg. >It's better to wr

Re: [PHP] The 'at' sign (@) variable prefix

2008-10-06 Thread Daniel Brown
On Mon, Oct 6, 2008 at 3:03 PM, Crash Dummy <[EMAIL PROTECTED]> wrote: > I learned through osmosis that I could use the '@' sign to prevent an > error with an uncertain variable. For example, if there is no $_GET[] > value in this line, > > $query=$_GET["q"]; > > I will get an error, but if I prefi

Re: [PHP] The 'at' sign (@) variable prefix

2008-10-06 Thread uaca man
Documentation is at: http://br.php.net/manual/en/language.operators.errorcontrol.php Angelo 2008/10/6 Crash Dummy <[EMAIL PROTECTED]>: > I learned through osmosis that I could use the '@' sign to prevent an > error with an uncertain variable. For example, if there is no $_GET[] > value in this l

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread uaca man
To be or not to be dump it your choice. My framework it not just awesome it is super awesome. Angelo 2008/10/6 Dan Joseph <[EMAIL PROTECTED]>: > On Mon, Oct 6, 2008 at 1:01 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > >> >> But... Which framework is better? :P >> >> >> >> > Oh my.. now we're gon

[PHP] The 'at' sign (@) variable prefix

2008-10-06 Thread "Crash" Dummy
I learned through osmosis that I could use the '@' sign to prevent an error with an uncertain variable. For example, if there is no $_GET[] value in this line, $query=$_GET["q"]; I will get an error, but if I prefix the value with '@', [EMAIL PROTECTED]"q"]; and no value is available, a null st

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread Dan Joseph
On Mon, Oct 6, 2008 at 1:01 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > But... Which framework is better? :P > > > > Oh my.. now we're gonna get all those guys popping back up telling us how dumb we are and how awesome their frameworks are again! -- -Dan Joseph www.canishosting.com - Plans s

RE: [PHP] NTLM Auth For grabbing data.

2008-10-06 Thread Boyd, Todd M.
> -Original Message- > From: DJ Necrogami [mailto:[EMAIL PROTECTED] > Sent: Monday, October 06, 2008 12:41 PM > To: [EMAIL PROTECTED]; php-general@lists.php.net > Subject: [PHP] NTLM Auth For grabbing data. > > Content-Length1656 > Content-Type text/html > ServerMicrosoft-

[PHP] NTLM Auth For grabbing data.

2008-10-06 Thread DJ Necrogami
Content-Length 1656 Content-Typetext/html Server Microsoft-IIS/6.0 WWW-AuthenticateNegotiate NTLM X-Powered-ByASP.NET MicrosoftSharePointTeamServices 12.0.0.6023 I'm needing to authenticate against that with php. Is this possible? I can manually provide the details but the http a

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread uaca man
Lets raise the dead once more. I have been using the Prado framework, prado uses the .net architecture, so it is easy and fast to learn for those who came from a Microsoft platform, anyway prado is very good to build UI, but there is always a *but*!! Prado database abstraction model it is just bad

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread Jason Pruim
On Oct 6, 2008, at 12:57 PM, Daniel Brown wrote: On Mon, Oct 6, 2008 at 11:41 AM, clive <[EMAIL PROTECTED] > wrote: I agree with Tony. And you raise the dead. That thread died five and a half months ago Let it rest in peace! ;-P But... Which framework is better? :P -- Jason Pruim

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread Daniel Brown
On Mon, Oct 6, 2008 at 11:41 AM, clive <[EMAIL PROTECTED]> wrote: > > I agree with Tony. And you raise the dead. That thread died five and a half months ago Let it rest in peace! ;-P -- More full-root dedicated server packages: Intel 2.4GHz/60GB/512MB/2TB $49.99/mo. Intel 3.06GHz/80GB/1G

Re: [PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread J. Hill
[Sorry Nathan.] Yes, I should have said "autopopulate". And from what I have found, you're right; it does appear java applets can do it, but I had hoped to avoid that option. Eric Butera -- The file upload will only exist in the specified temp directory . . .. Perhaps I should have explaine

RE: [PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread Boyd, Todd M.
> -Original Message- > From: J. Hill [mailto:[EMAIL PROTECTED] > Sent: Monday, October 06, 2008 10:48 AM > To: php-general@lists.php.net > Subject: [PHP] How to capture origional client machine _directory_ and > file name on uploads? > > This should be trivial, but apparently not -- or may

Re: [PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread Richard Heyes
> Any suggestions? Yes, keep your pesky nose out. It's my machine and my file system is none of your business. Simply, you get whatever is in $_FILES and that's it. From memory thats the filename, the path to it on your machine, and size info. And maybe something else. Try print_r()ing $_FILES, th

[PHP] Re: How to capture origional client machine _directory_ and file nameon uploads?

2008-10-06 Thread Nathan Rixham
J. Hill wrote: This should be trivial, but apparently not -- or maybe I just need more caffeine. My searches have come up empty. I am trying to get not only the original file name on uploads, but also the original directory on the client machine as well. The purpose is for users who make a m

Re: [PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread Eric Butera
On Mon, Oct 6, 2008 at 11:48 AM, J. Hill <[EMAIL PROTECTED]> wrote: > This should be trivial, but apparently not -- or maybe I just need more > caffeine. My searches have come up empty. > > I am trying to get not only the original file name on uploads, but also the > original directory on the clien

[PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread J. Hill
This should be trivial, but apparently not -- or maybe I just need more caffeine. My searches have come up empty. I am trying to get not only the original file name on uploads, but also the original directory on the client machine as well. The purpose is for users who make a mistake on anothe

Re: [PHP] Re: php framework vs just php?

2008-10-06 Thread clive
Tony Marston wrote: I agree that finding the right framework to use can be very difficult, which is why a lot of programmers (like me) prefer to roll their own. But if you can find an off-the-shelf framework that does the job it can save you an awful amount of time. I agree with Tony. I

[PHP] Re: Php4 => Php5

2008-10-06 Thread Nathan Rixham
Operacion Control wrote: Hi Lists, I am planning to migrate from Php4 to Php5 in a few days. Do anyone know which applications/services are upset with the migration? I dont have enough servers to instalt each using Php4 and then install Php5 to test. I mean sendmail, qmail, joomla, egroupware

Re: [PHP] AJAX and PHP

2008-10-06 Thread Philip Thompson
On Oct 4, 2008, at 7:38 AM, Ashley Sheridan wrote: On Sat, 2008-10-04 at 13:48 +0200, Nitsan Bin-Nun wrote: It depends how much stuff you have in the first div, it there are a lot of images and the user will have to load them again (in case there is no cache) and you care for the traffic tho

Re: [PHP] AJAX and PHP

2008-10-06 Thread Nathan Rixham
> wrote: > yes, flex is "flash for developers"; the main language is AS3 and it > outputs swf's; flex is basically a program which allows you to use mix > of pre-made ui elements & classes, css and AS3 to quickly make great RIA's. Yup, bu

Re: [PHP] AJAX and PHP

2008-10-06 Thread Alain Roger
And AFAIK it does not work on linux platform On Mon, Oct 6, 2008 at 3:36 PM, Wolf <[EMAIL PROTECTED]> wrote: > > > yes, flex is "flash for developers"; the main language is AS3 and it > > outputs swf's; flex is basically a program which allows you to use mix > > of pre-made ui elements & classes

Re: [PHP] Best Search Algorithm for Millions of record

2008-10-06 Thread Micah Gersten
What type of data is in the fields? Also, which database engine? Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Hemant Patel wrote: > I have couple of tables with 1,60,0 records and now i need to > search the records based on some crieteria...so which w

Re: [PHP] mt_rand() - the same forever?

2008-10-06 Thread Janek
On Mon, Oct 6, 2008 at 1:53 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > On Sun, Oct 5, 2008 at 2:25 PM, Janek <[EMAIL PROTECTED]> wrote: >> I wonder whether I can rely on the stability of mt_srand() and >> mt_rand(). I want them to generate the same sequence for a fixed seed, >> regardless of PHP

Re: [PHP] Php4 => Php5

2008-10-06 Thread Philip Thompson
On Oct 3, 2008, at 12:22 PM, Jim Lucas wrote: Maciek Sokolewicz wrote: P.S. you are quite late with migrating, PHP 5 has been out for several years now As stated in many other threads. Some people do not have a choice. They are not allowed to upgrade. Or, as is in many cases, the c

[PHP] Prefered Method for User authetification on VHosts

2008-10-06 Thread Michelle Konzack
Hello, I have at my hosting provider only 1 GByte of Diskspace and can install VHosts as much as I want. The problem is, that I have "no access" to the OS for OS-Level autentification. Currently I have ${CUSTOMERPATH}/htdocs/index.php which handel all VHosts and get ist config from dir

[PHP] Drupal 6

2008-10-06 Thread Nathan Rixham
So as part of my "new job" I've been asked to research and indeed get used to drupal 6; recon I guess. I've been using it for the past week; figured out all the best modules to do everything I want etc etc. q: do you use drupal 6 sub-q: and love it sub-q: and would rather not sub-q: have ha

[PHP] Re: Wanted PHP Developers LogicManse

2008-10-06 Thread Michelle Konzack
Am 2008-09-30 13:50:14, schrieb Robert Cummings: > BTW, while we're off topic... my wife delivered our third child (second > boy) 3 minutes after midnight yesterday :) > > Cheers, > Rob. Congratulations from Strasbourg/France! Thanks, Greetings and nice Day/Evening Michelle Konzack Syste

[PHP] Re: db_* => pg_*/my_*/ifx_* ?

2008-10-06 Thread Michelle Konzack
Am 2008-09-30 19:58:03, schrieb Ashley Sheridan: > Hi Michelle, I'm not sure exactly what it is you're after. Are you > looking for software that will allow you to develop applications that > are database agnostic? What is "agnostic"? If you mean "database independant", the answer is yes. Most A

Re: [PHP] AJAX and PHP

2008-10-06 Thread Wolf
> yes, flex is "flash for developers"; the main language is AS3 and it > outputs swf's; flex is basically a program which allows you to use mix > of pre-made ui elements & classes, css and AS3 to quickly make great RIA's. Yup, but you have to have flash enabled. But some of us don't except for

Re: [PHP] AJAX and PHP

2008-10-06 Thread Nathan Rixham
Alain Roger wrote: Alain: The only difference the user experiences between having AJAX, or not, is refreshing the page. If page refresh is not a problem, then don't complicate your life. On the other hand, if page refresh is annoying, or not wanted, then A

Re: [PHP] AJAX and PHP

2008-10-06 Thread Alain Roger
> > Alain: >> >> The only difference the user experiences between having AJAX, or not, is >> refreshing the page. If page refresh is not a problem, then don't complicate >> your life. On the other hand, if page refresh is annoying, or not wanted, >> then AJAX is you're only solution. >> >> But as i

Re: [PHP] Join The Team

2008-10-06 Thread Govinda
On Oct 6, 2008, at 12:00 AM, Hemant Patel wrote: Hi...ALL... With Regads, Hemant Patel Namaste Hemant :-) (I as in Uttar Kashi for 7 years.) I am sure you all are quite aware of this, but in India 16,000,000 is written 160,00,000. -Govinda -- PHP General Mailing List (http://www.php.net/

Re: [PHP] AJAX and PHP

2008-10-06 Thread Nathan Rixham
tedd wrote: At 12:10 PM +0200 10/4/08, Alain Roger wrote: HI, i'm currently working on some web application and i would like to know what is the best way to do what i want. basically like all application i have a menu and based on selected item menu i want to display a page (basically 50 % o

Re: [PHP] Best Search Algorithm for Millions of record

2008-10-06 Thread Nathan Rixham
Hemant Patel wrote: But still i am asking...if anybody has ever worked on other Full Text Based Search Algorithm then please help me to choose the best one as I need to search in 160,00,000 records And I have to maintain my response time as less as possible... Looking forward to your help and

Re: [PHP] Best Search Algorithm for Millions of record

2008-10-06 Thread Hemant Patel
Yeah sure...I have read about Lucene Implementation in Zend Framework and its Lucene Search class will help us to easily create our Text Based Search Functionality in our own application. http://devzone.zend.com/node/view/id/91 But still i am asking...if anybody has ever worked on other Full Text

Re: [PHP] Best Search Algorithm for Millions of record

2008-10-06 Thread Stut
Please keep replies to the list so everyone can benefit from the discussion. On 6 Oct 2008, at 13:13, Hemant Patel wrote: I found on other blogs that Lucene Implementation is quite easy and flexible also...Is there any major differences between Sphinx and Lucene ...if you know then please l

Re: [PHP] mt_rand() - the same forever?

2008-10-06 Thread Eric Butera
On Sun, Oct 5, 2008 at 2:25 PM, Janek <[EMAIL PROTECTED]> wrote: > I wonder whether I can rely on the stability of mt_srand() and > mt_rand(). I want them to generate the same sequence for a fixed seed, > regardless of PHP version. Do you think I can trust it? > Janek > > -- > PHP General Mailing L

Re: [PHP] mt_rand() - the same forever?

2008-10-06 Thread Richard Heyes
> fair point; I've been trying to change my mindset on this of late, but there > is no replacement for simply writing you're own code. Well said. How many numbers are you likely to need? -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP Gen

Re: [PHP] mt_rand() - the same forever?

2008-10-06 Thread Nathan Rixham
Stut wrote: On 6 Oct 2008, at 10:58, Nathan Rixham wrote: Janek wrote: On Sun, Oct 5, 2008 at 10:05 PM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: On Sun, 2008-10-05 at 21:57 +0200, Janek wrote: I know, but I *want* to seed it. My goal is to have a fixed pseudorandom sequence for each integer

Re: [PHP] mt_rand() - the same forever?

2008-10-06 Thread Stut
On 6 Oct 2008, at 10:58, Nathan Rixham wrote: Janek wrote: On Sun, Oct 5, 2008 at 10:05 PM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: On Sun, 2008-10-05 at 21:57 +0200, Janek wrote: I know, but I *want* to seed it. My goal is to have a fixed pseudorandom sequence for each integer (seed) and I

Re: [PHP] mt_rand() - the same forever?

2008-10-06 Thread Nathan Rixham
Janek wrote: On Sun, Oct 5, 2008 at 10:05 PM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: On Sun, 2008-10-05 at 21:57 +0200, Janek wrote: I know, but I *want* to seed it. My goal is to have a fixed pseudorandom sequence for each integer (seed) and I don't want those sequences to change regarding

Re: [PHP] Best Search Algorithm for Millions of record

2008-10-06 Thread Nathan Rixham
Stut wrote: On 6 Oct 2008, at 07:17, Hemant Patel wrote: My question is Whether I should go for Full Text Based search or Database Search...?And is there algorithm in php which can help me in this case...? I can fully recommend Sphinx Search: http://sphinxsearch.com/. It's not as easy to imp

Re: [PHP] SESSION array problems [ANOTHER SOLUTION]

2008-10-06 Thread Yeti
register_globals has been deprecated as of PHP6. So writing PHP code to work without global registering not just prevents variable poisoning, it also increases the life span of your scripts. I still wonder if using php_flag register_globals off in .htaccess might affect servers running PHP4 and usi

Re: [PHP] Best Search Algorithm for Millions of record

2008-10-06 Thread Stut
On 6 Oct 2008, at 07:17, Hemant Patel wrote: My question is Whether I should go for Full Text Based search or Database Search...?And is there algorithm in php which can help me in this case...? I can fully recommend Sphinx Search: http://sphinxsearch.com/. It's not as easy to implement as

Re: [PHP] Best Search Algorithm for Millions of record

2008-10-06 Thread Micah Gersten
The question is, what are you searching for in the records? Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Hemant Patel wrote: > My question is Whether I should go for Full Text Based search or Database > Search...?And is there algorithm in php which can hel