of spam that will
come through a contact form.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of 70-80% of bogus posts.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
something,
and that something is usually to build traffic and/or inbound links to
their sites. The only way they can do this is to include URLs in their
posts.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that might be lucrative.
The problem is that most of this activity is automated. It's the if you
throw enough shit at the wall some of it will stick approach, and
worryingly enough it works which is why they keep doing it.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http
since it's not actually part of the table.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
since it's not actually part of the table.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
then see lots of errors.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this error?
Fatal errors are exactly that... fatal. You cannot catch them or recover
from them.
Your best option is to shell out another PHP process, capture the output
and parse that for error messages.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net
operations - they can make life
a lot easier and more efficient.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
++)
$faqs[] = 'faq'.$i;
if (in_array($q, $faqs))
echo $faq1;
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for details.
[1] http://php.net/wrappers.http
[2] http://php.net/set_time_limit
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on the highest level.
A combination of is_array and count should be enough.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/trailer1_small.html
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tedd wrote:
At 4:32 PM +0100 8/15/07, Stut wrote:
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another
page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source
Al wrote:
What do you guys use for casual XML editing, besides plain text editors?
Ones that'll error check and allow fixing files with errors?
Thanks...
I tend to use Visual Studio for this sort of thing since I usually have
it open anyway.
-Stut
--
http://stut.net/
--
PHP General
I assume this comment was aimed at the list and not just me.
Kelvin Park wrote:
Stut wrote:
Al wrote:
What do you guys use for casual XML editing, besides plain text editors?
Ones that'll error check and allow fixing files with errors?
Thanks...
I tend to use Visual Studio for this sort
throwing it away.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you important stuff like that.
-Stut
--
http://stut.net/
Chris wrote:
You probably just have short_open_tags set to Off in your php.ini
file. If so, either turn it On, or change the file to be:
?php phpinfo(); ?
Chris
Rick Knight wrote:
I have just installed PHP-5.2.3 on my Kubuntu Feisty
.
Looking at the source in head for that function[1] it would appear to
fail if a session has already been started, in which case equizcion's
comment would be wrong.
If the OP is concerned about it I suggest they try it and see what happens.
-Stut
[1] http://lxr.php.net/source/php-src/ext/session
to the target server.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
still timeout, but these values
are a lot higher.. :)
And if that is the case I would strongly recommend that you turn
display_errors on and set error_reporting to E_ALL, at least for that
script or if this is a development server do it in php.ini.
-Stut
--
http://stut.net/
--
PHP General
is by default in the systems PATH), it is not recommended.
This extension requires the following files to be in the PATH: libeay32.dll
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
where on php.net?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
On Fri, 2007-08-10 at 16:28 +0100, Stut wrote:
Rick Pasotto wrote:
On Fri, Aug 10, 2007 at 02:19:29PM +0100, Stut wrote:
Rick Pasotto wrote:
On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote:
On 8/9/07, Rick Pasotto [EMAIL PROTECTED] wrote:
Does php have
Daniel Brown wrote:
On 8/10/07, Stut [EMAIL PROTECTED] wrote:
If PHP thinks something might be wrong it will tell you. Why on earth
would you want to ignore it? You think you're smarter than PHP? Really?
Okay, Stut, let's not make Friday the official Flame Dan Brown
holiday this week. I
can I get rid of these?! - I just want them gone!
Is it even possible under windows? ^^
First of all look at http://php.net/nl2br which does exactly what you're
trying to do.
Second try this...
$string = str_replace(\r\n, 'br /', $string);
$string = str_replace(\n, 'br /', $string);
-Stut
Tijnema wrote:
On 8/10/07, Stut [EMAIL PROTECTED] wrote:
Tijnema wrote:
On 8/10/07, Stut [EMAIL PROTECTED] wrote:
Tijnema wrote:
On 8/10/07, Richard Heyes [EMAIL PROTECTED] wrote:
That is it works with just me using the site. I am wondering how this would
effect performance if say 500
Tijnema wrote:
On 8/10/07, Stut [EMAIL PROTECTED] wrote:
Tijnema wrote:
On 8/10/07, Richard Heyes [EMAIL PROTECTED] wrote:
That is it works with just me using the site. I am wondering how this would
effect performance if say 500 people were executing this php function around
the same time
Rick Pasotto wrote:
On Fri, Aug 10, 2007 at 02:19:29PM +0100, Stut wrote:
Rick Pasotto wrote:
On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote:
On 8/9/07, Rick Pasotto [EMAIL PROTECTED] wrote:
Does php have a facility similar to python's stringIO?
What I'm wanting to do
, whatever) since
changing php.ini?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
On Fri, 2007-08-10 at 11:48 -0400, Daniel Brown wrote:
On 8/10/07, Stut [EMAIL PROTECTED] wrote:
I get an email from each
server containing the contents of the error log from the previous day
and my first task each day is to go through that and track down any
issues
think you're smarter than PHP? Really?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Brown wrote:
On 8/10/07, Stut [EMAIL PROTECTED] wrote:
Bad Dan *slap*. Ignoring notices may be detrimental to your health
and/or well-being. Better to initialise it with a default if it has not
been set in the request.
if (!isset($_GET['order'])) $_GET['order'] = 'Last';
Ouch
:
ini_set(error_reporting,E_ALL ~E_NOTICE);
Bad Dan *slap*. Ignoring notices may be detrimental to your health
and/or well-being. Better to initialise it with a default if it has not
been set in the request.
if (!isset($_GET['order'])) $_GET['order'] = 'Last';
-Stut
--
http://stut.net
that my e-mail and website address have changed from
wncc.edu to wnc.edu.
Then you might want to change the from address in your mail client!
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* would be the argument to eval()?
RTFM, that's what it's there for.
Incidentally, eval is evil and potentially a giant security hole. You'd
be better off doing replacements with preg_match rather than executing a
string.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http
be the problem ?
The Content-Type needs to match the file type, so if the file is not
UTF-8 extended characters will not be displayed correctly when it's
displayed as UTF-8.
Try removing that meta tag and see what the browser makes of the file by
guessing.
-Stut
--
http://stut.net/
--
PHP General
it as a service from source
code, but as I mentioned in my first post, and you mentioned here too,
you also need to add support for a socket server in your program.
Sockets in PHP are easy ;)
http://www.firedaemon.com/
But you're right, you'd need a way to communicate with the service.
-Stut
Richard Lynch wrote:
On Wed, August 8, 2007 4:26 am, Stut wrote:
Completely agree. It's like banning someone from a pub based on the
clothes they were wearing the last time you saw them.
Yeah, one drunk abusive chick in a little black dress could get EVERY
gal in a little black dress banned
($userValues['afterDark']);
What type is that variable?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Suprie wrote:
function getDB()
{
return $this-$db;
}
There should not be a $ before db. It should be $this-db. That's why
PHP is telling you the property is empty... because it is.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net
this problem.
Is PHP on the production server the same old version? I would start by
upgrading your development server to the latest version as you may be
hitting a known bug that's already been fixed.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
) {// passes
Add a line at 102.5...
var_dump($userValues['afterDark']);
What type is that variable?
Don't have to do a dump, I know its a tinyint(1), not null, default 0
That would be the type in the database, not the type of that variable at
that time.
-Stut
--
http://stut.net
you think you need to do this it's not possible to help any
further.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch wrote:
On Tue, August 7, 2007 6:21 pm, Stut wrote:
Kevin Waterson wrote:
I would like to prevent registration of emails from certain domains
that
abuse a forum. eg: foo.uy7f564d8d6d.com
These domains are registered by the thousands by spammers and
because they
use dyndns
for registration under the ccTLD
format for the respective country.
This is just terminology, but to make it clear... .co.uk is a ccTLD not
an SLD and .uk is *not* a TLD. The IANA website has lots of info on this
stuff.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net
am I missing?
Are you trying to use mysqli with PHP4? Either way you can probably get
rid of the error by putting an between the = and the new.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/root-whois/index.html
What are you actually trying to achieve?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, this doesn't work at all.
Yours,
http://www.cmsws.com/examples/php/domain_verification/example2.php
Mine,
http://www.cmsws.com/examples/php/domain_verification/example.php
And yours is fatally flawed. Not all ccTLDs are sub-divided.
http://dev.stut.net/php/domain.php
http://stut.be/
-Stut
think you meant VB6.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
in that way.
Hope that answers your question.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
people will always be more
devious than you are when it comes to trying to break your code.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
showing errors and
warnings, and ideally notices too.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
That looks a lot like Delphi not PHP. I'm assuming that means you're
using that freaky Delphi for PHP thing in which case you'll have better
luck on their mailing list(s).
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
up to security issues because the user
could instantiate any class in your system.
-Stut
--
http://stut.net/
Borokov Smith [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey Hamza,
require_once($chosenPlugin . '.class.php');
$obj = new $chosenPlugin();
return $obj;
And you can
in a day.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
still need to do all the validation on every
request whether it's AJAX or not.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
WyleySam wrote:
Exactly where does one go to download PHP 521, not 523, not 522 but 521???
Every link I clicked on at http://www.php.net/ took me to 523, which I don't
want.
http://museum.php.net/php5/
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net
customer service from both can be pretty shoddy
or excellent depending on the day of the week and the phase of the moon.
My advice is that if it's between the two, go with GoDaddy - you won't
get any less for your money than you would with NetSol.
-Stut
--
http://stut.net/
--
PHP General Mailing
($to, $subject, $message, $headers); function. I
wonder what's wrong. Please help, i'm new to php.
Please review the Runtime Configuration section of
http://uk.php.net/mail and make sure you've told php.ini about your mail
server.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http
above is perfectly valid. Incidentally, there is no need to put
a single variable in quotes - all this does is cause extra pointless
work for the PHP engine.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the standard phpinfo screen.. and
I don't think I should have to write it differently to make it run from
the command line right?
Sounds like you're not using ?php and ? tags to surround your code.
Without those PHP will simply output the content of the file rather than
running it.
-Stut
--
http
executed. But, as someone else pointed out, you
should be using the PHP date function to get the date from within PHP.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dan Shirah wrote:
Correct Stut, I want transparent authentication, but I also want to have
the currently logged in user name pulled so I can use it for tracking
purposes. My application deals with very sensitive company information
and I want to pull the username for tracking purposes. I have
tedd wrote:
At 8:53 PM +0100 7/30/07, Stut wrote:
tedd wrote:
Don't expect that only one living
entity can envision such a permutation.
Don't expect anyone with our limitations to be capable to determine
the truth of that statement.
The phone was independently envisioned by two
Ryan A wrote:
Yes, but that's why it's called faith.
My point was that it makes no sense to try and prove
or demonstrate
anything using God because the existance of God
itself cannot be proven
or demonstrated.
Stut,
There will be a demonstration of god's existance in a
little while
);
$new_last_modified = filemtime($csv_file);
The data returned by filemtime is cached. Use clearstatcache to clear
the cache (http://php.net/clearstatcache).
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of tennis. Can we please
leave it alone now and get back to making something worthy of being copied?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the right to control the material
because it's the control that copyright provides, not the material
itself. That simple 2-word phrase makes no sense at all. Here's hoping
that made my point of view a bit clearer.
-Stut
[1]
http://www.thamesvalley.police.uk/reduction/saferhomes/safehome
. The
punishments for stealing are very different to those for copyright
infringement. If they were the same thing then surely the potential
punishments would be the same?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
them back to school to start again.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: The COM extension (http://php.net/com) should let you do that
in essentially the same way ASP does.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tedd wrote:
At 5:46 PM +0100 7/30/07, Stut wrote:
tedd wrote:
But, the importance here is one of euphemism.
Calling the act of stealing something more palatable, such as
copyright infringement, simply makes it easier to do.
Conversely, calling the act of copyright infringement something
.
Then there is no truth in anything for all things are based on perception.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
On Mon, 2007-07-30 at 20:23 +0100, Stut wrote:
tedd wrote:
At 2:30 PM -0400 7/30/07, Robert Cummings wrote:
Ownership is an illusion... What you have may be taken away at anytime
by the state (be it your own state or a victorious state that just
subjugated your previous
of what might exist -- which would be infinite.
The only living entity that fills that bill is God.
Now, you may argue that, but it's not a topic for this list.
Indeed not, but I must point out your assumption that God exists which
is in no way a certainty regardless of your beliefs.
-Stut
, if I were doing it again I'd save the time and
use IIS on the server - sooo much easier.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, or between your receipt and stuffing it into your
tables?
It's possible they want it digitally signed so they can verify the
source. SSL won't help here.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Man-wai Chang wrote:
You could open a sample book in bookstores, scan the chapters to
decide whether you are gonna buy it.
Not even slightly relevant, but it made me think of this (seemingly
neverending) thread.
http://xkcd.com/294/
-Stut
--
http://stut.net/
--
PHP General Mailing List
and re-create the connection on each
request. See here for more: http://php.net/oop5.magic
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this with a temporary file, using fseek to get
around.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
In Germany, there is. Get up to 250 KPH and the speed limiter kicks
in. It also almost kicks you out of your seat.
If you can't see that that's also an artificial limit and not an actual
law of physics...!!
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net
Larry Garfield wrote:
Artificially created by the law, yes.
All laws are artificial. I really don't know what you're trying to get
at with this.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tedd wrote:
At 1:46 PM +0100 7/17/07, Stut wrote:
... but you can get
some of the way there by enabling the display of notices which will tell
you whenever a variable is used without being initialised.
How?
Look in php.ini for error_reporting. With it enabled if you try to use a
variable
tedd wrote:
At 10:26 PM +0100 7/17/07, Stut wrote:
tedd wrote:
Nope, I'm just saying that if you want my work, pay for it. If you
get my work without paying, then you're stealing.
You know, this is a pretty simple and obvious concept. I can imagine
anyone arguing about it.
-snip
is redundant here. It's been passed as an argument so it
definitely exists.
-Stut
--
http://stut.net/
- Original Message - From: Olav Mørkrid [EMAIL PROTECTED]
To: PHP General List php-general@lists.php.net
Sent: Wednesday, July 18, 2007 1:24 PM
Subject: [PHP] repetition of tedious
/unsub.php
Rut-roh, Reorge! Rooks rike Andrei rot a rirus!
Probably not. More likely someone with Andrei in their address book or
an email from/to him has one.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
System:
php-5.2.3-win32-installer.msi
The new Windows installer has a maintainer - can't recall his name.
Probably the best way to find them would be to search the archives of
the internals list for the discussions that went on while he was
creating it.
-Stut
--
http://stut.net
, but you can get
some of the way there by enabling the display of notices which will tell
you whenever a variable is used without being initialised.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if people really really want to continue with it.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is evil m'kay!
Copyright theft doesn't exist m'kay!
Copyright infringement is illegal m'kay!
Now please let's drop this discussion because it's one of those where
people will never reach agreement, it'll just drag on and on and on and
on and on.
-Stut
--
http://stut.net/
--
PHP General Mailing
that was supposed to be funny.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
How would I use fileatime to check if the file is older then 7 days?
You want filemtime not fileatime.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
function will return when the file was last accessed.
Accessing a file is not usually deemed to affect its age, modifying it
is. The filemtime function is what the OP wants.
-Stut
--
http://stut.net/
On 7/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
How would I use fileatime to check
will correctly extract the right one.
AFAIK phpmailer supports doing this but you'll have to check their
documentation for details.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
read up on the history of that site. I'm not defending what they do, but
don't expect it to go anywhere - it's proven several times to be
untouchable and is likely here to stay for a very long time.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
601 - 700 of 1367 matches
Mail list logo