Re: [PHP] window.open() and search engines

2007-10-23 Thread Eric Butera
On 10/23/07, Richard Heyes [EMAIL PROTECTED] wrote: Can anyone say for sure whether window.open() links get spidered by search engines? Thanks. -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread Eric Butera
On 10/25/07, Sascha Braun [EMAIL PROTECTED] wrote: What is the cause for that error: Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/Projekte/spectral/modules/xml_mm/classes/xml_mm.class.php on line 118 Thank you! Sascha -- PHP General Mailing List

Re: [PHP] CURL + Frames, fopen + remote sessions

2007-10-26 Thread Eric Butera
On 10/24/07, jenix [EMAIL PROTECTED] wrote: Hi, When using CURL to access a page with frames I get the Your browser does not appear to support frames error. How can get around this? Is there special header info that can be added? Also, if I were using fopen can anyone offer sample code how

Re: [PHP] Function variables in classes

2007-11-01 Thread Eric Butera
On Nov 1, 2007, at 7:10 AM, Paul van Haren wrote: Hi there, I'm trying to execute function variables. This works fine outside class code, but gives a fatal error when run within a class. The demo code is here: ?php function bar1 () { echo Yep, in bar1() right

Re: [PHP] Byte Size of an array

2008-01-08 Thread Eric Butera
On Jan 7, 2008 3:45 AM, Sancar Saran [EMAIL PROTECTED] wrote: Hello, I just wonder to how can I find a memory size of an array. Regards Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php If you're wondering how much memory

Re: [PHP] global address collection

2008-01-08 Thread Eric Butera
On Jan 8, 2008 10:08 AM, tedd [EMAIL PROTECTED] wrote: I just finished a credit card portion for a site where the programmer before me required the customers to enter their credit card number without spaces -- why? It's a simple matter to remove spaces for processing -- why throw that

Re: [PHP] php form help...

2008-01-08 Thread Eric Butera
On Jan 8, 2008 12:00 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Jan 8, 2008 11:56 AM, 2 Logic Studios [EMAIL PROTECTED] wrote: Daniel, Thanks...worked like a charm My pleasure. Just remember to sanitize the code as I said if you're going to do anything other than display it in

Re: [PHP] PHTML files showing as blank pages

2008-01-08 Thread Eric Butera
On Jan 5, 2008 9:39 AM, A.smith [EMAIL PROTECTED] wrote: Hi, I'm having a problem getting .phtml files to display in a web browser. I can successfully display a test.php page as per PHP install instructions but the phtml files show up blank (in firefox or IE). I have added these entries

Re: [PHP] uh oh, I defined a resoruce

2008-01-10 Thread Eric Butera
On Jan 10, 2008 1:33 PM, [EMAIL PROTECTED] wrote: I have been using define to create a constant for the link resource returned by mysql pconnect like so: $PL = @mysql_pconnect(localhost, $DBUser, $DBPass); define(SITE_DB,$PL); Later I use the constant to select my databases.

Re: [PHP] uh oh, I defined a resoruce

2008-01-10 Thread Eric Butera
On Jan 10, 2008 2:02 PM, Philip Thompson [EMAIL PROTECTED] wrote: On Jan 10, 2008, at 12:48 PM, Eric Butera wrote: On Jan 10, 2008 1:33 PM, [EMAIL PROTECTED] wrote: I have been using define to create a constant for the link resource returned by mysql pconnect like so: $PL

Re: [PHP] uh oh, I defined a resoruce

2008-01-10 Thread Eric Butera
On Jan 10, 2008 2:28 PM, David Giragosian [EMAIL PROTECTED] wrote: On 1/10/08, Eric Butera [EMAIL PROTECTED] wrote: On Jan 10, 2008 2:02 PM, Philip Thompson [EMAIL PROTECTED] wrote: On Jan 10, 2008, at 12:48 PM, Eric Butera wrote: On Jan 10, 2008 1:33 PM, [EMAIL PROTECTED] wrote

Re: [PHP] uh oh, I defined a resoruce

