PDO Class Caching Issue [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
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.

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?

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/

Empty Post object in zf2 [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
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.

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.

How to get set up for learning PHP? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have downloaded WAMP to try to learn PHP on, and am having trouble getting it to work as expected whenever trying to follow along in PHP tutorials.
Either what I get back in my browser is raw PHP (as shown below in "PHP Test 1"), or nothing at all (as shown below in "PHP Test 2"). I'm just trying to learn the basics of PHP, and am finding this to be very frustrating. Can anyone help? What do I need to do get PHP working, or what should I try?
Originally I was going to post screen shots to better describe the problem I'm having, as well as to better help others who are experiencing the same problem, but was not allowed to due to something about not having enough "points". Anyway, what I was originally trying to post can be found here:
https://sites.google.com/site/bluedog4678/
You need to start WAMPP then type this in the address bar: localhost/PHP_TEST_1.php.
You are currently opening a simple file without running WAMPP you need to run it through localhost.
You shouldn't access your files directly. Normally with simulated apache-servers you need to type in "localhost" to let it render correctly
EDIT
If you want to select a file it would be "localhost/"

Categories