[PHP] mysql_fetch_object() equivalent for mongoDB

2011-09-06 Thread chamila gayan
hi all, Is anybody aware of mysql_fetch_object() equivalent/similar implementation for mongoDB? we are looking for the most efficient way to store and load a php object with mongoDB. really appreciate if you can share your experience on this. thanks.. ~Chamila Gayan

[PHP] dev to production server

2011-09-06 Thread Chris Stinemetz
Does anyone have a procedure or know of any tutorials that explain how to take a mac/apache/php/mysql dev environment and converting it to production environment? Basically I want to host my own web site on my local machine now that I have finished developing it. Thanks in advance! -- PHP Gener

Re: [PHP] REQUEST and COOKIE

2011-09-06 Thread James Yerge
On 09/06/2011 05:47 PM, ALEJANDRO ZAPIOLA wrote: > Seeing the $_REQUEST[] and it is a matrix that has the content of $_GET, > $_POST and $_COOKIE, I think this can be used maliciously into the script. > i.e.: > request1.php > setCookie("name","alejandro"); > echo "location.href='re

[PHP] REQUEST and COOKIE

2011-09-06 Thread ALEJANDRO ZAPIOLA
Seeing the $_REQUEST[] and it is a matrix that has the content of $_GET, $_POST and $_COOKIE, I think this can be used maliciously into the script. i.e.: request1.php location.href='request2.php'"; ?> In this case, I'm setting the variable 'name' with value 'Alejandro', then redirects to request2.