Open Zono4ever opened 8 years ago
Sorry for the delayed answer. Unfortunately, your website does not work: Error requesting user: Failed to connect to hoanglong-restaurant.com port 39999: Connection refused
Neither does your terminal: -bash: pwd: command not found
That said, you should be able to send the query params to your node.js app using the form: node.php?path=/user%3Fname%3Dname%26email%3Demail
.
Hi there, I´ve try your code and is it amazing. And I've create a test with mysql and every think is fine until I try to get the req. from query . i.e : http://api.cysub.com/user?name=name&email=email and you can get the ?name=name&email=email with req.query and it will show somethink like this { name: 'name', email: 'email' } with ( console.log(req.query) but is doen't. PS / On my test site you can see the last one "test":[] this should print "test":[{ name: 'name', email: 'email' }] if is work.
I´ve creat a control for this node.php like a terminal. You can see its here http://api.cysub.com/?a=setup type help to see the command's.
The terminal css you can get is here from Marcus Bizal. http://codepen.io/marcbizal/pen/VLKoam