We have a customer that is trying to call our web service written in C# from PHP code. The web service call takes a long as parameter.
This call works fine for other customers calling from C# or Java but this customer is getting an error back from the call. I haven't debugged their specific call but I am guessing that the 64bit integer ...
Can someone recommend some good resources for learning about MVC in PHP? It doesn't have to be specific to MVC in PHP. In fact, I'm looking for recommendations of materials that focus on the higher level concepts with examples that could port well to any language so even ASP.net books will be tolerated ;-)
Any recommendations for books...
I truly love VIM - it's one of only a handful of applications I've every come across that make you feel warm and fuzzy inside. However, for PHP development, I still use PDT Eclipse although I would love to switch.
The reason I can't quite at the moment is the CTRL+SPACE code-assist functionality that I rely on so much - it's so usefu...
Are there any web apps that allow for source code collaboration? I'm thinking of something that could look at an SVN repo/local folder/etc. and publish the code with support for threaded discussions under each file or class. Ideally I want to find something that I could deploy/host myself, so being based in PHP would be a huge plus.
...
I have Windows 2003 Standard, IIS 6, PHP, MySQL and amy trying to get mcrypt working so I can use phpMyAdmin.
I have uncommended php_mcrypt.dll in php.ini and this file is in my extensions folder (c:\php).
I have downloaded libmcrypt.dll to c:\php, c:\php\ext, c:\windows, c:\windows\system32. I have also found a second version of this ...
How would one create a Singleton class using PHP5 classes?
...
Hi, I am looking for some direction on finding a good open source project to work on. I am experienced in Java and PHP and am currently learning C, however, I don't know if I am comfortable enough in it yet to contribute anything.
I tried looking at mediawiki but there wasn't really anything to do as it is such a big project with so man...
what's the asp equivalent to php's .= when concatenating strings?? oh and i'm referring to asp NOT asp.net.
argh...i meant to specify that i'm in a for loop. so i want to know the equivalent for .= (in php) not standard concatenation.
example below:
For Each Item In Request.Form
If (Item = "service") then
For x=1 To Reque...
I recently had to work on a project where the previous developer modified the wp-admin directory. It seems like a bad idea to me, since Wordpress is constantly updated. Am I just not at that level of expertise with modifying Wordpress?
...
I'm writing a C++ client which is using libcurl for communicating with a PHP script.
The communication should be session based, and thus the first task is to login and make the PHP script set up a session.
I'm not used to working with sessions either from C++ or PHP. I basically know that it has to do with cookies and communicating ses...
Does anybody knows how to redirect parent page from an ajax call. I made an ajax call to the server and from controller function that handles the call I whant to go to another page. Usually this function updates an element from current page , but in some cases I want to redirect browser to another page...
...
For debugging purposes, I need to recursively search a directory for all files which start with a UTF-8 byte order mark (BOM). My current solution is a simple shell script:
find -type f |
while read file
do
if [ "`head -c 3 -- "$file"`" == $'\xef\xbb\xbf' ]
then
echo "found BOM in: $file"
fi
done
Or, if you prefer s...
For a website like reddit with lots of up/down votes and lots of comments per topic what should I go with?
Lighttpd/Php or Lighttpd/CherryPy/Genshi/SQLAlchemy?
and for database what would scale better / be fastest MySQL ( 4.1 or 5 ? ) or PostgreSQL?
...
I've got a model in CakePHP that doesn't have a table, called Upload. I've got a validation in this Model for a field called source_id.
I've got a form that builds a nice looking $this-data, giving me a well formated set, including:
$this->data['Upload']['source_id']
However, the validation rule I have set doesn't seem to run at all....
Because I run a blog aggregator website which checks a large list of RSS feeds for new posts every hour so I will be happy if its possible to use google feed api or Google AJAX Feed API instead of making the cron jobs to read the whole feed to know if its updated or not.
like this link text
...
Hello
I need the values of form inputs to be populated by the sql database. My code works great for all text and textarea inputs but I can't figure out how to assign the database value to the drop down lists eg. 'Type of property' below. It revolves around getting the 'option selected' to represent the value held in the database.
Here ...
Has anybody been able to use CakePHP in Visual Studio using Phalanger
...
I'm running PHP 5.2.6 on a Windows Server 2003 Enterprise box. IIS is set to deny anonymous access and use Integrated Windows authentication.
I'm using a PHP script to save a file uploaded from a web form. The file is uploaded to a temp folder, the script creates a file name and path depending on other variables from the web form, and ...
I've been looking for a simple regex for URL's, does anybody have one handy that works well? I didn't find one with the zend framework validation classes and have seen several implementations.
Thanks
...
I'm making a small php website. I find it useful to prototype or layout the pages in a WYSIWYG web page editor.
I'd like to get suggestions on WYSIWIG web page editors that work well in a php development pipeline. Please share your favorites and describe why you like them.
...