Re: [PHP] I need do paging in php, I use ODBC Access

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 7:31 am, Matthew Weier O'Phinney said: > Actually, LIMIT is in ANSI SQL. Either the ANSI standard changed, or Rasmus needs to update his Bio... http://lerdorf.com/bio.php "...he can be blamed for the ANSI92 SQL-defying LIMIT clause in mSQL 1.x which has now, at least conce

[PHP] SSL use

2005-04-22 Thread ruel.cima
hi, im handling some important information that needs to be stored in my postgresql database via a php script. i´ve been reading the mails sent on this mailing list on SSL use. my postgresql server allows SSL connections but im not sure how to make use of this.id like to know more about ssl a

Re: [PHP] modify array data

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 8:46 am, Jon Aston said: > Is there a way to easily rotate array data? > > what I want to do is > change from > > bob | bill | frank > joe | jose | sam > sally | jim | kim > > to > | | | frank|| | > | |bill | | sam| | > |bob| | jose

[PHP] PHP cron sendmail

2005-04-22 Thread Richard Lynch
Somewhat OT... Okay, maybe a lot OT... I have these cron jobs on a computer, and I want the email output from them. But I don't want sendmail running 24/7, and when it does run, I'd just as soon it *ONLY* processed email and sent it out, without even opening up port 25 and listening. I guess th

Re: [PHP] Can I use $_REQUEST for file uploads?

2005-04-22 Thread Philip Olson
> Thanks for the reponse. I tested again, but it was not the problem > with ENCTYPE. I am getting file with $_FILES. I think this is due to > CGI configuration if not with php.ini. Because when I check the > version by using "PHP -v" command, it shows "4.3.10 (cgi)" but when > check that using phpi

[PHP] PHP, Apache, Windows 2003

2005-04-22 Thread Reynier Perez Mira
Hi list: Recently I installed Windows 2003 Server. Now I try to install Apache 2.0.48 and PHP 5.0.4. First I install PHP 5.0.4 from source binary to Win32 downloaded from www.php.net . It's means that php5apache2.dll is include in this packet. Well when I try to config the

Re: [PHP] Zend Certification Exam

2005-04-22 Thread Aaron Gould
M Saleh EG wrote: Hi everyone.. kind of OT Anyone who's passed it in the list? I'm having my exam on May 7th. Gone through the guide book once. Sounds easy according to the guide. I dont think it's as easy as i'm thinking it is any experience? Thanx in advance. My advice -- take the full

Re: [PHP] Is it possible to save a file with UTF-8 encoding and no BOM using PHP?

2005-04-22 Thread Rasmus Lerdorf
Jon M. wrote: "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Thu, April 21, 2005 5:07 pm, Jon M. said: I am trying to have a file that I generated with PHP saved as UTF-8 without the BOM (Byte Order Mark). Does PHP do anything like this? I am a beginner with PHP,

Re: [PHP] Php defense

