1,135 Topics
| |
Im a newbie and i am a student and new to php could anyone teach me how to upload image to database and view it.Please Help me or send the link for complete tutorial | |
I want to download "Bhavcopy.cvs" file form "bseindia.com" on everyday at 5 pm. automatically. So, I want php code that automatic download this file from "nse" website... Please help.. The URL goes as follows http://www.bseindia.com/download/BhavCopy/Equity/EQ140316_CSV.ZIP I want to build an automated function to automatically upload reports from a URL at … | |
Hi guys i'm trying to do a programm for school.I have to create something using " semaphore " and i solved it using "#include <sys/sem.h>". Now i'm trying to make this work on Windows 8.I have done many exercises here and they worked,but now there is a message of error: … | |
Why This Program is not Changing Directory from C:/ to H: Drive or D: Drive. #include<iostream> using namespace std; int main(int a,char *b[]) { int option; cout<<endl<<"Enter 2 for 2nd Semster Programs "<<endl; cout<<endl<<"Enter 3 for 3rd Semster Programs "<<endl; cin>>option; if(option==2) { system("D:"); system("explorer ."); } else if(option==3) { … | |
<?php require('config.php'); if (!isset($_FILES['image']['tmp_name'])) { echo ""; }else{ $file=$_FILES['image']['tmp_name']; $image = $_FILES["image"] ["name"]; $image_name= addslashes($_FILES['image']['name']); $size = $_FILES["image"] ["size"]; $error = $_FILES["image"] ["error"]; if ($error > 0){ die("Error uploading file! Code $error."); }else{ if($size > 10000000) //conditions for the file { die("Format is not allowed or file size is too … | |
Hi.. I want to upload a file with help of FileUpload control, in which, i want to save the file with a specific name or say a name entered in a textbox on a same page. for ex, if textbox contains "ABC" then the files should be uploaded with abc.jpg … | |
When our template goes mobile it has two compacted menus. Any idea how I can get rid of the top one? The one under the logo is correct, the one above is some left over code I can't seem to find. You can see them here with a mobile phone … | |
I am new to php. I encountered the following errors. Warning: require_once(/dbtest/db_connect.php): failed to open stream: No such file or directory in C:\xampp\htdocs\dbtest\connect.php on line 2 Fatal error: require_once(): Failed opening required 'dbtest/db_connect.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\dbtest\connect.php on line 2 I am very sure I have db_connect.php file inside my dbtest … | |
fatal error: pwd.h: no such file or directory, I got this error when trying my code when using the following library #include<pwd.h> | |
I have a question regarding user membership of groups in Active directory and grabbing such memberships with PHP. My big question/situation is that I have a site I am making and essentially I am trying to assign administrators based off of groups in Active directory and I know how to … | |
Is it possible to upload a file in php without form tag browse button and upload button. if particular file exist in folder i want to upload that file to server..how it is possible | |
Hi all, Can you please tell me if there is a bash command in UNIX that is similar in functionality to XCOPY in Windows? XCOPY can copy who directory trees from a source folder to a destination folder, but from what I saw about the cp command in bash, it … | |
Hi People; I've got issue in uploading image in cake php. Thing is that, I have a form, where i have input type="file". I need to upload a file in a directory and save its path in database. In "view" its like... <tr><td> <?php echo $this->Form->input('field', array( 'type' => 'file', … | |
How can i select the multiple files to upload at once using php? | |
Hello, I'm using a function for uploading images on the server and database. The only problem is that I can not properly put to the various alerts for required fields or missing and with happened insertion message. For the moment my code, obviously wrong, is so: include_once 'function/upload.php'; if(isset($_POST['submit'])) { … | |
I'm Using **AdminLTE-2.3.0** template, **jquery.imgareaselect.js** I'm using bootstrap modal to submit form via ajax. Inside Modal I have preview of image before upload. And **imgareaselect** is not working well that I proceed further with image cropping. **ScreenShot of error is attached.** **Please help.** **Thanks.** **imgareaselect-animated.css** .imgareaselect-border1 { background: url(images/border-anim-v.gif) repeat-y … | |
Hello, I'm having trouble uploading all the various data to the database, can you help? The code is this, I have done some testing but the original image and thumbnail are loaded properly in the directory, but all the data are not passed to the database. What is the correct … | |
HI.... im new to php, i ve a doubt. i want source code in php for the requirement as traited below. im creating a registration form with two image file uploading system. I need a source code in such way that, the inputs NAME, AGE, MOBILE NUMBER, image upload(ONE), image … | |
Dear All, I'm developing a php system which contains over 50000 images in a directory. Is there any tools which help me to do a search script to find a similar images in that directory. What I'm looking for is the user can upload the image and the script retreive … | |
Hello, kindly ask your help regarding a function to upload images in two folders, one original image and the "Thumb" folder for thumbnails. Well, I entered the rand code to rename the file name. Loading is performed properly in the root folder (Original image) but not in the thumb folder. … | |
Hello, I ask your help in order to use this class. I need your explicit example is the code and form to use it properly. http://www.phpclasses.org/package/9683-PHP-Validate-and-add-watermark-to-uploaded-image-files.html#view_files $upload = new ImageOperations(); ext and the correct form. Thank you in advance for your help. | |
My acer keeps showing loading restore point no windows 7 starting after it fell blue windows screen start back again help pls | |
Hello, I want to simultaneously add multiple post ques to wordpress, for example i want to add 100x Animal Imgs, Food Imgs and Gamming Imgs to que at the same time so for every "X" mins it must post 1 animal pic, 1 food img, 1 gamming img. is there … | |
I am working with windows application, I have pictureBox to load image from the directory. I am trying to get some idea how can I display magnified image of particular area depending on the coordinates of that specific area on textbox focus. | |
Basically, I'm working with zipimport to load plugins. These plugins contain binary modules which can only be loaded via retrieving their data. Copying them to a temporary directory is stupid, so how can I get a handle to a dynamic process which I can inject the stream into before it's … | |
Hi all, I'm building a multi-tenant web application in PHP which is hosted on a dedicated Ubuntu 14.04 server (LAMP). I'm trying to figure out the simplest method of allowing my customers (SME's) to connect the application to their active directory server to authenticate users. The only issue is, I … | |
Hi all, In main program I read file using bufferedreader, and (try, catch), Now this section is repeated in my code , how can I call function to do that ? By passing filepath ..I try it but I don't get any line of file ... How can I get … | |
I was able to get the ComboBox to load a list of files from a directory. but, now i am trying to get the contents of that file output to a TextBox or richTextBox. I am able to use this to output to another ComboBox(however, this is not what i … | |
Hi ,all in this code ,i read filename in package filename using path ,,now i want to read the file B.java that also exist in package filename and relationship between them is inhretance.. "extends" keyword. in this (public class filename extends B ), but not write B.java in path ,i … | |
I am trying to upload file from postantivirus1.jsp after selecting the file from postantivirus.jsp Here is the code Postantivirus.jsp Anti Virus Software : </td><td><input type=file name="fname"><br/> <input type=submit value="submit"></td><td><input type=submit value="clear"> Postantivirus1.jsp String s=request.getParameter("fname"); System.out.println(s+" s"); FileInputStream fis=new FileInputStream(s); System.out.println(fis+" fis"); String s1=application.getRealPath("/"); String destFolder = s1 + "images/"; s1= … |
The End.