Well i am back with another problem :)
And looking forward visualAd,pengate,john :wave:
I am trying to parse XML by using xml library of Keith Devens available at
http://keithdevens.com/software/phpxml
and code at
http://keithdevens.com/software/phpxml/xml.php
I am getting error at line 62
error isPHP Code:$this->parser = &xml_parser_create();
and at line 73Code:Notice: Only variables should be assigned by reference
error isPHP Code:return xml_parse(&$this->parser, &$data, true) ? $this->document : NULL;
after searching about the errors i have found its due to webhost has upgraded to PHP 4.4 .Code:Notice: Only variable references should be returned by reference
from http://forum.mamboserver.com/showthread.php?t=58302
and http://mail.wikipedia.org/pipermail/...st/031137.html
and http://fudforum.org/forum/index.php?t=msg&goto=26311
From Keith Devens
Quote:
PHP 4 deprecated a feature called call-time pass-by-reference. Unfortunately, the developers of PHP deprecated the feature without making appropriate alternatives available, so the net result is that, under PHP 4, some things are literally impossible to do without using call-time pass-by-reference even though it's deprecated. Even parts of the PHP manual use the deprecated feature since it's impossible not to. This library requires that call-time pass-by-reference be enabled.
so i have also tried to use htaccess
from http://www.verysimple.com/support/viewtopic.php?p=415&Code:php_flag allow_call_time_pass_reference 1
But it returnded me Internet Server Error 500.
I have also tried to remove "&" sign but it didn't solve the problem.
So could you help me with this problem ?
What is its solution?
Thank You.