2008-01-10 Thread Eric Butera
On Jan 10, 2008 3:34 PM, David Giragosian [EMAIL PROTECTED] wrote: On 1/10/08, David Giragosian [EMAIL PROTECTED] wrote: On 1/10/08, Eric Butera [EMAIL PROTECTED] wrote: On Jan 10, 2008 2:28 PM, David Giragosian [EMAIL PROTECTED] wrote: On 1/10/08, Eric Butera [EMAIL

Re: [PHP] uh oh, I defined a resoruce

2008-01-10 Thread Eric Butera
On Jan 10, 2008 4:00 PM, Stut [EMAIL PROTECTED] wrote: Eric Butera wrote: Haha. Thank you for all that insightful research. Seriously though, using globals you might already be in hell! =\ IMHO global variables are evil in the same way that register_globals were. Despite everything

Re: [PHP] uh oh, I defined a resoruce

2008-01-10 Thread Eric Butera
On Jan 10, 2008 4:41 PM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: On Jan 10, 2008 4:00 PM, Stut [EMAIL PROTECTED] wrote: Eric Butera wrote: Haha. Thank you for all that insightful research. Seriously though, using globals you might already be in hell! =\ IMHO global

Re: [PHP] /etc/php.init changes not honored

2008-01-10 Thread Eric Butera
On Jan 10, 2008 5:59 PM, Ryan H. Madison [EMAIL PROTECTED] wrote: Hello, I am trying to increase upload_max_filesize beyond the 2M limit. I've set this in my /etc/php.ini file, but every time I look at the output of phpinfo(); the changes I make in /etc/php.init don't seem to be

Re: [PHP] SMTP vs mail()

2008-01-11 Thread Eric Butera
On Jan 11, 2008 1:22 PM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: On Jan 11, 2008 11:33 AM, Stut [EMAIL PROTECTED] wrote: No brainer, SMTP will almost certainly be faster. My mailing list system (written in PHP obviously) can dump 600k customised emails to the local SMTP

Re: [PHP] SMTP vs mail()

2008-01-11 Thread Eric Butera
On Jan 11, 2008 1:33 PM, Richard Heyes [EMAIL PROTECTED] wrote: I used to use htmlMimeMail, but now I use Zend_Mail as it has a better API and is also faster in regards to the quoted printable encoding. IIRC htmlMimeMail use the PHP built in function to do quoted printable encoding. --

Re: [PHP] Determine which are user defined keys?

2008-01-11 Thread Eric Butera
On Jan 11, 2008 1:17 PM, Jochem Maas [EMAIL PROTECTED] wrote: explain what your trying to achieve and why. because it seems like your 'requirement' is a result of tackling the problem from the wrong end. I'd wait and listen to what Jochem has to say first, but you might be able to keep a copy

Re: [PHP] SMTP vs mail()

2008-01-11 Thread Eric Butera
On Jan 11, 2008 11:33 AM, Stut [EMAIL PROTECTED] wrote: No brainer, SMTP will almost certainly be faster. My mailing list system (written in PHP obviously) can dump 600k customised emails to the local SMTP server in a couple of hours. Doing the same with the mail command took over 24 hours.

Re: [PHP] XML Data merging

2008-01-12 Thread Eric Butera
On 1/12/08, Naz Gassiep [EMAIL PROTECTED] wrote: I'm using simplexml to fetch data from a set of data files. If I have two files, and one is an update to the other, is there an easy way to merge the two files together, rather than having write logic that checks one and then the other? Both

Re: [PHP] Posting Summary for Week Ending 11 January, 2008: php-general@lists.php.net

2008-01-14 Thread Eric Butera
On Jan 14, 2008 1:12 PM, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, January 11, 2008 3:00 pm, PostTrack [Dan Brown] wrote: Messages| Bytes | Sender +-+-- 226 (100%) 255776 (100%) EVERYONE

Re: [PHP] checking user input of MM-DD-YYYY

2008-01-15 Thread Eric Butera
On Jan 15, 2008 9:27 AM, Adam Williams [EMAIL PROTECTED] wrote: I'm having users enter dates in MM-DD- format. is there a way to check if what they have entered is invalid (like if they enter 1-15-2008 instead of 01-15-2008) ? -- PHP General Mailing List (http://www.php.net/) To

[PHP] Don't search for domains on Network Solutions...

2008-01-16 Thread Eric Butera
... otherwise this will happen: erics:~/Sites eric$ /opt/php5/bin/php networksolutions.php Starting at 01/16/2008 12:36pm.Result: ...snip... Your Domain Name Search Results Congratulations! The following domains are available eric-butera-for-php-general Then a few minutes later: erics:~ eric

Re: [PHP] green bean question on singleton php5

2008-01-16 Thread Eric Butera
On Jan 16, 2008 12:57 PM, julian [EMAIL PROTECTED] wrote: Hi, I am implementing this class dbaccess{ static $db=null; static $othervar=33; private function dbaccess(){ dbaccess::$db= new mysqli(localhost,USER,PASSWD,DB); if(mysqli_connect_errno()){ echo no

Re: [PHP] Don't search for domains on Network Solutions...

2008-01-16 Thread Eric Butera
On Jan 16, 2008 2:32 PM, Andrés Robinet [EMAIL PROTECTED] wrote: A couple of days ago I've come across this: http://www.seomoz.org/blog/network-solutions-exploits-icanns-fiveday-refund- rule-to-hoard-domains So... I don't even think that network solutions is the only one doing it. I know

Re: [PHP] Don't search for domains on Network Solutions...

2008-01-16 Thread Eric Butera
On Jan 16, 2008 4:27 PM, Andrés Robinet [EMAIL PROTECTED] wrote: -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 5:06 PM To: Eric Butera Cc: Andrés Robinet; php php Subject: Re: [PHP] Don't search for domains on Network

Re: [PHP] green bean question on singleton php5

2008-01-16 Thread Eric Butera
On Jan 16, 2008 4:13 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 16, 2008 3:59 PM, Jochem Maas [EMAIL PROTECTED] wrote: given that dbaccess doesn't extend mysqli instantiation of dbaccess is completely pointless no? i dont know; i think using an instance of dbaccess to control a

Re: [PHP] Don't search for domains on Network Solutions...

2008-01-16 Thread Eric Butera
On Jan 16, 2008 4:35 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Jan 16, 2008 4:30 PM, Eric Butera [EMAIL PROTECTED] wrote: His program was for CLI. Correct. Sorry, forgot to mention it lunch was calling my name, and I had to answer. -- /Dan Daniel P. Brown Senior Unix Geek

Re: [PHP] Don't search for domains on Network Solutions...

2008-01-16 Thread Eric Butera
On Jan 16, 2008 4:51 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Jan 16, 2008 4:48 PM, Eric Butera [EMAIL PROTECTED] wrote: You did forget to escape the user input value in case I was trying to hacks myself. :) No I didn't. QUOTE: I just whipped it up now, so it's not going

Re: [PHP] green bean question on singleton php5

2008-01-16 Thread Eric Butera
On Jan 16, 2008 4:55 PM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: On Jan 16, 2008 4:13 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 16, 2008 3:59 PM, Jochem Maas [EMAIL PROTECTED] wrote: given that dbaccess doesn't extend mysqli instantiation of dbaccess

Re: [PHP] green bean question on singleton php5

2008-01-16 Thread Eric Butera
On Jan 16, 2008 5:06 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 16, 2008 4:55 PM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: I still don't understand the obsession of a singleton in regards to a db connection. Using a registry is a much better practice I

Re: [PHP] green bean question on singleton php5

2008-01-16 Thread Eric Butera
On Jan 16, 2008 5:10 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 16, 2008 5:09 PM, Eric Butera [EMAIL PROTECTED] wrote: Here is an implementation: http://framework.zend.com/manual/en/zend.registry.html Here is another: http://www.stubbles.net/browser/trunk/src/main/php/net

Re: [PHP] Don't search for domains on Network Solutions...

2008-01-16 Thread Eric Butera
On Jan 16, 2008 5:21 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Jan 16, 2008 4:54 PM, Eric Butera [EMAIL PROTECTED] wrote: On Jan 16, 2008 4:51 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Jan 16, 2008 4:48 PM, Eric Butera [EMAIL PROTECTED] wrote: You did forget to escape the user

Re: [PHP] Foreach

2008-01-17 Thread Eric Butera
On Jan 17, 2008 5:57 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: there are a few different issues here; first of all; are you sure $_POST['name'] and $_POST['order'] are even arrays? To check try this right above your saving code block: echo 'pre'; print_r($_POST); After you figure out if your

Re: [PHP] Function-return-array idea

2008-01-17 Thread Eric Butera
On Jan 16, 2008 6:32 PM, Stijn Leenknegt [EMAIL PROTECTED] wrote: Hello I've an idea for PHP6. Let's kickoff with an example. ?php $info = getUserInformation($id); //return an array with all the information of an user. echo $info['naam']; ? This is nice, but when I want one element of

Re: [PHP] A stupid question?

2008-01-18 Thread Eric Butera
On Jan 18, 2008 9:31 AM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: On Jan 17, 2008 9:54 PM, Shelley Shyan [EMAIL PROTECTED] wrote: Hi all, Maybe this is a somehow stupid question. I want to know how php could know whether session_start() has been called

Re: [PHP] A stupid question?

2008-01-18 Thread Eric Butera
On Jan 18, 2008 10:49 AM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: On Jan 18, 2008 9:31 AM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: On Jan 17, 2008 9:54 PM, Shelley Shyan [EMAIL PROTECTED] wrote: Hi all, Maybe this is a somehow stupid question

Re: [PHP] Re: Question About Blocking Email Addresses in Forms

2008-01-18 Thread Eric Butera
On Jan 18, 2008 10:55 AM, Javier Huerta [EMAIL PROTECTED] wrote: Thanks for all of your suggestions which all point to using Catpcha. I have actually already implemented Capchta and they are still getting around it. Even if they are entering it manually rather than via a bot, is there a way

Re: [PHP] Question About Blocking Email Addresses in Forms

2008-01-18 Thread Eric Butera
On Jan 18, 2008 9:50 AM, Javier Huerta [EMAIL PROTECTED] wrote: I am wondering if there is a way to block out email addresses in specific format from a form? We ahve a form that people have to enter an email address, and the form has been getting used by bots to send spam to a listserv. The

Re: [PHP] Foreach

2008-01-18 Thread Eric Butera
On Jan 18, 2008 5:06 PM, mike [EMAIL PROTECTED] wrote: On 1/18/08, Eric Butera [EMAIL PROTECTED] wrote: Nonetheless as I keep re-iterating, people will copy and paste this stuff as is because they don't know better. It is the responsibility of people writing the answers to make sure

Re: [PHP] Problem with ocasional blank value

2008-01-18 Thread Eric Butera
On Jan 18, 2008 10:12 AM, Joey [EMAIL PROTECTED] wrote: Hi All, I have a problem that the below code which is supposed to display a random image and on occasion it shows NO image. I'm not sure what is happening. This is running on linux just in case that makes any difference. %

Re: [PHP] Foreach

2008-01-18 Thread Eric Butera
On Jan 18, 2008 11:38 AM, Wolf [EMAIL PROTECTED] wrote: Steve, This should work as some basic sudo code. You are running into a number of issues with your usage of the foreach as it sounds like what you really want to do is walk through one array and grab the corresponding value from

Re: [PHP] A stupid question?

2008-01-18 Thread Eric Butera
On Jan 17, 2008 9:54 PM, Shelley Shyan [EMAIL PROTECTED] wrote: Hi all, Maybe this is a somehow stupid question. I want to know how php could know whether session_start() has been called, that is, whether session has been started. I Googled, but got little help. Thank you for help! Any

Re: [PHP] Foreach

2008-01-18 Thread Eric Butera
On Jan 18, 2008 12:20 PM, Zoltán Németh [EMAIL PROTECTED] wrote: 2008. 01. 18, péntek keltezéssel 12.10-kor Wolf ezt írta: Eric Butera [EMAIL PROTECTED] wrote: On Jan 18, 2008 11:38 AM, Wolf [EMAIL PROTECTED] wrote: Steve, This should work as some basic sudo code. You

Re: [PHP] Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-18 Thread Eric Butera
On Jan 18, 2008 4:52 PM, Jim Lucas [EMAIL PROTECTED] wrote: PostTrack [Dan Brown] wrote: 514 (100%) 975244 (100%) EVERYONE 69(13.4%) 92431(9.5%) Richard Lynch [EMAIL PROTECTED] 9(1.8%) 22245(2.3%) Wolf [EMAIL PROTECTED]

Re: [PHP] Foreach

2008-01-18 Thread Eric Butera
) -- Steve M. on 1/18/08 1:43 PM Eric Butera ([EMAIL PROTECTED]) wrote: On Jan 18, 2008 2:12 PM, Pastor Steve [EMAIL PROTECTED] wrote: I used the following code from Wolf and it did not work: ?php // First check to make sure you are getting both fields if(isset

Re: [PHP] password hashing and crypt()

2008-01-19 Thread Eric Butera
On Jan 19, 2008 8:02 PM, Jochem Maas [EMAIL PROTECTED] wrote: Nathan Nobbe schreef: hi all, recently ive been debating a bit about the use of the crypt() function and the best practice thereof, im hoping you can help to clarify this for me. so, the crypt function

Re: [PHP] POST/GET into variables

2008-01-21 Thread Eric Butera
On Jan 20, 2008 10:15 PM, nihilism machine [EMAIL PROTECTED] wrote: im trying to keep this php4 OOP. im just trying to clean the post/gets and then make them all into variables with their names being the keys to the get/post, and their values as the variables values. ie:

Re: [PHP] POST/GET into variables

2008-01-21 Thread Eric Butera
On Jan 20, 2008 10:06 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 20, 2008 9:47 PM, nihilism machine [EMAIL PROTECTED] wrote: how does this look? should this by me calling ... myforms = new forms(); work by turning all key/value pairs for both get and post into variable names of the

Re: [PHP] performance/load testing ...

2008-01-21 Thread Eric Butera
On Jan 21, 2008 5:50 AM, Jochem Maas [EMAIL PROTECTED] wrote: Ron Rademaker schreef: Jochem Maas wrote: Ron Rademaker schreef: Hi Jochem, Apache comes with an nice ab tool which stands for apache benchmarking. You can use this to benchmark stuff like concurrent requests. indeed,

Re: [PHP] a better way to do a data import?

2008-01-21 Thread Eric Butera
On Jan 21, 2008 12:35 PM, blackwater dev [EMAIL PROTECTED] wrote: I have a text file that contains 200k rows. These rows are to be imported into our database. The majority of them will already exists while a few are new. Here are a few options I've tried: I've had php cycle through the

Re: [PHP] a better way to do a data import?

2008-01-21 Thread Eric Butera
On Jan 21, 2008 1:08 PM, blackwater dev [EMAIL PROTECTED] wrote: I think that's possible, so I'll give it a shot. For some reason, even with straight inserts my php script is dying around 180,000 rows. Basically, I took out all the compare/update code so now I grab the row from the db and if

Re: [PHP] More frustration with MySQL and PHP

2008-01-21 Thread Eric Butera
On Jan 21, 2008 2:57 PM, Jason Pruim [EMAIL PROTECTED] wrote: Today, I found a bug in my software which I was originally happy to find since that means there's one less that I have to worry about... 3 hours later while trying to figure out how to fix it I wish I never found it! Here's the

Re: [PHP] More frustration with MySQL and PHP

2008-01-21 Thread Eric Butera
On Jan 21, 2008 3:47 PM, Robert Cummings [EMAIL PROTECTED] wrote: Now I just need to find a way to increase the content of my posts. Just reply to everyone with random Wikipedia articles. You can even say it is on topic because it is generated with PHP. -- PHP General Mailing List

Re: [PHP] avoid server folder reading

2008-01-21 Thread Eric Butera
On Jan 20, 2008 6:13 AM, Richard Heyes [EMAIL PROTECTED] wrote: If your server's default file is index.php, you could use the following in an index.php file: ?php header('Location: /'); ? You really shouldn't use relative paths in a header location.

Re: [PHP] mssql and latin characters

2008-01-21 Thread Eric Butera
On Jan 20, 2008 9:53 PM, Leticia Larrosa [EMAIL PROTECTED] wrote: Hello I have a MSSql 2000 database that have stored data with the follow special characters: ó, í, Ñ, á, é, ú. When I see the data through any MsSql Client I see exactly those characters. The Collation of database is:

Re: [PHP] form cleaning class

2008-01-22 Thread Eric Butera
On Jan 21, 2008 11:39 PM, nihilism machine [EMAIL PROTECTED] wrote: now my debug shows that with the following code, all of the $_POST['whatever'] values are blank. class forms { var $UserInput; // Forms to variables function forms() { if

Re: [PHP] More frustration with MySQL and PHP

2008-01-22 Thread Eric Butera
On Jan 22, 2008 8:44 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Jan 21, 2008, at 4:14 PM, Dave Goodchild wrote: Don't be scared of functions, no magic or mystery there, all you are doing is putting your code in a function like so: function add($a, $b) { return $a + $b; }

Re: [PHP] mssql and latin characters

2008-01-22 Thread Eric Butera
if that's different from the SQL server box. - Frank Regards Leticia Larrosa -Original Message- From: Eric Butera [mailto:[EMAIL PROTECTED] Sent: Monday, January 21, 2008 5:43 PM To: Leticia Larrosa Cc: php-general@lists.php.net Subject: Re: [PHP] mssql and latin characters

Re: [PHP] sessions/cookies

2008-01-22 Thread Eric Butera
On Jan 22, 2008 9:15 PM, nihilism machine [EMAIL PROTECTED] wrote: I wrote an authentication class in php4. The sessions dont seem to be working with internet explorer, just with FF. here is the code below, a cookies notice pops up when you try and login: Hi, I took a quick look at your code.

Re: [PHP] Foreach

2008-01-23 Thread Eric Butera
On Jan 23, 2008 12:58 AM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 18, 2008 5:24 PM, Richard Lynch [EMAIL PROTECTED] wrote: If you are trying to keep the names and orders in parallel you need to do something not unlike: while (list($key, $name) = each($names)){ $order =

Re: [PHP] Using mysql_real_escape_string without connecting to mysql

2008-01-23 Thread Eric Butera
On Jan 22, 2008 8:01 PM, Dotan Cohen [EMAIL PROTECTED] wrote: I have a file of my own functions that I include in many places. One of them uses mysql_real_escape_string, however, it may be called in a context that will or will not connect to a mysql server, and worse, may already be connected.

Re: [PHP] Using mysql_real_escape_string without connecting to mysql

2008-01-23 Thread Eric Butera
On Jan 23, 2008 2:37 PM, Dotan Cohen [EMAIL PROTECTED] wrote: On 23/01/2008, Richard Lynch [EMAIL PROTECTED] wrote: Back to the original question... I suppose you could use mysql_escape_string (note the lack of real) in the short term... I'd rather not. There is no short term. It

Re: [PHP] are email address could be spammed

2008-01-24 Thread Eric Butera
On Jan 24, 2008 10:36 AM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 24, 2008 10:26 AM, Jochem Maas [EMAIL PROTECTED] wrote: like a charm for the marketing, ad-shovelling sales whores at google you. i dont know man; its a pretty nice user interface. i might try to setup an open source

Re: [PHP] 128M need in PHP5.2.5 instead of 8M in PHP5.1.4!

2008-01-24 Thread Eric Butera
On Jan 24, 2008 10:44 AM, Luc Maltier [EMAIL PROTECTED] wrote: Hello! My first message: I've just updated PHP from 5.1.4 to 5.2.5 (to solve an Apache problem when double-clicking on links). This was successful, as the problem is now solved, but I now, sometimes, get a message stating that

Re: [PHP] are email address could be spammed

2008-01-24 Thread Eric Butera
On Jan 24, 2008 10:56 AM, Stut [EMAIL PROTECTED] wrote: On 24 Jan 2008, at 15:42, Eric Butera wrote: I used to be hardcore pop only but now that I use gmail I don't care about any other mail client. It beats Thunderbird and Mail.app hands down. If you don't look at the right hand side

[PHP] Re: RE : [PHP] 128M need in PHP5.2.5 instead of 8M in PHP5.1.4!

2008-01-24 Thread Eric Butera
On Jan 24, 2008 11:14 AM, Luc Maltier [EMAIL PROTECTED] wrote: Thanks for this clue (ini_set). But I normally don't need this amount of memory anywhere, as 8M were OK in PHP5.1.4... I just want to understand what happens. Memory limit wasn't force enabled before 5.2.1. Maybe that was it?

Re: [PHP] Using mysql_real_escape_string without connecting to mysql

2008-01-24 Thread Eric Butera
On Jan 24, 2008 1:03 PM, Dotan Cohen [EMAIL PROTECTED] wrote: On 24/01/2008, Richard Lynch [EMAIL PROTECTED] wrote: It is NOT safe from, say, XSS attack if $evilString contains an XSS snippet and you re-display it on your site. In other words, you should still filter the INPUT somewhere;

Re: [PHP] Question about functions

2008-01-24 Thread Eric Butera
On Jan 24, 2008 3:00 PM, Jason Pruim [EMAIL PROTECTED] wrote: Hi everyone! So, I'm trying to learn about functions, and I think I understand what to use them for... And one of the ideas I had was to write a function to logout of an application. The question I have though, is how do I call

Re: [PHP] Question about functions

2008-01-24 Thread Eric Butera
On Jan 24, 2008 3:08 PM, Dave Goodchild [EMAIL PROTECTED] wrote: header(Location: index.php); Redirect uri's should be absolute. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for easier way to build email message

2008-01-24 Thread Eric Butera
On Jan 24, 2008 6:20 PM, Rene Brehmer [EMAIL PROTECTED] wrote: Drew a blank off the archive, so here goes... I'm working on some forms for our company website, all of which simply have to be mailed to us by email. After verifying that the content of all the fields is valid and the proper

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Eric Butera
On Jan 25, 2008 1:39 PM, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, January 25, 2008 7:27 am, Eric Butera wrote: I think the memory size can (sort of) be determined by width * height * bits * channels / 8. I've never found anything better than that. There are a few comments on the php

Re: [PHP] are email address could be spammed

2008-01-25 Thread Eric Butera
On Jan 25, 2008 8:43 AM, Dotan Cohen [EMAIL PROTECTED] wrote: On 25/01/2008, Eric Butera [EMAIL PROTECTED] wrote: not to mention the 'all-your-email-belong-to-us' aspect of world googlisation. yeah, that's exactly why I don't use gmail That's why I use gmail for lists

Re: [PHP] are email address could be spammed

2008-01-25 Thread Eric Butera
On Jan 25, 2008 5:28 AM, Dotan Cohen [EMAIL PROTECTED] wrote: On 25/01/2008, Zoltán Németh [EMAIL PROTECTED] wrote: 2008. 01. 25, péntek keltezéssel 11.10-kor Jochem Maas ezt írta: bruce schreef: also... for gmail, as far as i can tell.. you can't do a resend on a sent

Re: [PHP] pack it in

2008-01-25 Thread Eric Butera
On Jan 24, 2008 7:13 PM, Jochem Maas [EMAIL PROTECTED] wrote: Richard Lynch schreef: On Thu, January 24, 2008 5:20 pm, Jochem Maas wrote: someone asked about checksum values in another thread, I believe he got his answer no thanks to me. but whilst I was trying to help I got stuck playing

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Eric Butera
On Jan 25, 2008 3:43 AM, Emil Edeholt [EMAIL PROTECTED] wrote: Hi! I have a website where people can upload photos and it creates previews. My problem is with pictures with big dimensions like 12000px height for example where the script times out. I've seen other sites that seems do be able

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Eric Butera
On Jan 25, 2008 5:37 AM, Jochem Maas [EMAIL PROTECTED] wrote: I'm getting exceptions thrown without a stackframe. I understand what this means but not how it can happen given the following: 1. *every* frontend script on the site is wrapped in a try/catch block 2. I have set an exception

Re: [PHP] Exception thrown without a stack frame

2008-01-25 Thread Eric Butera
On Jan 25, 2008 8:43 AM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: On Jan 25, 2008 5:37 AM, Jochem Maas [EMAIL PROTECTED] wrote: I'm getting exceptions thrown without a stackframe. I understand what this means but not how it can happen given the following: 1. *every

Re: [PHP] Foreach

2008-01-27 Thread Eric Butera
On Jan 27, 2008 1:33 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 23, 2008 8:02 AM, Eric Butera [EMAIL PROTECTED] wrote: Maybe someday SPL will become part of the PHP manual too. ;) ill admit, the doxygen documentation is a little daunting at first. at least more so than

Re: [PHP] Handle time-outs and errors with file()

2008-01-29 Thread Eric Butera
On Jan 29, 2008 10:58 AM, John Papas [EMAIL PROTECTED] wrote: I'm using file() to get the contents of a remote page in my script but I cannot find any information regarding how I could *gracefully* handle a broken network connection or even a time-out (slow connection). Is there a way? ---

Re: [PHP] How can I do this -- method chaining

2008-01-29 Thread Eric Butera
On Jan 29, 2008 1:53 PM, Christoph Boget [EMAIL PROTECTED] wrote: Constructors return the object, correct? If so, how can I do this: class Bob { private $blah; _construct( $blah ) { $this-blah = $blah; } public getBlah() { return $this-blah; } } echo Bob( 'Hello!'

Re: [PHP] first php 5 class

2008-01-30 Thread Eric Butera
On Jan 29, 2008 3:29 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 29, 2008 3:19 PM, nihilism machine [EMAIL PROTECTED] wrote: Ok, trying to write my first php5 class. This is my first project using all OOP PHP5.2.5. I want to create a config class, which is extended by a connection

Re: [PHP] first php 5 class

2008-01-30 Thread Eric Butera
On Jan 30, 2008 9:57 AM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 30, 2008 8:40 AM, Eric Butera [EMAIL PROTECTED] wrote: On Jan 29, 2008 3:29 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: Still pimping singleton, huh? :) hell yeah :) i looked at the registry classes you pointed out

Re: [PHP] first php 5 class

2008-01-30 Thread Eric Butera
On Jan 30, 2008 11:43 AM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 30, 2008 11:38 AM, Greg Donald [EMAIL PROTECTED] wrote: If list traffic is any sign, PHP is indeed slowing down from the new peeps wanting to learn it perspective: http://marc.info/?l=php-generalw=2 interesting..

Re: [PHP] php spanish character problem

2008-01-30 Thread Eric Butera
On Jan 30, 2008 12:07 PM, greenCountry [EMAIL PROTECTED] wrote: hello everyone, This is important,I am trying to post some spanish characters from a form on a page and i am comparing those spanish characters to the same letters on the same page but on strcmp the return is not zero.I don't

Re: [PHP] first php 5 class

2008-01-30 Thread Eric Butera
On Jan 30, 2008 11:13 AM, Nathan Nobbe [EMAIL PROTECTED] wrote: i dont think Registry::getInstance() is really that much overhead; In my initial tests I found that static methods accessing $GLOBALS directly was much faster than using an instance and working on it tucked away in a static

Re: [PHP] first php 5 class

2008-01-30 Thread Eric Butera
On Jan 30, 2008 2:01 PM, Greg Donald [EMAIL PROTECTED] wrote: On Jan 30, 2008 12:15 PM, Zoltán Németh [EMAIL PROTECTED] wrote: It's opinionated software and is certainly not for everyone. ok it's not for everyone, certainly not for me. but what is it from your point of view that makes it

Re: [PHP] PEAR website and MSIE 6

2008-01-31 Thread Eric Butera
On Jan 31, 2008 7:33 AM, Jochem Maas [EMAIL PROTECTED] wrote: Richard Heyes schreef: Anyone have any trouble with this combination? It consistently crashes for me. firefox not an option? or anything else that resembles a proper browser ;-) http://pear.php.net Thanks. -- PHP

Re: [PHP] PEAR website and MSIE 6

2008-01-31 Thread Eric Butera
On Jan 31, 2008 9:27 AM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: On Jan 31, 2008 7:33 AM, Jochem Maas [EMAIL PROTECTED] wrote: Richard Heyes schreef: Anyone have any trouble with this combination? It consistently crashes for me. firefox not an option? or anything else

Re: [PHP] PEAR website and MSIE 6

2008-01-31 Thread Eric Butera
On Jan 31, 2008 11:14 AM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: On Jan 31, 2008 9:27 AM, Jochem Maas [EMAIL PROTECTED] wrote: Eric Butera schreef: On Jan 31, 2008 7:33 AM, Jochem Maas [EMAIL PROTECTED] wrote: Richard Heyes schreef: Anyone have any trouble

Re: [PHP] PEAR website and MSIE 6

2008-01-31 Thread Eric Butera
On Jan 31, 2008 12:02 PM, Jochem Maas [EMAIL PROTECTED] wrote: Robert Cummings schreef: On Thu, 2008-01-31 at 17:14 +0100, Jochem Maas wrote: let's not forget that nobody outside of IT actually uses Opera Please back up that st-ass-tistic please. Methinks you reached around and pulled

Re: [PHP] PEAR website and MSIE 6

2008-01-31 Thread Eric Butera
On Jan 31, 2008 12:16 PM, Jochem Maas [EMAIL PROTECTED] wrote: you didn't state anything of the sort until just then. and you do realise that Acid2 is not actually a standard AND that there are plenty of differences of opinion regarding the minutae of 'proper implementation' of some of the

Re: [PHP] PEAR website and MSIE 6

2008-01-31 Thread Eric Butera
On Jan 31, 2008 12:32 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: i like opera for 4 reasons, 1. it renders fast 2. when i have 50 tabs open, its still responsive 3. it supports ctrl+z, wicked feature : 4. when you close and reopen, all the tabs from before are still there; key however,

Re: [PHP] [Slightly OT] Apple MacBook MAMP and Logic

2008-01-31 Thread Eric Butera
On Jan 31, 2008 12:29 PM, Tom Chubb [EMAIL PROTECTED] wrote: So I guess what I'm asking is, does having Apache, MySQL PHP installed on a Mac use much system resources? Nope. I used to run it on an old G4 as a desktop just fine. ;) -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: disable referer ? (was: Framed Linked Content)

2008-01-31 Thread Eric Butera
On Jan 31, 2008 1:29 PM, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, January 31, 2008 1:19 am, Per Jessen wrote: Richard Lynch wrote: On Tue, January 29, 2008 12:48 pm, Per Jessen wrote: Robert Cummings wrote: Actually, now you made me think on it... the primary reason I disable

Re: [PHP] PEAR website and MSIE 6

2008-01-31 Thread Eric Butera
On Jan 31, 2008 1:50 PM, Richard Heyes [EMAIL PROTECTED] wrote: PHP is a server-side page generator. It has NOTHING to do with the browser. The PHP programmer determines the content of the resulting HTML and the browser reacts to THAT. Browsers never see a line of PHP script! What's your

Re: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Eric Butera
On Feb 1, 2008 4:18 PM, Jochem Maas [EMAIL PROTECTED] wrote: hi people, I'm in the market for a new framework/toolkit/whatever-you-want-to-call-it. I've been taking a good hard look at the Zend Framework - if nothing else the docs are very impressive. I'd like to hear from people who have

Re: [PHP] New search related question

2008-02-04 Thread Eric Butera
On Feb 4, 2008 2:48 PM, Jason Pruim [EMAIL PROTECTED] wrote: Hi Everyone! :) Just a quick question, I've done some googling but haven't been able to find what I need... I am looking at doing a search function for someone's website, the website is just static HTML files, and she doesn't want

Re: [PHP] In Your Arms

2008-02-04 Thread Eric Butera
On Feb 4, 2008 3:50 PM, [EMAIL PROTECTED] wrote: Destiny http://86.31.249.90/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I've decoded the secret message

Re: [PHP] php competion

2008-02-04 Thread Eric Butera
On Feb 4, 2008 5:23 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Feb 4, 2008 4:26 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: I hardly think this one is a scam, I mean all you have to do is write a PHP app that converts between PHP, Python, C and Perl and you get: not only bragging rights

  1   2   3   4   5   6   7   8   >