Hi,
Just becasue you create a persistent connection it can still go down,
can't it? So therefore using mysql_ping inside of scripts with plenty
of idle time is useful?
/Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Børge Holen wrote:
> On Monday 06 August 2007 23:39, Colin Guthrie wrote:
>> Børge Holen wrote:
>>> I'm building an web interface for my music collection.
>> I'd have a quick look at mp3act. It does pretty much what you want I think.
>
> yes, but where is the fun in that? ;D
> and if something irr
Hello,
I have a question (what a surprise :-) )
I browsed the archives, but didn't find what I'm looking for.
I have an object instance stored in some variable (like $myobject). I want
to save this instance into another variable (like $tempobject). I thought,
this will be the way:
$myobject
You may find the following article interesting. It talks about object
cloning, which I think what you are after...
http://www.phpfreaks.com/phpmanual/page/language.oop5.cloning.html
Regards,
Hamza.
""Sándor Tamás (GMail)"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
I forgot to tell you that I have to use PHP4.2 because of my web provider.
Anything besides of _clone?
SanTa
- Original Message -
From: Hamza Saglam
To: "Sándor Tamás (GMail)"
Sent: Tuesday, August 07, 2007 10:49 AM
Subject: Re: Object reference into variable?
You may fin
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 8/6/07, Stut <[EMAIL PROTECTED]> wrote:
>>
>> Hamza Saglam wrote:
>> > Thanks for your response. However I am looking for something a bit more
>> > comprehensive :)
>> >
>> > I could do it as you suggested if I had o
I strongly suggest you put some pressure on you web provider to at least
upgrade it to the 4.4.7, as 4.2 is way too old to be secure :)
Unfortunately I don't know how this could be accomplished in PHP4, but a
quick google query returned these:
http://www.hat.net/geeky/php_tricks_-_php_5_clone_i
On 8/7/07, Luc <[EMAIL PROTECTED]> wrote:
> Good evening list,
>
> i'm having a strange mail problem:
>
> i have 2 contact-forms on a site, where 1 get's send to the e-mail
> account and the other doesn't. I've tested them both on my remote
> server and they work, but when i upload them to the
Hello List,
I'm going to add some kind of articles system into my cms.
General aim of this articles system have unlimited branches (or sub
categories), each branch may own editors or writers.
I'm looking for current imlementations of this kind of systems.
Does anyone suggest a system to have g
A couple of months ago I asked pretty much the same question on this
list because I was doing the same thing. This is how we implemented
our system.
For starters, we rolled our own MVC framework. It's pretty much a
standard MVC framework, very rails inspired but much more lightweight
than Cake and
Get a new web host that offers PHP 5.2. Anything older than that is a dead
end that is about to be retired[1]. There's a nice big list of 5.2-ready web
hosts available, too[2].
[1] http://www.php.net/index.php#2007-07-13-1
[2] http://gophp5.org/
On Tuesday 07 August 2007, Sándor Tamás wrote:
Hi gang:
In the long winded debate over copyright infringement vs thievery, I
made an unkind and untrue inference re Larry Garfield.
So, as a matter of public apology, I hereby apologize to Larry
publicly for my heated remark. I'm sorry Larry.
As a point of notice, Larry has graciously acce
On Tue, 2007-08-07 at 10:23 -0400, tedd wrote:
> Hi gang:
>
> In the long winded debate over copyright infringement vs thievery, I
> made an unkind and untrue inference re Larry Garfield.
>
> So, as a matter of public apology, I hereby apologize to Larry
> publicly for my heated remark. I'm sor
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-08-07 at 10:23 -0400, tedd wrote:
> > Hi gang:
> >
> > In the long winded debate over copyright infringement vs thievery, I
> > made an unkind and untrue inference re Larry Garfield.
> >
> > So, as a matter of public apology, I he
At 10:31 AM -0400 8/7/07, Robert Cummings wrote:
On Tue, 2007-08-07 at 10:23 -0400, tedd wrote:
Hi gang:
In the long winded debate over copyright infringement vs thievery, I
made an unkind and untrue inference re Larry Garfield.
So, as a matter of public apology, I hereby apologize to Larr
At 10:36 AM -0400 8/7/07, Daniel Brown wrote:
As a matter of public record, I hereby move that we reject Tedd's
formal apology due to grammatical errors in construct. ;-P
--
Daniel P. Brown
You know you guys are going to keep this up until I have to apologize
to everyone for the things
On 8/7/07, tedd <[EMAIL PROTECTED]> wrote:
>
> At 10:36 AM -0400 8/7/07, Daniel Brown wrote:
> >
> > As a matter of public record, I hereby move that we reject Tedd's
> >formal apology due to grammatical errors in construct. ;-P
> >
> >--
> >Daniel P. Brown
>
> You know you guys are going to k
On Tue, 2007-08-07 at 10:50 -0400, tedd wrote:
> At 10:31 AM -0400 8/7/07, Robert Cummings wrote:
> >On Tue, 2007-08-07 at 10:23 -0400, tedd wrote:
> >> Hi gang:
> >>
> >> In the long winded debate over copyright infringement vs thievery, I
> >> made an unkind and untrue inference re Larry Garfi
A friends asked me the following and I have no clue:
There are variables in php called the super globals. Specifically the
$_SERVER super globals are coming back as an empty array. The shopping
cart that pixami supplied to us requires the $_SERVER super globals.
--
PHP General Mailing List (ht
Personally, I think Garfield is the worst comic in existence no matter
how Larry Garfield feels about it !
greetz,
boro
tedd schreef:
Hi gang:
In the long winded debate over copyright infringement vs thievery, I
made an unkind and untrue inference re Larry Garfield.
So, as a matter of pub
On 8/7/07, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
There should be a comma prior to the addressee(s).
>
> In the long winded debate over copyright infringement vs thievery, I
> made an unkind and untrue inference re Larry Garfield.
You forgot to hyphenate "long-winded"; "Copyright" is a title a
2007. 08. 7, kedd keltezéssel 11.02-kor Brian Dunning ezt írta:
> A friends asked me the following and I have no clue:
>
> > There are variables in php called the super globals. Specifically the
> > $_SERVER super globals are coming back as an empty array. The shopping
> > cart that pixami supplie
On Tue, 2007-08-07 at 11:15 -0400, Daniel Brown wrote:
>
> Bah just busting your balls anyway, old man! ;-P
>
An ellipsis should be comprised of 3 dots.
:B
Cheers,
Rob.
--
...
SwarmBuy.com - http://www.swarmbuy.com
Leveragin
On Tue, 2007-08-07 at 11:28 -0400, Daniel Brown wrote:
> On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Tue, 2007-08-07 at 11:15 -0400, Daniel Brown wrote:
> > >
> > > Bah just busting your balls anyway, old man! ;-P
> > >
> >
> > An ellipsis should be comprised of 3 dots.
>
Yes I am hijacking a thread just to screw with all the people who use
threaded e-mail viewers and because I'm mean like that :P
Figured since yall have to much time on your hands anyway I'd give
you something else to gripe about... :)
Now... My question :)
host_info);
/* close connection
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-08-07 at 11:28 -0400, Daniel Brown wrote:
> > On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > > On Tue, 2007-08-07 at 11:15 -0400, Daniel Brown wrote:
> > > >
> > > > Bah just busting your balls anyway, old man!
Jason Pruim wrote:
Yes I am hijacking a thread just to screw with all the people who use
threaded e-mail viewers and because I'm mean like that :P
Figured since yall have to much time on your hands anyway I'd give you
something else to gripe about... :)
Now... My question :)
host_info);
/*
On 8/7/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Yes I am hijacking a thread just to screw with all the people who use
> threaded e-mail viewers and because I'm mean like that :P
>
> Figured since yall have to much time on your hands anyway I'd give
> you something else to gripe about... :)
>
>
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-08-07 at 11:15 -0400, Daniel Brown wrote:
> >
> > Bah just busting your balls anyway, old man! ;-P
> >
>
> An ellipsis should be comprised of 3 dots.
>
> :B
>
> Cheers,
> Rob.
> --
> ..
Hello,
I suspect that you need to assign the new instance of mysqli to $mysqli
by reference to prevent the on-demand instance that is created by new
from being copied (cloned) at the point of assignment.
Mark
Jason Pruim wrote:
> Yes I am hijacking a thread just to screw with all the people who
On Aug 7, 2007, at 11:46 AM, Daniel Brown wrote:
As far as I know, J (and I could be wrong on this), this is
actually a problem with PHP5. Some things that you could try,
however:
In your php.ini file, set:
zend.ze1_compatibility_mode = Off
Hey Dan,
That did the trick on t
On 07 August 2007 16:15, Daniel Brown wrote:
> On 8/7/07, tedd <[EMAIL PROTECTED]> wrote:
> > Hi gang:
> There should be a comma prior to the addressee(s).
>
> >
> > In the long winded debate over copyright infringement vs thievery, I
> > made an unkind and untrue inference re Larry Garfield.
>
[snip]
Yes I am hijacking a thread just to screw with all the people who use
threaded e-mail viewers and because I'm mean like that :P
[/snip]
To answer your question, because hijacking threads is much harder than
typing the e-mail address in the To box, Duh.
--
PHP General Mailing List (http:
On Tue, 2007-08-07 at 18:42 +0100, Ford, Mike wrote:
> On 07 August 2007 16:15, Daniel Brown wrote:
>
> > On 8/7/07, tedd <[EMAIL PROTECTED]> wrote:
> > > Hi gang:
> > There should be a comma prior to the addressee(s).
> >
> > >
> > > In the long winded debate over copyright infringement vs thie
Hi all.
Im looking for a way to get the domain from an email address.
Not sub domains, just the domain, so
[EMAIL PROTECTED]
would return
example.com.mn
similarly, the address [EMAIL PROTECTED] would return
example.com
perhaps an array of tld's, then strip the tld off the end and anything
bef
yes co.uk is a tdl.
- Dan
"Kevin Waterson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi all.
Im looking for a way to get the domain from an email address.
Not sub domains, just the domain, so
[EMAIL PROTECTED]
would return
example.com.mn
similarly, the address [EMAIL PROTEC
Dan wrote:
yes co.uk is a tdl.
No it's not, it's a ccTLD which is a TLD specific to a country.
"Kevin Waterson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi all.
Im looking for a way to get the domain from an email address.
Not sub domains, just the domain, so
[EMAIL PROTE
At 11:35 AM -0400 8/7/07, Robert Cummings wrote:
On Tue, 2007-08-07 at 11:28 -0400, Daniel Brown wrote:
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-08-07 at 11:15 -0400, Daniel Brown wrote:
> >
> > Bah just busting your balls anyway, old man! ;-P
> >
>
>
What are you trying to do exactly, maybe there's a better way. If you're
trying to determine if an email address is valid there's a pretty cool way
to do so by using dns records. It's like 5 lines, here's the site
http://www.sitepoint.com/article/users-email-address-php
As far as actually ju
Well then he needs an array of ccTLD's and pretty much anything that can
follow a domain name. In my previous code change the array you're giving it
to be of ccTLD's and also you might want to pass that array in through the
funciton. As I said, been a while since I did PHP.
- Dan
"Stut" <[E
On 8/7/07, Stut <[EMAIL PROTECTED]> wrote:
> Dan wrote:
> > yes co.uk is a tdl.
>
> No it's not, it's a ccTLD which is a TLD specific to a country.
>
> > "Kevin Waterson" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >> Hi all.
> >>
> >> Im looking for a way to get the domain fr
Are there any rules when to include javascript in or in ?
For example,
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
self.location='QueryForm.php?Chapter=' + val ;
}
TIA, Cor
On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
> Are there any rules when to include javascript in or in ?
> For example,
>
> function reload(form)
> { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
> self.location='QueryForm.php?Chapter=' + val ;
> }
>
>
> TIA, C
On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
> Are there any rules when to include javascript in or in ?
> For example,
>
> function reload(form)
> { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
>self.location='QueryForm.php?Chapter=' + val ;
> }
>
w3 says
On Tue, 2007-08-07 at 21:24 +0200, Tijnema wrote:
> On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
> > Are there any rules when to include javascript in or in ?
> > For example,
> >
> > function reload(form)
> > { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
> >
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-08-07 at 21:24 +0200, Tijnema wrote:
> > On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
> > > Are there any rules when to include javascript in or in ?
> > > For example,
> > >
> > > function reload(form)
> > > { var val=fo
C.R.Vegelin wrote:
Are there any rules when to include javascript in or in ?
For example,
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
self.location='QueryForm.php?Chapter=' + val ;
C.R.Vegelin wrote:
Are there any rules when to include javascript in or in ?
For example,
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
self.location='QueryForm.php?Chapter=' + val ;
On 8/7/07, Tijnema <[EMAIL PROTECTED]> wrote:
> Uhh, do you know which list this is?
I give up.. Is it the one where I get as many [OT] labeled emails as
I do on-topic ones?
People have been asking basic html questions here for (over?) a
decade, and it probably won't stop anytime soon. Newcomer
On Aug 7, 2007, at 3:29 PM, Tijnema wrote:
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Tue, 2007-08-07 at 21:24 +0200, Tijnema wrote:
On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
Are there any rules when to include javascript in or in
?
For example,
function reload(for
On Tue, 2007-08-07 at 21:19 +0100, C.R.Vegelin wrote:
> Are there any rules when to include javascript in or in ?
> For example,
>
> function reload(form)
> { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
>self.location='QueryForm.php?Chapter=' + val ;
> }
>
In
Check:
http://developer.yahoo.com/performance/rules.html
Satyam
PS: The answer is, put styles at the top, scripts at the bottom., but there
are many other tricks to improve performance. Otherwise, as for the
standards, they can go anywhere.
- Original Message -
From: "C.R.Vegeli
On 8/7/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
> C.R.Vegelin wrote:
> > Are there any rules when to include javascript in or in ?
> > For example,
> >
> > function reload(form)
> > { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
> >self.location='QueryForm.php
Kevin Waterson wrote:
Hi all.
Im looking for a way to get the domain from an email address.
Not sub domains, just the domain, so
[EMAIL PROTECTED]
would return
example.com.mn
similarly, the address [EMAIL PROTECTED] would return
example.com
perhaps an array of tld's, then strip the tld off
On 8/7/07, Greg Donald <[EMAIL PROTECTED]> wrote:
> On 8/7/07, Tijnema <[EMAIL PROTECTED]> wrote:
> > Uhh, do you know which list this is?
>
> I give up.. Is it the one where I get as many [OT] labeled emails as
> I do on-topic ones?
>
> People have been asking basic html questions here for (over?
Ok, you got the obligatory 'wrong list' comments. It is the wrong list, but
for the sake of public completeness... how about an answer to the question.
You can put it anywhere but a couple of considerations:
1. I believe if you put it AFTER where the JS functions defined in that block
are call
On 8/7/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> "Later this week on Php-General, witness the revolutionary
> confessions of a PHP Programmer stuck in the middle of a lovers
> triangle of OOP, and Procedural"
That's a re-run. Python wins with Ruby coming in second place. PHP
gets renamed to J
Yup, that's pretty much what I wrote but with a bit more feedback for
invalid addresses.
- Dan
"Jim Lucas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Kevin Waterson wrote:
Hi all.
Im looking for a way to get the domain from an email address.
Not sub domains, just the domain
Ahh, the PHP newsgroup. The last place I thought I would see a refrence to
a Defcon or Blackhat talk.
""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
One of my developers saw the following article;
http://arstechnica.com/news.ars/post/20070802-security-experts-
On Tue, 2007-08-07 at 15:50 -0400, [EMAIL PROTECTED] wrote:
>
> 3. If you're executing JS in order to output something, you're going
> to need to put it whereever in your HTML you'll need the output. If
> you're just defining functions to be called later, then you can put
> it whereever (probably
On Tue, 2007-08-07 at 14:58 -0500, Greg Donald wrote:
> On 8/7/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> > "Later this week on Php-General, witness the revolutionary
> > confessions of a PHP Programmer stuck in the middle of a lovers
> > triangle of OOP, and Procedural"
>
> That's a re-run. Py
Hi
What is the proper way to get the ADODB class to automatically add
quotes to the below sql ?
I'm guessing that the below fails because none of the variables get
quoted with the method, qstr.
$sql = "insert into email (to_name, to_email, from_name, from_email,
subject, message, timestam
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> Yeah, the numbers really show Python and Ruby winning... NOT *LOL*.
You mean how both Ruby and Python list serv traffic is way up while
PHP's is way down? Even the PHP dev list is really slowed the past
year or so.. just some guy named Richa
Yes. Just yes.
regards,
boro
Greg Donald schreef:
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
Yeah, the numbers really show Python and Ruby winning... NOT *LOL*.
You mean how both Ruby and Python list serv traffic is way up while
PHP's is way down? Even the PHP dev list i
-Original Message-
From: Graham Anderson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 07, 2007 3:34 PM
To: php-general
Subject: [PHP] ADODB Insert Question (Syntax)
Hi
What is the proper way to get the ADODB class to automatically add
quotes to the below sql ?
I'm guessing that the
On Tue, 2007-08-07 at 15:52 -0500, Greg Donald wrote:
> On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > Yeah, the numbers really show Python and Ruby winning... NOT *LOL*.
>
> You mean how both Ruby and Python list serv traffic is way up while
> PHP's is way down?
Way up and way down ar
Dan wrote:
What are you trying to do exactly, maybe there's a better way. If
you're trying to determine if an email address is valid there's a pretty
cool way to do so by using dns records. It's like 5 lines, here's the
site http://www.sitepoint.com/article/users-email-address-php
As far as
Hi Greg,
Tuesday, August 7, 2007, 9:52:28 PM, you wrote:
> PHP is the absolute worst language to do any sort of OO programming
> in.
Ignoring the digg user mentality of that statement, try ASP if you
want to see OO suck *royally*
Cheers,
Rich
--
Zend Certified Engineer
http://www.corephp.co.u
Jim Lucas wrote:
Dan wrote:
What are you trying to do exactly, maybe there's a better way. If
you're trying to determine if an email address is valid there's a
pretty cool way to do so by using dns records. It's like 5 lines,
here's the site http://www.sitepoint.com/article/users-email-addre
Richard Davey wrote:
Tuesday, August 7, 2007, 9:52:28 PM, you wrote:
PHP is the absolute worst language to do any sort of OO programming
in.
Ignoring the digg user mentality of that statement, try ASP if you
want to see OO suck *royally*
ASP is not a language, it's most like a framework. I
Dan wrote:
Yup, that's pretty much what I wrote but with a bit more feedback for
invalid addresses.
not exactly
- Dan
"Jim Lucas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Kevin Waterson wrote:
Hi all.
Im looking for a way to get the domain from an email address.
Not s
Stut wrote:
Jim Lucas wrote:
Dan wrote:
What are you trying to do exactly, maybe there's a better way. If
you're trying to determine if an email address is valid there's a
pretty cool way to do so by using dns records. It's like 5 lines,
here's the site http://www.sitepoint.com/article/user
Stut wrote:
Jim Lucas wrote:
Dan wrote:
What are you trying to do exactly, maybe there's a better way. If
you're trying to determine if an email address is valid there's a
pretty cool way to do so by using dns records. It's like 5 lines,
here's the site http://www.sitepoint.com/article/user
I guess I was just happy that I was able to remember how to do PHP. Yeah,
that one works better. Just seemed a bit similar. Besides, people usually
give pseudo code any way rather than working code. My code didn't work.
Yours was better.
- Dan
On 8/7/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
>
Jim Lucas wrote:
Stut wrote:
Jim Lucas wrote:
Dan wrote:
What are you trying to do exactly, maybe there's a better way. If
you're trying to determine if an email address is valid there's a
pretty cool way to do so by using dns records. It's like 5 lines,
here's the site
http://www.sitepoi
Stut wrote:
Jim Lucas wrote:
Stut wrote:
Jim Lucas wrote:
Dan wrote:
What are you trying to do exactly, maybe there's a better way. If
you're trying to determine if an email address is valid there's a
pretty cool way to do so by using dns records. It's like 5 lines,
here's the site
http:
Jim Lucas wrote:
Are all domains that use ccTLD's created/formatted like other not
ccTLD's just with the .uk or whatever tagged on the end?
Something like this
your example
stut.co.uk
is this the base for your domain. Basically, would this be
stut.com if it were a dot.com ??
or would it b
I've always heard it is bad if you let a user type some input, then show it
back to them w/o sanatizing the code. Eg. I have a form, where the user
types something, they hit submit and it submits to itself then prints back
to the user something like, account created with password: whatever they
Dan wrote:
I've always heard it is bad if you let a user type some input, then show
it back to them w/o sanatizing the code. Eg. I have a form, where the
user types something, they hit submit and it submits to itself then
prints back to the user something like, account created with password:
On 8/7/07, Dan <[EMAIL PROTECTED]> wrote:
> I've always heard it is bad if you let a user type some input, then show it
> back to them w/o sanatizing the code. Eg. I have a form, where the user
> types something, they hit submit and it submits to itself then prints back
> to the user something lik
Thanks Stut and Daniel,
I guess my fears were somewhat unfounded. At least in the case where
you're the only one who sees the result.
- Dan
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On 8/7/07, Dan <[EMAIL PROTECTED]> wrote:
I've always heard it is bad if
Stut wrote:
Jim Lucas wrote:
Are all domains that use ccTLD's created/formatted like other not
ccTLD's just with the .uk or whatever tagged on the end?
Something like this
your example
stut.co.uk
is this the base for your domain. Basically, would this be
stut.com if it were a dot.com ??
I'm just forwarding this as a courtesy to the list, because
Anthony accidentally just sent it to me, as opposed to "Reply-All'ing"
the list.
If you want more information on this subject you should search Google
for "Cross Site Scripting" and "XSS".
Of particular interest is this site: http://h
This one time, at band camp, Stut <[EMAIL PROTECTED]> wrote:
> Which brings me back to my earlier question of why would you want to do
> this? I can't think of any reason, but then again it is getting late.
I would like to prevent registration of emails from certain domains that
abuse a forum.
way to do so by using dns records. It's like 5 lines, here's the site
http://www.sitepoint.com/article/users-email-address-php
The requirement for email delivery is not MX, just having an A address
is enough. Also executing external utility program from php is not
optimal from system point of
Dear Sirs,
I have installed a Sambar 64 server and PHP 4.7 plus MySql. I connect through
localhost and the PHPINFO.php file works OK on IE and Firefox. PHPINFO.php
shows that the php.ini file is situated in C:/Windows as advised and I have
altered the error_log and extensions_dir as advised by S
Kevin Waterson wrote:
This one time, at band camp, Stut <[EMAIL PROTECTED]> wrote:
Which brings me back to my earlier question of why would you want to do
this? I can't think of any reason, but then again it is getting late.
I would like to prevent registration of emails from certain domains
On 8/7/07, racol <[EMAIL PROTECTED]> wrote:
>
> Dear Sirs,
> I have installed a Sambar 64 server and PHP 4.7 plus MySql. I connect
> through localhost and the PHPINFO.php file works OK on IE and Firefox.
> PHPINFO.php shows that the php.ini file is situated in C:/Windows as advised
> and I have alt
racol wrote:
Dear Sirs,
I have installed a Sambar 64 server and PHP 4.7 plus MySql. I connect
through localhost and the PHPINFO.php file works OK on IE and Firefox.
PHPINFO.php shows that the php.ini file is situated in C:/Windows as
advised and I have altered the error_log and extensions_dir
On Tue, August 7, 2007 4:57 pm, Dan wrote:
> I've always heard it is bad if you let a user type some input, then
> show it
> back to them w/o sanatizing the code. Eg. I have a form, where the
> user
> types something, they hit submit and it submits to itself then prints
> back
> to the user someth
On Tue, August 7, 2007 3:34 pm, Graham Anderson wrote:
> What is the proper way to get the ADODB class to automatically add
> quotes to the below sql ?
> I'm guessing that the below fails because none of the variables get
> quoted with the method, qstr.
>
> $sql = "insert into email (to_name, to_em
On Tue, August 7, 2007 3:19 pm, C.R.Vegelin wrote:
> Are there any rules when to include javascript in or in
> ?
> For example,
>
> function reload(form)
> { var
> val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
>self.location='QueryForm.php?Chapter=' + val ;
> }
>
Yes
On Tue, August 7, 2007 1:25 pm, Kevin Waterson wrote:
> Im looking for a way to get the domain from an email address.
> Not sub domains, just the domain, so
> [EMAIL PROTECTED]
> would return
> example.com.mn
>
> similarly, the address [EMAIL PROTECTED] would return
> example.com
>
> perhaps an arr
On Tue, August 7, 2007 10:02 am, Brian Dunning wrote:
> A friends asked me the following and I have no clue:
>
>> There are variables in php called the super globals. Specifically
>> the
>> $_SERVER super globals are coming back as an empty array. The
>> shopping
>> cart that pixami supplied to us
On 8/7/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Tue, August 7, 2007 1:25 pm, Kevin Waterson wrote:
> > Im looking for a way to get the domain from an email address.
> > Not sub domains, just the domain, so
> > [EMAIL PROTECTED]
> > would return
> > example.com.mn
> >
> > similarly, the add
Thanks for the info Richard. I'll check out that website. Do they
recommend any literature about PHP security, or is there a "bible"(one book
that everyone recomends, in EE it's
http://www.amazon.com/Elements-Analysis-Electrical-Electronic-Engineering/dp/0070612854)
for PHP security like there us
On Tue, August 7, 2007 8:09 am, racol wrote:
> I have installed a Sambar 64 server and PHP 4.7 plus MySql. I connect
> through localhost and the PHPINFO.php file works OK on IE and Firefox.
> PHPINFO.php shows that the php.ini file is situated in C:/Windows as
> advised and I have altered the error
On Tue, August 7, 2007 5:08 pm, Daniel Brown wrote:
> It's actually not so much for echo'ing as it is for processing the
> data in another manner that makes it dangerous not to do some
> sanitizing and checking such as database manipulation.
This is wrong.
Google for "cross site scripting
On Tue, August 7, 2007 2:48 pm, Tijnema wrote:
> On 8/7/07, Greg Donald <[EMAIL PROTECTED]> wrote:
>> On 8/7/07, Tijnema <[EMAIL PROTECTED]> wrote:
>> > Uhh, do you know which list this is?
>>
>> I give up.. Is it the one where I get as many [OT] labeled emails
>> as
>> I do on-topic ones?
>>
>> P
This is the proper behavior for php. its supposed to only send the html down to
the client
bastien
> From: [EMAIL PROTECTED]
> To: php-general@lists.php.net
> Date: Tue, 7 Aug 2007 20:09:51 +0700
> Subject: [PHP] Problems in php
>
> Dear Sirs,
> I have insta
1 - 100 of 163 matches
Mail list logo