1,135 Topics

Member Avatar for
Member Avatar for faysal515

I am working on a dynamic project for my own but struggling to create an article. The idea is that one registered user can publish an article with an image . <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> <!DOCTYPE html PUBLIC …

Member Avatar for Deepak_11
0
1K
Member Avatar for suno15

I created a banner to my website with 3 images moving dynamically. I want to update the images from an admin pannel. Please help me. Thank You.

Member Avatar for diafol
0
117
Member Avatar for nerdynewf

I have code to upload a image to a folder (storing location and image info in a mysql database) with a separate page to display the images in albums on a website. Can I change this existing code to allow me to upload multiple images at once? here is the …

Member Avatar for nerdynewf
0
246
Member Avatar for DaniwebOS

Hello all, I have an issue, not that familiar with ASP but the environment I'm working on requires this to be designed here. I have a file with a string, integer, and another integer seperated by commas. I need the website to allow the user to upload a csv or …

Member Avatar for BMXDad
0
299
Member Avatar for Syed Nasir ali

Hi when i run php file on local host it directly go to download folder it not come in run condition Please help me i am new in php thank

Member Avatar for pzuurveen
0
256
Member Avatar for lakmal411
Member Avatar for PriteshP23

I had saved files in folder "uploads".I want to display uploaded filename in the table. There are two files. london.jpeg & usa.pdf Table: no Name File 1 abc london 2 xyz usa When one click on london or usa, one should able to see the file. I need urngent help. …

Member Avatar for PriteshP23
0
460
Member Avatar for dinhunzvi

i have a php script that generates a text file. the code is as follows. the text file is being is being created. <?php session_start(); /** * @author FreeUser * @copyright 2013 */ set_time_limit(0); // override the maximum execution time in php.ini file require_once 'includes/mysql_connect.php'; require_once 'includes/functions.php'; if ( isset( …

Member Avatar for dinhunzvi
0
272
Member Avatar for ing

