How to block upload adult or nude image? [closed] - php

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 have a problem to uploading the image.I have to validate the image in which adult or nude image is not upload.

You can use online services like the WebPurify Image Moderation Service. or try nudity detection service at Github or use Googles' Nudity detection service.

At this point in history the task of reviewing images needs to be done by humans, as photos are infinitely variable in content (and software is not that smart).
Depending on your website, you are better off with a peer-review system. That way you offload the small amount of work, per-image, onto your users.
Basically do not display new images until they have been reviewed by another user and offer some form of minor reward for reviewing images (fictional point systems, like SO, seem to work well) :)
You will also want to keep a reliability score for reviewers, so that if they pass invalid images, that are later reported as violations, they lose the ability to confirm more images.

You can use this one for nude:
PORNsweeper
http://www.dansdata.com/pornsweeper.htm

Related

Take random photos with PHP [closed]

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 am building an examination system. I was wondering, could I take random photos of the person taking the exam in random intervals? The students will be required to allow the site to use the camera for them to access the question. The system will then take random photos in random intervals. I want to use PHP or anyone with an idea how I can go about it?
Javascript is more suited for that kind of task. Check out this API for more informations ΒΈ
Edit, You should take in consideration that not alot of browsers allows it. it seams to be more accepted in mobile browser.
Hopes it helps !
Nic

Edit a css file from the live website [closed]

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
so i want to develop a mini website builder within my website. Have a control panel where users can edit the text in their websites, i want each of those html pages to have its own css file attached to it. Now, i want it so that the user sees something like a button saying "Edit Background color" they are prompted with a color picker and on hitting save, the css file is updated without them knowing that css even exists.
I would like to know what language i can use to make the previous example happen. And if possible a hint of code.
I appreciate your answers, Braulio :)
I didn't downvote you but just for informational purposes, the reason you were probably downvoted is due to the scope of your question, The language you choose depends on what platform you are running your site on. And it is likely possible to do what you want in tons of different languages assuming your platform supports them. For an easy solution check out .net languages like c# with ajax controls for live updates without refreshes. But then again you could use ruby with rails. Or you could do most of it in the client side with jquery and javascript then send the results to the server which could utilize php. It is just to broad a question to really answer without writing the whole thing for you which nobody is going to do.

The ability to fight with Ad-Blocker [closed]

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 had searched by google and this forum-search and I didnt get any about this so I propose a new topic: WordPress with the ability to fight with Ad-Blocker.
I am not an IT guy (subsea engineer) but I am having website with about 100 - 200 unique visitor/day now (according to adsense) as hobby (1%-4% using ad-blocker - I am lucky to have these ~97% my visitors).
I just learn that ad-block users are about 300 mil and it is a huge problem to big publisher (they earn money from ads). Ad-blocker using bandwith, upload data to their server and some (one of them - I expect more of them) sell the data as anons.
In accordance to the above idea,
I have a question as a-non IT guys, is there a way to make WordPress to tackle ad-blocker (auto)?
It may be a way to disarm ad-blocker. My website is like my home/house. You/Visitors can visit but please consider the owner.
No from what I can tell, it keeps a list of servers which are used to serve advertisements. Whenever you visit any website, the web browser has to fetch the components from the various servers. Adblock simply blocks the connections to any item on its list of ad servers, thus blocking all or most ads. The list of servers has to be updated ever so often which it does in the backend.

How to test geo targeting for website? [closed]

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 7 years ago.
Improve this question
I am implementing GeoTargeting in my website to show different content based on whether traffic is from US or NON US.
I have every thing set up the way it should be. Now I want to test and see if its working for NON US traffic.
How can I do that. I would like to also test features of the website when I am testing for NON US traffic.
Two professional solutions:
Geosurf
GeoEdge
Both offer a toolbar as plugins for some browsers where you can "simulate" (aka proxy).
You need some sort of geolocation database to test against. Here's one: http://dev.maxmind.com/geoip/legacy/geolite/
From there, it wouldn't be too hard to figure out where users are coming from... though it will never be 100% accurate.
There's also the HTML5 geolocation: http://html5demos.com/geo - but users have to explicitly allow location reporting... and it doesn't work all the time, either, even if they accept.

PHP website file transfer [closed]

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

Categories