- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
14 Posted Topics
Good day experts, i want to upload image and forms input to database using apachae method but it returns an error display below [CODE] org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 36 in the jsp file: /jsp/cat1.jsp name cannot be resolved 33: String fvalue = … | |
Assuming someone is developing a site similiar to facebook in content where users are allowed to upload of heavy files, images, videos, pdf etc. what could be the php best option of coding and fast in workability 1: Is it the best to upload and retrieve the files to and … | |
Re: You can try this link to use java servlets http://www.roseindia.net/servlets/retreiveimage.shtml | |
Learning the best way to securely upload files to a server Can someone tell me the best way to ensure that only image is uploaded using finfo() thereby preventing hackers from uploading a malicious files.Assuming I don't want to upload files outside the roots. 1: I check if file exist … ![]() | |
what could be the best way to disable symlink attack 1: i use**disable_functions= symlink,ln** at php.ini 2: at .htaccess i disable it as follow with minus sign(-) Options -FollowSymLinks Options -SymLinksIfOwnerMatch is my workings okay. or they are other work round thank you | |
Hello everyone, this mysql_deprecated works very fine and retrieves information but when i tried moving it to PDO it displays nothing. can someone help me thank you working mysql_deprecated.php <?php require('config.php'); $user = $_SESSION['log']['username']; $sql = "SELECT * FROM users WHERE username='$user' OR friend='$user' AND status = 'accepted'"; $result = … | |
I want prevent symlink attack so i first disable symlink using disable_functions I need to know other ways of protecting symlink attack using .htaccess files thank You | |
I logged into my control panel and i discovered that my directory permissions was set as follows /home /access_log = 750 /etc =750 /mail = 750 /public_htm = 750 /public_ftp = 750 /tmp = 755 /www = 750 Can I set it all to 640. can someone tell me the … ![]() | |
uploading web file outside doc-root issues I uploaded my file oustside the root directory while leaving only index.php in the public_html here is my directory structure /home/user /myweb_application ----> my uploaded files /access_log /etc /mail /public_htm /public_ftp /tmp /www Here is how i configured it 1: inside /public_html I have … | |
I need to prevent direct access of all the php files but allow only files pass.php how can i do that <Files ~ "\.php$"> Order allow,deny Deny from all Allow from 127.0.0.1 </Files> the code only allow access to localhost. now what if i want to allow access only to … ![]() | |
can apache server be able to access php files saved outside docroot what if the person just guest the directory link and bypass index.php files residing on public_html eg https://example.com/i have seen it/steal.php won't it execute. I think we need to tell apache not to load directory /web outside root … | |
This chat sound notification script works on Internet Explorer, Safari and google chrome. But does not work on mozila firefox. can someone help me to fix that or an alternative that can work in all browsers <html><head></head> <script type="text/javascript"> var soundObject = null; function PlaySound() { if (soundObject != null) … ![]() | |
I tried querying database records using pass variable from ibatis servlets it works fine and fetch the records if correct pass value is entered but return error message if wrong pass value is entered eg <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd"> <sqlMap namespace="Display1"> <!--- quer … | |
GOODAY experts, this code was to display an image from the database but when I runs it it displays an empty page, I tried to extend using Jframe but it still display an empty page. in my EXCEPTION I tried using PRINT STACK TRACE nowhere. please help me to fix … |
The End.