2005-04-22 Thread Jochem Maas
Pablo D Marotta wrote: Hi there.. I`m defending the language, but people here want to migrate to asp.. They just keep on saying "php is not used for huge corporation solutions, there asp goes better". Sun has always been traditionally a favorite of huge corporations (banks for instance), ... Sun i

Re: [PHP] Documentation for VAR

2005-04-22 Thread Jochem Maas
Richard Davey wrote: Hello Satyam, Friday, April 22, 2005, 3:59:38 PM, you wrote: S> I've been going through the manual and haven't found 'var' S> documented anywhere, as far as I found, it is just used, and that's S> it. It seems it first appears when it talks about Classes, and it S> is just used

Re: [PHP] Re: [NOVICE] SSL use

2005-04-22 Thread Michael Fuhr
On Fri, Apr 22, 2005 at 03:02:25PM -0700, -k. wrote: > > > from my php script, do i need to make a special > > > connection to the database > > > or is the same e.g pg_connect(host= localhost > > >dbname=test user=p > > > password=p)? > > > > You could add "sslmode=require" to attempt only an > >

Re: [PHP] modify array data

2005-04-22 Thread Brent Baisley
Well, it's just a matter of coming up with the formula for converting your data. I briefly tried to come up with one, but gave up after I realized there would not be a "center" data piece if you have a 4x4 array or any even number array for that matter. I would right down the array positions for

[PHP] Zend Certification Exam

2005-04-22 Thread M Saleh EG
Hi everyone.. kind of OT Anyone who's passed it in the list? I'm having my exam on May 7th. Gone through the guide book once. Sounds easy according to the guide. I dont think it's as easy as i'm thinking it is any experience? Thanx in advance. -- M.Saleh.E.G 97150-4779817

Re: [PHP] problem with the pager class not found

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 5:25 pm, Tomás Rodriguez Orta said: > Hello friends > I try to use the packet pear, but I have a big problem, the IE show me > the > following Error. > Fatal error: Class 'Pager' not found in D:\Angerona\paginas\1.php on > line > 9 > require 'Pager.php'; > the line 9 -

[PHP] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question

2005-04-22 Thread Brian Dunning
Are you saying to embed that within the XSL? Will it process, and will the XSL variable be valid for PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Php defense

2005-04-22 Thread Ryan A
On 4/22/2005 6:04:49 PM, Chris W. Parker ([EMAIL PROTECTED]) wrote: > Matthew Weier > O'Phinney > on Friday, April 22, 2005 7:39 AM said: > > > I'm > not allowed to say what company > it's for, but we just finished > > building a site for a Fortune 50 company. > > But

Re: [PHP] Can I use $_REQUEST for file uploads?

2005-04-22 Thread Srinadh Sannidhanam
Hi, Thanks for the reponse. I tested again, but it was not the problem with ENCTYPE. I am getting file with $_FILES. I think this is due to CGI configuration if not with php.ini. Because when I check the version by using "PHP -v" command, it shows "4.3.10 (cgi)" but when check that using phpinfo()

Re: [PHP] Re: reverse MD5 ???

2005-04-22 Thread trlists
> > It's more like a theoretical "hole" that may some day prove to be the > > first step in a long long long process of understanding something that > > might maybe some day yield a way to de-crypt MD5. > > That's exactly my point. > > It's similar to how a local root exploit sometimes evolves in

Re: [PHP] Error Handler

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 3:10 pm, Pinoy Ako said: > I use the example given at http://ph.php.net/manual/en/ref.errorfunc.php > > However, when I tried to call an undefined function, I get the normal > Fatal > Error message instead of the custom message I entered in the error handler > function. As t

[PHP] [suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question

2005-04-22 Thread Brian Dunning
All the resources I've found on the web for URL encoding values within an XSL stylesheet are either .NET or Java, so I'm looking for some help with how to do this using PHP's special flavor of XML/XSL. Within the XSL doc, I've got: http://www.anrdoezrs.net/click-1692198-5463217?loc={$ItemLink}"

[PHP] Error Handler

2005-04-22 Thread Pinoy Ako
I use the example given at http://ph.php.net/manual/en/ref.errorfunc.php However, when I tried to call an undefined function, I get the normal Fatal Error message instead of the custom message I entered in the error handler function. My System Settings: Apache 2.0.53 PHP ver

Re: [PHP] Re: [NOVICE] SSL use

2005-04-22 Thread -k.
> > from my php script, do i need to make a special > > connection to the database > > or is the same e.g pg_connect(host= localhost > >dbname=test user=p > > password=p)? > > You could add "sslmode=require" to attempt only an > SSL connection. I have couple related questions: Is this necessary

Re: Re[2]: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?

2005-04-22 Thread Christopher Fulton
> > This isn't about redundancy, it's about enhancing the experience for > > customers physically located thousands of miles away from the server > > they are trying to access. So, bring the content closer to them and > > drop their wait times massively. It's easy for those of us sat on the > > end

[PHP] OT [Anonymous Browsing] WAS: Re: [PHP] Re: Php defense

2005-04-22 Thread Jason Barnett
Chris W. Parker wrote: > Matthew Weier O'Phinney > on Friday, April 22, 2005 7:39 AM said: > > >>I'm not allowed to say what company it's for, but we just finished >>building a site for a Fortune 50 company. > > > But what you could do is create an anonymous accou

Re: [PHP] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 3:33 pm, Brian Dunning said: >> > $ItemLink = urlencode($ItemLink); >> ?> > > Are you saying to embed that within the XSL? Will it process, and will > the XSL variable be valid for PHP? No. I got NO IDEA how you would do this in XML. Sorry, maybe ask on an XML list. :-^

Re: [PHP] Is it possible to save a file with UTF-8 encoding and no BOM using PHP?

2005-04-22 Thread Jon M.
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, April 21, 2005 5:07 pm, Jon M. said: >> I am trying to have a file that I generated with PHP saved as UTF-8 >> without >> the BOM (Byte Order Mark). Does PHP do anything like this? I am a >> beginner >> with PHP

Re: [PHP] problem with the pager class not found

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 6:23 pm, Matthew Weier O'Phinney said: >> If it *does* match, then maybe your Pager.php file is messed up and the >> class is missing a closing bracket, so your script thinks you're still >> in >> the middle of your class definition. > > I'm guessing this is probably *not* th

[PHP] Re: [NOVICE] SSL use

2005-04-22 Thread Michael Fuhr
On Fri, Apr 22, 2005 at 04:38:29PM -0400, ruel.cima wrote: > > im handling some important information that needs to be stored in my > postgresql database via a php script. i've been reading the mails sent on > this mailing list on SSL use. my postgresql server allows SSL connections > but im n

Re: [PHP] problem with the pager class not found

2005-04-22 Thread Matthew Weier O'Phinney
* Richard Lynch <[EMAIL PROTECTED]>: > On Fri, April 22, 2005 5:25 pm, Tomás Rodriguez Orta said: > > Hello friends > > I try to use the packet pear, but I have a big problem, the IE > > show me the following Error. > > Fatal error: Class 'Pager' not found in D:\Angerona\paginas\1.php > > on

Re: [PHP] PHP, Apache, Windows 2003

2005-04-22 Thread Ryan J. Cavicchioni
Hello, What is the exact error message the Apache is giving you? - Ryan Reynier Perez Mira wrote: >Hi list: > >Recently I installed Windows 2003 Server. Now I try to install Apache 2.0.48 >and PHP 5.0.4. First I install PHP 5.0.4 from source binary to Win32 >downloaded from www.php.net

RE: [PHP] Re: Php defense

2005-04-22 Thread Chris W. Parker
Matthew Weier O'Phinney on Friday, April 22, 2005 7:39 AM said: > I'm not allowed to say what company it's for, but we just finished > building a site for a Fortune 50 company. But what you could do is create an anonymous account somewhere, let's say @hotmail.com, a

[PHP] problem with the pager class not found

2005-04-22 Thread Tomás Rodriguez Orta
Hello friends I try to use the packet pear, but I have a big problem, the IE show me the following Error. Fatal error: Class 'Pager' not found in D:\Angerona\paginas\1.php on line 9 require 'Pager.php'; the line 9 --->$pager = new Pager($res, $from, $limit); somebody can help me? why the

[suspicious - maybe spam] [PHP] [suspicious - maybe spam] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 3:18 pm, Brian Dunning said: > All the resources I've found on the web for URL encoding values within > an XSL stylesheet are either .NET or Java, so I'm looking for some help > with how to do this using PHP's special flavor of XML/XSL. > > Within the XSL doc, I've got: Didj

Re: [PHP] MSSqlServer table/field information (Solved, kinda)

2005-04-22 Thread Chris Boget
> Look into the INFORMATION SCHEMA views in SQL Books Online for a > starting point. Excellent tip! Thanks. With the help provided by everyone who replied, I came up with the following: Query to get the primary key(s) for a table sp_pkeys @table_name='' Query to get the column names for a t

Re: [PHP] PHP, Apache, Windows 2003

2005-04-22 Thread Ryan J. Cavicchioni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, What is the exact error message the Apache is giving you? Reynier Perez Mira wrote: > Hi list: > > Recently I installed Windows 2003 Server. Now I try to install > Apache 2.0.48 and PHP 5.0.4. First I install PHP 5.0.4 from source > binary t

Re: [PHP] image maps in PHP

2005-04-22 Thread John Coppens
On Fri, 22 Apr 2005 19:11:23 +0530 [EMAIL PROTECTED] (Dasmeet Singh) wrote: > Actually I am not able to make image maps because of uneven state > boundaries.. > > Can you please suggest some tools... I haven't used any yet... Did you check GIMP? It has an option to make HTML image maps. Check

[PHP] modify array data

2005-04-22 Thread Jon Aston
Is there a way to easily rotate array data? what I want to do is change from bob | bill | frank joe | jose | sam sally | jim | kim to | | | frank|| | | |bill | | sam| | |bob| | jose | | kim| | |joe| |jim | | | | | sa

Re: Re[2]: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 4:29 am, Richard Davey said: > This isn't about redundancy, it's about enhancing the experience for > customers physically located thousands of miles away from the server > they are trying to access. So, bring the content closer to them and > drop their wait times massively.

Re: [PHP] image maps in PHP

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 6:41 am, Dasmeet Singh said: > Actually I am not able to make image maps because of uneven state > boundaries.. > > Can you please suggest some tools... I haven't used any yet... I was writing an on-line mapping tool that used PHP and let you outline the regions for a given

Re: [PHP] Php defense

2005-04-22 Thread Joe Harman
My 2 Cents > ASP is a Platform that supports a number of different microsoft languages which includes ASP Javascript, ASP VBScript, ASP.Net C# & ASP.Net VB ... ASP has a couple of good points to it... most notably is that it is backed by the largest computer company out there.. Microsoft... also,

Re: [PHP] Re: reverse MD5 ???

2005-04-22 Thread Greg Donald
On 4/22/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > It's more like a theoretical "hole" that may some day prove to be the > first step in a long long long process of understanding something that > might maybe some day yield a way to de-crypt MD5. That's exactly my point. It's similar to how a

Re: [PHP] I need do paging in php, I use ODBC Access

2005-04-22 Thread Matthew Weier O'Phinney
* Jochem Maas <[EMAIL PROTECTED]> : > Richard Lynch wrote: > > On Thu, April 21, 2005 12:23 pm, Warren Vail said: > > > > > The only approach left that I could come up with is to transfer the > > > entire sequence set to your application, and count the rows, perhaps > > > only displaying the rows

Re: [PHP] Php defense

2005-04-22 Thread Petar Nedyalkov
On Friday 22 April 2005 16:58, Pablo D Marotta wrote: > Hi there.. > I`m defending the language, but people here want to migrate to asp.. > They just keep on saying "php is not used for huge corporation solutions, > there asp goes better". > > I know it isn´t correct, but I don´t know much about "w

