is_file or file_exists in PHP
I need to check if a file is on HDD at a specified location ($path.$file_name). Which is the difference between `is_file...
Latest news, tutorials, and updates from the PHP community
6985 articles available
I need to check if a file is on HDD at a specified location ($path.$file_name). Which is the difference between `is_file...
So, in PHPDoc one can specify `@var` above the member variable declaration to hint at its type. Then an IDE, for ex. PHP...
In PHP with DOM, I have a DomElement object which represents an element. I have one case where I need to change this so ...
I am going crazy starting off with Web Services. I am trying to call the following WSDL using PHP and keep getting nowhe...
I've gotten a little confused with the `PDO::prepare` functions. I have something like this [Code Block] and i'd like to...
How do I use the XML-RPC library in PHP 5.2.6 for an XML-RPC client? The server is in Python. I have xmlrpc-epi v 0.51 i...
If I have a variable in PHP containing `0001` and I add 1 to it, the result is 2 instead of `0002`. How do I solve this ...
Consider these 2 examples... [Code Block] I'm interested in knowing if either of these are better. I've always used the ...
I have this code: [Code Block] I get the following error: Parse error: syntax error, unexpected '(', expecting ')' in /h...
When I want to remove a Cookie I try [Code Block] I see in my cookie browser from firefox that the cookie still exists. ...
I have two dates of the form: [Code Block] Now I need to find the difference between these two in the following form: [C...
Ignoring the special libraries that allow you to work with very big numbers, what's the largest int value you can store ...
Showing 6925 to 6936 of 6985 articles