[PHP] Odd problem with ereg_replace and addslashes

2003-12-03 Thread Ian Truelsen
s on why this is happening, and what I can do to avoid the quote being slashed? -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org Signature key (742B740D) available at pgp.mit.edu pgp0.pgp Description: PGP signature

[PHP] Odd problem with ereg_replace and addslahes

2003-12-03 Thread Ian Truelsen
s on why this is happening, and what I can do to avoid the quote being slashed? -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org Signature key (742B740D) available at pgp.mit.edu pgp0.pgp Description: PGP signature

Re: [PHP] getting an variable value from an array entry

2003-11-30 Thread Ian Truelsen
mp.txt"; > $handle = fopen ($filename, "r"); > $code = fread ($handle, filesize ($filename)); > fclose ($handle); > print $code.""; > eval("\$result = \"".addslashes($code)."\";"); > ec

Re: [PHP] getting an variable value from an array entry

2003-11-30 Thread Ian Truelsen
ords[3]); but that gives a parse error. And print ${$words[3]} prints out nothing. Thanks for the help though. -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org Signature key (742B740D) available at pgp.mit.edu pgp0.pgp Description: PGP signature

[PHP] getting an variable value from an array entry

2003-11-30 Thread Ian Truelsen
. Can anyone tell me what the appropriate syntax would be for doing this? Or some other way to deal with the issue would be good as well. Thanks in advance. -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org Signature key (742B740D) available

[PHP] passing second function through a function

2003-11-17 Thread Ian Truelsen
function. Does anyone know if this is possible and what the proper syntax would be for calling a function from a variable name? -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] restricting text fill on a text area

2003-11-06 Thread Ian Truelsen
w and then have that position be the beginning of the next page. Can anyone see how/whether this would be possible? -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] limit to elements in an array?

2003-10-24 Thread Ian Truelsen
Is there an upper limit to the number of elements that can be in an array? If so, what is that limit? -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] partial match on array_search?

2003-10-19 Thread Ian Truelsen
the exact data. Is there any way to get array_search to find a partial match? Or is there another command that I can use to do this? -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- PHP General Mailing List (http://www.php.net/) To unsu