Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
i have recently maked a site which if i open that in chrome it gives me a malware protection error and if i open it in ff or ie it gives me to install Java plugin, but i haven't add any java applet to home page and not any maleware or trojan on home page why it is showing it to me......
please let me know how can i check my html code for virus or iframes for viruses
Check your HTML code for suspicious <script> and <iframe> blocks. If you find any, they could have been added by a virus on your computer or by someone who sniffed your FTP password and changed the files on the FTP server.
It might be you did not properly sanitize input you output and someone exploited this to inject malicious code to your site. This could be through URL params or forms for example or when including content from other servers, like ad rotation banners.
See
http://en.wikipedia.org/wiki/Cross-site_scripting
http://en.wikipedia.org/wiki/Csrf
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I have just built a responsive HTML5 page, and as such, it links to other parts of the page from the menu... so, I have #home, #about, etc. I also need to pass a php variable for language, so that the correct language displays on the page, so I have lang=es, lang=gb, etc.
The languages are working fine and the links are working fine, but when I combine them both, the links stop working. Either as #about?lang=es or as index.php#about?lang=es. Neither works. It just stays at the top of the page and doesn't jump.
Any clues as to why?
Thanks in advance.
Kirsty
You should pass the php params first and then html tag ID
see the example below
https://domain.extension?lang=es#about
Dont worry about php variable value, it will remain untouched, servers will handle it
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
pls im looking for a new way to load my urls and pages in laravel, i want the url to change and the webpage to change but i do not want the whole browser to load, some examples are like soundcloud.com, wakanow.com, https://www.indiehackers.com/businesses, even linkedin has the same feature, where the pages load like desktop apps and they have nice preolading animations that works with the page, i believe this will be helpful to other people too :)
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I am working on some sort of blogging platform in php with a nice material design lite frontend. However I have a page that dynamically loads the content, it works fine in the root directory, but not in my admin directory. I hope you can spot some kind of error/typo in my code, I know the error is in the menu-start file, since disabling it enables loading.
Here is the page that loads the code
and here is the menu-start page
If you need any other code, please ask
You're using relative links for include, which will mess up when you start changing directories. Use a pseudo-absolute path with DOCUMENT_ROOT. Be sure to use this for all of your includes.
<?php include $_SERVER['DOCUMENT_ROOT'].'/menu-start.php'; ?>
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I created php web application like 9gag, the problem is if any one view in chrome it's run nice but in internet explore it does not playing after pressing refresh it works fine. Plz help
Demo link http://myzonevideos.com/play.php?vid=8
Internet Explorer is a one crazy lame browser that ever been created. It must be something about headers of the video you are trying to view on browser.
Also you didn't provide the information that what you are using to play the videos, flash or HTML5?
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 9 years ago.
Improve this question
I have a basic PHP page that uses user input from a HTML page to generate a list for the user.
How do I encrypt this page to prevent users from accessing the source code?
I have seen a lot of information around the web regarding padding html, disabling right click and using Javascript to encrypt code. I could not get Javascript encoding to work, and I didn't feel confident using one of the 'specialized' services, so I came here looking for further answers.
After all that research, it turns out PHP code is not seen by the user like HTML code is able to be seen. As HTML was visible to users, I assumed the PHP code on my PHP file would be visible too. The result is a relief, because it means my PHP code is protected from the public eye.
After a short query and some helpful answers below I have found a very simple solution to what seemed like a difficult question.
I hope this post helps people in the same situation who feel like they are unable to protect their code, so that can find relief in what is really a very simple solution.
Thanks,
Andrew
As stated by others, php code is not accessible to the public, unless your server is wrongly configured or hacked in some way.
However, the form data is sent between the client and server unencrypted. For sensitive data(e.g. Passwords), this has security problems. To solve this you need to buy an SSL certificate. Most hosting companies can sell you this.
Bear in mind the final output source of HTML, CSS and JavaScript will always be visible of the user, due to the way the web works. For many people, this openness is what makes the Internet so great.
You can encode your code with ionCube Encoder.