Gå til innhold

Hello all.


Anbefalte innlegg

Hello all.

As you can see I'm writing this in english.

I do that so I can give the iPower Web Suport Team a link to this topic if I get the help I need here.

 

 

Here is my problem:

 

FuLu geave me this great script: The PHP script I use.

I uploaded it to my webserver, and it worked just nice.

Some days ago, it just stoped working.

I talked a lot with the iPower Suport, and they said nothing was wrong with the server. It had to be my script.

What I was hoping, was that perhapse I could get it tested on muliply servers, so that iPower could understand that the script works.

The server suprts both PHP and XML

Here is my phpinfo for reference: server php referance

 

 

Could some one plz use this code and save it as a PHP-file, upload it to the server you use and give me a link?

By doing so, I hope iPower understands that the script works fine.

 

(Plz reply in english and plz help.)

Endret av aog
Lenke til kommentar
Videoannonse
Annonse

my server seems to not be a good test, since my version does not support file_get_contents, but i rewrote that part, and i assume it works.

 

http://sirius.isa-geek.org/~lindahl/php/aoorg3.php

 

here is my phpinfo for reference:

http://sirius.isa-geek.org/~lindahl/php/info.php

 

in your other thread, I took the liberty to write an solution based on php's XML parsing functions, dont know if you saw those. You should try that out if you didnt already.

 

http://sirius.isa-geek.org/~lindahl/php/aog.php

source (emacs formated):

http://sirius.isa-geek.org/~lindahl/php/aog.php.html

 

In the source there are basically four parts, first some variables are initiated and the xml parsing functions are assigned.

 

in the next section (5 lines only!), the XML is parsed

 

in the third part, the data is presented as you specified in your script

 

in the fourth part the xml parsing functions are defined.

 

regetably all comments are in Norwegian :/

 

 

to dump all xml data from the character-XML:

http://sirius.isa-geek.org/~lindahl/php/aog.php?dump

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...