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.
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
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
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
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:
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; [
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;
}
}
?
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
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://
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
-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
';
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
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
, 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
...
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
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
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
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
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
19 matches
Mail list logo