[PHP] Re: Testing a String for 'most' Capitalised

2005-10-10 Thread zzapper
On Mon, 10 Oct 2005 15:27:05 +0100, wrote: >On 10/10/05, zzapper <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Image that there could be a string >> >> fred >> Fred >> FRED >> >> First of all I need to know that these are same which I can

[PHP] Testing a String for 'most' Capitalised

2005-10-10 Thread zzapper
Hi, Image that there could be a string fred Fred FRED First of all I need to know that these are same which I can do with strtolower, but how could I tell that 'FRED' is 'most captilised? -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTheory.com/ -- PHP Gener

[PHP] Re: Non-Javascript PHP Onsubmit function?

2005-10-04 Thread zzapper
going to >have to juggle it all with PHP. > Thanks -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTheory.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Non-Javascript PHP Onsubmit function?

2005-10-04 Thread zzapper
nything simpler? -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTheory.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: File Upload Max Size

2005-09-30 Thread zzapper
On Fri, 30 Sep 2005 08:42:28 -0400, wrote: >Well, I would like to at least be able to upload a 10mb - 15mb file. I >don't need it to upload files that are HUGE, just a reasonable size. > > >"zzapper" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PRO

[PHP] Testing for an empty array (with null values)

2005-09-30 Thread zzapper
Hi, I can use if (count($somearray) > 0) to test for an empty array. It is possible to have an array with null values which is effectively empty but fails the above as it's count (I belive is greater than 0). Any ideas -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTh

[PHP] Re: File Upload Max Size

2005-09-30 Thread zzapper
e upload feature. The problem I have is that PHP only allows a >2mb maximum file upload, while normal FTP allows a much larger file to be >uploaded. Don't want to depress you but I've had experience of other problems eg browser timeout -- zzapper Success for Techies and

[PHP] Re: Functions Returning large strings

2005-09-29 Thread zzapper
$large_string=fn_one(fn_two(fn_three($some_long_string; > >PHP is by no means clever enough to read your mind as to what you want it to >do. > No slight meant to PHP, just wanted to know whether I had to worry about it, according to your reply seems like I must. -- z

[PHP] Functions Returning large strings

2005-09-29 Thread zzapper
Hi, I have a series of nested functions which return a large string (as apposed to working on global string) , is this inefficient? Or is PHP clever enough to just pass a pointer? to simplify $large_string=fn_one(fn_two(fn_three(; your advice pls -- zzapper Success for Techies and Vim

[PHP] Re: Parsing MS-WORD docs

2005-09-07 Thread zzapper
sorts of >documents. Could be a start to build your own - however this needs a >couple of extra packages (when installed in Unix). > Also consider antiword -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTheory.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Create a new $_COOKIE["PHPSESSID"] in PHP4.3.1

2005-09-06 Thread zzapper
close and reopen IE I always get the same session Id Can ye help? -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTheory.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can you have pragmas/literals in PHP?

2005-05-23 Thread zzapper
Hi, I have set of php code lines that are often repeated . Functions are in this circumstance not suitable. So my question is does PHP have what are in other languages sometimes called pragmas or literal. I suppose they could be descibed as variables containing code. -- zzapper vim -c &quo

[PHP] Re: Blank page in browser

2005-05-18 Thread zzapper
code .. code // Turn off all error reporting error_reporting(0); http://uk2.php.net/manual/en/function.error-reporting.php -- zzapper vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?" http://www.rayninfo.co.uk/tips/ vim, zsh & success tips -- PHP General Mailin

[PHP] Re: PHP Complex Data Structures

2005-05-18 Thread zzapper
which may or may not be confusing. You could probably >look at PHP arrays as Perl hashes (name/value pairs). The functions are >just about the same: push, pop, shift, unshift, etc. > >If you think of all PHP arrays as Perl hashes, you should grasp things >pretty quick. > &g

[PHP] Re: PHP Complex Data Structures

2005-05-18 Thread zzapper
On 18 May 2005 01:28:07 -, wrote: >* Zzapper <[EMAIL PROTECTED]>: >> I seem to remember that you access/use PHP data in the same/similar >> way to Perl data and that you can create complex data structures ie >> arrays of arrays, arrays of records etc. >> >

[PHP] PHP Complex Data Structures

2005-05-17 Thread zzapper
Hi, I seem to remember that you access/use PHP data in the same/similar way to Perl data and that you can create complex data structures ie arrays of arrays, arrays of records etc. For once Google let me down so can any one point at any doc info. -- zzapper vim -c ":%s%s*%Cyrnfr)fcbafbe

[PHP] Re: A general question

2005-03-07 Thread zzapper
On Mon, 07 Mar 2005 09:32:56 -0800, wrote: Regards my previous post in this thread, Sorry for not reading the OP correctly!! zzapper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: A general question

2005-03-07 Thread zzapper
On Mon, 7 Mar 2005 19:55:37 +0530, wrote: >How can I click on a link which is linked to a JPG file and instead of >displaying it in the browser save it somewhere on the local machine or >open in a different software ? > >Please help very urgent > >Thanks >vaibhav So

[PHP] Re: Timeouts during large uploads, very slow queries etc

2005-03-07 Thread zzapper
On Mon, 7 Mar 2005 13:54:07 -, wrote: >> >> zzapper (vim, cygwin, wiki & zsh) > >http://sourceforge.net/projects/megaupload/ > >Maybe this will help? I've been looking for a PHP replacement of >something as graceful as ASPUpload and this is the closest I

[PHP] Timeouts during large uploads, very slow queries etc

2005-03-07 Thread zzapper
e a simple frameset where the app is in the main Frame and there's a tiny "invisible" frame where a piece of javaScript periodically refreshes or write's a character to the frame to fool your browser. Has ANYONE got any experience/views on this zzapper

[PHP] Quoting and $_POST['Name'] problem

2005-02-26 Thread zzapper
Hi, It's been a long day, but what's wrong here?. echo $_POST['Location']; # good echo ""; echo "$_POST['Location']"; # bad nothing appears zzapper (vim, cygwin, wiki & zsh) -- vim -c ":%s%s*%CyrnfrTfcbafbeROenzSZbbyranne%|:%s)[R-T]

[PHP] Re: Web Browser Timeout on Upload Script

2005-02-26 Thread zzapper
ng on and timesout. I did read of a nasty fix, where you have a simple frameset where the app is in the main Frame and there's a tiny "invisible" frame where a piece of javaScript periodically refreshes or write's a character to the frame to fool your browser. I never tr

[PHP] Re: Web Browser Timeout on Upload Script

2005-02-25 Thread zzapper
ng on and timesout. I did read of a nasty fix, where you have a simple frameset where the app is in the main Frame and there's a tiny "invisible" frame where a piece of javaScript periodically refreshes or write's a character to the frame to fool your browser. I never tr