[PHP] convert a string to integer

2008-03-28 Thread Alain Roger
Hi, i know this topic is obvious but i have a strange behavior and i'm getting crazy. my stored procedure returns me a string. string can be an email or a message error = '-1', '-2', '-3' when i check if the string contains only digit, i use ctype_digit(mystring) but any way it returns me

Re: [PHP] convert a string to integer

2008-03-28 Thread Casey
On Fri, Mar 28, 2008 at 12:48 AM, Alain Roger [EMAIL PROTECTED] wrote: Hi, i know this topic is obvious but i have a strange behavior and i'm getting crazy. my stored procedure returns me a string. string can be an email or a message error = '-1', '-2', '-3' when i check if the

Re: [PHP] convert a string to integer

2008-03-28 Thread Simon Welsh
On 28/03/2008, at 8:48, Alain Roger wrote: Hi, i know this topic is obvious but i have a strange behavior and i'm getting crazy. my stored procedure returns me a string. string can be an email or a message error = '-1', '-2', '-3' when i check if the string contains only digit, i use

Re: [PHP] convert a string to integer

2008-03-28 Thread Alain Roger
thx a lot... i completly skipped this one...i don't know why :-( now it works On Fri, Mar 28, 2008 at 8:55 AM, Simon Welsh [EMAIL PROTECTED] wrote: On 28/03/2008, at 8:48, Alain Roger wrote: Hi, i know this topic is obvious but i have a strange behavior and i'm getting crazy. my

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Zoltán Németh
2008. 03. 27, csütörtök keltezéssel 11.13-kor Jason Pruim ezt írta: On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: Al wrote: Good point. I usually do use the single quotes, just happened to key doubles for the email. Actually, it's good idea for all variable assignments.

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Zoltán Németh
2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta: Jason Pruim wrote: On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: Al wrote: Good point. I usually do use the single quotes, just happened to key doubles for the email. Actually, it's good idea for all

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Zoltán Németh
2008. 03. 27, csütörtök keltezéssel 09.29-kor Philip Thompson ezt írta: On Mar 26, 2008, at 6:28 PM, Al wrote: Depends on the server and it's load. I've strung together some rather large html strings and they aways take far less time than the transient time on the internet. I used to

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Zoltán Németh
2008. 03. 28, péntek keltezéssel 09.19-kor Zoltán Németh ezt írta: 2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta: Jason Pruim wrote: On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: Al wrote: Good point. I usually do use the single quotes, just happened

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Peter Ford
Eric Butera wrote: On Thu, Mar 27, 2008 at 12:41 PM, Peter Ford [EMAIL PROTECTED] wrote: Jason Pruim wrote: On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: Al wrote: Good point. I usually do use the single quotes, just happened to key doubles for the email. Actually, it's

[PHP] putting variables in a variable

2008-03-28 Thread Hulf
Hi, I am making and HTML email. I have 3 images to put in. Currently I have $body .= table tr tdimg src=\image1.jpg\/td /tr tr td/td /tr /table ; ideally I would like to have $myimage1 = image1.jpg; $myimage2 = image2.jpg; $myimage3 = image3.jpg; and put them into the HTML

[PHP] How to log APC Cache errors?

2008-03-28 Thread thomas Armstrong
Hi. I'm using APC 3.0.17 with PHP 5.2.5 on Linux. I'm suffering some white page of death APC errors, and I'm trying to investigate the reasons. But: 1) I don't find any APC support forum. 2) I don't find any APC error log. I'm browsing Apache error log (with PHP 'E_ALL' activate) and don't see

[PHP] Re: putting variables in a variable

2008-03-28 Thread Peter Ford
Hulf wrote: Hi, I am making and HTML email. I have 3 images to put in. Currently I have $body .= table tr tdimg src=\image1.jpg\/td /tr tr td/td /tr /table ; ideally I would like to have $myimage1 = image1.jpg; $myimage2 = image2.jpg; $myimage3 = image3.jpg; and put them

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Robert Cummings
On Fri, 2008-03-28 at 09:14 +0100, Zoltán Németh wrote: 2008. 03. 27, csütörtök keltezéssel 09.29-kor Philip Thompson ezt írta: On Mar 26, 2008, at 6:28 PM, Al wrote: Depends on the server and it's load. I've strung together some rather large html strings and they aways take far less

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Robert Cummings
On Fri, 2008-03-28 at 09:31 +0100, Zoltán Németh wrote: 2008. 03. 28, péntek keltezéssel 09.19-kor Zoltán Németh ezt írta: 2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta: Jason Pruim wrote: On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: Al wrote:

