RE: [PHP] Windows Authoring Tools

2002-09-12 Thread Dave at Sinewaves.net
In the past I've been using TextPad and UltraEdit but really want something that picks up on PHP syntax and function spelling (eg Homesite would 'bold' a function word if it was splt correctly). Just download the PHP syntax file for TextPad. Dave -- PHP General Mailing List (http://www.

RE: [PHP] Re: Generating CSV files on the fly and getting the browser to download

2002-09-10 Thread Dave at Sinewaves.net
try making the generated csv file an attachment to the php file... like so... usually works for me. incidentally, what browser version are you using? on what os? dave -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 2:43 AM To: [EMAIL PRO

RE: [PHP] Re: Proposal for securing PHP sessions

2002-09-07 Thread Dave at Sinewaves.net
You're going to be shutting out a lot of AOL users (bah! who needs em! ;p) if you do that, as AOL changes a user's IP address about as often as you read the word "the"... Dave -Original Message- From: M1tch [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 12:05 PM To: [EMAI

RE: [PHP] Image Resizing ... lets try this again.

2002-09-06 Thread Dave at Sinewaves.net
search the archive - i posted a gd1 solution about 2 or 3 weeks ago... dave -Original Message- From: Fifield, Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 7:54 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Image Resizing ... lets try this again. I sent this email ou

RE: [PHP] cant find the wrong?

2002-09-06 Thread Dave at Sinewaves.net
you're missing an equals sign. try this: dave -Original Message- From: Meltem Demirkus [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 1:42 AM To: [EMAIL PROTECTED] Subject: [PHP] cant find the wrong? > Hi, > I am using this on a page to move 'new_id' to another page:

RE: [PHP] mail() function problem

2002-08-31 Thread Dave at Sinewaves.net
Most mailing lists reject mail if the Subject is blank. That would probably explain why your subjectless 2nd example is disappearing into the void. Dave -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 31, 2002 3:20 AM To: Akhmad D. Sembiring; [

RE: [PHP] how to have a form keep values when user hits back button?

2002-08-30 Thread Dave at Sinewaves.net
A better, NON-CLIENT-SIDE way to do it, is you could have the page you're submitting to write the POST values to a session. So the top lines of your form handler page would be something like: $val) { if($val != '') { $HTTP_SESSION_VARS[$key] = $val; } } ?

RE: [PHP] Average Number For Math Functions

2002-08-29 Thread Dave at Sinewaves.net
if i remember 4th grade math class correctly... $value) { $total += $array_of_the_numbers[$key]; ++$count; } // wow, that's a toughie! $average = $total / $count; // then you could make it pretty $pretty_average = number_format($average, 1); ?> booyah. :) dave -Origina

[PHP] Numbers to Roman Numerals - Native PHP Function?

2002-08-25 Thread Dave at Sinewaves.net
Does anyone know if there is a native function within PHP to convert numbers to roman numerals? I could easily write a little convertor, but I was hoping there was an simple function - although I couldn't seem to find anything like that in the manual. Dave -- PHP General Mailing List (http://

RE: [PHP] GD lib. image quality!

2002-08-25 Thread Dave at Sinewaves.net
imageCreate will create an image, but its palette will be very limited, so when you try to copy your photo onto it, it will maintain the palette of the original picture. Obviously, this is not what you want, since the picture comes out looking all grey and faded (probably 8-16 colors!). What wo

RE: [PHP] count link clicks

2002-08-13 Thread Dave at Sinewaves.net
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 12:23 PM To: 'Rasmus Lerdorf'; 'vic' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] count link clicks I think I'm on the right track with: New paragraph ';

[PHP] Win PHP Editor...

2002-08-09 Thread Dave at Sinewaves.net
Just have to add one little fine piece of free software that nobody's mentioned yet, Crimson Editor (http://www.crimsoneditor.com ) No code completion, but it's got every other feature of the big commercial beasts... definitely check it out - I just switched over, and it's great. >From the site

RE: [PHP] Banner Ad Serving...

2002-07-23 Thread Dave at Sinewaves.net
TECTED] Subject: Re: [PHP] Banner Ad Serving... On Wednesday 24 July 2002 12:07, Dave at Sinewaves.net wrote: > I think you may have it on that one! You get the gold star! :) > > Thanks for the help -- I probably would have banged my head against my > keyboard for another week or so befo

RE: [PHP] Banner Ad Serving...

2002-07-23 Thread Dave at Sinewaves.net
, 2002 9:06 PM To: Dave at Sinewaves.net; [EMAIL PROTECTED] Subject: RE: [PHP] Banner Ad Serving... Tell apache that .html files are to be served through php * * Cal Evans * The Virtual CIO * http://www.calevans.com * -Original Message- From: Dave at Sinewaves.net [mailto:[EMAIL PROTECTED

RE: [PHP] Banner Ad Serving...

2002-07-23 Thread Dave at Sinewaves.net
... On Wednesday 24 July 2002 11:47, Dave at Sinewaves.net wrote: > Is there any way of automatically adding a certain bit of code to every > page on a web server (or within a given directory)? php.ini --> auto_prepend_file, auto_append_file -- Jason Wong -> Gremlin

[PHP] Banner Ad Serving...

2002-07-23 Thread Dave at Sinewaves.net
Is there any way of automatically adding a certain bit of code to every page on a web server (or within a given directory)? As in, is there any kind of Apache-specific PHP stuff that will add a banner ad or copyright notice to pages (without editing the actual pages themselves and without changin

[PHP] parsing

2002-07-23 Thread Dave at Sinewaves.net
Okay, I want to know if anybody has a clue which is more efficient, processorwise/parsingwise: this: -- echo "".$somevar."".$somevardesc.""; or this: -- echo "{$somevar}{$somevardesc}"; I almost always use the first method (just seems more readable to me), but with all of the discussi

[PHP] NEVERMIND! [PHP] problems with variable variables...

2002-07-12 Thread Dave at Sinewaves.net
Nevermind! I figured out the curly bracket syntax... Doh! It was buried in the manual the whole time! Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problems with variable variables...

2002-07-12 Thread Dave at Sinewaves.net
I'm having a huge problem with getting variable variables to work. Here's what the code looks like... // This is set from a previous array... / $the_variablename[0] = "processors"; // Now I include a file called var