[PHP] readfile or fopen? (Passing file to user...)

2002-03-12 Thread Jimmy Lantz
ter, better way? $data = readfile($completeFilePath); $i=0; while ($data[$i] != ""){ echo $data[$i]; $i++; } exit; TIA / Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Appropriate headers for Forcing download on IE/Mac and open with stuffit?

2002-03-18 Thread Jimmy Lantz
ion: attachment; filename=\"$filename\"\n"); header("Content-transfer-encoding: binary\n"); header("Content-length: " . $filesize . "\n"); But it doesnt result in the desired behaviour though. Any Ideas? Cheers Jimmy And yes I've RTFM more than tw

[PHP] Resume/recover uploads in PHP 4.2 ? WAS: RE: upload forms, how much was uploaded before upload fails..

2002-03-25 Thread Jimmy Lantz
Hi following up on the text below... Will there then be possible to recover uploads in 4.2? Maybe even resuming uploads? (wishfull thinking) ? Cheers Jimmy Rasmus Lerdorf wrote: Re: [PHP] upload forms, how much was uploaded before upload fails.. You'll probably need PHP 4.2 for uploads tha

[PHP] mimeexplode counterpart in php?

2002-03-25 Thread Jimmy Lantz
ng at IMAP functions but dont see how it would be possible to do the same thing. Cheers Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: for loop problem?

2001-11-12 Thread jimmy elab
Tyler Longren wrote: > Why is this happening? Because you have double quotes in your for-statement. Here's the way to do it (only relevant part copied) $value1 = 100; $value2 = 1223109; for($i=$value1; $i<=$value2; $i++) { -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] for loop problem?

2001-11-13 Thread jimmy elab
Tyler Longren wrote: > > Here's something interesting though. There's an id field that's set to > AUTO_INCREMENT. Yep, and that's one thing I've been looking at. See, I find it strange that you need an KEY idpass (id, passcode(245)) when the ID is quaranteed to be unique in itself. Funny...

[PHP] Re: Frames and Sessions

2001-11-13 Thread jimmy elab
Michael Hall wrote: > can't figure out how I'm going to maintain a session across the three > seperate HTML files in the frameset. You don't! PHP and your browser will do it for you. It doesn't matter whether you're in frames or not. All that matters is the cookie that is automagically generated

Re: [PHP] Parse POST-Data myself

2001-11-16 Thread jimmy elab
Andrew Forgue wrote: > > By putting brackets after the variable name [] in a form element > > > > BLAAACH!!! Please add an index variable, as fields that you don't need wil NOT be posted, so when you have several fields for one single dataset, you might end up with the wrong set of indexes.

Re: [PHP] Parse POST-Data myself

2001-11-16 Thread jimmy elab
Jimmy Elab wrote: > When your not positioned straigth at your keyboard a ';' may occasionally turn into an 'l'... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[PHP] Re: alzheimers and confused

2001-11-17 Thread jimmy elab
de Morgan and Boole, not Alzheimer nor Confusius !(A OR B) = (!A) AND (!B) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Quiz questions on PHP

2001-11-18 Thread jimmy elab
Srinivasan Ramakrishnan wrote: > I'm preparing a quiz on PHP for some programmers. I was wondering if there > are good questions that I can use instead of inventing my own. How about: "Give some examples of relevant questions that one can pose in news://php.general?"; gosh... -- PHP General Ma

[PHP] Re: PHP4 sessions and Netscape 4.75/Mac

2001-11-19 Thread jimmy elab
> Dennis Moore wrote: > > > Any ideas or clues? > Turn on cookies -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] MySQL to Excel with mutiple sheets

2001-11-29 Thread jimmy elab
Matthew Loff wrote: > > http://www.wotsit.org/search.asp?page=49&s=ALLFILES > > http://homepage.tinet.ie/~jmcnamara/perl/WriteExcel.html This guy really has loads of remarkable links, or have you?! Got any more? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

Re: [PHP] MySQL to Excel with mutiple sheets

2001-11-29 Thread jimmy elab
David Robley wrote: > > s/require it be done/want to do it Count me in. Starting somewhere in December. An RTF module will be first, though! I'll post. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: [PHP] MySQL to Excel with mutiple sheets

2001-11-29 Thread jimmy elab
Jason Murray wrote: > > I stand by my original statement. After someone requires PHP to > output a multi-sheet Excel file, the code to do it will then > be "out there". :) Ah, this is a nice cryptic answer! I need it -more or less- ;-) Why? This is why: http://nijb.nl/planning.php (It will op

[PHP] .htaccess question