[PHP] Use of callback on a stream

2008-03-28 Thread Olivier Dupuis
Hello, I am trying to make a daemon that launches shell commands via proc_open and gets the stdout of the command via a pipe. The thing is that I would like to get this stdout via a callback, instead of monitoring the pipe regularly. I tried the following code (this is a simplified version of

[PHP] Use of callback on a stream

2008-03-28 Thread Olivier Dupuis
Hello, I am trying to make a daemon that launches shell commands via proc_open and gets the stdout of the command via a pipe. The thing is that I would like to get this stdout via a callback, instead of monitoring the pipe regularly. I tried the following code (this is a simplified version of

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Zoltán Németh
2008. 03. 28, péntek keltezéssel 09.00-kor Robert Cummings ezt írta: On Fri, 2008-03-28 at 09:31 +0100, Zoltán Németh wrote: 2008. 03. 28, péntek keltezéssel 09.19-kor Zoltán Németh ezt írta: 2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta: Jason Pruim wrote:

[PHP] array_filter function

2008-03-28 Thread Bagus Nugroho
Hello, If I have an array like this $dataArray = array(0=array('type'='da'), 1=array('type'='wb'), 2=array('type'='da'); How I can filtering to get only 'da' only, like this $newDataArray = array(0=array('type'='da'),2=array('type'='da')) Thanks in advance bnug

Re: [PHP] array_filter function

2008-03-28 Thread Richard Heyes
If I have an array like this $dataArray = array(0=array('type'='da'), 1=array('type'='wb'), 2=array('type'='da'); How I can filtering to get only 'da' only, like this $newDataArray = array(0=array('type'='da'),2=array('type'='da')) Off the top of my head: ?php foreach ($newDataArray

Re: [PHP] munge / obfuscate ?

2008-03-28 Thread Daniel Brown
On Thu, Mar 27, 2008 at 9:27 PM, Robert Cummings [EMAIL PROTECTED] wrote: ?php $sekret = 'the brown cow stomped on the wittle bug'; $id = isset( $_GET['id'] ) ? (int)$_GET['id'] : 0; $key = isset( $_GET['key'] ) ? (string)$_GET['key'] : ''; if( $key == sha1(

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Robert Cummings
On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote: yeah maybe. you're right, the bytecode is the same. but somewhere I heard that the parsing is the same too - because escaped characters can be in any string, though I'm not that sure about this anymore, as my link proved something else

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Zoltán Németh
2008. 03. 28, péntek keltezéssel 10.24-kor Robert Cummings ezt írta: On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote: yeah maybe. you're right, the bytecode is the same. but somewhere I heard that the parsing is the same too - because escaped characters can be in any string,

Re: [PHP] putting variables in a variable

2008-03-28 Thread Daniel Brown
On Mon, Mar 28, 2011 at 7:06 AM, Hulf [EMAIL PROTECTED] wrote: Hi, I am making and HTML email. I have 3 images to put in. Currently I have $body .= table tr tdimg src=\image1.jpg\/td /tr tr td/td /tr /table ; ideally I would like to have $myimage1 =

Re: [PHP] Re: Quick email address check

2008-03-28 Thread Robin Vickery
On 28/03/2008, Bastien Koert [EMAIL PROTECTED] wrote: On Thu, Mar 27, 2008 at 10:23 PM, Bill Guion [EMAIL PROTECTED] wrote: At 1:28 PM -0400 3/26/08, Al wrote: I'm scripting a simple registry where the user can input their name and email address. I'd like to do a quick

Re: [PHP] putting variables in a variable

2008-03-28 Thread Wolf
Hulf [EMAIL PROTECTED] wrote: Hi, I am making and HTML email. I have 3 images to put in. Currently I have $body .= table tr tdimg src=\image1.jpg\/td /tr tr td/td /tr /table ; ideally I would like to have $myimage1 = image1.jpg; $myimage2 =

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Robert Cummings
On Fri, 2008-03-28 at 15:30 +0100, Zoltán Németh wrote: 2008. 03. 28, péntek keltezéssel 10.24-kor Robert Cummings ezt írta: On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote: yeah maybe. you're right, the bytecode is the same. but somewhere I heard that the parsing is the same

RE: [PHP] munge / obfuscate ?

2008-03-28 Thread Robert Cummings
On Fri, 2008-03-28 at 10:37 -0400, Bastien Koert wrote: [snip] Save yourself the database trip and just stick the id AND the hash in the URL and validate upon request. Cheers, Rob. [/snip] The only reason I suggest a database look up is that in my application there is further

Re: [PHP] array_filter function

2008-03-28 Thread Robin Vickery
On 28/03/2008, Bagus Nugroho [EMAIL PROTECTED] wrote: Hello, If I have an array like this $dataArray = array(0=array('type'='da'), 1=array('type'='wb'), 2=array('type'='da'); How I can filtering to get only 'da' only, like this $newDataArray =

[PHP] Re: character encoding

2008-03-28 Thread Bill
Hi Manuel In the body that column shows Brébeuf in Windows Outlook. You may want to try this MIME message composing and sending class that http://www.phpclasses.org/mimemessage Looks great Manuel.but my server is under dyndns and the DN isn't qualified so no mail functions available. I

[PHP] Deleting file in /tmp directory

2008-03-28 Thread Mário Gamito
Hi, I have this PHP script (simplificated here), called delete_tmp.php that basically calls external commands: ?php $session_file = '/tmp/sess_89765' system(''rm -f' . ' ' . $session_file); ? delete_tmp.php file is owned by gamito.users /tmp/sess_89765 file has permissions -rw-- and is

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread tedd
At 9:14 AM +0100 3/28/08, Zoltán Németh wrote: This way for literal strings, the PHP parser doesn't have to evaluate this string to determine if anything needs to be translated (e.g., $report .= I like to $foo). A minimal speedup, but nonetheless... that above statement is simply not

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread tedd
At 10:59 AM -0400 3/28/08, Robert Cummings wrote: Nope, when processing a single quoted string there should be 4 available parse branches: EOF '(end of string) \ EOF \ ' anything else anything else Whereas with a double quoted string you have

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Sancar Saran
My method was. Store into global thingy. Then echo very end of the page. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: putting variables in a variable

2008-03-28 Thread M. Sokolewicz
Hulf wrote: Hi, I am making and HTML email. I have 3 images to put in. Currently I have $body .= table tr tdimg src=\image1.jpg\/td /tr tr td/td /tr /table ; ideally I would like to have $myimage1 = image1.jpg; $myimage2 = image2.jpg; $myimage3 = image3.jpg; and put them

Re: [PHP] munge / obfuscate ?

2008-03-28 Thread tedd
At 9:27 PM -0400 3/27/08, Robert Cummings wrote: $sekret = 'the brown cow stomped on the wittle bug'; :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Deleting file in /tmp directory

2008-03-28 Thread Colin Guthrie
Mário Gamito wrote: Hi, I have this PHP script (simplificated here), called delete_tmp.php that basically calls external commands: ?php $session_file = '/tmp/sess_89765' system(''rm -f' . ' ' . $session_file); ? delete_tmp.php file is owned by gamito.users /tmp/sess_89765

Re: [PHP] Deleting file in /tmp directory

2008-03-28 Thread Daniel Brown
On Fri, Mar 28, 2008 at 11:24 AM, Mário Gamito [EMAIL PROTECTED] wrote: Hi, I have this PHP script (simplificated here), called delete_tmp.php that basically calls external commands: ?php $session_file = '/tmp/sess_89765' system(''rm -f' . ' ' . $session_file); ? That's

[PHP] Re: putting variables in a variable

2008-03-28 Thread tedd
At 4:47 PM +0100 3/28/08, M. Sokolewicz wrote: Hulf wrote: Hi, I am making and HTML email. I have 3 images to put in. Currently I have $body .= table tr tdimg src=\image1.jpg\/td /tr tr td/td /tr /table ; ideally I would like to have $myimage1 = image1.jpg; $myimage2 =

RE: [PHP] array_filter function

2008-03-28 Thread Bagus Nugroho
Thanks You, rgds, bnug From: Robin Vickery [mailto:[EMAIL PROTECTED] Sent: Jumat 28-Mar-2008 21:45 To: Bagus Nugroho Cc: php-general@lists.php.net Subject: Re: [PHP] array_filter function On 28/03/2008, Bagus Nugroho [EMAIL PROTECTED] wrote: Hello, If I

[PHP] why won't my array work?

2008-03-28 Thread Jason Pruim
Hi everyone :) Happy friday to all of you! Here's my issues, I am attempting to echo the results of mysqli query out to my script just so I can make sure it's working right, what I'm hoping to do in the long run is compare what was typed in a text box to this info... It's for verifying a

Re: [PHP] why won't my array work?

2008-03-28 Thread Eric Butera
On Fri, Mar 28, 2008 at 12:28 PM, Jason Pruim [EMAIL PROTECTED] wrote: $chpwold[] = mysqli_query($chpwpostlink, $oldpasswordquery) or die(Sorry read failed: . mysqli_error($chpwpostlink)); $chpwresult = $chpwold[0]; Why would you pump that into an array instead of just calling it result

RES: [PHP] why won't my array work?

2008-03-28 Thread Thiago Pojda
That's because your loginpassWord is in another array. try $chpwrow[0]['loginPassword'] -Mensagem original- De: Jason Pruim [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 28 de março de 2008 13:29 Para: [php] PHP General List Assunto: [PHP] why won't my array work? Hi everyone :)

Re: [PHP] why won't my array work?

2008-03-28 Thread Jason Pruim
On Mar 28, 2008, at 12:40 PM, Eric Butera wrote: On Fri, Mar 28, 2008 at 12:28 PM, Jason Pruim [EMAIL PROTECTED] wrote: $chpwold[] = mysqli_query($chpwpostlink, $oldpasswordquery) or die(Sorry read failed: . mysqli_error($chpwpostlink)); $chpwresult = $chpwold[0]; Why would you pump that

[PHP] PHP code to write excel spreadsheet with multiple workbooks

2008-03-28 Thread Mary Anderson
Hi all, I have a linux based web app which prints an html screen of results. My users really want Excel spreadsheets with the same results. There is a PEAR application which does this, but from the PEAR description it seems to be pretty buggy (65 open bugs, average days open 616 days)

Re: [PHP] why won't my array work?

2008-03-28 Thread Eric Butera
On Fri, Mar 28, 2008 at 12:58 PM, Jason Pruim [EMAIL PROTECTED] wrote: On Mar 28, 2008, at 12:40 PM, Eric Butera wrote: On Fri, Mar 28, 2008 at 12:28 PM, Jason Pruim [EMAIL PROTECTED] wrote: $chpwold[] = mysqli_query($chpwpostlink, $oldpasswordquery) or die(Sorry read failed: .

Re: [PHP] PHP code to write excel spreadsheet with multiple workbooks

2008-03-28 Thread Andrew Ballard
On Fri, Mar 28, 2008 at 1:12 PM, Mary Anderson [EMAIL PROTECTED] wrote: Hi all, I have a linux based web app which prints an html screen of results. My users really want Excel spreadsheets with the same results. There is a PEAR application which does this, but from the PEAR

Re: [PHP] why won't my array work?

2008-03-28 Thread Daniel Brown
On Fri, Mar 28, 2008 at 12:28 PM, Jason Pruim [EMAIL PROTECTED] wrote: [snip!] $oldpasswordquery = SELECT loginPassword, Record FROM current WHERE loginPassword='{$oldPassHash}' AND Record='{$Record}'; $chpwold[] = mysqli_query($chpwpostlink, $oldpasswordquery) or die(Sorry read failed: .

[PHP] Enabling cURL on my Mac

2008-03-28 Thread Kista Tucker
Hi all, Ok, I'm still a newbie (hopefully, someday I'll be past this stage), so don't get too upset and also, if you can provide some assistance, I guess you'll have to give a step by step description from a beginner's point of view. The question: How can I check to be sure cURL is enabled?

Re: [PHP] Enabling cURL on my Mac

2008-03-28 Thread Jim Lucas
Kista Tucker wrote: Hi all, Ok, I'm still a newbie (hopefully, someday I'll be past this stage), so don't get too upset and also, if you can provide some assistance, I guess you'll have to give a step by step description from a beginner's point of view. The question: How can I check to be

[PHP] convert associative array to ordinary array

2008-03-28 Thread It Maq
Hi, i have an associative array and i want to use it as an ordinary array, is that possible? what i mean is instead of $arr['fruit'] i want to call it by its position in the array $arr[3] thanks

Re: [PHP] convert associative array to ordinary array

2008-03-28 Thread Daniel Brown
On Fri, Mar 28, 2008 at 2:27 PM, It Maq [EMAIL PROTECTED] wrote: Hi, i have an associative array and i want to use it as an ordinary array, is that possible? what i mean is instead of $arr['fruit'] i want to call it by its position in the array $arr[3] Did you try? -- /Daniel

Re: [PHP] convert associative array to ordinary array

2008-03-28 Thread M. Sokolewicz
Daniel Brown wrote: On Fri, Mar 28, 2008 at 2:27 PM, It Maq [EMAIL PROTECTED] wrote: Hi, i have an associative array and i want to use it as an ordinary array, is that possible? what i mean is instead of $arr['fruit'] i want to call it by its position in the array $arr[3] Did you

Re: [PHP] convert associative array to ordinary array

2008-03-28 Thread Casey
On Fri, Mar 28, 2008 at 10:33 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Fri, Mar 28, 2008 at 2:27 PM, It Maq [EMAIL PROTECTED] wrote: Hi, i have an associative array and i want to use it as an ordinary array, is that possible? what i mean is instead of $arr['fruit'] i want

Re: [PHP] convert associative array to ordinary array

2008-03-28 Thread It Maq
thank you, it works! --- Casey [EMAIL PROTECTED] wrote: On Fri, Mar 28, 2008 at 10:33 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Fri, Mar 28, 2008 at 2:27 PM, It Maq [EMAIL PROTECTED] wrote: Hi, i have an associative array and i want to use it as an ordinary array, is

Re: [PHP] PHP code to write excel spreadsheet with multiple workbooks

2008-03-28 Thread Wolf
Mary Anderson [EMAIL PROTECTED] wrote: Hi all, I have a linux based web app which prints an html screen of results. My users really want Excel spreadsheets with the same results. There is a PEAR application which does this, but from the PEAR description it seems to be pretty

[PHP] Posting Summary for Week Ending 28 March, 2008: php-general@lists.php.net

2008-03-28 Thread PostTrack [Dan Brown]
Posting Summary for PHP-General List Week Ending: Friday, 28 March, 2008 Messages| Bytes | Sender ++-- 311 (100%) 850774 (100%) EVERYONE 18 (5.8%)

[PHP] does function extract() trim?

2008-03-28 Thread Lamp Lists
do not laugh, but I discovered today function extract(); :D before I used: foreach ($array as $key = $value) { ${$key} = trim($value); } though, trimming $value is kind of important to me and I would like to know if extract trims too? thanks. -ll

Re: [PHP] does function extract() trim?

2008-03-28 Thread Stut
On 28 Mar 2008, at 20:59, Lamp Lists wrote: do not laugh, but I discovered today function extract(); :D before I used: foreach ($array as $key = $value) { ${$key} = trim($value); } though, trimming $value is kind of important to me and I would like to know if extract trims too? No, but

Re: [PHP] does function extract() trim?

2008-03-28 Thread Lamp Lists
- Original Message From: Stut [EMAIL PROTECTED] To: Lamp Lists [EMAIL PROTECTED] Cc: php General list php-general@lists.php.net Sent: Friday, March 28, 2008 4:02:27 PM Subject: Re: [PHP] does function extract() trim? On 28 Mar 2008, at 20:59, Lamp Lists wrote: do not laugh, but I

Re: [PHP] does function extract() trim?

2008-03-28 Thread Stut
On 28 Mar 2008, at 21:14, Lamp Lists wrote: - Original Message From: Stut [EMAIL PROTECTED] To: Lamp Lists [EMAIL PROTECTED] Cc: php General list php-general@lists.php.net Sent: Friday, March 28, 2008 4:02:27 PM Subject: Re: [PHP] does function extract() trim? On 28 Mar 2008, at 20:59,

Re: [PHP] does function extract() trim?

2008-03-28 Thread Lamp Lists
- Original Message From: Stut [EMAIL PROTECTED] To: Lamp Lists [EMAIL PROTECTED] Cc: php General list php-general@lists.php.net Sent: Friday, March 28, 2008 4:22:25 PM Subject: Re: [PHP] does function extract() trim? On 28 Mar 2008, at 21:14, Lamp Lists wrote: - Original Message

Re: [PHP] loosing session in new window (IE only) [SOLVED]

2008-03-28 Thread Lamp Lists
this is happening when Security on IE (internet options) is on levels High or Block all cookies.. most likely there is a solution to fix this but I think (in my case) is not worth and it's much easier to tell client (their administrator) to trust the world a little bit more :D thanks for all

[PHP] Re: character encoding

2008-03-28 Thread Manuel Lemos
Hello, on 03/28/2008 12:08 PM Bill said the following: Hi Manuel In the body that column shows Brébeuf in Windows Outlook. You may want to try this MIME message composing and sending class that http://www.phpclasses.org/mimemessage Looks great Manuel.but my server is under dyndns and

[PHP] GD, changing an images pixel color, color matching, fuzzy picture

2008-03-28 Thread Lamonte
Okay I created a script that changes a basic smiley face into a red smiley face..but it doesn't replace all the yellow, it looks like a yellow shadow in the background: ?php $image = smiley.png; $data = getimagesize($image); $width = intval($data[0]); $height = intval($data[1]); $cloneH = 0;

Re: [PHP] GD, changing an images pixel color, color matching, fuzzy picture

2008-03-28 Thread Casey
On Mar 28, 2008, at 4:27 PM, Lamonte [EMAIL PROTECTED] wrote: Okay I created a script that changes a basic smiley face into a red smiley face..but it doesn't replace all the yellow, it looks like a yellow shadow in the background: ?php $image = smiley.png; $data = getimagesize($image);

RE: [PHP] munge / obfuscate ?

2008-03-28 Thread Jack Sasportas
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2008 10:02 PM To: Joey Cc: PHP Subject: RE: [PHP] munge / obfuscate ? Hi Joey, Please keep responses on the list so others can also benefit from the learning process. Comments

Re: [PHP] munge / obfuscate ?

2008-03-28 Thread Stut
On 29 Mar 2008, at 02:15, Jack Sasportas wrote: I understand what is happening here, however I really want something simple like: $link =http://www.whataver.com/whateverpath/;; $image = 123456; new_image = munge($image); new_link = $link . $new_image; or maybe new_link = munge($link .

Re: [PHP] GD, changing an images pixel color, color matching, fuzzy picture

2008-03-28 Thread Casey
I have an annoying habit of not using comments :) Explanations are inline. On Mar 28, 2008, at 7:10 PM, Lamonte [EMAIL PROTECTED] wrote: Casey wrote: On Mar 28, 2008, at 4:27 PM, Lamonte [EMAIL PROTECTED] wrote: Okay I created a script that changes a basic smiley face into a red smiley

Re: [PHP] munge / obfuscate ?

2008-03-28 Thread Casey
On Mar 28, 2008, at 7:15 PM, Jack Sasportas [EMAIL PROTECTED] wrote: -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2008 10:02 PM To: Joey Cc: PHP Subject: RE: [PHP] munge / obfuscate ? Hi Joey, Please keep responses on the list so

Re: [PHP] GD, changing an images pixel color, color matching, fuzzy picture

2008-03-28 Thread Casey
On Mar 28, 2008, at 7:38 PM, Lamonte [EMAIL PROTECTED] wrote: Casey wrote: I have an annoying habit of not using comments :) Explanations are inline. On Mar 28, 2008, at 7:10 PM, Lamonte [EMAIL PROTECTED] wrote: Casey wrote: On Mar 28, 2008, at 4:27 PM, Lamonte [EMAIL PROTECTED] wrote: