Re: [PHP] Spam Post Defense / ID spam form posts

2007-08-24 Thread Stut
ere. If you name it field2 it won't and your email address validation will catch it out. With those steps you can easily cut out the majority 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

Re: [PHP] Spam Post Defense / ID spam form posts

2007-08-23 Thread Stut
get traffic to their websites that make them money. Think drugs, stocks, dating, and anything else 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 en

Re: [PHP] Spam Post Defense / ID spam form posts

2007-08-23 Thread Stut
he bbcode url style markup. Thanks again. You've got to bear in mind that they are trying to achieve 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://st

Re: [PHP] Spam Post Defense / ID spam form posts

2007-08-23 Thread Stut
code-style markup and links you will get rid 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

Re: [PHP] ptting the variable inside the input

2007-08-22 Thread Stut
Hulf wrote: This does not work echo $title=$row['title']; echo ""; In what way does it "not work" and you do realise you're outputting $title on its own as well as the table row and input. This will appear above the table in most browsers since it's

Re: [PHP] ptting the variable inside the input

2007-08-22 Thread Stut
Hulf wrote: This does not work echo $title=$row['title']; echo ""; In what way does it "not work" and you do realise you're outputting $title on its own as well as the table row and input. This will appear above the table in most browsers since it's

Re: [PHP] Re: Declare variables in advance question

2007-08-21 Thread Stut
indicates that you have PHP configured to not show errors, warnings and notices. I strongly recommend you modify your php.ini and set display_errors to on and error_reporting to E_ALL. Then restart your web server and try your script again. You should 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

Re: [PHP] PHP eval() fatal error

2007-08-20 Thread Stut
ecover 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/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getting from one table listing from another

2007-08-19 Thread Stut
learn as much as you can about join 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

Re: [PHP] test for multi-dim array

2007-08-16 Thread Stut
gle parent 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

Re: [PHP] XMLRPC and file_get_contents

2007-08-16 Thread Stut
There could be several timeouts at work here. First you can set a timeout in the context[1]. Second the PHP request time limit[2]. And finally your web server (assuming this is running through a web server) will have its own timeout - check the documentation for whatever server you're using

Re: [PHP] for loop inside a switch

2007-08-16 Thread Stut
or ($i = 0; $i < 21; $i++) $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

Re: [PHP] XML editors

2007-08-15 Thread Stut
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

Re: [PHP] XML editors

2007-08-15 Thread Stut
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 Ge

Re: [PHP] QuickTime question

2007-08-15 Thread Stut
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

Re: [PHP] QuickTime question

2007-08-15 Thread Stut
pluginspage="http://www.apple.com/quicktime/download/"; controller="true" autoplay="true" height="153" width="321"> I'm sure there are lots of tutorials on the web regarding the details - I just nicked this code from http://www.apple.com/trailers/fox/thesimpsonsmovie/trailer1_small.html -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpinfo problem

2007-08-13 Thread Stut
- it tells 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: Chris Rick Knight wrote: I have just installed PHP-5.2.3 on my Kubuntu Feisty box.

Re: [PHP] apache content negotiation and $_GET

2007-08-13 Thread Stut
n it's Apache that's throwing it away. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] very strange behavior.... incomplete query performed

2007-08-12 Thread Stut
r is) might 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/ --

Re: [PHP] What's is the needed configuration to enable SOAP?

2007-08-12 Thread Stut
it cannot make a connection 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

Re: [PHP] question about note on php.net

2007-08-12 Thread Stut
tself, were a container for the session vars. 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.

Re: [PHP] question about note on php.net

2007-08-11 Thread Stut
note 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

Re: [PHP] preg_match_all to match tags

2007-08-11 Thread Stut
;s not valid HTML and won't get displayed correctly in most browsers. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini of PHP 5.2.3

