497 Topics

Member Avatar for
Member Avatar for roxanne.martos

i dont know why but somehow my files are being upload to the server folder but not stored within db <?php include_once("conninfo2.php"); error_reporting(E_ALL); $usid = 1; if(isset($_FILES['files'])){ $query = "INSERT into files(`filename`,`fsize`,`ftype`,`uploadtimest`, `usid`) VALUES(:filename,:fsize,:ftype,now(), :usid)"; $stmt = $db->prepare($query); $errors= array(); foreach($_FILES['files']['tmp_name'] as $key => $error ){ if ($error != UPLOAD_ERR_OK) …

Member Avatar for diafol
0
221
Member Avatar for chaitu11
Member Avatar for jithinjohny

Hi, I have linux based hosting. I need to upload and work the jsp/servlet pages. after i uploaded the files into the hosting, when i checked the files , it shows the code itslef. How to fix this. Please help me. Thanks in advance.

Member Avatar for stultuske
0
210
Member Avatar for sukhdev.singh

Hi this is Sukhdev, I am new in php and wish to know how to import the data from excel sheet to mysql Table; 1. I have a table with the name of city in mysql with following fields; city_id,city_name,tier_id,tier_name,state_id,state_name 2. what would be the function for uploading above fields, …

Member Avatar for chrishea
0
327
Member Avatar for malatamil

i have a dropdown box and i already upload the value from dropdown selection to database. after uploading i want to cange the dropdown value how should i do,please help me. thanks in advance

Member Avatar for malatamil
0
129
Member Avatar for malatamil

i know to upload normal type of multiple image.bt here my code is like to upload multiple images with rename image as date and time. but the problem is while uploading multiple image its added only one image.how can i add multiple image by using this code $num4 = count($_FILES['mainimage']['name']); …

Member Avatar for iamthwee
0
250
Member Avatar for BeckyAnne87

Hi there, I've started to create a site for me and my friends, and I want to be able to have each of us upload an image, and store it in a database, and then have it display as a display picture on a profile page. I've been looking around, …

Member Avatar for diafol
0
5K
Member Avatar for svsathyavishnu
Member Avatar for gogs85

How to upload image to database and move into image folder this is my function for other rows: <?php function add_post($title, $contents, $category) { $title = mysql_real_escape_string($title); $contents = mysql_real_escape_string($contents); $category = (int) $category; //var_dump($category); mysql_query("INSERT INTO `posts` SET `cat_id` = '{$category}', `title` = '{$title}', `image` = '{$image}', `contents` = …

Member Avatar for gogs85
0
303
Member Avatar for momonq1990

my hosting directory permissions is writeable but still i recieved in 0kb files came form my upload page.

Member Avatar for momonq1990
0
728
Member Avatar for nalini@121

Hi, Can anyone help me for uploading files into different folders using Code Igniter. Right now all files goes into a single folder insted of different folder even I have set path for them in config variable. Thanks

Member Avatar for A@DFGFGN.IN
0
5K
Member Avatar for Ruan_1

How can I get images from a server and save them locally. I want to import images from a url and upload it to my server. I have all the url of the images stored on my database (ETSP_GET_PHOTO_URL) I am very new to this so any help would be …

Member Avatar for Daemon_CC
0
172
Member Avatar for momonq1990

gud day! why my upload files not really uploading in my online server? im using this ref. http://www.tizag.com/phpT/fileupload.php but in offline its working the file upload was move to my localhost folder.

Member Avatar for hafiztn
0
387
Member Avatar for nufftalon

I usually use wp clone wordpress plugin which basiclaly zipped the database and folder of wordpress to upload to a new install of wordpress. I can't use it however on a bridal woocommerce website. It tries then eventually gives me a 404 page not found error. The is has about …

Member Avatar for iamthwee
0
136
Member Avatar for abaddon2031

Ok so I have been searching for several days on how to write a simple python script that will HTTP post to my server. I am jsut looking for some tips on how to write this properly cause as of right now im having to upload my add and update …

Member Avatar for abaddon2031
0
394
Member Avatar for davy_yg

Hallo, I have been trying to add SCORM in my moodle LMS (Learning Management System). I already choose SCORM for activity and upload my SCORM file. Yet, when I try to run my SCORM file : A plugin is needed to display this content. If anyone ever try moodle before …

0
92
Member Avatar for Ju

hello programers i made upload pic from my pc to the project folder so i need to diplay this pic on web page i m using ASP.net with Vb Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click If Me.FileUpload1.PostedFile.FileName = Nothing Then Me.Label3.Text = "nothing choosed …

Member Avatar for JorgeM
0
129
Member Avatar for davy_yg

Hallo, I already install openmeetings (webinar) and I unable to upload file correctly. HTTP: 500 - that's the error. Can anyone help me fix this error? Someone told me that I might be mapping the path incorrectly. This is the path that I have so far: SWFTools Path: /openmeetings/swftools/swftools-0.9.2/ SoX …

Member Avatar for davy_yg
0
705
Member Avatar for castajiz_2

I m getting the following error when trying to add a .mdf file and .log file to my account on somee.com ERROR--> "You don't have the permission to open this file, contact the file owner or a administrator to obtain permission". I need to get my database on the server …

Member Avatar for JorgeM
0
373
Member Avatar for aisha.edris1

hi everyone i need website for free to create a domain name and hosting server to upload my project

Member Avatar for rozermartin28
0
327
Member Avatar for abaddon2031

Ok so i didnt know where to post this but i am getting two errors while useing cURL. The first says cURL: (26) coudn't open file "test.csv". The second one keeps saying please upload a file. I have been trying to fix this for over a hour now and can …

0
146
Member Avatar for MarcLippi

Hi all I am new to designing web pages and I want to try create a page that will allow me to upload pictures with a caption and then display them on a web page. I want to try create a page to display family picture etc, but to just …

Member Avatar for rimfirelive
0
241
Member Avatar for sussy123

PHP, jQuery and definitely not my favourite. My query is this; I purchased a social network script and there are still modifications I need to do that I am stuck with. I would like the users to have the option to upload a photo if they want to, with any …

Member Avatar for sussy123
0
327
Member Avatar for dinhunzvi

i have the following php. the script gives me an error telling me that i have not selected a file to upload even when i have done so. if i try to access the $_FILES['minuteFile']['tmp_name'] i don't get anything but the $_FILES['minuteFile']['name'] would be having some. what could be the …

Member Avatar for dinhunzvi
0
346
Member Avatar for rainingblessing
Member Avatar for rainingblessing
0
311
Member Avatar for sathyagovin

Hi, I am using image upload for REGISTRATION page. I am able to upload images and also database works. My problem is that i get the "Undefined index: emp_image in C:\wamp\" when the image upload page is loading itself. This error is for about 10 lines when i open the …

Member Avatar for dinhunzvi
0
675
Member Avatar for BTLSP
Member Avatar for BTLSP
0
125
Member Avatar for oz_nc

I have an Android Project for my homework. I will upload an image from phone gallery and find color which is dominant but color band includes other remarkable colors. This is what I want to do exactly. I found a website when I was researching. http://lokeshdhakar.com/projects/color-thief/ . It’s written with …

0
128
Member Avatar for adetolaraphael

Havning issues with file upload in php, below is the code <html> <head> <title>margeducation</title> </head> <body> <p> Niggas Please upload your files in pdf or jpg format, size less than 500kbytes, capishe</p> <form enctype="multipart/form-data" action="processfile.php" method="post" > <p>REQUIRED DOCUMENTS:(Please Select all documents that were recieved for this student's application):<br/></p> <input …

Member Avatar for adetolaraphael
0
251
Member Avatar for jpizzolato

I am trying to upload a csv file to a website that was created using a MySQL query in a php file. Here is the code: ************************************* // Fetch Record from Database $output = ""; $table = "customer"; // Enter Your Table Name $sql = mysql_query("select * from $table"); $columns_total …

Member Avatar for sikander123
0
296

The End.