Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by filler03 · Jun 23, 2012 at 08:32 PM · networkserverwwwphpauthoritative

Network class vs php for authoritative actions?

I am making a game that requires a great deal of calculations to be done on the server to then communicate with a mysql database. I do not know much about the network class and was wondering if i should use It for this or just use the WWW class to communicate with php?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · Jun 23, 2012 at 08:59 PM 0
Share

I guess your question title has a typo,

Network class vs WWW ...

avatar image filler03 · Jun 24, 2012 at 01:07 AM 0
Share

I didn't know if the 2 were supposed to be used together or if they were entirely seperate sorry.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Fattie · Jun 23, 2012 at 08:58 PM

My vote, definiltely use WWW. Certainly, at first !

Never fuss about communication layers, just improve them aferwards if necessary.

I love just using simple, stateless URL calls for server side stuffs. Why write a whole realtime server unless it's profoundly necessary?

Be sure to get https set up on your domain.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image filler03 · Jun 24, 2012 at 01:09 AM 0
Share

Ok so how it would work is i would use www to send a variable to php, then the php would take care of the rest of the math and send the result back to the www class right?

avatar image Fattie · Jun 24, 2012 at 07:27 AM 0
Share

that is utterly correct, yes. 100% correct. But could you pleae THU$$anonymous$$B or TIC$$anonymous$$ useful answers, to keep the site tidy. and if possible just use the one screen name !

avatar image filler03 · Jun 24, 2012 at 04:16 PM 0
Share

Woah i didnt realize i could do that yet iv tried it before and it wouldnt let me. Ill start doin it now that i can do it thanks man.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

WWW.texture provides a :"?" texture... 1 Answer

How to get different variables from PHP page ? (example included)... 1 Answer

`Recv failure: Connection was reset` In editor? (platform set to Android NOT WebPlayer) 0 Answers

PHP Connect to Unity Server and send an RPC 2 Answers

How to debug php code when use www to communicate with server side. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges