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

Linux, Apache, MySQL, PHP

 
AnswerRe: joomla,pearl, etc? Pin
fly9043-Jul-09 21:53
fly9043-Jul-09 21:53 
QuestionCovert singleton class for php 4.4.4 to php 5.2 [modified] Pin
malrajphp1-Jul-09 22:11
malrajphp1-Jul-09 22:11 
AnswerRe: Covert singleton class for php 4.4.4 to php 5.2 Pin
Marc Firth2-Jul-09 4:17
Marc Firth2-Jul-09 4:17 
QuestionNew to PHP Pin
NimishaLad30-Jun-09 8:44
NimishaLad30-Jun-09 8:44 
AnswerRe: New to PHP Pin
EliottA30-Jun-09 9:20
EliottA30-Jun-09 9:20 
AnswerRe: New to PHP [modified] Pin
Marc Firth30-Jun-09 23:40
Marc Firth30-Jun-09 23:40 
AnswerRe: New to PHP Pin
malrajphp2-Jul-09 4:02
malrajphp2-Jul-09 4:02 
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 

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.