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/
Related
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 am using php excel library to create multiple excel files in one click. I am using for loop on the the header functions. but it does not work. any body please help me.
Thank YOU
HTTP doesn't support multiple files in a single download. You can only transfer one file from server side at a time.
1.Zip/Tar the multiple files on the server and transfer that zip, there's no way to download more than one file per request.
Save the files on the server and return the download links in HTML page.
Use JavaScript to window.open multiple files for download.
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?
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.
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.
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.