RE: [PHP] Re: Doing an HTML POST using header()

2002-07-22 Thread Andrew Braund
Forging a POST is a complicated task when compared to its GET cousin, and there is no 'easy' way You must either use CURL, or write your own mini web client... Francis wrote: using NT? all I need it for is so the user can skip a registration step put its all coded using POST rather

[PHP] Using COM to generate excel file - php version of vb Sheets(Report First page).Copy After:=Sheets(1)

2002-06-26 Thread Andrew Braund
page).Copy After:=Sheets(1) ie there is a space between Copy and After and how do I get the := operator? Any suggestion much appreciated. (I have looked through the online docs, mailing list, ms and googled but havn't found a solution) Regards Andrew Braund -- PHP General Mailing List (http

RE: [PHP] base64_encode

2002-06-26 Thread Andrew Braund
sounds right. HTH Andrew Braund -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED]] Sent: Thursday, 27 June 2002 11:15 To: php-gen Subject: [PHP] base64_encode What other characters are possible from the output of base64_encode() except [A-Za-z0-9] ?? Thanks

RE: [PHP] Week of month

2001-11-01 Thread Andrew Braund
How about; echo It is week .((int)(date(j)/7)+1). of the month.br; -Original Message- From: Jon Farmer [mailto:[EMAIL PROTECTED]] Sent: Thursday, 1 November 2001 20:14 To: PHP Masters; Sheni R. Meledath Subject: Re: [PHP] Week of month Is there any way to find out the week of

RE: [PHP] how can I do this !!

2001-10-25 Thread Andrew Braund
show_source(basename($PHP_SELF)); At 02:26 PM 10/25/2001, Alawi wrote: i have txt file have this words -- bla bla bla [phpcode] ? echo 'hello word'; ? [/phpcode] bla bla bla --- now I want to convert the code that are between [phpcode] and [/phpcode] to

RE: [PHP] Create Array??

2001-09-23 Thread Andrew Braund
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, 23 September 2001 15:39 To: [EMAIL PROTECTED] Subject: [PHP] Create Array?? Hi, If I have a value $num = 32; based on this how can I create an Array of numbers 1 - 32, something like this...

RE: [PHP] Create Array?? More

2001-09-23 Thread Andrew Braund
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, 23 September 2001 16:46 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Create Array?? More Ok, Thanks for the input, unfortunately it didn't help me solve my overall problem,

RE: [PHP] comparing

2001-09-15 Thread Andrew Braund
How about; SELECT product, count(*) AS Total FROM table GROUP BY product ORDER BY total DESC -Original Message- From: Teqila MAN [mailto:[EMAIL PROTECTED]] Sent: Saturday, 15 September 2001 16:43 To: [EMAIL PROTECTED] Subject: [PHP] comparing Hello, What is the simple mod to

RE: [PHP] Loop error?

2001-08-14 Thread Andrew Braund
-Original Message- From: PHP List [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 15 August 2001 09:20 To: php Subject: [PHP] Loop error? Hi, Can anyone tell me why this is a never ending loop? $i=0; $count = 1; while ($count $i); ^ { echo $i br;

RE: [PHP] Sort an array by its values

2001-07-08 Thread Andrew Braund
, create_function( '$a,$b', 'return $a[date]==$b[date]?0:($a[date]$b[date]?1:-1);') ); } closedir($handle); } } HTH Andrew Braund -Original Message- From: Aaron Bennett [mailto:[EMAIL PROTECTED]] Sent: Sunday, 8 July 2001 17:56 To: Php-General (E-mail) Subject

RE: [PHP] [Apache] Win32 Virtual Host - Sub Domain

2001-04-21 Thread Andrew Braund
ServerName test.localhost ErrorLog logs/test.localhost-error_log CustomLog logs/test.localhost-access_log common /VirtualHost HTH Andrew Braund I am trying to setup Apache with PHP on Win32 (don't ask why). Anyhow, PHP is working great but virtual hosting is not going so well. When t

RE: [PHP] Output HTML Compression

2001-04-19 Thread Andrew Braund
you might want to look at mod_gzip http://www.remotecommunications.com/apache/mod_gzip/ Regards Andrew Braund -Original Message- From: Floyd Piedad [mailto:[EMAIL PROTECTED]] Sent: Friday, 20 April 2001 13:33 Cc: [EMAIL PROTECTED] Subject: [PHP] Output HTML Compression Hi

RE: [PHP] Regular Expression

2001-04-18 Thread Andrew Braund
LinuxSA http://www.linuxsa.org.au/ meeting a couple of days ago was on regex, some notes are at; http://www.fornax.net/regex2/ or part 1 at; http://www.fornax.net/regex/ HTH Andrew Braund -Original Message- From: Jeroen Geusebroek [mailto:[EMAIL PROTECTED]] Sent: Thursday, 19 April

RE: [PHP] read headers.

2001-04-04 Thread Andrew Braund
wget -s apache.org works on *nix or windows, puts all headers and content to a file eg saves to index.html which contains; ==8 HTTP/1.1 200 OK Date: Wed, 04 Apr 2001 09:13:58 GMT Server: Apache/2.0.16 (Unix) Cache-Control: max-age=0 ===8=== etc then content PS Apache

RE: [PHP] Java applet can't read PHP output !!

2001-04-03 Thread Andrew Braund
Works for me! I don't think PHP is the problem. I first tried this with PHP as cgi and it worked fine, then retested with PHP as module and still worked fine. Platform; NT4 SP6 Server Version: Apache/1.3.19(Win32) mod_jk PHP/4.0.4pl1 DAV/1.0.2 applet code;

RE: [PHP] Delaying Printed Output

2001-03-25 Thread Andrew Braund
--8--start Second update at 18:23:19 --8---snip---8--end ie With Netscape I never see the first update at ... part of the output as I would expect. I have also tried it with; header("Content-type: multipart/mixed;boundary=ThisRandomString"); but it

RE: [PHP] Directory Listing with PHP

2001-01-31 Thread Andrew Braund
You might like to try WebExplorer, may do what you want. http://suneworld.com/programs/ hth Regards Andrew Braund -Original Message- From: Chris Aitken [mailto:[EMAIL PROTECTED]] Sent: Thursday, 1 February 2001 15:35 To: PHP User Group Subject: [PHP] Directory Listing with PHP