2007-08-11 Thread Stut
works (because the system directory 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

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Stut
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

Re: [PHP] Running a server process

2007-08-10 Thread 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

Re: [PHP] Running a server process

2007-08-10 Thread Stut
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 aro

Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Stut
the newlines of course were there aswell... So... How 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"

Re: [PHP] Friday morning brain farts....

2007-08-10 Thread Stut
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 do

Re: [PHP] string as file

2007-08-10 Thread Stut
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 ph

Re: [PHP] Friday morning brain farts....

2007-08-10 Thread Stut
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 Bro

Re: [PHP] Friday morning brain farts....

2007-08-10 Thread Stut
th would you want to ignore it? You 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

Re: [PHP] Friday morning brain farts....

2007-08-10 Thread Stut
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&#

Re: [PHP] string as file

2007-08-10 Thread Stut
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

Re: [PHP] Friday morning brain farts....

2007-08-10 Thread Stut
ithout first being instantiated or defined. No biggie, just put this at the head of your code: 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 t

Re: [PHP] Running a server process

2007-08-10 Thread Stut
am to a service, I think you need to compile 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

Re: [PHP] string as file

2007-08-10 Thread Stut
ts with preg_match rather than executing a string. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Import XLS file with UTF-8

2007-08-10 Thread Stut
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 Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] help with ming library

2007-08-10 Thread Stut
, 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

Re: [PHP] Forwarding $_POST[]...

2007-08-09 Thread Stut
but without knowing why 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

Re: [PHP] I know this is not easy and I'm not stupid but...

2007-08-09 Thread Stut
x27;afterDark'] == 0 ) {// 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

Re: [PHP] Segmentation fault on PHP CLI

2007-08-09 Thread Stut
ns without 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/)

Re: [PHP] Access parent property from child

2007-08-09 Thread Stut
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.p

Re: [PHP] I know this is not easy and I'm not stupid but...

