vForums Support :: vForums :: Support :: Side Server PHP Inqery - View Topic
 |  |
| dog199200 Guest | Side Server PHP Inqery (12th Feb 10 at 4:36pm UTC) | | I was wondering, can you side server in a code that uses php and javascript? I'm asking because the IM system I have been working on uses JS/CSS for design and PHP for building the functions. The IM shows up perfectly fine on my website, other then the fact i need a way to call the buddy list content (hint), and is calling the php functions just fine, but on the forum, the chat bar show up but only the design I think it should work. Currently its not calling on anything but my database to store the conversations
Over all I'd hate to have to make two copies of the script, one for the site (php and js) and one for the forum (js) not to mention idk is js can write to a database | |
| Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Side Server PHP Inqery (12th Feb 10 at 6:27pm UTC) | | JS can write to a DB through AJAX, but that includes PHP.
What do you mean by "side server" ... | |
| Aiken Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/me-yat.jpeg) Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:
pmskypemsnyahooxfire | | dog199200 Guest | Re: Side Server PHP Inqery (12th Feb 10 at 7:35pm UTC) | | Aiken@ Files the system is built of a bunch of different files Plus i'm not going to say I know enough js to be able to recode everything, it is an IM system, similar to that on facebook, after all
Michael@ Side server, as in all the files being hosted on a secondary server But i honestly have no idea if it can be converted to JS because at least if Ross adds buddy list functions to the API like i've been hinting at over and over, i can use PHP with the API and do it, which would work on the website perfectly, but when it comes to the forum i'm not so sure cause it then need js to call the buddy list unless things can be called via the api if done side server
yea this is where having a system that needs php classes when part of the system doesn't allow it if setting up an API on vb wasn't *complicated* i'm switch to make things easier XD | |
| |
 |  |
|