Re: [PHP] Php defense

2005-04-22 Thread -k.
As i recall Yahoo uses PHP. Quick Google turned up: http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm Also i remember it was a pretty big deal when Friendster switched to PHP. And the resulting improvement in performance was pretty dramatic. O'Reilly has a good article. http://www.oreilly

RE: [PHP] Repeat Accross, then down

2005-04-22 Thread Mark Rees
Use a counter when iterating through the results When counter % (modulus) 3=0 then write a new row Mark -Original Message- From: Simon Allison [mailto:[EMAIL PROTECTED] Sent: 22 April 2005 15:00 To: php-general@lists.php.net Subject: [PHP] Repeat Accross, then down Say for a photo alb

[PHP] Repeat Accross, then down

2005-04-22 Thread Simon Allison
Say for a photo album with photo paths taken from a database (or anything from a database for that matter) how can you use PHP to repeat across for three photos and then add a new row with the next 3 photos and so on and so on?

[PHP] Php defense

2005-04-22 Thread Pablo D Marotta
Hi there.. I`m defending the language, but people here want to migrate to asp.. They just keep on saying "php is not used for huge corporation solutions, there asp goes better". I know it isn´t correct, but I don´t know much about "well-known" websites using php technology. (I just don´t navigate

RE: [PHP] image maps in PHP

2005-04-22 Thread Mike
> Actually I am not able to make image maps because of uneven state > boundaries.. > > Can you please suggest some tools... I haven't used any yet... > > Thanks > > - I just googled and came up with a bunch of results: http://www.google.com/search?hl=en&lr=&q=free+imagemap+html+generator&btnG=

[PHP] Re: Easy question about XML parsing

2005-04-22 Thread Jason Barnett
Brian Dunning wrote: > I've been going through a number of easy XML parsing examples on the > web, and they all have one thing in common: the XML is in a file, which > they read in 4K chunks and parse. > > My application will be retrieving the XML from a web service, presumably > like $xml = file_g

Re: [PHP] image maps in PHP

2005-04-22 Thread Dasmeet Singh
Actually I am not able to make image maps because of uneven state boundaries.. Can you please suggest some tools... I haven't used any yet... Thanks - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ Mike wrote: Hi! I need to create an image

RE: [PHP] image maps in PHP

2005-04-22 Thread Mark Rees
Oh, funnily enough I did a similar thing for India as well for a cricket website, but only based on test match venues. You should be able to find something, try government websites etc. Good luck -Original Message- From: Dasmeet Singh [mailto:[EMAIL PROTECTED] Sent: 22 April 2005 14:3

Re: [PHP] image maps in PHP

2005-04-22 Thread Dasmeet Singh
Mark Rees wrote: Yes, I once did this for all the states in Brazil. It took me a few hours to trace the states, but it looked beautiful when it was finished. This will already have been done for the states many times - you could probably borrow someone else's work and scale it up or down a bit if i

Re: [PHP] image maps in PHP

2005-04-22 Thread Brian V Bonini
On Fri, 2005-04-22 at 09:14, Dasmeet Singh wrote: > Hi! > I need to create an image map on a country map, where people can click > on any state and get some info related to it.. In such case the regular > polygon/circle/rectengle image map wont do bcoz of shapes of state.. Poly will define any

Re: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?

2005-04-22 Thread Dasmeet Singh
Richard Davey wrote: Hello Jochem, Friday, April 22, 2005, 8:13:15 AM, you wrote: JM> in a round about way he seems to be asking 'why'? which is not JM> totally invalid. To be honest when I ask people "why?" I actually use that word (or at least something closely related to it). JM> do you want/nee

RE: [PHP] image maps in PHP

2005-04-22 Thread Mark Rees
Yes, I once did this for all the states in Brazil. It took me a few hours to trace the states, but it looked beautiful when it was finished. This will already have been done for the states many times - you could probably borrow someone else's work and scale it up or down a bit if it doesn't fit. M

RE: [PHP] image maps in PHP

2005-04-22 Thread Mike
> Hi! > I need to create an image map on a country map, where people > can click on any state and get some info related to it.. In > such case the regular polygon/circle/rectengle image map wont > do bcoz of shapes of state.. > > I guess this must be possible someway in PHP.. please tell me >

[PHP] image maps in PHP

2005-04-22 Thread Dasmeet Singh
Hi! I need to create an image map on a country map, where people can click on any state and get some info related to it.. In such case the regular polygon/circle/rectengle image map wont do bcoz of shapes of state.. I guess this must be possible someway in PHP.. please tell me if you have any i

[PHP] Easy question about XML parsing

2005-04-22 Thread Brian Dunning
I've been going through a number of easy XML parsing examples on the web, and they all have one thing in common: the XML is in a file, which they read in 4K chunks and parse. My application will be retrieving the XML from a web service, presumably like $xml = file_get_contents($url). I was assu

Re: [PHP] Re: reverse MD5 ???

2005-04-22 Thread Dan Rossi
I don't think that's right. Collisions allow certain kinds of cryptographic attacks against things like MD5-based signatures but that is not at all the same as being able to simply determine the original message content from the digest. Rather, they allow you to substitute the original message wi

Re[2]: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?

2005-04-22 Thread Richard Davey
Hello Jochem, Friday, April 22, 2005, 8:13:15 AM, you wrote: JM> in a round about way he seems to be asking 'why'? which is not JM> totally invalid. To be honest when I ask people "why?" I actually use that word (or at least something closely related to it). JM> do you want/need a master/slave

Re[2]: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?

2005-04-22 Thread Richard Davey
Hello Drewcore / Jochem, Friday, April 22, 2005, 4:45:37 AM, you wrote: D> are you talking about having one server in south america that acts D> as your database server, one server in asia that's your web server, D> and then another server in north america that servers some other D> task? Not re

Re: [PHP] I need do paging in php, I use ODBC Access

2005-04-22 Thread Jochem Maas
Richard Lynch wrote: On Thu, April 21, 2005 12:23 pm, Warren Vail said: The only approach left that I could come up with is to transfer the entire sequence set to your application, and count the rows, perhaps only displaying the rows you want to show. This is obviously not very efficient (in fact,

Re: [PHP] Re: reverse MD5 ???

2005-04-22 Thread trlists
On 21 Apr 2005 Greg Donald wrote: > > Same thing with MD5, it > > is just one way, it can't be reversed. > > MD5 collisions were found last year: > http://cryptography.hyperlink.cz/md5/MD5_collisions.pdf > > Just a matter of time/cpu power. I don't think that's right. Collisions allow certain

Re: [PHP] reverse MD5 ???

2005-04-22 Thread trlists
On 21 Apr 2005 M Saleh EG wrote: > It's simple. > If your system supports it performance wise. > Grab the id and compare it against the md5 version of the id saved in the > cookie. Actually I think the discussion was about reversing the MD5 to get back the original message -- not about co

Re: [PHP] Re: reverse MD5 ???

2005-04-22 Thread Ryan A
Hey, > I really > wouldn't sweat this in terms of your day-to-day life/programming, > other than to keep your code modular enough to replace "md5" with > something else in the year 2020 or whatever. Thats fine by me, by 2020 the spaceship would have landed and I will be declared sub ruler of plan

Re: [PHP] Sorting table columns dynamically on normalized MySQL tables

2005-04-22 Thread Richard Lynch
On Wed, April 20, 2005 5:53 am, Leif Gregory said: > So joining on four tables isn't considered bad practice? No, it's great practice. The only thing to watch for is just how *BIG* will the number of tuples grow? If you can multiply together the number of rows in all four tables and come up with

Re: [PHP] Replacement Question.

2005-04-22 Thread Richard Lynch
On Wed, April 20, 2005 7:22 am, Bob Palma said: > I have a database field that I need to read and do some conversion on. > Here is what the raw data from the database looks like: > > -- > 1084751309jpenaDisney Vignette Fleximon disk utilization > alert C:\ at 85%1084799703bpalmafixed.10847997

Re: [PHP] Need urgent help on post php long code

2005-04-22 Thread Richard Lynch
On Thu, April 21, 2005 12:55 am, Pieter du Toit said: > I have the following code: > $result = mysql_query("SELECT users.user_first_name, users.user_last_name, > users.user_cell, users.user_idnom, users.user_email, users.user_adres1, > users.user_adres2, users.user_pcode, users.user_city, users.use

Re: [PHP] view zip file contents

2005-04-22 Thread Richard Lynch
On Thu, April 21, 2005 7:33 am, Sebastian said: > does anyone know of a way to view the contents of a zip file and its > directory structure? > i know there are zip file functions in php but they require extra libs i > would rather not load right now. > > i know its possible, at least by looking at

Re: [PHP] Count totals (might be 0T)

2005-04-22 Thread Richard Lynch
On Thu, April 21, 2005 3:36 pm, Ryan A said: > Hey, > Thanks for replying. > That means I will have to run a query per categorywhich I would like > to > avoid if possible as they could be > a high amount of categories as they are user created and not defined by > us. group by cno"; $cat_inf

Re: [PHP] Re: reverse MD5 ???

2005-04-22 Thread Richard Lynch
On Thu, April 21, 2005 10:28 am, Ryan A said: > Interesting reading, even though most of it went over my head :-) > There ar'nt any tools freely available to the average joe to decypher a > md5 > hash though...right? No, there aren't. And even the collisions found don't really mean much in the gr

RE: [PHP] I need do paging in php, I use ODBC Access

2005-04-22 Thread Richard Lynch
On Thu, April 21, 2005 12:23 pm, Warren Vail said: > The only approach left that I could come up with is to transfer the > entire sequence set to your application, and count the rows, perhaps > only displaying the rows you want to show. This is obviously not very > efficient (in fact, with enough

Re: [PHP] Can I use $_REQUEST for file uploads?

2005-04-22 Thread Richard Lynch
On Thu, April 21, 2005 12:48 pm, Srinadh Sannidhanam said: > Hi > When I use $_REQUEST for accessing files uploaded, it is working > fine in PHP PHP 4.3.10. > But it is not working in PHP 4.3.4. > $_FILES working in both the versions. Can I use $_REQUEST in PHP > 4.3.10 also? Do I need to chang

Re: [PHP] I need do paging in php, I use ODBC Access

2005-04-22 Thread Richard Lynch
On Thu, April 21, 2005 2:02 pm, chris said: > You are right about MSSQL not having a limit, but here is an article that > shows a work around > http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=850&lngWId=5 Just use a cursor. It's not that tricky. Honest. -- Like Music? h

Re: [PHP] PEAR Packages

2005-04-22 Thread Richard Lynch
On Thu, April 21, 2005 2:08 pm, Jason Barnett said: > Correction: so I browsed the site a bit and maybe GTK2 is ready to go > after all. But I haven't used it at all so YMMV. I think it's in early alpha. Which is not quite ready to go, really, but a decade seems very pessimistic. -- Like Music

RE: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?

2005-04-22 Thread Mark Rees
Be very careful with timezones. If you have dedicated servers with full control over each one, you can simplify this by setting them all to the same timezone. If not, you have a lot of work to do. Mark -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: 22 April 2005 08:

Re: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?

2005-04-22 Thread Jochem Maas
Richard Davey wrote: Hello Satyam, Thursday, April 21, 2005, 5:07:52 PM, you wrote: S> My domain, satyam.com.ar, though supposedly in Argentina resides in Spain, S> where I currently live hundreds of kilometers away from it, which I mention S> to point out that domain names do not correlate to phys

Re: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?

2005-04-22 Thread Leon Poon
I think he wants mirror, sort of... I will do this if I were you: Select the server wif the most bandwidth. Call this the master. The other 2 are slaves. To sync files: == Enable network file system server on the 2 slaves. Export the htdocs directories. Setup the master to mount the