Click here to Skip to main content
15,888,590 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: New to PHP Pin
SandipG 3-Jul-09 2:39
SandipG 3-Jul-09 2:39 
QuestionPHP help - unsure how to approach the unique needs for a random order script for a project Pin
Chris Averill30-Jun-09 3:22
Chris Averill30-Jun-09 3:22 
AnswerRe: PHP help - unsure how to approach the unique needs for a random order script for a project Pin
Luc Pattyn30-Jun-09 4:12
sitebuilderLuc Pattyn30-Jun-09 4:12 
Questioncovert excel to pdf Pin
jhyn28-Jun-09 20:00
jhyn28-Jun-09 20:00 
AnswerRe: covert excel to pdf Pin
Marc Firth28-Jun-09 22:24
Marc Firth28-Jun-09 22:24 
AnswerRe: covert excel to pdf Pin
jhyn29-Jun-09 14:02
jhyn29-Jun-09 14:02 
GeneralRe: covert excel to pdf Pin
EliottA29-Jun-09 15:52
EliottA29-Jun-09 15:52 
QuestionHow to save/serialize stdClass (result of SOAP function) to XML? Pin
Michal Drozd28-Jun-09 8:21
Michal Drozd28-Jun-09 8:21 
I am trying to save result from SOAP function to XML file. I am calling SOAP function getProductListResult of web service http://public.ws.cz.elinkx.biz/service.asmx (description is available without logging).
I want save/serialize getProductListResult->ProductList to XML but it is stdClass and cant be converted to string and i got:
Catchable fatal error: Object of class stdClass could not be converted to string

I tried calling $data->getProductListResult->ProductList->any but didnt help (nor $data->getProductListResult->any)

thanks for help

code:
$soap = new SoapClient(CONST_SOAP_EDSoapURL,
        array(  'style'    => SOAP_DOCUMENT,
                    'use'      => SOAP_LITERAL,
                    'trace' => true));
$data = $soap->getProductList(
        array(  'login' => CONST_SOAP_EDLogin,
                        'password' => CONST_SOAP_EDPassword,  
                        'onStock' => 'true')); //Products on store.     
$doc = new DOMDocument();
$doc->loadXML((string) $data->getProductListResult->ProductList);  // we get exception
$doc->save('_data/ceniky/cenikED.xml');

QuestionCapturing the path to a page link activation Pin
Member 373991027-Jun-09 15:50
Member 373991027-Jun-09 15:50 
AnswerRe: Capturing the path to a page link activation Pin
Marc Firth28-Jun-09 22:22
Marc Firth28-Jun-09 22:22 
GeneralRe: Capturing the path to a page link activation Pin
Member 373991029-Jun-09 14:22
Member 373991029-Jun-09 14:22 
QuestionNeed help to create thumbanil in linux Pin
malrajphp27-Jun-09 3:27
malrajphp27-Jun-09 3:27 
AnswerRe: Need help to create thumbanil in linux Pin
Marc Firth28-Jun-09 22:17
Marc Firth28-Jun-09 22:17 
GeneralRe: Success in create thumbanil in linux [modified] Pin
malrajphp1-Jul-09 21:58
malrajphp1-Jul-09 21:58 
QuestionRemember to create membership in http://www.codeproject.com/ Pin
malrajphp27-Jun-09 3:21
malrajphp27-Jun-09 3:21 
AnswerRe: Remember to create membership in http://www.codeproject.com/ Pin
fly90427-Jun-09 3:34
fly90427-Jun-09 3:34 
AnswerRe: Remember to create membership in http://www.codeproject.com/ Pin
Marc Firth28-Jun-09 22:16
Marc Firth28-Jun-09 22:16 
AnswerRe: Remember to create membership in http://www.codeproject.com/ Pin
Sk9330-Jun-09 5:01
Sk9330-Jun-09 5:01 
QuestionPHP Header() error Pin
Samiullah26-Jun-09 2:56
Samiullah26-Jun-09 2:56 
AnswerRe: PHP Header() error Pin
fly90427-Jun-09 3:33
fly90427-Jun-09 3:33 
AnswerRe: PHP Header() error Pin
Marc Firth28-Jun-09 22:15
Marc Firth28-Jun-09 22:15 
GeneralRe: PHP Header() error Pin
Samiullah29-Jun-09 19:05
Samiullah29-Jun-09 19:05 
Questiongstreamer clock problem Pin
alizey khan25-Jun-09 22:59
alizey khan25-Jun-09 22:59 
AnswerRe: gstreamer clock problem Pin
ZhangXiaohui122416-Mar-10 23:01
ZhangXiaohui122416-Mar-10 23:01 
QuestionHuge demand for PHP Projects Pin
sreekanth55525-Jun-09 20:29
sreekanth55525-Jun-09 20:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.