2007-08-09 Thread Stut
ine at 102.5... var_dump($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

Re: [PHP] Re: get domain component from email

2007-08-09 Thread 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 b

Re: [PHP] get domain component from email

2007-08-08 Thread Stut
domains were still SLDs, but where a TLD wasn't available 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

Re: [PHP] Re: get domain component from email

2007-08-08 Thread Stut
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 it is

Re: [PHP] Problems in php

2007-08-07 Thread Stut
ing is at least 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

Re: [PHP] Re: get domain component from email

2007-08-07 Thread Stut
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 f

Re: [PHP] Echoing input w/o sanatizing - what is the danger

2007-08-07 Thread Stut
e development. Other 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

Re: [PHP] Re: get domain component from email

2007-08-07 Thread Stut
and .be are not split 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

Re: [PHP] Re: get domain component from email

2007-08-07 Thread Stut
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, h

Re: [PHP] javascript in or in ?

2007-08-07 Thread Stut
rk. I 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

Re: [PHP] Re: get domain component from email

2007-08-07 Thread Stut
ll ccTLDs are sub-divided. http://dev.stut.net/php/domain.php http://stut.be/ -Stut -- http://stut.net/ "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 dom

Re: [PHP] Re: get domain component from email

2007-08-07 Thread Stut
as a tld, but I cannot see it listed http://www.iana.org/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

Re: [PHP] Why do I always come up with the hard stuff?

2007-08-07 Thread Stut
ince I use it to connect with the old mysql_connect stuff and it works just fine... What 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

Re: [PHP] How to implement a plugin system?

2007-08-06 Thread Stut
l of security. Otherwise you could open yourself 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 . '

Re: [PHP] Saving

2007-08-06 Thread Stut
ext; end; 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, v

Re: [PHP] Adding to time having a timestamp

2007-08-05 Thread Stut
are 86400 seconds in a day. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OT- why is network solutions more than godaddy?

2007-08-03 Thread Stut
ience 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

Re: [PHP] Downloading PHP 521

2007-08-03 Thread Stut
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

Re: [PHP] Premature Ajax-ulation

2007-08-03 Thread Stut
ere is no difference, you 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

Re: [PHP] mail function

2007-08-02 Thread Stut
l using the mail($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/

Re: [PHP] Question about passing date in sql...

2007-08-01 Thread Stut
d is therefore not being 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

Re: [PHP] I'm prepared to feel like an idiot... But I just simply need the answer :)

2007-08-01 Thread Stut
prints out 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 tags to surround your code. Without those PHP will simply output the content of the file rather than "running&qu

Re: [PHP] subtitute of mysql_error()

2007-08-01 Thread Stut
t;not work anymore"? The code 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

Re: [PHP] Problem with filemtime

2007-07-31 Thread Stut
open file"); fwrite($fh, "Data Goes Here"); fclose($fh); $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

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Stut
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

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Stut
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 independe

Re: [PHP] Authentication

2007-07-31 Thread Stut
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

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Stut
regardless of your beliefs. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Stut
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

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Stut
. 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

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Stut
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

Re: [PHP] Reading registry values

2007-07-30 Thread Stut
does this. "Crash": 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

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Stut
x27;d send 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

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Stut
. 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

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Stut
aling. PS: I said I wouldn't get back into this argument, but your claims are just absurd. In my opinion so are yours. This is not an issue of morality, it's a simple issue of language. Think about this... if I were to be accused of copyright theft, surely I've stolen the

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Stut
a game 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

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-29 Thread Stut
here between Lab and upload, 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

Re: [PHP] Authentication

2007-07-29 Thread Stut
s able to get it to work. To be perfectly honest, 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

Re: [PHP] Re: Pirate PHP books online?

2007-07-26 Thread Stut
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

Re: [PHP] Object instance and session

2007-07-24 Thread Stut
in your class to properly close 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

Re: [PHP] Better way to store data in memory?

2007-07-23 Thread Stut
nally I'd be doing 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

Re: [PHP] Re: Pirate PHP books online?

2007-07-21 Thread Stut
t it is not a natural law. 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 Mailin

Re: [PHP] Error on installing under Windows Vista leads to inability to uninstall 5.2.3

2007-07-18 Thread Stut
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://stu

Re: [PHP] Re: Encrypted Mail

2007-07-18 Thread Stut
hp.net/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

Re: [PHP] repetition of tedious references

2007-07-18 Thread Stut
quot;" ? $variable : "*"; } The isset 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" Sent: W

Re: [PHP] Re: Pirate PHP books online?

2007-07-18 Thread Stut
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. -sn

Re: [PHP] no default value

2007-07-18 Thread Stut
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

Re: [PHP] Re: Pirate PHP books online?

2007-07-18 Thread Stut
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

Re: [PHP] Re: Pirate PHP books online?

2007-07-17 Thread Stut
s infringement. Stealing is wrong m'kay! Piracy 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 jus

Re: [PHP] Re: Pirate PHP books online?

2007-07-17 Thread Stut
op it or move it off-list 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

Re: [PHP] no default value

2007-07-17 Thread Stut
nforces such a requirement, 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

Re: [PHP] Pirate PHP books online?

2007-07-16 Thread Stut
that correct? If so you should really 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 Mail

Re: [PHP] html emails and plain text dectection

2007-07-16 Thread Stut
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

Re: [PHP] Unlink file older then 7 days

2007-07-16 Thread Stut
the age of all files". The fileatime 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]>

Re: [PHP] Unlink file older then 7 days

2007-07-16 Thread Stut
[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

Re: [PHP] Pirate PHP books online?

2007-07-16 Thread Stut
still refuse to use Windows, even for free... Pirated Ubuntu? I hope 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

Re: [PHP] acerca de extensiones SQL Server

2007-07-14 Thread Stut
ting the MSSQL extension installed. -Stut -- http://stut.net/ On Sa, Jul 14, 2007 at 10:39:40 -0400, Lic. Eduardo R. Hern?ndez Osorio wrote: Hi: I need use the SQL extension on PHP to connect to any SQL Server database. How I configure PHP on Linux to use that extension? I use debian wi

<    2   3   4   5   6   7   8   9   10   11   >