Jump to content

Php code needs to be fixed


lahermosa

Recommended Posts

hi there is this game i play and i am trying to accomplish a code which adds items coming from the games xml.

the game is called zwinky and i'm having a small problem which can maybe be easily fixed.

 

Here are the codes:

 

http://paste.ee/p/JHMow

 

http://paste.ee/p/pIEUt

 

they are written differently. Okay So the problem is a little message when used on my webhost comes up on browser saying :

 

"HTTP/1.1 100 Continue HTTP/1.1 200 OK Date: Sat, 24 May 2014 22:52:31 GMT Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8c DAV/2 mod_jk/1.2.28 Cache-Control: max-age=0, must-revalidate Expires: Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: anx="os=-&g=-&oc=-&sn=dfprdzwinky4&od=none&op=-&fv=1400971951270&ob=-&om=-&lv=1400971951270&ok=-&nv=1"; Version=1; Domain=.zwinky.com; Max-Age=7776000; Expires=Fri, 22-Aug-2014 22:52:31 GMT; Path=/ Content-Language: en-US Content-Length: 92 Connection: close Content-Type: application/xml;charset=UTF-8 User not signed in"

 

as you can see it says "user not signed in" yet i am signed in into the game.. So i believe somewhere in the code the cookies are wrong or the code doesn't have the necessary elements to show that you are being logged in. to get the cookies/ login info you need to create a game account which takes 10-20 seconds: http://registration.zwinky.com/registration/register.jhtml

 

and then using fiddler/charles or any other method displaying the accounts cookies it should show them up. 

I don't know what is needed to add to the code to make it work

 

here our other topics on this issue never solved which might help:

http://forum.ragezone.com/f144/help-920369/

http://www.webdeveloper.com/forum/showthread.php?268129-php-execute

 

if anyone could help please! it's not hard making the game accounts and viewing the cookies, please and thank you!!!!

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/288749-php-code-needs-to-be-fixed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.