php-general Digest 8 Aug 2009 07:51:46 - Issue 6273
Topics (messages 296434 through 296456):
Re: curl_exec not hit server
296434 by: Tom Worster
296435 by: Jerry Wilborn
Buffered Logging?
296436 by: Waynn Lue
296441 by: Jerry Wilborn
296447 by:
php-general Digest 8 Aug 2009 20:18:44 - Issue 6274
Topics (messages 296457 through 296492):
Undefined symbol ssl_onceonlyinit
296457 by: Ebbe Hjorth
296459 by: Ebbe Hjorth
296460 by: Adam Randall
296461 by: Ebbe Hjorth
str_replace
296458 by: Ron
Hi,
I just installed FreeBSD 7.2, Apache 2.2, php5-5.2.10 and php5-extensions
1.3, all from the freebsd ports.
When i try to start apache with the imap.so extension enabled in
extensions.ini, i get the error
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol
Am I understanding str_replace correctly? Do I have this correct or are '
needed?
$bible_verse_ref is what I want to change to (AKA replace)
bible_verse_ref is what I change to change from (AKA search)
$text_message_template is the string I want to manipulate
$text_message = str_replace(
Curious george wrote:
Is there a case where php can become unscalable for a web sever ? If
so can anyone please state to me how... Thanks
George
Yes, any inappropriately designed application can be unscalable wherever
it runs.
/Per
--
Per Jessen, Zürich (21.6°C)
--
PHP General Mailing
Hi,
Sounds like mac ports and freebsd ports i kinda the same.
I tried deinstalling the extensions ports, and reinstalling it, meaning it
all gets build from source once more, and it didnt help.
/ Ebbe
2009/8/8 Adam Randall randa...@gmail.com
While I haven't used FreeBSD, the message you are
I wonder if it's downloading the imap.so as a binary instead of source
(or php as a binary instead of source). But this is the reason you are
getting the errors. It has to do with the shared libraries at build
time not matching the shared libraries at runtime (eg the symbol in
the shared library
2009/8/8 Adam Randall randa...@gmail.com
I wonder if it's downloading the imap.so as a binary instead of source
(or php as a binary instead of source). But this is the reason you are
getting the errors. It has to do with the shared libraries at build
time not matching the shared libraries at
looks good,
u r searching for $bible_verse_ref in $text_message_template to be replaced
by the string bible_verse_ref.
if that makes sence to u, yes its right.
ralph
ralph_def...@yahoo.de
Ron Piggott ron@actsministries.org wrote in message
On Sat, Aug 8, 2009 at 2:08 AM, Ron Piggottron@actsministries.org wrote:
Am I understanding str_replace correctly? Do I have this correct or are '
needed?
$bible_verse_ref is what I want to change to (AKA replace)
bible_verse_ref is what I change to change from (AKA search)
Yes I did. Thank you for confirming this with me. Ron
- Original Message -
From: LinuxManMikeC linuxmanmi...@gmail.com
To: Ron Piggott ron@actsministries.org
Cc: php-general@lists.php.net; phps...@gmail.com
Sent: Saturday, August 08, 2009 6:19 AM
Subject: Re: [PHP] str_replace
At 10:11 PM -0400 8/6/09, Larry Ullman wrote:
-snip-
Sorry for the length, but I hope that helps. And thanks again.
Larry
Larry:
No, thank you for your most excellent books -- I think I've purchased
every one one you've written. They have helped me.
Cheers,
tedd
--
---
At 6:32 AM +0100 8/7/09, Ashley Sheridan wrote:
table class=pfm
tr
td
img src=Images/Nx.jpg width=210 height=300
p class=nrmltextnYanni Nx /p
p class=notetextnSally Riordan Scholarship, 2007- /p
/td
/tr
/table
On Sat, 2009-08-08 at 07:53 -0400, tedd wrote:
At 6:32 AM +0100 8/7/09, Ashley Sheridan wrote:
table class=pfm
tr
td
img src=Images/Nx.jpg width=210 height=300
p class=nrmltextnYanni Nx /p
p class=notetextnSally Riordan
On Thu, 6 Aug 2009 12:42:49 -0600, Govinda wrote:
Others have mentioned variable variables. While I have
used those, I tend to prefer arrays:
ah, yes, I see that too, now. Thanks for reminding me about arrays.
(You must be quite adept at arrays. )
I don't know, but I often stuff things
of course u can do this by sql.
see this
SELECT *
FROM `sometable`
LIMIT 0 , 30
gives u max 30 records if existstarting at record 0
on the next request u could say
SELECT *
FROM `sometable`
LIMIT 30 , 30
giving u max 30 recotds starting at record 30
ralph
ralph_def...@yahoo.de
Nisse
On Fri, 7 Aug 2009 17:06:45 -0600, John Butler wrote:
does array_slice not work on multidimensional arrays?
I have one multidimensional array, and when I run it thru'
array_slice() nothing happens, that I can tell.
If it does not work on multidimensional arrays, what is the *simplest*
On Sat, 8 Aug 2009 15:01:42 +0200, Ralph Deffke wrote:
of course u can do this by sql.
see this
SELECT *
FROM `sometable`
LIMIT 0 , 30
gives u max 30 records if existstarting at record 0
on the next request u could say
SELECT *
FROM `sometable`
LIMIT 30 , 30
giving u max 30
A Rackspace guy determined that php.ini was set to use 16MB of memory,
and he upped it to 32MB, and now everything works. Some of my
downloads are as large as 41MB so I asked him to up it to 48MB.
Maybe they upgraded the PHP version or something and wiped this
setting. The 41MB files had
but then ur byond simple select, man, I do hate unions and try to avoid
those.
Nisse Engström news.nospam.0ixbt...@luden.se wrote in message
news:8b.50.40613.c518d...@pb1.pair.com...
On Sat, 8 Aug 2009 15:01:42 +0200, Ralph Deffke wrote:
of course u can do this by sql.
see this
SELECT
does array_slice not work on multidimensional arrays?
I have one multidimensional array, and when I run it thru'
array_slice() nothing happens, that I can tell.
If it does not work on multidimensional arrays, what is the
*simplest*
workaround? (I am already working past what was budgeted
On Sat, 8 Aug 2009 08:29:36 -0600, John Butler wrote:
It seems clear to me, but do you also agree that my evidence is that
array_slice() does NOT work on multi-dimmed arrays on v.4.3.9?
Here is the evidence:
this:
var_dump($BuildPerUniqueDateArray);
echo\n\n~\n\n;
It seems clear to me, but do you also agree that my evidence is that
array_slice() does NOT work on multi-dimmed arrays on v.4.3.9?
Here is the evidence:
this:
var_dump($BuildPerUniqueDateArray);
echo\n\n~\n\n;
array_slice($BuildPerUniqueDateArray, 1, 2);
http://us2.php.net/readfile
Returns the number of bytes read from the file. If an error occurs, FALSE is
returned and unless the function was called as @readfile(), an error message
is printed.
Ah. So readfile() was generating some error and outputting before the
Content-Type was sent to the
pete123456 wrote:
hi,
im running php on IIS and im trying to evaluate php's capabilities regarding
external interfaces.
elg. executing .exe, batch files, com objects. is that all possible? does
anyone have any good reference where i can find out more about this?
.exe and .bat files should work
On Sat, 2009-08-08 at 12:18 -0400, Robert Cummings wrote:
John Butler wrote:
It is annoying working with arrays sometimes, as some functions work
on
the actual array, while others return the results of working on the
array without changing anything. Is there any particular reason for
On Sat, 08 Aug 2009 16:05:20 +0100, Ashley Sheridan wrote:
It is annoying working with arrays sometimes, as some functions work on
the actual array, while others return the results of working on the
array without changing anything. Is there any particular reason for
that?
Well in this case
On Sat, 8 Aug 2009 16:25:24 +0200, Ralph Deffke wrote:
but then ur byond simple select, man, I do hate unions
and try to avoid those.
Hear, hear!
I'll look into that stuff in my next life, perhaps.
/Nisse
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
well i know the command shell_exec(), that work like console, just put de
command as paramether. More info in php documentation.
For COM objects
for example,
$word = new COM(word.application) or die(Unable to instantiate
application object);
$wordDocument = new
Hello all :)
I have a problem, so, Before I'll start building my own function - I was
wondering - is there any built-in function to convert 16M to 16777216
(Including all other types of letters)?
(16M = 16 * 1024 * 1024)
(Its from php.ini configurations)
--
Use ROT26 for best security
Never mind, my bad - Looked everywhere except in ini_get documentation.
Thanks anyway.
On Sat, Aug 8, 2009 at 9:24 PM, דניאל דנון danondan...@gmail.com wrote:
Hello all :)
I have a problem, so, Before I'll start building my own function - I was
wondering - is there any built-in function
Has someone an clue about this zce question:
The following is a common XML structure used in service oriented
architectures, what does it represent?
?xml version=1.0?
methodCall
methodNamemyMethod/methodName
params
param
valuestringHI!/string/value
/param
/params
/methodCall
On Sat, Aug 8, 2009 at 4:18 PM, Augusto Flavioafla...@gmail.com wrote:
Has someone an clue about this zce question:
The following is a common XML structure used in service oriented
architectures, what does it represent?
?xml version=1.0?
methodCall
methodNamemyMethod/methodName
params
On Sat, 8 Aug 2009 07:53:42 -0400, tedd.sperl...@gmail.com (tedd) wrote:
You don't need the width=210 height=300. For example, this works:
div class=pfm
img src=Images/Nx.jpg
p class=nrmltextnYanni Nx /p
p class=notetextnSally Riordan Scholarship, 2007- /p
/div
I have
Hello,
I am using PHP 5.3 with readline support. I read that PHP readline is
never thread safe.
I do not use the readline functions in a web application. What
implications does this warning of thread safety have with respect to
running normal web applications using apache2?
Thank You,
I have a bunch of bullets in a list coming from a previous post, and I
need to eliminate any line from this string that contains display:
none
li id=bullet_ug1_col2_9 style=display: list-item;Reserved
Frontstretch Tower Ticket to the Camping World 300 on Saturday /li
li id=bullet_2_9
On Sat, Aug 8, 2009 at 11:14 PM, Rob Gouldgould...@mac.com wrote:
I have a bunch of bullets in a list coming from a previous post, and I need
to eliminate any line from this string that contains display: none
li id=bullet_ug1_col2_9 style=display: list-item;Reserved Frontstretch
Tower Ticket
Rob Gould wrote:
I have a bunch of bullets in a list coming from a previous post, and I
need to eliminate any line from this string that contains display: none
li id=bullet_ug1_col2_9 style=display: list-item;Reserved
Frontstretch Tower Ticket to the Camping World 300 on Saturday /li
li
38 matches
Mail list logo