Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~4K People Reached
Favorite Tags
Member Avatar for mutago

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 = …

Member Avatar for Mangesh_2
0
1K
Member Avatar for mutago

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 …

Member Avatar for cereal
0
232
Member Avatar for edet4krist
Member Avatar for stultuske
0
236
Member Avatar for mutago

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 …

Member Avatar for LastMitch
0
181
Member Avatar for mutago

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

Member Avatar for Doug_Vann
0
174
Member Avatar for mutago

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 = …

Member Avatar for mutago
0
205
Member Avatar for mutago

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

Member Avatar for hag++
0
232
Member Avatar for mutago

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 …

Member Avatar for LastMitch
0
148
Member Avatar for mutago

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 …

Member Avatar for hag++
0
289
Member Avatar for mutago

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 …

Member Avatar for LastMitch
0
296
Member Avatar for mutago

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 …

Member Avatar for paulkd
0
329
Member Avatar for mutago

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) …

Member Avatar for LastMitch
0
425
Member Avatar for mutago

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 …

Member Avatar for peter_budo
0
118
Member Avatar for mutago

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 …

0
89