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
Please help anyone, This is 4th time for our concern, some one hacking our all websites and replace our index file by their new file.
This time hacked by XcoDerz Security(https://www.facebook.com/Th3CoderzBoat/timeline?ref=page_internal). Please give me the solution to avoid this type of hacking.
Basically they are replacing my index file with their new index file with some of new content.
First of all, change your FTP details. Then check your FTP files for any JS that could be interrogated, or file upload forms? Remove them.
You could try contacting your Web Hosting provider and inform them of what's happening, and supply them with IP addresses if you have them. They may be able to put things in place from their end to block these hackers.
Related
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 6 years ago.
Improve this question
i want to login from my website via link on a partnership website. To program this with PHP, is not a problem for me. But i ask myself if there is a standard or good practice to do this.
My current solution is to use a proxy. Does anyone have a better idea?
Many thanks.
You should definitely take care that the link for log in on that partner website is only valid once. Moreover, you should take care of timing attacks, etc.
The best thing is that you use one-time tokens and that your websites communicate with each other via an internal API. This prevents most of the issues.
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 9 years ago.
Improve this question
I'm making a CMS for one of my friends. She is a writer with a looots of ideas and notes. I just realized that she needs a note taking webapp inside that CMS that allows her to make notes by simply writing an e-mail to a specific e-mail address. Like Evernote: the subject would be the 'title' of the note and the body would be the content.
But I cannot figure it out how to do that – in the past few days I was thinking only and nothing came out. I need a 'trigger' which runs a PHP script but how? Do you guys have some ideas?
I would really appreciate that.
Thanks a lot.
You would need to create an email address that "pipes" to an application, such as PHP.
If you are on a WHM server, cPanel accounts can easily do this. See: http://docs.whmcs.com/Email_Piping
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
So I have a social network with a sign up form. Is there any way I can prevent a user from entering a username that is a folder or file on my server?
For example www.example.com/username I don't want users to choose usernames that are files or folders on my server
Just use file_exists (and make sure the directory it points to is correct). For example:
if(file_exists($escaped_username)) {
echo "Can't use that username.";
}
Though if you find yourself needing to make this check, perhaps you need to rethink the design a little.
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 need to provide some functionality to another site.
What way is better and why?
1. Iframe
2. Provide PHP code and HTML/CSS.
I trust another site's admin.
First option is good but you keep all the responsabilities on your side. if an error occur, you're the only one to blame.
HOW? : you generate a regular Html page and give them an iframe. that's how facebook does it.
Option 2 is the eazy way but you talk about storing things into your DB. in this case i hope you know the guy who manage the other website.
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 4 years ago.
Improve this question
I want to build a website with PHP where my users can host their music files on my server. When my users log into my site, they are presented with a file directory of all their songs, and can drag and drop to add new ones to their collection, delete old ones hosted on my server, rename them, stream music, download it, etc, etc.
My question is this: what is the best way to facilitate this file transfer/showing directories/all stuff mentioned above? FTP? HTTP requests? Speed is key for me. Suggestions?
(And if you might be able to point me to a framework to start with in your response that would be really cool too)
javascript, jQuery, php's opendir();, php's readdir(); with combination of ajax
for streaming, flash player