-Original Message-
From: Florin Jurcovici [mailto:florin.jurcov...@gmail.com]
Sent: 06 February 2011 15:57
I'm trying to build myself a small JSON-RPC server using PHP.
Using wireshark, here's the conversation:
Request:
[...snip...]
Response:
HTTP/1.1 200 OK
On 6 February 2011 15:57, Florin Jurcovici florin.jurcov...@gmail.com wrote:
said it, Bush junior proved it
Is this actually part of the output?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General Mailing List (http://www.php.net/)
To
Hi.
I'm trying to build myself a small JSON-RPC server using PHP.
Using wireshark, here's the conversation:
Request:
POST /.../service.php?nocache=1297004648751 HTTP/1.1
User-Agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.7.62
Version/11.01
Host: localhost
Hi there
I'm new to PHP (as some may know)...
ive spotted / Found the answers to 2-3 problems
tonight - By looking through the PHP documentation..
but this problem is perplexing..
Ok - Ive got a FORM - Which basically, I put lots of
text into it (For testing purposes, I go to news
websites
On Mar 22, 2004, at 1:46 PM, gordon stewart wrote:
===
foreach ($text as $color) {
echo SAF '$color' - ;
echo B.strlen($color)./BBR\n;
}
===
QUESTION :-
Is this the right code to use ? to find the length of
each line ? ($color) - No worries - Ive just copied
code from the web
--- Filip de Waard [EMAIL PROTECTED] wrote:
strlen() is the correct function to use here. Use it
like:
echo strlen($_POST['input_name']);
Thanks...
Where $_POST['input_name'] should be replaced by the
variable you want
to check. strlen() is always right, but it counts
the actual
--- Filip de Waard [EMAIL PROTECTED] wrote:
strlen() is the correct function to use here. Use it
like:
echo strlen($_POST['input_name']);
Where $_POST['input_name'] should be replaced by the
variable you want
to check. strlen() is always right, but it counts
the actual charactars
of
Hi,
I am quite new to PHP scripts and I have run into a little problem with my string!
I have a string called $numbers which is 5;6;12;21;36;42 (for example, it can be any 6
numbers between 1 and 42).
Is there an easy way that I can find out how many numbers there are in the string
without the
Kevin Connolly wrote:
Hi,
I am quite new to PHP scripts and I have run into a little problem with my string!
I have a string called $numbers which is 5;6;12;21;36;42 (for example, it can be any
6 numbers between 1 and 42).
Is there an easy way that I can find out how many numbers there are
Hi Kevin,
First thought that comes to mind is explode() so something like :
?php
$string = '5;6;12;21;36;42';
$count = count(explode(';',$string));
?
I assume that would work. That explodes it into an array then counts it,
check out :
if you just want to know how many numbers are in it you can do this:
$num_of_numbers = sizeof(explode(';',$string));
--Joe
On Tue, Jan 30, 2001 at 04:46:50PM -0800, Jon Jacob wrote:
Kevin Connolly wrote:
Hi,
I am quite new to PHP scripts and I have run into a little problem with my
11 matches
Mail list logo