Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsWeb Design & DevelopmentServer Side ScriptingPHP right
  Reply to this topic Start new topic
left right
EVE Rage Innovat...
post Jun 27 2012, 06:51 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 27-June 12
Member No.: 247,361



Hi Guys,

Thanks for taking the time to look over my query.

I am designing a website for my industrial corporation in EVE-Online. EVE has an in-game-browser(IGB). This sends headers when a site has been trusted (This is not secure enough for auth). I plan to take these headers to allow people a quicker log in (think of it as a 'remember my email address' type thing).

IGB sends headers, my site gets headers, checks the CharacterID against my current DB, if found, requests password, once accepted, VIOLA! If NOT found, then a registration process takes place.

I'm fairly comfortable with how to go about things up to here... (although I might come back for questions later)

But then...
The site will need to pull data off a secure, remote XML for certain requests.
An example of which is
"https://api.eveonline.com/eve/CharacterInfo...cterID=92156456"
That's me smile.gif

I would like to then take the data, and check it. For example, if <corporationID>312619810</corporationID> has changed since my last log in, then I would be denied access. Can't have people who've quit the corporation in anymore.

I originally tried

CODE
<?php
$xml = simplexml_load_file("https://api.eveonline.com/eve/CharacterInfo.xml.aspx?CharacterID=92156456");

foreach($xml->result->children() as $child)

foreach($child->attributes() as $a => $b)
?>


which returned

QUOTE
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "https://api.eveonline.com/eve/CharacterInfo.xml.aspx?CharacterID=92156456" in /www/zymichost.com/s/h/i/shipyard/htdocs/getit.php on line 2

Fatal error: Call to a member function children() on a non-object in /www/zymichost.com/s/h/i/shipyard/htdocs/getit.php on line 4


So I then attempted to cURL to parse the xml, and save it. But it seems cURL is not supported.

I have since found out that Zymic doesn't allow remote connections.

Any suggestions?

Thanks again for taking the time to read this,

Nerida Palina
Official Windbag and Inter-web-face Designer
RAGE Innovations
Go to the top of the page 
 
  + Quote Post
ssfdre38
post Jun 27 2012, 07:18 PM
Post #2


THE SILENT FORUM NINJA
*******

Group: Administrators
Posts: 3,757
Joined: 23-January 10
From: on your screen
Member No.: 127,507



as stated on the IRC, all remote connections are disable on Zymic
Go to the top of the page 
 
  + Quote Post
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 19th June 2013 - 03:33 AM