nt->setDebug(1); // helps!
$msg = new XML_RPC_Message('system.Load', array(new XML_RPC_Value("test
string")));
$result = $client->send($msg);
if($result->faultCode())
{
// we have an error
echo "Error Code: " . $result->faultCode() . "";
e
o error, you should get some decoded value out
print XML_RPC_decode($result->value());
}
// always use {} with control structures, if you don't it will bite you
in the ass eventually...
// and remember to turn on debugging to see what's going on...
hope this helps,
Justin
-O
using the mysql
3.23 client API. I've upgraded the dev server and my laptop to have
PHP5 and MySQL 4 successfully but can't manage to get PHP5 to use the
MySQL 4 client API.
On Jul 20, 2004, at 6:47 PM, Jough P wrote:
Greetings all,
I upgraded to MySQL 4 on a Redhat Enterprise box. I
Greetings all,
I upgraded to MySQL 4 on a Redhat Enterprise box. I recompiled PHP
4.3.6 and a look at phpinfo() reveals that the old mysql client API is
still being used. So, I moved the mysql.so to my home directory hoping
that when did ./configure and make again it would create a new one.
yup, you were right. I was naming the image "image.png.png". DOH!
been a long week
Thanks!!
On Jul 9, 2004, at 6:42 PM, Jason Wong wrote:
On Saturday 10 July 2004 06:38, Jough P wrote:
Greetings all, I have a real simple function. I works well on JPG
images but ImageCopyRes
Greetings all, I have a real simple function. I works well on JPG
images but ImageCopyResized(), or ImagePNG() doesn't seem to be
working. When I view the uploaded file it is still it's original size.
Here is the function. I hope someone can help me, I'm pretty stumped.
function transfor
. After looking at the output
of phpinfo() I saw that pcre was still enabled. Don't know why it was
causing errors though. But at least it's solved!!
On Jul 2, 2004, at 1:19 PM, Jough P wrote:
Hi all, I'm having trouble installing PHP 5 on a Fedora Core 2 box.
I get thro
Hi all, I'm having trouble installing PHP 5 on a Fedora Core 2 box. I
get through ./configure fine but during the make I get errors like
this:
ext/pcre/php_pcre.lo(.text+0x2e38):/home/jough/php-5.0.0RC3/ext/pcre/
php_pcre.c:1482: undefined reference to `php_pcre_exec'
collect2: ld returned 1
Greetings all, just installed Fedora with the bundled PHP Version
4.3.4. Upon calliing mysql_* functions I get errors like:
Fatal error: Call to undefined function: mysql_pconnect() blah blah blah
A call to phpinfo() reveals it was configured with:
--with-mysql=shared,/usr'
And doing a "locate m
Greetings all,
I'm doing all my PHP development on my iBook running OS X. I'm
currently working on a messaging tool for a website. When the messages
are posted on my iBook the single quotes are escaped properly. When I
upload the same *.php files to the server the single quotes are
preceded
Hrm, I restarted apaches and got the following:
[warn] module php4_module is already loaded, skipping
Is there a way to restart the PHP DSO?
On Jun 1, 2004, at 8:56 AM, Jough P wrote:
Installed a new PHP last night because I wanted to start using PEAR.
When I use 'pear' from the comm
Installed a new PHP last night because I wanted to start using PEAR.
When I use 'pear' from the command line a few funny things happen.
Among them are a bunch of errors like the following:
PHP Warning: Function registration failed - duplicate name -
mysql_connect in Unknown on line 0
PHP Wa
Greetings, when compiling PHP with the 'with-mysql' option I get an
warning against using the built-in mysql support. So, I tried
'--with-mysql=/path/to/mysql.so and got the following error:
Cannot find MySQL header files under...
What are the names of the mysql header files this message is tal
Just in case anyone is interested, this problem with the BACK button
happens with the Safari browser on a Mac OS X machine. I've discovered
that the problem can be solved by emptying the browsers cache.
On Mar 8, 2004, at 7:43 PM, Jough P wrote:
Anyone else had this problem where one of
Anyone else had this problem where one of your PHP pages produces some
output for a user to click on. The user clicks on one of these links
which causes some behavior, then clicks their browsers BACK button.
Now the original PHP page is producing a parse error.
My particular parse error says:
10:15 AM, Raditha Dissanayake wrote:
could be your $i > length of array
Jough P wrote:
Greetings all, I'm getting "Notice: Undefined offset" regarding this
line of code while inside a for loop:
if($this->inputs[$i] == "user")
I assume the 'offset' that is
I've used both the 'sizeof' functions and 'count'
On Mar 1, 2004, at 10:03 AM, Stuart wrote:
Jough P wrote:
Greetings all, I'm getting "Notice: Undefined offset" regarding this
line of code while inside a for loop:
if($this->inputs[$i] == &q
Oops, in my previous email I meant to say "Here's the WHOLE function".
sorry about the typo, hope I didn't confuse...
On Mar 1, 2004, at 9:58 AM, Jough P wrote:
Greetings all, I'm getting "Notice: Undefined offset" regarding this
line of code while ins
Greetings all, I'm getting "Notice: Undefined offset" regarding this
line of code while inside a for loop:
if($this->inputs[$i] == "user")
I assume the 'offset' that is undefined is $i. But $i is defined is
the for statement above it.
Here's the while function:
function draw()
{
e
imagecreatetruecolor() helps a lot! thanks very much!!
On Feb 17, 2004, at 4:48 PM, craig wrote:
Greetings, all. I'm trying to upload and crop an image. I'm
not able
to do it without the quality of the image suffering. I've
fiddled with
the quality parameter in the imagejpeg function but i
Greetings, all. I'm trying to upload and crop an image. I'm not able
to do it without the quality of the image suffering. I've fiddled with
the quality parameter in the imagejpeg function but it seems to have no
effect. I've tried varying values and leaving the parameter out
altogether.
An
Thank you everyone for you fabulous help!!!
btw,
the FILE privilege is a global privilege, and as such needs to be in
the *.* context. It does not work on a db-level.
On Jan 16, 2004, at 4:08 PM, Jough P wrote:
OMG I'm sure that's why I'm having problems. Do you know the synta
:
On Saturday 17 January 2004 03:44, Jough P wrote:
On Jan 16, 2004, at 9:12 AM, Jough P wrote:
Greetings all, I can't get LOAD_FILE to work in an INSERT statement
from PHP. The generated sql works when you're in mysql but won't
work
from PHP.
Are you using the same user in both
Greetings all, I'm still having problems with LOAD_FILE. If anyone is
using it and could post some examples that would be fabulous.
Thanks tons!!!
On Jan 16, 2004, at 9:12 AM, Jough P wrote:
Greetings all, I can't get LOAD_FILE to work in an INSERT statement
from PHP. The gen
lt_smiley.png"));
does what I want it to do.
On Jan 16, 2004, at 9:38 AM, John W. Holmes wrote:
Jough P wrote:
Greetings all, I can't get LOAD_FILE to work in an INSERT statement
from PHP. The generated sql works when you're in mysql but won't
work from PHP.
BSDB is my dat
Greetings all, I can't get LOAD_FILE to work in an INSERT statement
from PHP. The generated sql works when you're in mysql but won't work
from PHP.
BSDB is my database object.
sql_query basically just does a mysql_query and some error outputting
stuff. There error is:
Column 'photo' cannot be
26 matches
Mail list logo