Tag Archives: c#

How can it be that the back-end code for a website is C++ and front-end is PHP? [closed]

I asked a Facebook engineer what main programming language they use for development. He specifically said “we use C++ for back-end stuff, and PHP for front-end stuff”. This doesn’t really make any sense to me. I initially translated this to… Continue reading

Tagged , , , | Leave a comment

PHP / C++ space calculations for parcel packing

I am working on a shopping cart project which requires a ‘postage calculator’ based on items that the person has in their cart.
Obviously I will be storing the item’s dimensions incl. weight and padding in a database and will… Continue reading

Tagged , | Leave a comment

Connect to an LDAP database from C# and return an array

Basically I want to connect to an LDAP database from C# .Net and return an array of objects.
We have a third party piece of software which is successfully doing this in PHP, the PHP code is below:

$ds = 

Continue reading

Tagged , , | Leave a comment

C++/VC++ alternatives for PHP's SplFileObject class

Is there any hand coded class or VC++ plugin available that is same as PHP’s SplFileObject…? Continue reading

Tagged , , , | Leave a comment

how to set up jsonp on the client and server side

I’m am very confused regarding the callback function while using jsonp
Here is my js file in json format
http://asla.dev.1over0.com/Guide/js/testjson.js
Essentially it’s this json

{"x": 10, "y":15}

This is the data I will be retrieving
Here is my website the Continue reading

Tagged , , , , | Leave a comment

Is there a difference between i==0 and 0==i? [closed]

Possible Duplicate:
A==B vs B==A, What are the differences
First code :

  if(i==0) {// do instructions here}

Second code :

  if(0==i) { // do instructions here }

What is the difference between the blocks? Continue reading

Tagged , | 5 Comments

crash when using windows platform 5.3.8 PHP 's function DOTNET()

I am running PHP 5.3.8 non-thread-safe version with IIS 7 on windows server 2008 . I have the following code

<?php
echo "Started..<br/>";

$outStr = "";
 $stack = new DOTNET("mscorlib", "System.Collections.Stack");
 $stack->Push(".Net");
 $stack->Push("Hello ");
 echo $stack->Pop() . $stack->Pop();
 echo "<br/>".$_SERVER['REQUEST_TIME']."<br/>";

Continue reading

Tagged , , , , | Leave a comment

Live video stream from C application to php

I have an application written in C that captures an image via webcam,does some processing on it,and then sends the resulting image through socket to a client application,also written in C,in another computer.
I want to do something similar but… Continue reading

Tagged , , | Leave a comment

plug-in for yahoo messenger

i want to create a plug-in for yahoo messenger. i know that i should create a tab plug-in but i don’t know how .
for more clearance i give an example :
i have website and i want to write… Continue reading

Tagged , , , , | Leave a comment

How to pass argument between php web and c# WP7

I am working with my WP7 application and PHP server.
I wonder how to “talk” between PHP and WP7 app??
Could i pass an arguments or list of arguments(which is constructor) from PHP server to WP7 server???
it is as… Continue reading

Tagged , , | 1 Comment
15 pages