Maq
Administrators-
Posts
9,363 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Maq
-
I have no clue what you are asking, please elaborate.
-
Why does it take so long to recognize file existence?
Maq replied to evansste's topic in PHP Coding Help
@evansste - please use code tags when posting code. -
Pretty much my thoughts as well, nothing impressive or different, just tailored towards amazon's services.
-
Today, Amazon announced the "Fire Phone", what are your thoughts? http://www.businessinsider.com/amazon-fire-phone-2014-6
-
Need help retrieving a value from an instance property
Maq replied to eldan88's topic in PHP Coding Help
As Ch0cu3r mentioned, typically you would leave $subtotal private and create getter/setter methods to access it. -
php singleton class to read multidimensional array from txt file
Maq replied to user12345's topic in PHP Coding Help
@OP, please use code tags when posting code. -
@OP, please use code tags in the future.
-
Side note: When developing you should have error reporting on and remove '@' symbols from your code (which suppress error messages): $value = @explode($locale['mon_decimal_point'], $value);
-
Assuming all of your fruit classes extend or implement product, it looks like you should be using the factory pattern. Create a ProductFactory class that takes in the $product and returns the correct object.
-
1) You need to use the object you instantiated to invoke that method. 2) You don't need to echo if you are echoing in your function. 3) As ginerjm mentioned, you don't need those extra curly braces in your methods.
-
@OP, if you are using a decent editor/IDE it will detect invalid XML and XSL tags. This isn't a PHP question, moving to "other programming languages".
-
Moved topic to appropriate forum, please be careful of where you're posting. Also use code tags when posting code.
-
As Jacques1 mentioned, it's obfuscated so they obviously don't want you using this code. You can try going to their website and contacting them otherwise, I would forget about this script.
-
Maybe I'm confused about your question is but why can't you use something like google analytics? I'm also not sure what this means, "without using a database on this ftp"?
-
@dapcigar, please follow the rules and use code tags when posting code.
-
Looks like it's working fine. If there is an issue, why don't you contact the author of the script? That's a lot of code to go through, you're going to have to isolate the issue.
-
<?php print "Hello world, I need a good brain!"; ?>
Maq replied to phpallwinner's topic in Introductions
Instead of scraping, search to see if each of these sites have an API you can use, it's far more reliable. Also, I would attempt to do this yourself then if you have specific questions post them in the appropriate forum section for more helpful replies.- 4 replies
-
- php search
- php search engine
-
(and 1 more)
Tagged with:
-
Careful where you post, moving to JS section.
- 1 reply
-
- jquery
- javascript
-
(and 1 more)
Tagged with:
-
Please use code tags when posting code. What do you mean by "no longer working"? Does it error out? What happens?
-
It's pretty straight forward and there are plenty of examples. Try to figure it out and come back with a specific question or some code.
-
What have you tried?
-
Finally, was getting sick of all his reports!