File Protection in PHPExcel [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
Can I create a password protected excel file (not workbook/worksheet password protection) using PHPExcel?
I have a linux server and 'COM' class doesn't support linux server. I have no idea how to password protect my excel file.

You can't password protect a file in PHPExcel, that feature simply isn't available. You can only protect cells from being written to, or their style changed.

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/

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.

Sprocketsfilter in assetic - requirements and example [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 9 years ago.
Improve this question
I'm working with Symfony 2 with Twig and assetic file manager.
I have high number of javascript files that have many dependencies. (Javascript prototypal inheritance)
I saw sprockets in action, and I see that assetic has also sprocketsfilter to manage dependencies.
Do I need anything more that I already have (php)? (I believe sprockets were orginally created for ruby)
I'd like to see an example of using it together, for example 5 js files (containing function that requires previous one)

Categories