Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
My php file online has permission settings 444 - ('readable' for everyone)
When I open the file in Firefox, it correctly only shows the output of the file (meaning things that are echoed or printed)
I want people to NOT EVER see the inside of the php file because it shows sensitive information. So - are there some people that are able to look into the inside of the php file?
Unless someone has access to the server then generally no.
There are ways to purposely make the source code visible however.
http://php.net/manual/en/function.show-source.php
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Is there a variable in which the console output is stored?
If I have this variable I can save it in a file and open it later.
Not to my knowledge.
The codecept_debug() function exists for this reason: Codeception basically takes over stdout, and only data sent through this function will appear in your test output.
The best I could suggest would be to have your test process send everything it outputs to a file for you to consult later. If you go that route, you'll probably want to disable the colors setting in your Codeception configuration (see related documentation).
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is there any way to display images and / or videos on a website and not allow visitors to download or copy them?
I once saw a website where I tried to download an image, but then it was impossible to open it on my computer because the file type was not recognized on my computer!
Is there any way to encode the files, maybe?
Thank you all.
If you can show the images and videos in a browser, they will always find a way to copy these. You can't have the cake and eat it.
The only thing you can do is to make it harder for the newbie.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
It might be a strange question but I am asked if it is possible and I don't know the answer.
In Windows it is possible to add details to a file, like an author and labels etc.
Is there any way in PHP I can read these details when this file is uploaded to the server (our client would like to use it to tag files on their server).
That information you mention it's called metadata.
You can use this php library to do the trick.
http://getid3.sourceforge.net/
Out of the box functionality doesn't pass this information when uploading files using PHP.
The documentation for $_FILES shows all of the details you can get about the file
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I think the title is explaining perfectly.
How I can deliver big REMOTE files to client with resume capability through PHP?
You likely wouldn't want to use PHP for that, since it's not really made for this kind of task.
For Resume capability, your script needs to be able to read and act properly upon the Range: HTTP request header the client sends, as well as correctly serve a Content-length: header at least.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have made a webpage and doing testing in different browsers. In Chrome, everything is okay. But in IE, in some pages, at their ends, a few words are used to repeat themselves, far away.
When I use cursor to highlight the repeated words, the original words far away are also being highlighted.
May experts teach me what I have done wrong?
most probably its because of CSS file which you have made for all explorers the same. You will need to change the CSS file according to your browser.
If you have already done it then sample or image/code of your web page is required to find
the actual problem and then the solution.