Empty Post object in zf2 [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
When try uploading a form with a file greater than 10mb in zf2, the post object will be empty. Meanwhile, I have checked the php INI file settings and the upload_max_filesize is 128M.
I really don't know where the error is coming from. I need help

You may have to set post_max_size as well. See: Increasing the maximum post size
Also, use an inspector such as Firebug to make sure that the browser really is sending the POST data to the server.

Related

PHP File hacked [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
Recently one of the files that did payment processing was modified by a hacker. He added a line of code to get a copy of the card info. Site is safe from XSS/SQL Injection attacks.
The file is under /var/www/html and the folder has 777 permissions
File too has 777 permissions, I suspect this was changed by the hacker as well.
Although the file was modified in April'2014 timestamp said it was modified only in december 2012
So, does this mean someone gained access via ssh/ftp and modified it without affecting file stats? Or is this via something like HTTP PUT? What are the possibilities? Any insights?

Unknown Script Gets Added in Footer [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
The following script gets added in the footer.
<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"beacon-4.newrelic.com","licenseKey":"07c6de90a5","applicationID":"2880104,2883430,2076767","transactionName":"ZFxQYhBUWkVTUkQKX10Wc1UWXFtYHUJZDVdfXA==","queueTime":0,"applicationTime":80,"ttGuid":"","agentToken":"","userAttributes":"","errorBeacon":"jserror.newrelic.com","agent":"js-agent.newrelic.com\/nr-361.min.js"}</script>
I have disabled all plugins but its still there.
Its not present in footer.php, How to find out what's adding this code to the html source.
As the URL in the code clearly says, this is code for the New Relic performance monitor. It gets inserted automatically by a PHP/Apache module as long as it's active on your server.

Upload file using PHP to FTP and get url [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I would like to create a PHP form that is going to run on a local machine(WAMP).
This form is going to upload a file to a web server and echo the url of the uploaded file.
My skills in php are low, I can understand a code but I have difficulties writing one.
Your help will be appreciated.
Here's a start. Have a look at these tutorials
http://www.tizag.com/phpT/fileupload.php
http://www.dzone.com/snippets/very-simple-php-file-upload
http://www.htmlgoodies.com/beyond/php/article.php/3472551
http://www.sitepoint.com/file-uploads-with-php/
UPDATE:
If you want to use a local version and FTP the file to another remote location have a look here
http://nirvaat.com/blog/web-development/uploading-files-ftp-server-php-script/

PDO Class Caching Issue [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
For a few days now one of my class files doesn't seem to be recognizing the updates I'm making to it, and I can't figure out why. I've verified the server has the most current copy and also tried deleting the file off the server and uploading a clean copy. I've even removed functions entirely from the class and then successfully ran those functions from another file even though I'm positive it was no longer in the class file.
I don't know what the issue is, but I'm guessing it may be some type of cache issue? Tried rebooting the server too, same issue. I've also poured through the code and can't find any errors. Here's a link to the file http://pastebin.com/eiki93GM.
What are some of the possible issues?
There are two
opcode cache with disabled filemtime check.
you are uploading to the wrong server.

Removing the (www) for subdomains [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I created a new subdomain for my site.
http://www.catalog.modifit9plus1.com. But i can only access the site using this form. How do i make it accessible via http://catalog.modifit9plus1.com?
#Theolodis #Lawrence
I can also access using either link. Could this not be a browser problem?
EDIT:
I am pretty sure I have seen some old browsers not being able to load URLs lacking the 'www' prefix. An old version of Epiphany maybe. I can't find anything backing this up on the Internet though.

Categories