Hi. I have a noobish UNIX question. I have a password-protected section of my website for testing (named 'sandbox') and I'm trying to write output to a plain text file in that directory. But I'm getting the following error due to permissions settings. `Warning: file_put_contents(testdb.txt) [function.file-put-contents]: failed to open stream: …

Member Avatar for rubberman
0
451
Member Avatar for sabarinadh.ch

I want to upload images to my database, these can be done using php and mysqli . The form contains some information like file descriptiopn and input file and when i submit the file the file will automatically enters in to the database and the image will be stored in …

Member Avatar for diafol
0
1K
Member Avatar for ing

Hello. I'm trying to set up a private section of my website for testing and I'm having a problem where my .htaccess / .htpasswd protection always rejects my password. I've set permissions to 604 on both files as recommended by my web host and both files reside in the same …

Member Avatar for cereal
0
411
Member Avatar for irfath

Heloo Guyz!! I Uploaded My Html and Php Files To server by using FileZila. And When I google and click my address It shows all the Files i uploaded to server(Shows the directory ). not the home page, how can i show my home page only when i click my …

Member Avatar for irfath
0
203
Member Avatar for GTTravis

I have a task and a half that i am sure i can do, just want to be pushed in the right direction: i have a web page (asp.net c#), on it has a button that when clicked should launch the file dialog window, users must be able to select …

Member Avatar for GTTravis
0
151
Member Avatar for karthikmanda

# my html page # <form action="file_insert.jsp" method="get" name="ff" onsubmit="return validation()" > <tr> <td height="50" colspan="2" align="center"><font color="#CC0033"><strong><font color="#663366"><em><font size="4">Fileupload </font> </em> </font></strong></font></td> </tr> <tr> <td width="117" height="36"><font color="#FFFFFF"><em><font color="#663333"><strong><font color="#400040">Filename:</font></strong></font></em></font></td> <td width="219"><input type="text" name="fn" class="a" /></td> </tr> <tr> <td height="43"><em><font color="#663333"><strong><font color="#400040">File id:</font></strong></font></em></td> <td width="219"> <input type="text" class="a" name="fid" …

Member Avatar for LastMitch
0
270
Member Avatar for marifard

Hi, I try to make a simple page to upload an image in Database. This is a test page in my website at this moment. The name of the table to store the images is image and the columns are: id, userid, name, image My problem is when I click …

Member Avatar for marifard
0
387
Member Avatar for ibthevivin

Here's a fun problem for you geniuses who know SharePoint and networking. We upload videos to our SharePoint site. Regardless of the size, when we play it here at the corporate office, it will play about 20 seconds in and then reset to zero and you would have to refresh …

Member Avatar for CimmerianX
0
460
Member Avatar for imti321

i have three entries in phpmyadmin id name and image i want to upload image from the form into database and display that back into the form where from i am uploading it.I get this error PHP Warning: mysql_insert_id() expects parameter 1 to be resource, null given in D:\path\to\sitename\httpdocs\sql\uploadimage.php on …

Member Avatar for Webville312
0
445
Member Avatar for ditty

Hi, I am doing a photo library which includes large size of photos. One photo size may be around 80-100mb. And also the file type may be different. Is it possible to do it using php. if yes please give me the details.Thanks

Member Avatar for Szabi Zsoldos
0
145
Member Avatar for minnie19

**I have a form Upload.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CSharp.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Upload Files To DataBase</title> </head> <body> <form id="form1" runat="server"> <div> <asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" /> <br /> <asp:Label ID="lblMessage" runat="server" …

Member Avatar for lolafuertes
0
911
Member Avatar for adeeb.keyaam

i am using http://bojanmauser.from.hr/bvalidator/ this script to validate my form, now i am stack with a problem, want to set max file limit for image file upload. but i am unsuccessful everytime, can anybody help me to get rid of this, advance thanx to all, who is reading this discussion …

Member Avatar for Troy III
-1
357
Member Avatar for entropic3105

Where can I download the random module, because I've been looking for weeks and can't find a site where I can download it.

Member Avatar for entropic3105
0
751
Member Avatar for phfilly

Hi! I have a problem with the unlink() php function. What I try to do is to delete a certain file in a directory. Now the function works fine. But when I call it then it deletes ALL the files inside of that directory. What I want is for it …

Member Avatar for phfilly
0
2K
Member Avatar for dina85

after press submit button to upload the image, the information will display at new window, i need the information will be display below submit button. my code: <?php if($_GET['action'] == "upload") { ?> <div id="upload"> <br/><br/> <form action="upload_image.php?action=upload" method="post" enctype="multipart/form-data"> <label for="file">Gambar yang ingin dimuat naik:</label> <input type="file" name="file" id="file"><br><br/> …

Member Avatar for minitauros
0
260
Member Avatar for dina85

can't download file from database, got error, help me please.. <?php require("conn2.php"); $sql="select image from images where id='$_GET[id]';"; $result = mysql_query($sql); $row = mysql_fetch_array($result) $name = $row['image']; // the name of the file that is downloaded $FilePath = "upload"; // the folder of the file that is downloaded , you …

Member Avatar for minitauros
0
266
Member Avatar for blackeyes85
Member Avatar for yy886

It seem to be I have a problem on that code as this only go though the first one and then stopped...so other file extension is not allow... //Check the file extension if (($_FILES["file"]["type"] == "application/pdf") || ($_FILES["file"]["type"] == "application/doc") || ($_FILES["file"]["type"] == "application/docx") || ($_FILES["file"]["type"] == "application/ppt") || ($_FILES["file"]["type"] …

Member Avatar for yy886
0
290
Member Avatar for adem87

i have a project that it find the shortest bakery in c# . i written a program that save vertex and edge and drowing when opening the program. bu i need a code that find the nearest bakery. please write the needing code below this. i have this vertex.id vertex.x, …

Member Avatar for ddanbe
0
247
Member Avatar for Angle90

Hello Everyone, I need your help, can you please tell me how to create a text field for file upload with HTML ? I presently have this code in my form for file upload to the webserver; `<input name="userfile" type="file" size="50">`, this allows someone to browse file from their computer …

Member Avatar for cereal
0
4K
Member Avatar for sathishbabu.boopathy

In my app, im using a small form created dynamically by a jquery to upload files to server. This is working perfectly in FF and chrome. the issue is that im getting $_FILES as empty to my upload php. The file im trying to upload is a Zip file which …

Member Avatar for LastMitch
0
344
Member Avatar for gurkirts

echo enter the any no. read n fact=1 for(i=1;i<=b;i ) do fact=fact*i done echo factorial is fact

Member Avatar for <M/>
0
277

The End.