On Fri, Sep 12, 2008 at 7:41 PM, Ashley Sheridan
<[EMAIL PROTECTED]> wrote:
> Could you not check one of the variables in the $_SERVER array to
> determine if the script called by the browser is the current file?
>
> -- Forwarded message --
> To: clive <[EMAIL PROTECTED]>
>> 2. incl
Send me the doll and the beer...
Ash
www.ashleysheridan.co.uk
--- Begin Message ---
On Fri, 2008-09-12 at 14:39 -0400, tedd wrote:
> At 2:31 PM -0400 9/12/08, Robert Cummings wrote:
> >On Fri, 2008-09-12 at 14:24 -0400, tedd wrote:>
> >
> >I don't drink beer -- send money. :-)
> >
> >No, no, no.
I've never been a huge fan of Vi or Vim, but I am a fan of coding in a
text editor, not a GUI, I just guess I prefer Kate. I know for certain
that one thing that really bugs me about Dreamweaver is the fact that it
has a tendency to really nerf up the spacing, and it replaces tabs with
spaces more
Well, I've often found the need to treat several conditions with the
same set of statements within a switch:
switch($some_number)
{
case 1:
case 2:
{
// do some shizzle
break;
}
case 3:
{
// foshizzle that nizzle
break;
}
default:
As far as I'm aware, the embed tag is not supported in any HTML
standard, and as such, it's a little hit and miss. Depending on what you
want to achieve, you should look towards the object tag instead:
http://joliclic.free.fr/html/object-tag/en/
Ash
www.ashleysheridan.co.uk
--- Begin Message --
Wow, anyone could be mistaken for thinking you two were Microshaft
employees...
Vista sucks because:
* it uses far more memory than it should, even with the visual effects
turned off
* IE7 on Vista is more flaky than IE7 on XP FACT!
* The registry hacks to get around the draconian limits on Vis
Tom Chubb wrote:
>I have read somewhere before about creating a message id with the date&time
>and a random number.
Something like this:
'<' . date('U') . '.' . rand() . '.php@' . $_SERVER['SERVER_NAME'] . '>'
>Still I think I'm going to be ending up down the phpmailer route!
It's the easiest
On Fri, Sep 12, 2008 at 12:47 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> Microsoft sucks because they didn't make their symbolic linking
>> methodology public knowledge and charge additional fees to obtain the
>> Win2k system kit they suggest you use to make the links in the first
>> place.
Maciek Sokolewicz schreef:
Forwarding to php-general.
I think /dev/null would have been a better place.
wtf is anyone supposed to do with this? (apart from ignore it?)
Original Message
Subject: Re: [DOC-BUGS] #46054 [NEW]: comment of addcslashes 'A..z' is
wrong
Date: Fri
On Fri, 2008-09-12 at 16:51 -0400, Eric Gorr wrote:
> On Sep 12, 2008, at 4:27 PM, Robert Cummings wrote:
>
> > On Fri, 2008-09-12 at 16:11 -0400, Eric Gorr wrote:
> >> On Sep 12, 2008, at 3:44 PM, Robert Cummings wrote:
> >>>
> >>> I don't see how that in any way makes an argument for or against.
On Sep 12, 2008, at 4:27 PM, Robert Cummings wrote:
On Fri, 2008-09-12 at 16:11 -0400, Eric Gorr wrote:
On Sep 12, 2008, at 3:44 PM, Robert Cummings wrote:
I don't see how that in any way makes an argument for or against.
Once
still must spend client's money wasting time on code that has
On Fri, 2008-09-12 at 16:11 -0400, Eric Gorr wrote:
> On Sep 12, 2008, at 3:44 PM, Robert Cummings wrote:
> >
> > I don't see how that in any way makes an argument for or against. Once
> > still must spend client's money wasting time on code that has
> > questionable merit. Yes, some debugging code
On Sep 12, 2008, at 3:44 PM, Robert Cummings wrote:
I don't see how that in any way makes an argument for or against. Once
still must spend client's money wasting time on code that has
questionable merit. Yes, some debugging code is a great boon in any
application, but littered everywhere to fu
On Fri, 2008-09-12 at 14:39 -0500, Boyd, Todd M. wrote:
> > -Original Message-
> > From: Robert Cummings [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 12, 2008 1:12 PM
> > To: Boyd, Todd M.
> > Cc: Luke; php-general@lists.php.net
> > Subject: RE: [PHP] Re: uploading file outside WEB
On Fri, 2008-09-12 at 15:15 -0400, Eric Gorr wrote:
> On Sep 12, 2008, at 2:51 PM, Robert Cummings wrote:
>
> > On Fri, 2008-09-12 at 14:33 -0400, Eric Gorr wrote:
> >> On Sep 12, 2008, at 2:14 PM, Robert Cummings wrote:
> >>
> >>> On Fri, 2008-09-12 at 11:47 -0400, Eric Gorr wrote:
> On Sep
> -Original Message-
> From: Robert Cummings [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 1:12 PM
> To: Boyd, Todd M.
> Cc: Luke; php-general@lists.php.net
> Subject: RE: [PHP] Re: uploading file outside WEB Root
>
> On Fri, 2008-09-12 at 09:38 -0500, Boyd, Todd M. wrote:
>
> -Original Message-
> From: Robert Cummings [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 1:11 PM
> To: Boyd, Todd M.
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] Re: Why MS Won't Retire Browsers -- was:
> InterntetExplorer 8 beater 2
---8<--- snip
> >
>
> I coul
> -Original Message-
> From: Brady Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 11:44 AM
> To: Luke
> Cc: [EMAIL PROTECTED]; php-general@lists.php.net
> Subject: Re: [PHP] Re: uploading file outside WEB Root
>
>
> On Sep 12, 2008, at 516AM, Luke wrote:
>
> > Coul
On Sep 12, 2008, at 2:51 PM, Robert Cummings wrote:
On Fri, 2008-09-12 at 14:33 -0400, Eric Gorr wrote:
On Sep 12, 2008, at 2:14 PM, Robert Cummings wrote:
On Fri, 2008-09-12 at 11:47 -0400, Eric Gorr wrote:
On Sep 12, 2008, at 11:39 AM, Andrew Ballard wrote:
On Fri, Sep 12, 2008 at 9:52 A
On Fri, 2008-09-12 at 14:39 -0400, tedd wrote:
> At 2:31 PM -0400 9/12/08, Robert Cummings wrote:
> >On Fri, 2008-09-12 at 14:24 -0400, tedd wrote:>
> >
> >I don't drink beer -- send money. :-)
> >
> >No, no, no... send me Tedd's beer!
> >
> >Cheers,
> >Rob.
>
> No, no, no send me both our monies
On Fri, 2008-09-12 at 14:33 -0400, Eric Gorr wrote:
> On Sep 12, 2008, at 2:14 PM, Robert Cummings wrote:
>
> > On Fri, 2008-09-12 at 11:47 -0400, Eric Gorr wrote:
> >> On Sep 12, 2008, at 11:39 AM, Andrew Ballard wrote:
> >>
> >>> On Fri, Sep 12, 2008 at 9:52 AM, Jochem Maas <[EMAIL PROTECTED]>
>
At 6:47 PM +0100 9/12/08, Stut wrote:
Chain saws make excellent playthings for 4 year olds*.
-Stut
Believe it or not, but when I was first introduced to my grand
father, he gave me a baby rattlesnake to play with. My mother was
horrified when she found out some time later and took it away -
At 2:31 PM -0400 9/12/08, Robert Cummings wrote:
On Fri, 2008-09-12 at 14:24 -0400, tedd wrote:>
I don't drink beer -- send money. :-)
No, no, no... send me Tedd's beer!
Cheers,
Rob.
No, no, no send me both our monies!
Beside, Rob will just spill the beer on his blow-up doll anyway.
Cheer
At 3:27 PM +0200 9/11/08, Aschwin Wesselius wrote:
I'm not an American (nor I ever will be), but GW declared the War
himself, so he started it. There's no defense if you start a war and
start attacking another country on behalf of it's citizens.
Our knowledge and opinions of such events should
On Sep 12, 2008, at 2:14 PM, Robert Cummings wrote:
On Fri, 2008-09-12 at 11:47 -0400, Eric Gorr wrote:
On Sep 12, 2008, at 11:39 AM, Andrew Ballard wrote:
On Fri, Sep 12, 2008 at 9:52 AM, Jochem Maas <[EMAIL PROTECTED]>
wrote:
Luke schreef:
I wonder if this is a shared trait between C an
On Fri, 2008-09-12 at 14:24 -0400, tedd wrote:
> At 7:08 AM -0400 9/11/08, Jason Pruim wrote:
> >Hey everyone,
> >
> >Okay, so the first time I typed this out it got rejected for being
> >off topic... so here is my attempt to make it on topic
> >
> > >
> >$day="Sept 11 2008";
> >While($day=dat
At 7:08 AM -0400 9/11/08, Jason Pruim wrote:
Hey everyone,
Okay, so the first time I typed this out it got rejected for being
off topic... so here is my attempt to make it on topic
Sorry for the off topic post... But I just wanted to say that if
there is anyone on this list that either w
At 10:58 AM +0100 9/12/08, Luke wrote:
I wonder if this is a shared trait between C and PHP (since I
understand PHP is written in C) that the break; and the default: are
placed for good practice in all switch statements since they prevent
memory leaks?
First, the evolution of computer languag
On Fri, 2008-09-12 at 11:47 -0400, Eric Gorr wrote:
> On Sep 12, 2008, at 11:39 AM, Andrew Ballard wrote:
>
> > On Fri, Sep 12, 2008 at 9:52 AM, Jochem Maas <[EMAIL PROTECTED]>
> > wrote:
> >> Luke schreef:
> >>>
> >>> I wonder if this is a shared trait between C and PHP (since I
> >>> underst
On Fri, 2008-09-12 at 09:38 -0500, Boyd, Todd M. wrote:
> > -Original Message-
> > From: Luke [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 12, 2008 7:16 AM
> > To: [EMAIL PROTECTED]
> > Cc: php-general@lists.php.net
> > Subject: Re: [PHP] Re: uploading file outside WEB Root
> >
>
On Fri, 2008-09-12 at 09:18 -0500, Boyd, Todd M. wrote:
>
>
> Okay... here it goes. I'm sick and tired of people talking trash on
> Windows Vista. It came pre-installed on my laptop (Home Premium... not
> Business Pro, sadly) and I haven't had any issues with it whatsoever.
> Some of my WinXP pro
On Fri, 2008-09-12 at 09:18 -0500, Boyd, Todd M. wrote:
>
>
> Okay... here it goes. I'm sick and tired of people talking trash on
> Windows Vista. It came pre-installed on my laptop (Home Premium... not
> Business Pro, sadly) and I haven't had any issues with it whatsoever.
> Some of my WinXP pro
On 12 Sep 2008, at 18:00, tedd wrote:
At 12:03 PM +0100 9/12/08, Stut wrote:
On 12 Sep 2008, at 11:55, Tom Chubb wrote:
I have generally been using the PHP mail function for sending
emails from
contact forms on websites, but have recently had problems with a
lot of
mails being delivered to
At 11:51 PM +0100 9/11/08, Nathan Rixham wrote:
re: an earlier thread
as promised here are some note's on geo-coding using mysql and php
(and geoip and distance between points) also worth reading up on
wiki about the great circle and associated content! (+openGIS)
Won't make sense to all unl
At 2:57 PM +0200 9/12/08, Per Jessen wrote:
Richard Heyes wrote:
I use here-doc plus exec(sendmail).
Why?
Using heredocs is probably habit, but it's also easy, and I like keeping
the email template in the code. I use exec(sendmail) because it allows
me to set the Return-Path.
For purely
On Sep 12, 2008, at 544AM, Jochem Maas wrote:
the current error_reporting/display_errors settings. and learn about
error_log() and how to 'tail' the error log (fuck knows how you go
about
that on windows ... then there are reasons I have a Mac ;-))
The ability to tail error logs is one of t
On Fri, Sep 12, 2008 at 8:44 AM, clive <[EMAIL PROTECTED]> wrote:
> I have a file called interceptor.php, which I would like to make use of in
> two ways
>
> 1. either call it directly from the browser or
> 2. included from another file
>
> I know I could use something like this to see if it was c
At 12:03 PM +0100 9/12/08, Stut wrote:
On 12 Sep 2008, at 11:55, Tom Chubb wrote:
I have generally been using the PHP mail function for sending emails from
contact forms on websites, but have recently had problems with a lot of
mails being delivered to junk/spam folders.
I've tried loads of diff
> In ? Yeah, I think I knew that, but for some
> reason I haven't been using it. I don't think it works in safe-mode or
> something like that. Or maybe it doesn't work in older (4.3,4.4)
> versions?
Dunno, it's been over 4 1/2 years since I used PHP4.
--
Richard Heyes
HTML5 Graphing for IE7,
At 2:44 PM +0200 9/12/08, clive wrote:
I have a file called interceptor.php, which I would like to make
use of in two ways
1. either call it directly from the browser or
2. included from another file
I know I could use something like this to see if it was called via a
url like http://www.sit
Forwarding to php-general.
Original Message
Subject: Re: [DOC-BUGS] #46054 [NEW]: comment of addcslashes 'A..z' is wrong
Date: Fri, 12 Sep 2008 10:51:45 -0400
From: [EMAIL PROTECTED] ("Tanveer Bhurani")
To: miau dot jp at gmail dot com <[EMAIL PROTECTED]>
Newsgroups: php.doc.bu
At 8:31 AM -0700 9/11/08, mike wrote:
On Thu, Sep 11, 2008 at 8:17 AM, tedd <[EMAIL PROTECTED]> wrote:
Considering that my other profession is Geophysicist, I'm kind of up on
those sort of things. The Earth is an oblate spheroid and the computation to
include the curvature of the earth would
On Sep 12, 2008, at 516AM, Luke wrote:
Could you use a symbolic link? If on Linux 'ln -s /fpath/foldername'?
Not sure how to do this on Windows
Windows 2k and up do support symbolic links, take a look at
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
Brady
--
PHP General Ma
On Fri, 2008-09-12 at 15:11 +0200, Børge Holen wrote:
> On Friday 12 September 2008 12:02:13 you wrote:
> > there's three letters
> >
> > VIM!
>
> yes and amiga still kicks ass. The old fashioned way works, ok. But ... after
> a while, you still do the same old thing the same old way, while every
On Fri, 2008-09-12 at 11:07 +0100, Luke wrote:
> don't forget that the complexity of the PHP is increased muchly with
> multiple databases... Keep it simple...
You must be doing it wrong. Global $db perchance?
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
On Fri, 2008-09-12 at 10:58 +0100, Luke wrote:
> I wonder if this is a shared trait between C and PHP (since I understand PHP
> is written in C) that the break; and the default: are placed for good
> practice in all switch statements since they prevent memory leaks?
Prevent memory leaks? WHAT?
Ev
On Fri, 2008-09-12 at 11:39 +0200, Jochem Maas wrote:
> Jochem Maas schreef:
> > has anyone here downloaded/compiled 5.3 and played with namespaces?
> > have you encountered any issues/problems?
>
> so no-one? really? none of you muppets ever even smelled a namespace?
I like to use techniques tha
On Sep 12, 2008, at 11:39 AM, Andrew Ballard wrote:
On Fri, Sep 12, 2008 at 9:52 AM, Jochem Maas <[EMAIL PROTECTED]>
wrote:
Luke schreef:
I wonder if this is a shared trait between C and PHP (since I
understand
PHP
is written in C) that the break; and the default: are placed for
good
Tom Chubb wrote:
I have generally been using the PHP mail function for sending emails from
contact forms on websites, but have recently had problems with a lot of
mails being delivered to junk/spam folders.
I've tried loads of different headers, etc and almost every contact form on
sites I've d
At 12:43 AM -0700 9/12/08, Yeti wrote:
I often tell my clients the reasons for accessibility and usually i
get the answer "We don't have any blind customers so we don't care
about them".
Statements like that demonstrate ignorance more than anything else.
If they actually knew the potential the
On Fri, Sep 12, 2008 at 9:52 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Luke schreef:
>>
>> I wonder if this is a shared trait between C and PHP (since I understand
>> PHP
>> is written in C) that the break; and the default: are placed for good
>> practice in all switch statements since they prev
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Colin Guthrie
> Sent: Friday, September 12, 2008 9:44 AM
> To: php-general@lists.php.net
> Subject: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet
> Explorer 8 beater 2
>
> Boyd, Todd M. wrote:
> >
> >
> >
> -Original Message-
> From: tedd [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 9:41 AM
> To: Boyd, Todd M.; php-general@lists.php.net
> Subject: RE: [PHP] Re: Google Maps Distance Between UK Postcodes
>
> At 3:54 PM -0500 9/11/08, Boyd, Todd M. wrote:
> > > Considering tha
Boyd, Todd M. wrote:
Okay... here it goes. I'm sick and tired of people talking trash on Windows
Vista. It came pre-installed on my laptop (Home Premium... not Business Pro,
sadly) and I haven't had any issues with it whatsoever. Some of my WinXP
programs don't show up in the start menu when
At 3:54 PM -0500 9/11/08, Boyd, Todd M. wrote:
> Considering that my other profession is Geophysicist, I'm kind of up
on those sort of things. The Earth is an oblate spheroid and the
computation to include the curvature of the earth would be a bit more
involved.
---8<--- snip
But it's als
> -Original Message-
> From: Luke [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 7:16 AM
> To: [EMAIL PROTECTED]
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Re: uploading file outside WEB Root
>
> Could you use a symbolic link? If on Linux 'ln -s /fpath/foldername'?
> -Original Message-
> From: Luke [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 7:13 AM
> To: Jochem Maas
> Cc: [EMAIL PROTECTED]; php-general@lists.php.net
> Subject: Re: [PHP] Readdir() question
>
> Ok,
>
> one folder on your webserver, and put all of the files that you w
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Colin Guthrie
> Sent: Friday, September 12, 2008 3:15 AM
> To: php-general@lists.php.net
> Subject: [PHP] Re: Google Maps Distance Between UK Postcodes
>
> Boyd, Todd M. wrote:
> >> -Original Message-
> >> Fro
On Sep 12, 2008, at 10:18 AM, Boyd, Todd M. wrote:
-Original Message-
From: Sancar Saran [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2008 6:15 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet
Explorer 8 beater 2
Because,
> -Original Message-
> From: Sancar Saran [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 11, 2008 6:15 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet
> Explorer 8 beater 2
>
> Because,
>
> M$ earning money from Win GUI. No
2008/9/12 Ross McKay <[EMAIL PROTECTED]>
> On Fri, 12 Sep 2008 11:55:03 +0100, Tom Chubb wrote:
>
> >I have generally been using the PHP mail function for sending emails from
> >contact forms on websites, but have recently had problems with a lot of
> >mails being delivered to junk/spam folders. [
Luke schreef:
I wonder if this is a shared trait between C and PHP (since I understand PHP
is written in C) that the break; and the default: are placed for good
practice in all switch statements since they prevent memory leaks?
default is not required, never heard it was good practice to always
On Fri, 12 Sep 2008 11:55:03 +0100, Tom Chubb wrote:
>I have generally been using the PHP mail function for sending emails from
>contact forms on websites, but have recently had problems with a lot of
>mails being delivered to junk/spam folders. [...]
If you don't end up using PHPMailer, make sur
Jochem Maas wrote:
Jason Pruim schreef:
On Sep 12, 2008, at 9:34 AM, Nathan Rixham wrote:
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip]
have to say this:
error_rep
On Sep 12, 2008, at 9:46 AM, Jochem Maas wrote:
Jason Pruim schreef:
On Sep 12, 2008, at 9:34 AM, Nathan Rixham wrote:
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip]
Luke schreef:
don't forget that the complexity of the PHP is increased muchly with
multiple databases... Keep it simple...
did you check his interface ... it's way too late for 'simple'
2008/9/4 Boyd, Todd M. <[EMAIL PROTECTED]>
-Original Message-
From: Martin Zvarík [mailto:[EMAIL
Jason Pruim schreef:
On Sep 12, 2008, at 9:34 AM, Nathan Rixham wrote:
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip]
have to say this:
error_reporting( E_ALL ); at
On Sep 12, 2008, at 9:34 AM, Nathan Rixham wrote:
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip]
have to say this:
error_reporting( E_ALL ); at the top would help; +
Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
[snip snip snip]
have to say this:
error_reporting( E_ALL ); at the top would help; + display_errors on in
php.ini and problem is probably
Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
Okay, when I had that in the notify_email.php file it looked like it all
loaded just fine... the echo's were displayed.
When I put that in my process.php file
On Wed, 10 Sep 2008 09:28:27 -0400, tedd wrote:
> At 11:14 AM +0200 9/1/08, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote:
>>On Fri, 29 Aug 2008 16:11:01 -0400, tedd wrote:
>>>
>>> http://webbytedd.com/aa/assorted-captcha/
>>
>>Some of these are really cool. Assuming they are
>>actually working, that is.
On Sep 12, 2008, at 9:21 AM, Jason Pruim wrote:
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
Okay, when I had that in the notify_email.php file it looked like it
all loaded just fine... the echo's were displayed.
When I
On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:
Jason Pruim wrote:
nothing obvious to me.. so debug more!
Okay, when I had that in the notify_email.php file it looked like it
all loaded just fine... the echo's were displayed.
When I put that in my process.php file I got this output:
Richard Heyes wrote:
>> I use exec(sendmail) because it allows
>> me to set the Return-Path.
>
> mail() does too.
>
In ? Yeah, I think I knew that, but for some
reason I haven't been using it. I don't think it works in safe-mode or
something like that. Or maybe it doesn't work in older (4.3
On Friday 12 September 2008 12:02:13 you wrote:
> there's three letters
>
> VIM!
yes and amiga still kicks ass. The old fashioned way works, ok. But ... after
a while, you still do the same old thing the same old way, while everything
passes you by. I love vim for reading and editing a file here
On Sep 12, 2008, at 3:13 AM, Colin Guthrie wrote:
Sancar Saran wrote:
Don't expect anything good from M$...
Oh I don't expect anything good from them, never have, never will,
[snip!]
Ok, let's not forget about the Xbox! ;)
~Philip
--
PHP General Mailing List (http://www.php.net/)
To uns
clive schreef:
actually $_SERVER[script_name] is probably better if not being used from
a webserver.
you didn't mention wanting to use the cmdline.
untested code follows:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello
Brady Mitchell
thank you for your reply.
Brady Mitchell-2 wrote:
>
> On Sep 10, 2008, at 821PM, jmatt wrote:
>> Hi, I was using NVU to edit PHP but when I upload the index.php file
>> back
>> there will always be a slight error in disorientation.
>> Example using NVU I edited the text j
Jason Pruim schreef:
my guess is you never reach this line.
I don't think notify_email() is called, find out what is dying before you
get to this line.
note you'll get 'echo '10';' before you get 'echo '1';'
notify_email($Record, $salesRepID);
$stmt = mysqli_stmt_init($link);
Ewen Cumming schreef:
Actually bummer - testing on wrong version.
The U modifier is causing problems too - only matching the first character
instead of the whole string.
hmm, missed that, that might require adding ?U to relevant sub-assertion ...
I'm wondering if your regexp is not 'wrong' (b
> I use exec(sendmail) because it allows
> me to set the Return-Path.
mail() does too.
--
Richard Heyes
HTML5 Graphing for IE7, FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
clive wrote:
I have a file called interceptor.php, which I would like to make use of
in two ways
1. either call it directly from the browser or
2. included from another file
I know I could use something like this to see if it was called via a url
like http://www.site.com/interceptor.php :
actually $_SERVER[script_name] is probably better if not being used from
a webserver.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> but I would like to know if there is a neater, cleaner, sparkly way of doing
> this.
The way your doing it is fine. You could wrap it up in a custom function, eg:
// True means called directly.
function wasThisFileIncludedOrCalledDirectly ()
{
return strstr($__SERVER["REQUEST_URI"], 'interc
Richard Heyes wrote:
>> I use here-doc plus exec(sendmail).
>
> Why?
Using heredocs is probably habit, but it's also easy, and I like keeping
the email template in the code. I use exec(sendmail) because it allows
me to set the Return-Path.
For purely internal stuff, I just as often use plain m
On Sep 12, 2008, at 8:44 AM, Jochem Maas wrote:
Jason Pruim schreef:
So, I am fighting with a problem function... I have used this
function on a previous project and it worked just fine, so I'm not
sure what changed...
The only difference is that on this site, I'm using mod_rewrite to
wri
Jason Pruim wrote:
So, I am fighting with a problem function... I have used this function
on a previous project and it worked just fine, so I'm not sure what
changed...
The only difference is that on this site, I'm using mod_rewrite to write
all non-existent folder requests into a php file to
On Fri, Sep 12, 2008 at 4:14 AM, hce <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a php file audio.php to send mp3 file audio.mp3 to browsers,
> the browser needs following html code to play mp3 file. I thought it
> should work if I put the the audio.mp3 file in the same localtion with
> the http:/
Hey Guys,
Thanks for the tips, both views make sense. I think my main problem was I
as overthinking it. Thanks!
--
-Dan Joseph
www.canishosting.com - Plans start @ $1.99/month.
"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the res
I have a file called interceptor.php, which I would like to make use of
in two ways
1. either call it directly from the browser or
2. included from another file
I know I could use something like this to see if it was called via a url
like http://www.site.com/interceptor.php :
if (strstr('in
Jason Pruim schreef:
So, I am fighting with a problem function... I have used this function
on a previous project and it worked just fine, so I'm not sure what
changed...
The only difference is that on this site, I'm using mod_rewrite to write
all non-existent folder requests into a php file
Luke wrote:
Ok,
one folder on your webserver, and put all of the files that you want to
include on your website/system in this folder (also uploading into this
folder); just in the root of that folder, so say you wouldn't have anymore
folders under it.
Make a table called 'Files,' containing:
Lester Caine wrote:
Colin Guthrie wrote:
Sancar Saran wrote:
Don't expect anything good from M$...
Oh I don't expect anything good from them, never have, never will, but
that still doesn't change my point that sunset dates would probably be
better for them in the long run... looking for a r
Actually bummer - testing on wrong version.
The U modifier is causing problems too - only matching the first character
instead of the whole string.
2008/9/12 Ewen Cumming <[EMAIL PROTECTED]>
> Hi Jochem,
>
> Replacing the 's' modifier with 'm' fixed it this instance but broke other
> parts on
> I use here-doc plus exec(sendmail).
Why?
--
Richard Heyes
HTML5 Graphing for IE7, FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tom Chubb wrote:
> I have generally been using the PHP mail function for sending emails
> from contact forms on websites, but have recently had problems with a
> lot of mails being delivered to junk/spam folders.
> I've tried loads of different headers, etc and almost every contact
> form on sites
Hi Jochem,
Replacing the 's' modifier with 'm' fixed it this instance but broke other
parts on the site (the same result as removing 's').
But the other regex ( $pattern = "/
]+)([^>]*)>(.*?)|
]+)([^>]*)>/Ui";) is working perfectly.
I will continue to test and see if it throws up any other probl
Could you use a symbolic link? If on Linux 'ln -s /fpath/foldername'?
Not sure how to do this on Windows
2008/9/1 Carlos Medina <[EMAIL PROTECTED]>
> Angelo Zanetti schrieb:
>
>> Hi All,
>> For security purposes I would like to upload a file outside the webroot.
>>
>> I have got this to work on
Ok,
one folder on your webserver, and put all of the files that you want to
include on your website/system in this folder (also uploading into this
folder); just in the root of that folder, so say you wouldn't have anymore
folders under it.
Make a table called 'Files,' containing:
ID
Name
Type
t
Jochem Maas schreef:
Ewen Cumming schreef:
Hi everybody,
...
BUT I may have work around for you, try this regexp (replaces s modifer
with m modifier):
$pattern = "/ ]+)([^>]*)>(.*?)| ]+)([^>]*)>/mi";
the following pattern also seems to do what you want:
$pattern = "/ ]+)([^>]*)>(.*
1 - 100 of 126 matches
Mail list logo