2001-03-22 Thread Jimmy Bäckström
Yo! I need to know how I create a login script that uses the htaccess file to authenticate users. Thankful for any answers! /Broder B

[PHP] Changing within a file

2001-03-25 Thread Jimmy Bäckström
Yo! Does anyone know how I can change a line in a textfile? I want to find a specific line, and then change it a bit...

[PHP] include_path

2001-04-09 Thread Jimmy Bäckström
eyo! I was wondering if it is possible to have the include_path directive in php.ini (I am using win98) pointing to path so that a file in an underlying dir, also can be included? I have tried to set the include_path to c:\program\apache\htdocs so that I can have all the files in the webroot in

[PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Hi list! I'm about to write an application that takes about 5000 mailadresses from a database, and then sends a mail to each one of them. I haven't done this kind of apps before, so I don't know if it's a good idea. Does anyone have any suggestions? /Jimmy

SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Hmm I knew that =) I just wondered if it's such a good idea. 5000 mail is very much you know. /Jimmy - Original Message - From: Tyler Longren <[EMAIL PROTECTED]> To: Jimmy Bäckström <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 6:

SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Hmm that's what I thought about. But I think the system I'll be using uses qmail. I've heard that qmail does things better than sendmail? /Jimmy - Original Message - From: Daniel Adams <[EMAIL PROTECTED]> To: Jimmy Bäckström <[EMAIL PROTECTED]> Cc: <[EM

SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Can't you queue mails somehow? So that all mails isn't sent at the same time? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

SV: SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Well, I'll have to change the max execution time in the script. You can do that dynamically, or in the php.ini file. /Jimmy - Original Message - From: Sheridan Saint-Michel <[EMAIL PROTECTED]> To: php-general <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 8:20 P

[PHP] php from the command line

2001-09-25 Thread Jimmy Bäckström
Hi! I was wondering how you could run php from the command line, and how it works! Just out of curiosity =) Thanks /Broder

[PHP] the apache log file

2001-09-25 Thread Jimmy Bäckström
Hey! I know the question is somewhat missplaced thought I think someone on this list should be able to answer me. I'm doing a statistics application wich uses the apache http-acces.log file. One line looks like this: 195.58.118.234 - - [03/Oct/2000:09:39:04 +0200] "GET /temp/odenresor HTTP/1.1"

[PHP] Apache and PHP segfaults on Redhat EL5

2011-01-06 Thread Jimmy Stewpot
ther down the track to enlightenment I would be really appreciated. Regards, Jimmy. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Error logging

2011-01-17 Thread Jimmy Stewpot
files have a modify time of mid 2010 and yet this problem has only started in the last few weeks. Has anyone else experienced similar problems in the past and if so what was the root cause? Regards, Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP preg_replace_callback with unicode

2012-03-30 Thread Jimmy Chen
I wrote a simple script below to simulate my problem. Both my string and pattern contain unicode characters. Basically, if I run it from command line (php -f test.php), it prints "match" as expected. But if I run it through web server (apache, http://localhost/test.php), it prints "no match". I

[PHP] SEE MY LATE JANGO JIMMY(Snr) BUSINESS CARD,I SEND MY PICTURES WHEN I HEAR FROM YOU.

2008-04-28 Thread Acct.yussuf Jimmy
Dear, I am yussuf Jimmy,from Togo Republique.I will be very glad if you do assist me to download the sum of ( USD$15.8Million)into your bank account. I got your contact through a Global Network and i decided to communicate with you in a good manner. I will compensat you for effort after the

[PHP] FastCGI and --enable-force-cgi-redirect

2006-03-29 Thread Jimmy Scott
o put this (with or without that workaround) in a production area without knowing *WHAT* support on it is still being done, to be honest, it scares me this very moment. The system I'm testing on FreeBSD 6.0-RELEASE. Please CC me as I'm not subscribed to the list. Kind regards, Jimmy Sc

[PHP] assigning an array to a array

2001-01-27 Thread Jimmy Bäckström
Yo! I was wondering if it is possible to assign an array another array, I mean like this: $arr1 = array(1, 2, 3, 4, 5); $arr2 = array() $arr2[0] = $arr1; so that the element of $arr2 contains $arr1 like: $arr2[0][0] == 1 I've tried this, but it does not work. Does anyone have any ideas how this c

[PHP] Session: use cookies or not

2001-02-19 Thread Jimmy Bäckström
Yo! I was wandering if there is someway to change the setting whether cookies should be used or not when using session, in the php code rather than in php.ini. Thankful for answers /Broder

<    1   2