php-general Digest 4 Jan 2008 14:17:07 -0000 Issue 5216
php-general Digest 4 Jan 2008 14:17:07 - Issue 5216 Topics (messages 266598 through 266599): Re: First stupid post of the year. [SOLVED] 266598 by: Nisse Engström 266599 by: tedd Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- ---BeginMessage--- On Thu, 3 Jan 2008 12:39:36 -0500, tedd wrote: At 4:24 PM +0100 1/3/08, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: On Wed, 2 Jan 2008 19:36:56 -0500, tedd wrote: To find out, I did put the operation through FireFox and reversed the POST/GET operations to get a look at the string -- it is: %C2%A0%C2%A0%C2%A0Z%C2%A0%C2%A0%C2%A0 where Z is the value passed. Now, C2 (HEX) is a linefeed (194 DEC) By the way, C2 is not a linefeed as far as I know. And, A0 (HEX) is a non-breaking space (160 DEC;) which is a nbsp; Not quite. A0 is non-breaking space in *some* character encodings, such as the ISO-8859-... encodings. It may be different in other encodings. In UTF-8, it is C2 A0, which is exactly what you're seing. Well considering that UTF-8 encompasses/includes all of the code points found ISO-8859, then I think that both encodings would reference the same character. After all, if they didn't then what's the point of Unicode? Now, one can argue how many bytes are needed to represent a character in what encoding, but that doesn't change the character. In the end, I believe that A0 is the same regardless of what charset or encoding you're using. You have a point here: the character is the same. In Unicode it is called U+00A0. But Unicode alone does not tell you how to represent the character in bytes. You need an encoding for this. Unicode specifies a few different encodings, called transformation formats (the T and F in UTF). The actual bytes representing U+00A0 are as follows: UTF-32: 00 00 00 A0 UTF-16BE: 00 A0 UTF-16LE: A0 00 UTF-8:C2 A0 (where the xx ... syntax denotes *byte* sequences. A byte sequence and a character are different things.) The fact that the byte A0 occurs in UTF-8 is just an interesting, and easily confusing, coincident. In other encodings, the character U+00A0 may be encoded differently. For example, in CP850 for DOS, U+00A0 is encoded using the single byte ff. - - - In HTML, there are a few ways to encode U+00A0. If you have specified a character encoding for the document, you can use the encoded character directly. You can specify the encoding in HTTP (preferable) using PHP: header ('Content-Type: text/html; charset=utf-8') or .htaccess files (Apache 2): AddDefaultCharset utf-8 Richard Lynch would tell you to also use a meta element: meta http-equiv=Content-Type content=text/html; charset=utf-8 If you don't want, or can't, use the encoded character directly, you can also use HTML character references, such as `nbsp;´, `#160´ or `#x00a0´. Numerical character references *always* refer to Unicode characters, *regardless* of the encoding used in the document. For example, if your document is encoded in CP850, you would use `#xa0´ and not `#xff´ to represent U+00A0. - - - But let's go back to your problem again: I just don't understand where C2 comes from or why it's there. I would think that 00 A0 would be more appropriate. When your document (web page) doesn't specify which character encoding it is using, the browser will have to guess. Many browser will use cp1252 or similar. Others might use UTF-8, or inspect the document and guess which is more apropriate. Some browsers can be configured to prefer a particular encoding. When the form is submitted, the form control values are encoded using whichever character encoding the browser has settled on. If your browser has settled on UTF-8, the `nbsp;´ in your form will be sent as C2 A0, because character references can only be used in the HTML document. In URLs they are encoded using numerical references (eg. %C2%A0). And here's what is going wrong: Your server side script is expecting the form submission to be encoded in an single-byte encoding (such as cp1252 or iso-8859-1 or similar). The sequence %C2%A0 is interpreted as two character rather than one character. Which two character would that be then? Well that, again, depends on which character encoding your script expects from the form submission: EncodingCharacters -- iso-8859-1: U+00C2, U+00A0 (A-circumflex, nbsp) cp850: U+252C, U+00E1 (box drawing character, a-acute) cp1252: U+00C2, U+00A0 (A-circumflex, nbsp) cp874: U+0E22, U+00A0 (Thai YO YAK, nbsp) KSC5601:U+D63B (Hangul HIEUH-O-KIYEOKSIOS) Therefore, if I simply use: $submit = str_replace( chr(194),
Re: [PHP] First stupid post of the year. [SOLVED]
On Thu, 3 Jan 2008 12:39:36 -0500, tedd wrote: At 4:24 PM +0100 1/3/08, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: On Wed, 2 Jan 2008 19:36:56 -0500, tedd wrote: To find out, I did put the operation through FireFox and reversed the POST/GET operations to get a look at the string -- it is: %C2%A0%C2%A0%C2%A0Z%C2%A0%C2%A0%C2%A0 where Z is the value passed. Now, C2 (HEX) is a linefeed (194 DEC) By the way, C2 is not a linefeed as far as I know. And, A0 (HEX) is a non-breaking space (160 DEC;) which is a nbsp; Not quite. A0 is non-breaking space in *some* character encodings, such as the ISO-8859-... encodings. It may be different in other encodings. In UTF-8, it is C2 A0, which is exactly what you're seing. Well considering that UTF-8 encompasses/includes all of the code points found ISO-8859, then I think that both encodings would reference the same character. After all, if they didn't then what's the point of Unicode? Now, one can argue how many bytes are needed to represent a character in what encoding, but that doesn't change the character. In the end, I believe that A0 is the same regardless of what charset or encoding you're using. You have a point here: the character is the same. In Unicode it is called U+00A0. But Unicode alone does not tell you how to represent the character in bytes. You need an encoding for this. Unicode specifies a few different encodings, called transformation formats (the T and F in UTF). The actual bytes representing U+00A0 are as follows: UTF-32: 00 00 00 A0 UTF-16BE: 00 A0 UTF-16LE: A0 00 UTF-8:C2 A0 (where the xx ... syntax denotes *byte* sequences. A byte sequence and a character are different things.) The fact that the byte A0 occurs in UTF-8 is just an interesting, and easily confusing, coincident. In other encodings, the character U+00A0 may be encoded differently. For example, in CP850 for DOS, U+00A0 is encoded using the single byte ff. - - - In HTML, there are a few ways to encode U+00A0. If you have specified a character encoding for the document, you can use the encoded character directly. You can specify the encoding in HTTP (preferable) using PHP: header ('Content-Type: text/html; charset=utf-8') or .htaccess files (Apache 2): AddDefaultCharset utf-8 Richard Lynch would tell you to also use a meta element: meta http-equiv=Content-Type content=text/html; charset=utf-8 If you don't want, or can't, use the encoded character directly, you can also use HTML character references, such as `nbsp;´, `#160´ or `#x00a0´. Numerical character references *always* refer to Unicode characters, *regardless* of the encoding used in the document. For example, if your document is encoded in CP850, you would use `#xa0´ and not `#xff´ to represent U+00A0. - - - But let's go back to your problem again: I just don't understand where C2 comes from or why it's there. I would think that 00 A0 would be more appropriate. When your document (web page) doesn't specify which character encoding it is using, the browser will have to guess. Many browser will use cp1252 or similar. Others might use UTF-8, or inspect the document and guess which is more apropriate. Some browsers can be configured to prefer a particular encoding. When the form is submitted, the form control values are encoded using whichever character encoding the browser has settled on. If your browser has settled on UTF-8, the `nbsp;´ in your form will be sent as C2 A0, because character references can only be used in the HTML document. In URLs they are encoded using numerical references (eg. %C2%A0). And here's what is going wrong: Your server side script is expecting the form submission to be encoded in an single-byte encoding (such as cp1252 or iso-8859-1 or similar). The sequence %C2%A0 is interpreted as two character rather than one character. Which two character would that be then? Well that, again, depends on which character encoding your script expects from the form submission: EncodingCharacters -- iso-8859-1: U+00C2, U+00A0 (A-circumflex, nbsp) cp850: U+252C, U+00E1 (box drawing character, a-acute) cp1252: U+00C2, U+00A0 (A-circumflex, nbsp) cp874: U+0E22, U+00A0 (Thai YO YAK, nbsp) KSC5601:U+D63B (Hangul HIEUH-O-KIYEOKSIOS) Therefore, if I simply use: $submit = str_replace( chr(194), '', $submit ); $submit = str_replace( chr(160), '', $submit ); This is the solution. Hardly. If you mean my solution doesn't work, then you are mistaken -- for works for me. ``This seems to work but I really have no idea what's going on, so I'll just make random guesses´´ is very far from *the* solution in my mind. :-) This entire encoding process is more involved than it looks, or so it appears to me. More reading in no particular order: The Unicode Standard:
Re: [PHP] First stupid post of the year. [SOLVED]
At 10:33 AM +0100 1/4/08, Nisse Engström wrote: On Thu, 3 Jan 2008 12:39:36 -0500, tedd wrote: Nisse: I thank you for your most enlightened and informative reply. I cut/pasted your post into my list of things to remember. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Login script problem
Greetings, I've been lurking for several weeks, I thought I'd post to describe a problem I've been having in the hope that a solution can be found. And my thanks to Casey, for his offlist assistance with another, unrelated issue earlier this week. :-) I apologize up front, for what is probably too much information. I know this will take some time to read and digest. On a client's site (PHP4 environment, natch), two login methods are used to control access to premium content. The first sets a cookie when valid access codes are submitted via the login form, there are no known problems with that method at this time. The second method was grafted on top of the first by a 2nd programmer. It is a link to the verification script (index1.php) that is supposed to do IP lookups in a MySQL db table. The table is called getIPval and has 4 Fields, which are named 'nIP','ipStart','ipEnd','nStatus' All ipStart/ipEnd ranges have a status of 1, and can accommodate the number of characters required for IPv6 addresses but to the best of my knowledge, no IPv6 addresses are listed at this time (there are a couple thousand line items). The script(s) is supposed to check rows in the table and if the requesting IP is = ipStart AND = ipEnd on a given row, grant access to the requesting IP [load the page identified by the rYear (decade) year (actual year) variables called out in the navigation link] - the default page after login is /1940s/1949.php . If the requesting IP is not found, the user is to be bounced to the login page [index.php]. Outside of these two scripts, the 'rYear'and 'year' values are passed via GET in the navigation links, the key is not passed by the navigation links. To repair emergent problems with the 1st access method while getting the 2nd access method to work, the key was introduced but it is not included in the navigation links. An example nav link looks something like this: http://[domain][path]index1.php?rYear=value1year=value2 Or at least, that is how it is all supposed to work, per my understanding of the programmer's description and my own understanding after reviewing the code myself. The Problem A growing number of what are supposed to be authorized, IP-authenticated users have reported an inability to navigate away from the initial premium content page, 1949.php, after the script checks their IP and lets them in that far. Access code users do not report difficulties. I've been over this with the programmer, he says he cannot find anything wrong with the PHP scripts. I've checked some of the affected IP-range entries in the MySQL db table, our best guess to date has been that a cache server is misbehaving somewhere. Neither of us is able to duplicate the reported error of not being able to navigate away from the 1949 page. What I have observed recently however, with my own IP listed in the db table as part of a range, sometimes the script will randomly either let me in or not let me in. Whichever state it is in, persists, until new changes are made when it will then either let me in or not. It always lets me in if I list my specific IP (not as part of a range). So as the number of users who report the navigation difficulty grows, I am beginning to wonder if there might really be a problem in the script that the programmer isn't seeing for whatever reason. Does anyone see anything obviously wrong in the code below? I've obscured the actual server domain name, login, passwords, and some path statements. Watch for line wraps. Reese -- ?php // //login script, invoked by all premium content pages via GET //file name index1.php // $link = mysql_connect('mysql_server_url', 'login_id', 'login_password'); if (!$link) { die('Not connected : ' . mysql_error()); } // make mrfsql_db1 the current db $db_selected = mysql_select_db('login_id', $link); if (!$db_selected) { die ('Can\'t use foo : ' . mysql_error()); } $domain = GetHostByName($REMOTE_ADDR); // users IP// if(!empty($_REQUEST['rYear'])) { $yrs = $_REQUEST['rYear'].'s'; $yr = $_REQUEST['year']; } function getIP($cdomain) { $sql= SELECT nStatus FROM getIPval WHERE ipStart ='.$cdomain.' ; $result = mysql_query($sql); $row = mysql_fetch_array($result); return $row['nStatus']; } $row = getIP($domain); if(!empty($_COOKIE[monthcode])) { $pcode = $_COOKIE[monthcode]; } if($row == '1' || $pcode!='') { header(Location: decade/$yrs/$yr.php?key=1); } else { $sdomain = explode(.,$domain); $cdomain = $sdomain['0'].'.'.$sdomain['1'].'.'.'0'.'.'.'0'; $row = getIP($cdomain); if($row == '1' $sdomain['3'] 256) { header('Location: decade/1940s/1949.php?key=1'); } else { header('Location: index.php'); } } ? EOF Below, the check script that is used on all other premium pages. Its intended function is to verify that the user is authorized and if they are
Re: [PHP] First stupid post of the year.
tedd-2 wrote: At 3:28 PM -0600 1/3/08, Richard Lynch wrote: On Wed, January 2, 2008 5:26 pm, tedd wrote: At 2:34 PM -0800 1/2/08, Jim Lucas wrote: This I think shows what tedd is looking for. so, from this I deduce that this should work. $submit = trim($submit, \xA0\x20); What do you guys/gals think? Nope, not a winner. But it produces some interesting results. http://www.l-i-e.com/a/ That's neat. Cheers, tedd FYI: output of http://www.l-i-e.com/a/ in SeaMonkey (Gecko, ),FF, default Char.encoding:Western ISO 8859-1 or UTF-8, IE: $_POST[a]: ' A ' 0: (160) 1: (32) 2: (160) 3: (32) 4: (160) 5: A (65) 6: (160) 7: (32) 8: (160) 9: (32) 10: (160) str_replace: ' A ' trim: 'A' Opera 9.5beta (iso 8859-1 or utf-8) $_POST[a]: ' A ' 0: (32) 1: (32) 2: (32) 3: (32) 4: (32) 5: A (65) 6: (32) 7: (32) 8: (32) 9: (32) 10: (32) str_replace: ' A ' trim: 'A' Safari 3.0.4 (UTF-8) $_POST[a]: ' A ' 0: � (194) 1: � (160) 2: (32) 3: � (194) 4: � (160) 5: (32) 6: � (194) 7: � (160) 8: A (65) 9: � (194) 10: � (160) 11: (32) 12: � (194) 13: � (160) 14: (32) 15: � (194) 16: � (160) str_replace: ' A ' trim: ' A�' Safari 3.0.4 (Westeuropäisch) $_POST[a]: 'Â Â Â AÂ Â Â ' 0: Â (194) 1: (160) 2: (32) 3: Â (194) 4: (160) 5: (32) 6: Â (194) 7: (160) 8: A (65) 9: Â (194) 10: (160) 11: (32) 12: Â (194) 13: (160) 14: (32) 15: Â (194) 16: (160) str_replace: 'Â Â Â AÂ Â Â ' trim: 'Â Â Â AÂ Â Â' (all on w2k) (my humble) conclusion: if('A'==$_POST['a'][5] or 'A'==$_POST['a'][8]) { //do stuff } or some such is what you need Jürgen -- View this message in context: http://www.nabble.com/First-stupid-post-of-the-year.-tp14583639p14617982.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] First stupid post of the year.
Read google! - http://ooyes.net Web design company | http://ooyes.net Graphic design company | http://ooyes.net Outsourcing company -- View this message in context: http://www.nabble.com/First-stupid-post-of-the-year.-tp14583639p14618938.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] First stupid post of the year.
On Jan 4, 2008 10:39 AM, Web Design Company [EMAIL PROTECTED] wrote: Read google! No! -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Login script problem
On Jan 4, 2008 9:54 AM, Reese [EMAIL PROTECTED] wrote: Greetings, I've been lurking for several weeks, I thought I'd post to describe a problem I've been having in the hope that a solution can be found. And my thanks to Casey, for his offlist assistance with another, unrelated issue earlier this week. :-) [snip=all] Reese, While I noticed several areas for improvement in the code (such as being sure to exit; after calling header(Location: ); ), two things primarily come to mind: Do you expect the value of $key in this condition to be a literal zero? $twoyears = array('alphanumeric_code1', 'alphanumeric_code2', 'alphanumeric_code3', 'alphanumeric_code4', 'alphanumeric_code5', 'alphanumeric_code6', 'alphanumeric_code7'); $key = in_array($sPromocode,$twoyears); if($key=='0') Also, what about ISPs such as AOHell who use fully-dynamic IP proxies that change on location, at time intervals, and are interspersed with random changes? Even putting that into a range won't help, as it's likely the IP will only have the network prefix (and perhaps the same Class B slot). -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re: [PHP] automatic caller
WOW - http://ooyes.net Web design company | http://ooyes.net Graphic design company | http://ooyes.net Outsourcing company -- View this message in context: http://www.nabble.com/automatic-caller-tp14582211p14618945.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Login script problem
Web Design Company wrote: Someone? Me31!1!1ONE Please, if you do not need amplifying information or if you do not intend to pose a suggestion, it is better to remain silent. I wasn't helped by your Someone? post, no one else was either. Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Login script problem
Someone? - http://ooyes.net Web design company | http://ooyes.net Graphic design company | http://ooyes.net Outsourcing company -- View this message in context: http://www.nabble.com/Login-script-problem-tp14618073p14618942.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Login script problem
Daniel Brown wrote: [snip=all] Reese, While I noticed several areas for improvement in the code (such as being sure to exit; after calling header(Location: ); ), two things primarily come to mind: Do you expect the value of $key in this condition to be a literal zero? $twoyears = array('alphanumeric_code1', 'alphanumeric_code2', 'alphanumeric_code3', 'alphanumeric_code4', 'alphanumeric_code5', 'alphanumeric_code6', 'alphanumeric_code7'); $key = in_array($sPromocode,$twoyears); if($key=='0') No, it should either be 1 if set or NULL(?) if not set, there is nothing to set that value to 0 - only this check to see if it is == to 0. Is this another area, like the one Casey helped with earlier, where '!empty' was being used instead of 'isset'? The programmer is aware that improvement is possible and we've had some discussions in that regard, but owing to this being a for a friend item and his currently declared job demands, either he is truly swamped or he is brushing me off. I'm willing to give him benefit of the doubt, until I'm confronted with evidence to the contrary. Also, what about ISPs such as AOHell who use fully-dynamic IP proxies that change on location, at time intervals, and are interspersed with random changes? Even putting that into a range won't help, as it's likely the IP will only have the network prefix (and perhaps the same Class B slot). That's an area where I left detail out, my apologies. The dual login mechanisms are geared towards accommodating this, AOHell users will tend to be individual entities and the 'access code' mechanism is geared towards them. Meanwhile, entities with static, assigned IP addresses such as libraries on city networks are meant to be given IP-based access, hence the other login validation method (which isn't working quite right). Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] First stupid post of the year.
At 7:39 AM -0800 1/4/08, Web Design Company wrote: Read google! New to this list, are you? tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Login script problem
On Jan 4, 2008 11:55 AM, Reese [EMAIL PROTECTED] wrote: Web Design Company wrote: Someone? Me31!1!1ONE Please, if you do not need amplifying information or if you do not intend to pose a suggestion, it is better to remain silent. I wasn't helped by your Someone? post, no one else was either. It's just some jackass who's replying to random posts to SPAM the links in his/her signature, I'm sure. Ridiculous posts have been made in other threads from Web Design Company as well. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] First stupid post of the year.
At 6:55 AM -0800 1/4/08, Jürgen Wind wrote: FYI: output of http://www.l-i-e.com/a/ in SeaMonkey (Gecko, ),FF, default Char.encoding:Western ISO 8859-1 or UTF-8, IE: $_POST[a]: ' A ' 0: (160) 1: (32) 2: (160) 3: (32) 4: (160) 5: A (65) 6: (160) 7: (32) 8: (160) 9: (32) 10: (160) str_replace: ' A ' trim: 'A' Opera 9.5beta (iso 8859-1 or utf-8) $_POST[a]: ' A ' 0: (32) 1: (32) 2: (32) 3: (32) 4: (32) 5: A (65) 6: (32) 7: (32) 8: (32) 9: (32) 10: (32) str_replace: ' A ' trim: 'A' Safari 3.0.4 (UTF-8) $_POST[a]: ' A ' 0: ? (194) 1: ? (160) 2: (32) 3: ? (194) 4: ? (160) 5: (32) 6: ? (194) 7: ? (160) 8: A (65) 9: ? (194) 10: ? (160) 11: (32) 12: ? (194) 13: ? (160) 14: (32) 15: ? (194) 16: ? (160) str_replace: ' A ' trim: ' A?' Safari 3.0.4 (Westeuropäisch) $_POST[a]: 'Â Â Â AÂ Â Â ' 0: Â (194) 1: (160) 2: (32) 3: Â (194) 4: (160) 5: (32) 6: Â (194) 7: (160) 8: A (65) 9: Â (194) 10: (160) 11: (32) 12: Â (194) 13: (160) 14: (32) 15: Â (194) 16: (160) str_replace: 'Â Â Â AÂ Â Â ' trim: 'Â Â Â AÂ Â Â' (all on w2k) (my humble) conclusion: if('A'==$_POST['a'][5] or 'A'==$_POST['a'][8]) { //do stuff } or some such is what you need Jürgen Ahhh, I understand better now. Humble conclusion or not, your investigation was impressive. Thanks, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] image* Functions' Memory Usage
On Jan 4, 2008, at 9:54 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Jan 4, 2008 12:46 PM, Casey [EMAIL PROTECTED] wrote: Greetings, list. I have a web application that generates PNG images that are thousands of pixels high by thousands of pixels wide (using imagepng, etc.). The problem is this takes way too much memory, and the rest of the site becomes too slow. I'm working on something to cache the images, but some suggestions in the meantime would be great. Maybe ImageMagick is faster? Flash?Any suggestions? Thank you very much. It depends on what you are trying to do with the images. Are you randomly-generating data to create patterns, or are you (*gasp*) converting small images into [very pixelized] larger ones? -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. I'm laying many different other (smaller) images over each other at various positions. (I know HTML/CSS and SVG could do this with less trouble, but that would give away my secrets by just viewing the source.) -Casey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] tidy extension is loaded but not working
Hello, I am trying to get tidy for php working on my systems. 1. Got latest libtidy (libraries) from cvs and compiled/installed them (no issues) 2. Got latest php tidy tidy-1.2 from PECL and compiled and installed (no issues) 3. Added the tidy extension in to /etc/php.d/tidy.ini extension=tidy.so 4. I restarted apache Here is the output of php -i and php -m commands: a. [EMAIL PROTECTED] /]# php -i | grep tidy /etc/php.d/tidy.ini, tidy tidy.default_config = no value = no value tidy-mark = FALSE b. [EMAIL PROTECTED] /]# php -m | grep tidy Tidy c. This is what I see in php info 1. tidy Tidy support enabled libTidy Build Date 6 November 2007 2. Directive Local Value Master Value tidy.default_config no value no value Problem: When I run a script with tidy syntax in it I get this error: Fatal error: Class 'tidy' not found in /var/www/html/_autodesk.com/aliasdesign/releases/20071226192151/tidy.php on line 16 Please help what I am missing? Thank You . PAVEL PRAGIN [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] T 650.328.3900 M 650.521.4377 F 650.328.3901 SolutionSet The Brand Technology Company http://www.SolutionSet.com http://www.solutionset.com/ PA 131 Lytton Ave., Palo Alto, CA 94301 SF 85 Second St., San Francisco, CA 94105
Re: [PHP] Does a package like this exist
On Jan 4, 2008 9:33 AM, Christoph Boget [EMAIL PROTECTED] wrote: Not wanting to re-invent the wheel, I'm wondering if there is a package out there that can read in an HTML file and allow you to manipulate and dissect it much like you can in javascript? For example, functionality similar to (though, not necessarily the same as) getElementById(), .innerHTML, etc. Hopefully you're using PHP5: http://php.net/dom to interact with the DOM http://php.net/tidy to cleanup the HTML if needed If you're on PHP4: http://php.net/domxml Brady -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] How to secure Flash Video?
Hi gang: Here's the problem. I have a client who has Flash Videos and wishes to rent these Videos out for a certain time period. (No, it's not porn -- shame on you). I have written the code and have NO problems with registering the user, having the user pay, and managing user's time to allow viewing the video. That's all been solved. However, once the user is provided with a url where the Flash Video resides, then the user can view the video remotely by just creating a page that references that url -- that's easy to do. Now, how can I stop that from happening? I have some ideas, but would like to hear what greater minds have to say. :-) Thanks in advance for all replies. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function I created doesn't work
Daniel Brown wrote: On Jan 4, 2008 12:06 PM, afan pasalic [EMAIL PROTECTED] wrote: hi I have function function get_content($client_id, $form_id, $index1) { $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); return $result['content']; } else { get_content(0, 0, $index1); // get default value } } When I call it $CONTENT = get_content(12, 104, 'merchant'); echo $CONTENT; // empty, nothing But if I use global in the function function get_content($client_id, $form_id, $index1) { global $CONTENT; $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); $CONTENT = $result['content']; } else { get_content(0, 0, $index1); } } get_content(12, 104, 'merchant'); echo $CONTENT; # Shows correct. What's wrong with first solution? Thanks for any help. Functions only use variables within their own scope, unless explicitly told to consider a variable as a global (or if the variable is a SUPERGLOBAL). not quite sure I understand?!? :( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Does a package like this exist
Not wanting to re-invent the wheel, I'm wondering if there is a package out there that can read in an HTML file and allow you to manipulate and dissect it much like you can in javascript? For example, functionality similar to (though, not necessarily the same as) getElementById(), .innerHTML, etc. I need to write a conversion script that reorganizes the contents of a large number of HTML files and I'm hoping that there is something out there that might make this task a bit easier. I've done some searching on Google but didn't really find anything. I'm hoping that someone might be able to point me to something I might have missed. thnx, Christoph
[PHP] image* Functions' Memory Usage
Greetings, list. I have a web application that generates PNG images that are thousands of pixels high by thousands of pixels wide (using imagepng, etc.). The problem is this takes way too much memory, and the rest of the site becomes too slow. I'm working on something to cache the images, but some suggestions in the meantime would be great. Maybe ImageMagick is faster? Flash?Any suggestions? Thank you very much. - Casey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Does a package like this exist
On Fri, 4 Jan 2008 12:33:11 -0500 Christoph Boget [EMAIL PROTECTED] wrote: Not wanting to re-invent the wheel, I'm wondering if there is a package out there that can read in an HTML file and allow you to manipulate and dissect it much like you can in javascript? For example, functionality similar to (though, not necessarily the same as) getElementById(), .innerHTML, etc. I need to write a conversion script that reorganizes the contents of a large number of HTML files and I'm hoping that there is something out there that might make this task a bit easier. I've done some searching on Google but didn't really find anything. I'm hoping that someone might be able to point me to something I might have missed. thnx, Christoph Hi, Seems like you might want to look at the DOM extension and friends. Start here: http://www.php.net/manual/en/ref.dom.php http://www.php.net/manual/en/ref.simplexml.php http://www.php.net/manual/en/ref.xml.php HTH, GM -- Greg Maruszeczka http://websage.ca skype: websage.ca googletalk: gmarus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] image* Functions' Memory Usage
On Jan 4, 2008 12:46 PM, Casey [EMAIL PROTECTED] wrote: Greetings, list. I have a web application that generates PNG images that are thousands of pixels high by thousands of pixels wide (using imagepng, etc.). The problem is this takes way too much memory, and the rest of the site becomes too slow. I'm working on something to cache the images, but some suggestions in the meantime would be great. Maybe ImageMagick is faster? Flash?Any suggestions? Thank you very much. It depends on what you are trying to do with the images. Are you randomly-generating data to create patterns, or are you (*gasp*) converting small images into [very pixelized] larger ones? -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] image* Functions' Memory Usage
On Jan 4, 2008 12:59 PM, Casey [EMAIL PROTECTED] wrote: [snip] I'm laying many different other (smaller) images over each other at various positions. (I know HTML/CSS and SVG could do this with less trouble, but that would give away my secrets by just viewing the source.) Okay, so kind of like a mural, but for a different purpose. For size, Flash would be your best bet, because everything is converted to a Vector but getting PHP to output to that is beyond my scope of knowledge, to be honest. I would probably do things with GD or ImageMagick, as you've already hinted. NetPBM might even be a viable alternate route. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to secure Flash Video?
On Fri, 2008-01-04 at 12:58 -0500, tedd wrote: Hi gang: Here's the problem. I have a client who has Flash Videos and wishes to rent these Videos out for a certain time period. (No, it's not porn -- shame on you). Bah! I have written the code and have NO problems with registering the user, having the user pay, and managing user's time to allow viewing the video. That's all been solved. However, once the user is provided with a url where the Flash Video resides, then the user can view the video remotely by just creating a page that references that url -- that's easy to do. Now, how can I stop that from happening? Use a URL that maps to a PHP script. Have the PHP script check that they are logged in. If not, redirect to login. If they are logged in, then flush the flash object to their browser with appropriate headers. Cheers, Rob. -- ... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] function I created doesn't work
hi I have function function get_content($client_id, $form_id, $index1) { $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); return $result['content']; } else { get_content(0, 0, $index1); // get default value } } When I call it $CONTENT = get_content(12, 104, 'merchant'); echo $CONTENT; // empty, nothing But if I use global in the function function get_content($client_id, $form_id, $index1) { global $CONTENT; $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); $CONTENT = $result['content']; } else { get_content(0, 0, $index1); } } get_content(12, 104, 'merchant'); echo $CONTENT; # Shows correct. What's wrong with first solution? Thanks for any help. -afan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function I created doesn't work
On Jan 4, 2008 12:06 PM, afan pasalic [EMAIL PROTECTED] wrote: hi I have function function get_content($client_id, $form_id, $index1) { $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); return $result['content']; } else { get_content(0, 0, $index1); // get default value } } When I call it $CONTENT = get_content(12, 104, 'merchant'); echo $CONTENT; // empty, nothing But if I use global in the function function get_content($client_id, $form_id, $index1) { global $CONTENT; $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); $CONTENT = $result['content']; } else { get_content(0, 0, $index1); } } get_content(12, 104, 'merchant'); echo $CONTENT; # Shows correct. What's wrong with first solution? Thanks for any help. Functions only use variables within their own scope, unless explicitly told to consider a variable as a global (or if the variable is a SUPERGLOBAL). -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to secure Flash Video?
At 1:08 PM -0500 1/4/08, Daniel Brown wrote: On Jan 4, 2008 12:58 PM, tedd [EMAIL PROTECTED] wrote: Now, how can I stop that from happening? You could do link expirations with an auto-generated URL to mask the actual location, or could even create a dynamic symlink or copy on the server itself. Have it expire and regenerate a new link every 15 minutes. ??? You lost me at You could do.. You have an example? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function I created doesn't work
Samuel Vogel wrote: Explanation of your code: $CONTENT = get_content(12, 104, 'merchant'); echo $CONTENT; This does not work, because you don't use a return in your function. This means that the function does not return a value. Now in the function you assign a value to $CONTENT. That works, as you pointed out with the second example. But after that the line above sets $CONTENT to the empty return value of the function. And therefore it is empty! so long, Samy Sorry for confusing with 2nd function. Let's take it out, forget about it. function get_content($client_id, $form_id, $index1) { $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); return $result['content']; } else { get_content(0, 0, $index1); // get default value } } $CONTENT = get_content(12, 104, 'merchant'); echo $CONTENT; // empty, nothing There is return, right after $result = mysql_fetch_assoc($query); Some additional info (hopefully will not confuse again :)) I'm pulling content from table infos for specific client, form and index1. If there is no record I'm using recursive part (inside else) to get the default value (client_id=0, form_id=0). When echo the content right before return I can see it. But can't see it in echo after calling the function?!?! thanks -afan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to secure Flash Video?
On Jan 4, 2008 1:30 PM, tedd [EMAIL PROTECTED] wrote: At 1:08 PM -0500 1/4/08, Daniel Brown wrote: On Jan 4, 2008 12:58 PM, tedd [EMAIL PROTECTED] wrote: Now, how can I stop that from happening? You could do link expirations with an auto-generated URL to mask the actual location, or could even create a dynamic symlink or copy on the server itself. Have it expire and regenerate a new link every 15 minutes. ??? You lost me at You could do.. You have an example? Not really, but I do have theory in explanation: 1.) Links are generated to the videos based on a cron that runs every 15 minutes. The links can either be generated for each individual, or can be generated for the server as a whole. While the former is more secure, the latter is much more prudent and takes far less resources. Chances are, a global re-address should suffice. 2.) The generated links are stored in a database, and are called when a page loads. See the postscript for one possible point of interest related to this. 3.) The user clicks the generated link, which is a mask to the actual file. The user does not see the actual file, however, as this is where Rob's idea of flushing the file through the buffer comes into play. The file is `read` through the buffer to the client. ALTERNATIVE 1: The cron can create symlinks on the server to the original files to be used either under the user's directory (to which they, and only they, have access), or done globally. ALTERNATIVE 2: Physically copy the files into the user directory, and have them renamed or removed from the directory on a schedule. This will allow you to halt access should the files be hotlinked. Conversely, you can do what I've done over the years: when you detect that someone is displaying an image on their page that resides on your server, eating your bandwidth, you replace it with something undesirable. For example, I had a wannabe tough-guy on MySpace displaying a graphic from one of my sites (militaria) on his profile. It was a rather large graphic that was sucking down about 50MB per day. I replaced it with a cute graphic announcing how much he enjoyed Pokemon, and the linking stopped within about 48 hours. So there are plenty of viable methods choosing which works best in your situation is the key. P.S. - In Step 2, keep in mind that, if a page is loaded and a link not clicked prior to the next run of the cron (and subsequent generation of links for the client to receive), the links will cause 404 errors. One solution would be to maintain a key in the database, with one or two rows of previously-generated links. This will allow a minimum of 16 minutes (on two rows) to a maximum of 44 minutes (on three rows). The $_SESSION['key'] (or ?key=) variable is looked up in the database when the link is clicked, and PHP determines how to translate the link. If it's not found, the session has been active and idle for too long, and times out. This is another recommended layer of security for any user area, of course, because there should be no Good Reason[tm] that anyone would be staring blankly at a page for 44 minutes. If they simply forgot about the session, then they can suffer the consequences and take the 30 seconds (or less) required to log in again. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] function I created doesn't work
On 04 January 2008 17:06, afan pasalic wrote: hi I have function function get_content($client_id, $form_id, $index1) { $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); return $result['content']; } else { get_content(0, 0, $index1); // get default value return get_content(0, 0, $index1); } } That's the only obvious error I can see -- I guess the query's returning zero rows for (12, 104, 'merchant'). There's a possible infinite recursion in there, though -- if there are *no* rows in the table with index1=merchant, this thing will just recurse crazily until it bombs. One way to prevent this would be: elseif ($client_id!=0 || $form_id!=0) { return get_content(0, 0, $index1); } else { return NULL; // or FALSE, or some other error indicator } Cheers! Mike - Mike Ford, Electronic Information Services Adviser, JG125, The Headingley Library, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 812 4730 Fax: +44 113 812 3211 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function I created doesn't work
Daniel Brown wrote: On Jan 4, 2008 12:28 PM, afan pasalic [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Jan 4, 2008 12:06 PM, afan pasalic [EMAIL PROTECTED] wrote: hi I have function function get_content($client_id, $form_id, $index1) { $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); return $result['content']; } else { get_content(0, 0, $index1); // get default value } } When I call it $CONTENT = get_content(12, 104, 'merchant'); echo $CONTENT; // empty, nothing But if I use global in the function function get_content($client_id, $form_id, $index1) { global $CONTENT; $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); $CONTENT = $result['content']; } else { get_content(0, 0, $index1); } } get_content(12, 104, 'merchant'); echo $CONTENT; # Shows correct. What's wrong with first solution? Thanks for any help. Functions only use variables within their own scope, unless explicitly told to consider a variable as a global (or if the variable is a SUPERGLOBAL). not quite sure I understand?!? :( The fundamentals of PHP (and general programming): working with globals. Specifically for PHP, some required reading: http://us.php.net/global I think you didn't understand my question: I know why the function work in 2nd example. My question was why I'm not getting the result in 1st example? What am I doing wrong. And, as far as I know, I think it doesn't have anything with GLOBALS (register_globals are anyway turned off). thanks -afan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to secure Flash Video?
On Fri, 2008-01-04 at 13:29 -0500, tedd wrote: At 1:09 PM -0500 1/4/08, Robert Cummings wrote: On Fri, 2008-01-04 at 12:58 -0500, tedd wrote: Hi gang: Here's the problem. I have a client who has Flash Videos and wishes to rent these Videos out for a certain time period. (No, it's not porn -- shame on you). Bah! I have written the code and have NO problems with registering the user, having the user pay, and managing user's time to allow viewing the video. That's all been solved. However, once the user is provided with a url where the Flash Video resides, then the user can view the video remotely by just creating a page that references that url -- that's easy to do. Now, how can I stop that from happening? Use a URL that maps to a PHP script. Have the PHP script check that they are logged in. If not, redirect to login. If they are logged in, then flush the flash object to their browser with appropriate headers. Rob: I have all of that logic in place now. Then what is the problem? or do you mean you don't ant the same user to view the item while logged in at some point in the future? If so then use a GET parameter (MD5 or SHA1 should suffice) that maps to a DB entry that indicates expiration time. Cheers, Rob. -- ... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function I created doesn't work
On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote: I think you didn't understand my question: I know why the function work in 2nd example. My question was why I'm not getting the result in 1st example? What am I doing wrong. And, as far as I know, I think it doesn't have anything with GLOBALS (register_globals are anyway turned off). You're right, I read it too quickly. My apologies. Off the top of my head, they look syntactically similar, and the end result should be the same. Try adding some error displaying to the script to see if anything jumps out at you. ? error_reporting(E_ALL); // Include your database connection routines here. function get_content($client_id, $form_id, $index1) { $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.') or die(mysql_error()); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); return $result['content']; } else { get_content(0, 0, $index1); // get default value } } echo get_content(12, 104, 'merchant'); ? -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to secure Flash Video?
At 1:09 PM -0500 1/4/08, Robert Cummings wrote: On Fri, 2008-01-04 at 12:58 -0500, tedd wrote: Hi gang: Here's the problem. I have a client who has Flash Videos and wishes to rent these Videos out for a certain time period. (No, it's not porn -- shame on you). Bah! I have written the code and have NO problems with registering the user, having the user pay, and managing user's time to allow viewing the video. That's all been solved. However, once the user is provided with a url where the Flash Video resides, then the user can view the video remotely by just creating a page that references that url -- that's easy to do. Now, how can I stop that from happening? Use a URL that maps to a PHP script. Have the PHP script check that they are logged in. If not, redirect to login. If they are logged in, then flush the flash object to their browser with appropriate headers. Rob: I have all of that logic in place now. My question was specifically how to stop a remote viewer from viewing the video once the url is known. I think Daniel answered it by disabling hot-linking. I just need to test it. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to secure Flash Video?
On Jan 4, 2008 12:58 PM, tedd [EMAIL PROTECTED] wrote: Hi gang: Here's the problem. I have a client who has Flash Videos and wishes to rent these Videos out for a certain time period. (No, it's not porn -- shame on you). I stopped reading at this point, due to lack of interest. Then I started again. However, once the user is provided with a url where the Flash Video resides, then the user can view the video remotely by just creating a page that references that url -- that's easy to do. Now, how can I stop that from happening? You could do link expirations with an auto-generated URL to mask the actual location, or could even create a dynamic symlink or copy on the server itself. Have it expire and regenerate a new link every 15 minutes. To stop people from remotely-linking the video, disable hotlinking of that file (or type) in Apache. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] DOMDocument-getElementById() isn't working
Here is the input string I'm using: div id=custom table width=100% cellspacing=0 cellpadding=10 tbody tr valign=top td id=frame1 style=width:30%;height:80% div id=display div id=toolBYOPPageMetaData3 {display ref=BYOPPageMetaData id=3} /div /div /td td id=frame2 style=width:70%;height:80% div id=display div id=toolResourceList0 {display ref=ResourceList id=0} /div /div /td /tr /tbody /table /div And here is the PHP stub I'm using: $oDOMDocument = new DOMDocument; $oDOMDocument-preserveWhiteSpace = false; $oDOMDocument-formatOutput = true; $oDOMDocument-validateOnParse = true; if( $oDOMDocument-loadHTML( $cleanedFile )) { $aLayoutNodes = $oDOMDocument-getElementsByTagName(div); if( 0 count( $aLayoutNodes )) { echo 'Found [' . count( $aLayoutNodes ) . '] nodes.' . \n; foreach( $aLayoutNodes as $oLayoutNode ) { $sLayoutId = $oLayoutNode-getAttribute( 'id' ); echo 'Current Id: [' . $sLayoutId . ']' . \n; } } $oCustomNode = $oDOMDocument-getElementById( custom ); echo 'Tag: ' . $oCustomNode-nodeValue . \n; } Getting the elements by tag name, while iterating through the list I see that one of the nodes has an id of 'custom'. However, when I try to get the element directly using getElementById(), it doesn't return the node properly. Am I doing something wrong? Also, as an aside, one thing that I found odd is that count( $aLayoutNodes ) shows as 1 even though more are found. Huh? thnx, Christoph
Re: [PHP] function I created doesn't work
afan pasalic wrote: hi I have function function get_content($client_id, $form_id, $index1) { $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); return $result['content']; } else { get_content(0, 0, $index1); // get default value } } When I call it $CONTENT = get_content(12, 104, 'merchant'); echo $CONTENT; // empty, nothing But if I use global in the function function get_content($client_id, $form_id, $index1) { global $CONTENT; $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); $CONTENT = $result['content']; } else { get_content(0, 0, $index1); return get_content(0, 0, $index1); you need to return the results of the second call. When you hit the second call, you are not returning the results. } } get_content(12, 104, 'merchant'); echo $CONTENT;# Shows correct. What's wrong with first solution? Thanks for any help. -afan -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function I created doesn't work
On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote: I think you didn't understand my question: I know why the function work in 2nd example. My question was why I'm not getting the result in 1st example? What am I doing wrong. And, as far as I know, I think it doesn't have anything with GLOBALS (register_globals are anyway turned off). Also, keep in mind that, in the else{} clause of the first function, you're not using return; to send back the information. In my opinion, you shouldn't call a function from within its own definition because it can cause a loop if the conditions are met and the else{} clause is reached over and over again. If there is a situation where get_content(0, 0, $index1); doesn't return any rows, the function will loop eternally (that is, until PHP gets dizzy and gives up). -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function I created doesn't work
Daniel Brown wrote: On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote: I think you didn't understand my question: I know why the function work in 2nd example. My question was why I'm not getting the result in 1st example? What am I doing wrong. And, as far as I know, I think it doesn't have anything with GLOBALS (register_globals are anyway turned off). Also, keep in mind that, in the else{} clause of the first function, you're not using return; to send back the information. In my opinion, you shouldn't call a function from within its own definition because it can cause a loop if the conditions are met and the else{} clause is reached over and over again. If there is a situation where get_content(0, 0, $index1); doesn't return any rows, the function will loop eternally (that is, until PHP gets dizzy and gives up). that's recursive function and it can call itself (though, you're right, if you are not careful you can finish in loop :)). and I think I don't need return in else statement because the result to be send back is in if statement. -afan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP Brain Teasers
On Jul 20, 2007 1:09 PM, Daniel Brown [EMAIL PROTECTED] wrote: This isn't necessarily a brain-teaser, but it's still pretty cool. Dice (the employment site) has a new advertisement out there that says the following: What's missing from your job? ?php format = 'The %2s contains %1d orders'; printf(format, num, location); ? I thought it was a pretty simple form of genius, so to speak. They're bck! This was something that came to mind when discussing loop detection in language processing. ? function wheel($test) { if($test == 1) { return 1; } else { $insanity = Same result.; wheel(0); } } wheel(0); ? -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: How to secure Flash Video?
tedd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi gang: Here's the problem. I have a client who has Flash Videos and wishes to rent these Videos out for a certain time period. (No, it's not porn -- shame on you). I have written the code and have NO problems with registering the user, having the user pay, and managing user's time to allow viewing the video. That's all been solved. However, once the user is provided with a url where the Flash Video resides, then the user can view the video remotely by just creating a page that references that url -- that's easy to do. Now, how can I stop that from happening? I have some ideas, but would like to hear what greater minds have to say. :-) Thanks in advance for all replies. tedd Tedd, I think your biggest problem is going to be that most browsers cache the things they run across, this would include embedded flash videos, although it may take a little work (http://www.walkernews.net/2007/06/03/where-is-firefox-internet-files-cache-folder/) the users could grab the file form their cache. Second even if you use PHP to map to a file eg. somephpfile.PHP?file=dl29coj2jodod which would respond by serving a specific file, all you have to do is use Firefox's HTTP Live Headers extension which will see the response come back with the actual filename since you have to connect to it eventually. You can fix the caching problem by following one of these suggestions http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14743 And as far as the evading the live headers finding the actual file name and just directly downloading it I'm not really sure how you would stop that. You could have a PHP file open the .swf and read all of it's contents then write out the headers and all the data, that way the user would really only be talking to the PHP file. Oh, and there's one more big problem. What's to stop people from just taking the url (mapped or not) once logged in and just going to that directly and doing a save as? Really there's a ton of interesting ways a user could grab the flash movies, but maybe rather than just having a .flv player and .flv files which can be stolen off your site you might want to build authentication into the flash movie itself. You could do something like serve the customer a unique cookie every time they request to watch a movie, then serve them the movie and have it check for the cookie. Although even with all that in place you can still just get a flash decompiler and decompile the protected .swf player/video and grab the .flv content out of it. Jesh, this is really a lot harder than I thought. Oh well, guess there's never absolute security. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to secure Flash Video?
At 1:54 PM -0500 1/4/08, Robert Cummings wrote: On Fri, 2008-01-04 at 13:29 -0500, tedd wrote: Rob: I have all of that logic in place now. Then what is the problem? or do you mean you don't ant the same user to view the item while logged in at some point in the future? If so then use a GET parameter (MD5 or SHA1 should suffice) that maps to a DB entry that indicates expiration time. Cheers, Rob. Rob: I'm sorry, I must not explaining it well. I have all the code in place to manage viewers. What I'm asking is how to stop someone who isn't authorized to view a video after they know the url. For example, let's say a person pays and has access to the video for some period of time. Later his time runs out and if he returns to the site and tries to see the video again, he can't because he has to pay again. No problem, I have all that worked out. However, let's say the user pays, views the video, makes a note of the url, and his time runs out. What's to stop him from viewing the video again by just entering the url? That's what I'm asking -- I think Daniel's suggestion to prohibit hot-linking may work. I just need to test. Also, Daniel has provided me with some other code that is going to take me a while to test. Thanks for your time. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function I created doesn't work
afan pasalic wrote: Daniel Brown wrote: On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote: I think you didn't understand my question: I know why the function work in 2nd example. My question was why I'm not getting the result in 1st example? What am I doing wrong. And, as far as I know, I think it doesn't have anything with GLOBALS (register_globals are anyway turned off). Also, keep in mind that, in the else{} clause of the first function, you're not using return; to send back the information. In my opinion, you shouldn't call a function from within its own definition because it can cause a loop if the conditions are met and the else{} clause is reached over and over again. If there is a situation where get_content(0, 0, $index1); doesn't return any rows, the function will loop eternally (that is, until PHP gets dizzy and gives up). that's recursive function and it can call itself (though, you're right, if you are not careful you can finish in loop :)). and I think I don't need return in else statement because the result to be send back is in if statement. -afan Trust me, you have to return in the else part, otherwise it isn't going to work! -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function I created doesn't work
On Jan 4, 2008 12:28 PM, afan pasalic [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Jan 4, 2008 12:06 PM, afan pasalic [EMAIL PROTECTED] wrote: hi I have function function get_content($client_id, $form_id, $index1) { $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); return $result['content']; } else { get_content(0, 0, $index1); // get default value } } When I call it $CONTENT = get_content(12, 104, 'merchant'); echo $CONTENT; // empty, nothing But if I use global in the function function get_content($client_id, $form_id, $index1) { global $CONTENT; $query = mysql_query( SELECT content FROM infos WHERE client_id=.$client_id. AND form_id=.$form_id. AND index1='.$index1.'); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); $CONTENT = $result['content']; } else { get_content(0, 0, $index1); } } get_content(12, 104, 'merchant'); echo $CONTENT; # Shows correct. What's wrong with first solution? Thanks for any help. Functions only use variables within their own scope, unless explicitly told to consider a variable as a global (or if the variable is a SUPERGLOBAL). not quite sure I understand?!? :( The fundamentals of PHP (and general programming): working with globals. Specifically for PHP, some required reading: http://us.php.net/global -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] sftp
I have a script that has to make a connection via sftp and read the contents of a file. In the shell, I can simply type sftp [EMAIL PROTECTED] As I use the keys on the server so don't need a password. How can I make this connection in php so I can get the data contents nightly? We installed teh ssh2 pecl package and I saw an example showing: $file=fopen(ssh2.sftp://[EMAIL PROTECTED]:22/files/myfile.txt,r); Yet php throws the error that it can't find the ssh2.sftp wrapper. First, if ssh2 installed properly is this fopen syntax correct? Second, how would I know if ssh2 is install properly? THanks!
Re: [PHP] function I created doesn't work [SOLVED]
Daniel Brown wrote: On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote: I think you didn't understand my question: I know why the function work in 2nd example. My question was why I'm not getting the result in 1st example? What am I doing wrong. And, as far as I know, I think it doesn't have anything with GLOBALS (register_globals are anyway turned off). Also, keep in mind that, in the else{} clause of the first function, you're not using return; to send back the information. In my opinion, you shouldn't call a function from within its own definition because it can cause a loop if the conditions are met and the else{} clause is reached over and over again. If there is a situation where get_content(0, 0, $index1); doesn't return any rows, the function will loop eternally (that is, until PHP gets dizzy and gives up). Actually, there were 2 misstakes: ?php function get_InfoContent($instance_id, $form_id, $InfoKey) { $query = mysql_query( SELECT instance_id, form_id, InfoContent FROM forms_single_info WHERE instance_id=.$instance_id. AND form_id=.$form_id. AND InfoKey='.$InfoKey.' ); if (mysql_num_rows($query) 0) { $result = mysql_fetch_assoc($query); $InfoContent = $result['InfoContent']; return $InfoContent; } else { $InfoContent = get_InfoContent(0, 0, $InfoKey); return $InfoContent; } } ? Yes, I ALSO need return in else statement because when I call the function 2nd time the first return will return to else and then the 2nd return will return to main code. :D And, I called the function 2nd time with get_InfoContent(0, 0, $InfoKey); and it should be $InfoContent = get_InfoContent(0, 0, $InfoKey); :D -afan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function I created doesn't work
Jim Lucas wrote: afan pasalic wrote: Daniel Brown wrote: On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote: I think you didn't understand my question: I know why the function work in 2nd example. My question was why I'm not getting the result in 1st example? What am I doing wrong. And, as far as I know, I think it doesn't have anything with GLOBALS (register_globals are anyway turned off). Also, keep in mind that, in the else{} clause of the first function, you're not using return; to send back the information. In my opinion, you shouldn't call a function from within its own definition because it can cause a loop if the conditions are met and the else{} clause is reached over and over again. If there is a situation where get_content(0, 0, $index1); doesn't return any rows, the function will loop eternally (that is, until PHP gets dizzy and gives up). that's recursive function and it can call itself (though, you're right, if you are not careful you can finish in loop :)). and I think I don't need return in else statement because the result to be send back is in if statement. -afan Trust me, you have to return in the else part, otherwise it isn't going to work! yup. you're right. didn't understand WHY I needed it there. now I got it. :D thanks jim. -afan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to secure Flash Video?
On Fri, 2008-01-04 at 14:43 -0500, tedd wrote: At 1:54 PM -0500 1/4/08, Robert Cummings wrote: On Fri, 2008-01-04 at 13:29 -0500, tedd wrote: Rob: I have all of that logic in place now. Then what is the problem? or do you mean you don't ant the same user to view the item while logged in at some point in the future? If so then use a GET parameter (MD5 or SHA1 should suffice) that maps to a DB entry that indicates expiration time. Cheers, Rob. Rob: I'm sorry, I must not explaining it well. I have all the code in place to manage viewers. What I'm asking is how to stop someone who isn't authorized to view a video after they know the url. For example, let's say a person pays and has access to the video for some period of time. Later his time runs out and if he returns to the site and tries to see the video again, he can't because he has to pay again. No problem, I have all that worked out. However, let's say the user pays, views the video, makes a note of the url, and his time runs out. What's to stop him from viewing the video again by just entering the url? It's simple, the URL should NOT directly point to the flash. It should point to a PHP wrapper script. The wrapper script then allows you to do any kind of checking necessary to restrict viewing of the video. This can include: - checking that the user is logged in - checking that the user paid during current session - checking that the user has email address [EMAIL PROTECTED] - etc If the check allows viewing of the flash, then read the content of the flash object in PHP and flush to browser along with appropriate flash content headers. Cheers, Rob. -- ... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] image* Functions' Memory Usage
Casey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Jan 4, 2008, at 9:54 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Jan 4, 2008 12:46 PM, Casey [EMAIL PROTECTED] wrote: Greetings, list. I have a web application that generates PNG images that are thousands of pixels high by thousands of pixels wide (using imagepng, etc.). The problem is this takes way too much memory, and the rest of the site becomes too slow. I'm working on something to cache the images, but some suggestions in the meantime would be great. Maybe ImageMagick is faster? Flash?Any suggestions? Thank you very much. It depends on what you are trying to do with the images. Are you randomly-generating data to create patterns, or are you (*gasp*) converting small images into [very pixelized] larger ones? -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. I'm laying many different other (smaller) images over each other at various positions. (I know HTML/CSS and SVG could do this with less trouble, but that would give away my secrets by just viewing the source.) -Casey Have you considered obscuficated javascript? It's not very hard to have JS add a few images and rotate/move them where ever you want. Plus there's not too many people that could make much sense from clear plain JS anyway. Flash is also a good bet. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to secure Flash Video?
On Jan 4, 2008 3:12 PM, Robert Cummings [EMAIL PROTECTED] wrote: It's simple, the URL should NOT directly point to the flash. It should point to a PHP wrapper script. The wrapper script then allows you to do any kind of checking necessary to restrict viewing of the video. This can include: [snip] - checking that the user has email address [EMAIL PROTECTED] Remember, Rob, he said it's not porn. So it doesn't have to be your address that's allowed in at any given time. ;-P -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to secure Flash Video?
On Fri, 2008-01-04 at 15:27 -0500, Daniel Brown wrote: On Jan 4, 2008 3:12 PM, Robert Cummings [EMAIL PROTECTED] wrote: It's simple, the URL should NOT directly point to the flash. It should point to a PHP wrapper script. The wrapper script then allows you to do any kind of checking necessary to restrict viewing of the video. This can include: [snip] - checking that the user has email address [EMAIL PROTECTED] Remember, Rob, he said it's not porn. So it doesn't have to be your address that's allowed in at any given time. ;-P I was hoping he was lying 8) Cheers, Rob. -- ... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: How to secure Flash Video?
On Fri, 4 Jan 2008 13:29:04 -0500, tedd wrote: I have all of that logic in place now. My question was specifically how to stop a remote viewer from viewing the video once the url is known. You can't. Just last night I viewd a video (flv) out of a video hosting site with Opera and with its cache set Very High -- just for this exercise. While the video was displaying in the Opera window, I fired up a linux konsole and navigated down into the .opera/ directory to the cache sub-directory. Seeing the most recent entries and picking off the largest of them, I rightly guessed that was the video and I copied it -- with rename -- to another directory. Rule 1 on the web: If you send it to them to see, read, or hear, they have it. OBTW, if you're curious: The 'loaded' URL is: http://dailymotion.alice.it/video/x3wrzo_fabrication-dune-lampe-triode_tech The simpler, flv-only URL is: http://www.dailymotion.com/swf/x3wrzo A pretty kewl video for some of us.. Jonesy -- Marvin L Jones| jonz | W3DHJ | linux 38.24N 104.55W | @ config.com | Jonesy | OS/2 *** Killfiling google posts: http://jonz.net/ng.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] 7zip extension available
Hi, i´ve searched a little bit, but found no page talking about an 7zip (.7z) extension for php. Is there an way to extract data from 7zip archives from within an php script? Thank you for your help! -- View this message in context: http://www.nabble.com/7zip-extension-available-tp14624641p14624641.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] 7zip extension available
On Jan 4, 2008 3:46 PM, ecc [EMAIL PROTECTED] wrote: Hi, i´ve searched a little bit, but found no page talking about an 7zip (.7z) extension for php. Is there an way to extract data from 7zip archives from within an php script? You could try exec() or one of the family to do the job: ? exec('p7zip -f file.7z',$ret,$err); // The array $ret contains the stdout response while $err contains any error messages ? I haven't really used 7-ZIP, but the Unix/Linux port p7zip is probably going to be your best bet from the *nix CLI. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] 7zip extension available
Did a quick search and didn't see anything PHP specific, but there is an SDK and someone has done something for Python that might be adaptable: SDK: http://www.7-zip.org/sdk.html PyLZMA: http://www.joachim-bauch.de/projects/python/pylzma/ LZMA might be the magic search word, since it's the algorithm 7-Zip uses. No time to do an exhaustive search right now, but thought I'd send that much along. -TG - Original Message - From: ecc [EMAIL PROTECTED] To: php-general@lists.php.net Date: Fri, 4 Jan 2008 12:46:45 -0800 (PST) Subject: [PHP] 7zip extension available Hi, i´ve searched a little bit, but found no page talking about an 7zip (.7z) extension for php. Is there an way to extract data from 7zip archives from within an php script? Thank you for your help! -- View this message in context: http://www.nabble.com/7zip-extension-available-tp14624641p14624641.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem sending emamil across one postfix server
But how can i make it? thanks, a lot of thanks - Original Message - From: Jim Lucas [EMAIL PROTECTED] To: Miren Urkixo [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Saturday, January 05, 2008 12:08 AM Subject: Re: [PHP] problem sending emamil across one postfix server Miren Urkixo wrote: Hello i want from one php page to send emails but i have one great problem. The server is one postfix into one suse and the php pages are into the same server with apache 2 and php 5. it doesn't sent the messages and into the email server logs appears this: Jan 3 16:28:55 server postfix/pickup[18946]: 7F6C978557: uid=30 from=wwwrun Jan 3 16:28:55 server postfix/cleanup[18976]: 7F6C978557: message-id=[EMAIL PROTECTED] Jan 3 16:28:55 server postfix/qmgr[18947]: 7F6C978557: from=[EMAIL PROTECTED], size=722, nrcpt=1 (queue active) Jan 3 16:28:55 server postfix/qmgr[18947]: 7F6C978557: to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable) My emamils from the php page i send using this: /* recipients */ $to = [EMAIL PROTECTED]; //$nombre . . $email. ; /* subject */ $subject = Email desde la pagina web; /* message */ $message = html head /head body pHas recibido este correo desde el formulario de la pagina web./p p Nombre: $nombre br Email: $email br Asunto del mensaje: $asunto /p /body /html ; /* To send HTML mail, you can set the Content-type header. */ $headers = MIME-Version: 1.0\r\n; $headers .= Content-type: text/html; charset=iso-8859-1\r\n; /* additional headers */ $headers .= From: . $nombre . . $email. ; /* and now mail it */ mail($to, $subject, $message, $headers); ? but it doesn't send Can you help me? thanks You probably need to set a custom From header entry -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] problem sending emamil across one postfix server
Hello i want from one php page to send emails but i have one great problem. The server is one postfix into one suse and the php pages are into the same server with apache 2 and php 5. it doesn't sent the messages and into the email server logs appears this: Jan 3 16:28:55 server postfix/pickup[18946]: 7F6C978557: uid=30 from=wwwrun Jan 3 16:28:55 server postfix/cleanup[18976]: 7F6C978557: message-id=[EMAIL PROTECTED] Jan 3 16:28:55 server postfix/qmgr[18947]: 7F6C978557: from=[EMAIL PROTECTED], size=722, nrcpt=1 (queue active) Jan 3 16:28:55 server postfix/qmgr[18947]: 7F6C978557: to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable) My emamils from the php page i send using this: /* recipients */ $to = [EMAIL PROTECTED]; //$nombre . . $email. ; /* subject */ $subject = Email desde la pagina web; /* message */ $message = html head /head body pHas recibido este correo desde el formulario de la pagina web./p p Nombre: $nombre br Email: $email br Asunto del mensaje: $asunto /p /body /html ; /* To send HTML mail, you can set the Content-type header. */ $headers = MIME-Version: 1.0\r\n; $headers .= Content-type: text/html; charset=iso-8859-1\r\n; /* additional headers */ $headers .= From: . $nombre . . $email. ; /* and now mail it */ mail($to, $subject, $message, $headers); ? but it doesn't send Can you help me? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem sending emamil across one postfix server
Miren Urkixo wrote: Hello i want from one php page to send emails but i have one great problem. The server is one postfix into one suse and the php pages are into the same server with apache 2 and php 5. it doesn't sent the messages and into the email server logs appears this: Jan 3 16:28:55 server postfix/pickup[18946]: 7F6C978557: uid=30 from=wwwrun Jan 3 16:28:55 server postfix/cleanup[18976]: 7F6C978557: message-id=[EMAIL PROTECTED] Jan 3 16:28:55 server postfix/qmgr[18947]: 7F6C978557: from=[EMAIL PROTECTED], size=722, nrcpt=1 (queue active) Jan 3 16:28:55 server postfix/qmgr[18947]: 7F6C978557: to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable) My emamils from the php page i send using this: /* recipients */ $to = [EMAIL PROTECTED]; //$nombre . . $email. ; /* subject */ $subject = Email desde la pagina web; /* message */ $message = html head /head body pHas recibido este correo desde el formulario de la pagina web./p p Nombre: $nombre br Email: $email br Asunto del mensaje: $asunto /p /body /html ; /* To send HTML mail, you can set the Content-type header. */ $headers = MIME-Version: 1.0\r\n; $headers .= Content-type: text/html; charset=iso-8859-1\r\n; /* additional headers */ $headers .= From: . $nombre . . $email. ; /* and now mail it */ mail($to, $subject, $message, $headers); ? but it doesn't send Can you help me? thanks You probably need to set a custom From header entry -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 6 (100%) 8880 (100%) EVERYONE 2(0.33%) 1100(0.12%) Daniel Brown [EMAIL PROTECTED] 2(0.33%) 4204(0.47%) Miren Urkixo [EMAIL PROTECTED] 1(0.17%) 1532(0.17%) TG [EMAIL PROTECTED] 1(0.17%) 2044(0.23%) Jim Lucas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 6 (100%) 8880 (100%) EVERYONE 2(0.33%) 1100(0.12%) Daniel Brown [EMAIL PROTECTED] 2(0.33%) 4204(0.47%) Miren Urkixo [EMAIL PROTECTED] 1(0.17%) 1532(0.17%) TG [EMAIL PROTECTED] 1(0.17%) 2044(0.23%) Jim Lucas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 6 (100%) 8880 (100%) EVERYONE 2(0.33%) 1100(0.12%) Daniel Brown [EMAIL PROTECTED] 2(0.33%) 4204(0.47%) Miren Urkixo [EMAIL PROTECTED] 1(0.17%) 1532(0.17%) TG [EMAIL PROTECTED] 1(0.17%) 2044(0.23%) Jim Lucas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 7 (100%) 9506 (100%) EVERYONE 2(0.29%) 1100(0.12%) Daniel Brown [EMAIL PROTECTED] 2(0.29%) 4204(0.44%) Miren Urkixo [EMAIL PROTECTED] 1(0.14%) 1532(0.16%) TG [EMAIL PROTECTED] 1(0.14%) 2044(0.22%) Jim Lucas [EMAIL PROTECTED] 1(0.14%) 626(0.07%) PostTrack [Dan Brown] [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
On Jan 4, 2008 6:22 PM, PostTrack [Dan Brown] [EMAIL PROTECTED] wrote: Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 6 (100%) 8880 (100%) EVERYONE 2(0.33%) 1100(0.12%) Daniel Brown [EMAIL PROTECTED] 2(0.33%) 4204(0.47%) Miren Urkixo [EMAIL PROTECTED] 1(0.17%) 1532(0.17%) TG [EMAIL PROTECTED] 1(0.17%) 2044(0.23%) Jim Lucas [EMAIL PROTECTED] Ignore that. It's a new script that is going to start running as of 4:00p EST on 11 January, 2008. It will summarize the number of messages to the list, then tell who posted how many, what size, et cetera. There may be one or two more messages that will wind up getting sent because I accidentally manually ran the live script while testing it for the cron. Once it settles down, it will run every Friday at 4:00p to summarize the week. For bragging rights, to keep track of how much time you've spent doing community service or whatever else. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 5 (100%) 6349 (100%) EVERYONE 2(0.4%) 1100(0.17%) Daniel Brown [EMAIL PROTECTED] 1(0.2%) 1532(0.24%) TG [EMAIL PROTECTED] 1(0.2%) 1673(0.26%) Miren Urkixo [EMAIL PROTECTED] 1(0.2%) 2044(0.32%) Jim Lucas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 5 (100%) 6349 (100%) EVERYONE 2(0.4%) 1100(0.17%) Daniel Brown [EMAIL PROTECTED] 1(0.2%) 1532(0.24%) TG [EMAIL PROTECTED] 1(0.2%) 1673(0.26%) Miren Urkixo [EMAIL PROTECTED] 1(0.2%) 2044(0.32%) Jim Lucas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 5 (100%) 6349 (100%) EVERYONE 2(0.4%) 1100(0.17%) Daniel Brown [EMAIL PROTECTED] 1(0.2%) 1532(0.24%) TG [EMAIL PROTECTED] 1(0.2%) 1673(0.26%) Miren Urkixo [EMAIL PROTECTED] 1(0.2%) 2044(0.32%) Jim Lucas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 3 (100%) 2632 (100%) EVERYONE 2(0.67%) 1100(0.42%) Daniel Brown [EMAIL PROTECTED] 1(0.33%) 1532(0.58%) TG [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net
Posting Summary for PHP-General List Week Ending: Friday, 4 January, 2008 Messages| Bytes | Sender +-+-- 4 (100%) 4305 (100%) EVERYONE 2(0.5%) 1100(0.26%) Daniel Brown [EMAIL PROTECTED] 1(0.25%) 1532(0.36%) TG [EMAIL PROTECTED] 1(0.25%) 1673(0.39%) Miren Urkixo [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php