110 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for matei_

Hello, As the title says, my question is: how I can get the values for specific ID? For example, my plugin creates a PDF that automatically fills in with information that I get using API from my CRM platform. So, what I am trying to do now, is that in …

0
115
Member Avatar for G_Waddell

Hi good people of Danniweb, I've looked at a lot of examples on line and I cannot figure out what is going wrong. My program has to transfer a simple delimited text file from the local machine up to a specified directory on a FTP server. After I have run …

Member Avatar for Dennis_22
0
2K
Member Avatar for a5opyan

I want to increase the limit of upload size max, but because I using shared hosting, I cannot edit php.ini. Then I try to edit my .htaccess file. I added these lines: php_value upload_max_filesize 700M php_value post_max_size 700M php_value max_execution_time 600 php_value max_input_time 600 When I test it in localhost, …

Member Avatar for a5opyan
0
390
Member Avatar for love_dude1984

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 …

Member Avatar for Dhanya_1
0
2K
Member Avatar for Albert Pinto

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', …

Member Avatar for mandeep_2
0
3K
Member Avatar for janicemurby

hi all i have got a problem with my profile photo upload script after converting to mysqli everytime i go to upload a image i get the following error: Strict Standards: Only variables should be passed by reference in /home/matureco/public_html/registration2.php on line 11 and the code for that section is …

Member Avatar for janicemurby
0
274
Member Avatar for androidexampl

In this example opening url in webview and showing progress Dialog for page. Show file chooser option on clicking file option for web form . Open new link from webview to external ............................ Read More

Member Avatar for happygeek
-2
178
Member Avatar for Liang_1

Dear All, I am facing a weird problem, similar codings give different result. Why is this happening? I am saving both files as .php file. Please guide me. I really having headache with this form. Code 1: Working Fine (Non-bootstrap) <html> <head> TestPage <link rel="stylesheet" href="http://gsmtecharena.com/Testing/bootstrap/3.3.5/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://http://gsmtecharena.com/Testing/bootstrap/3.3.5/js/bootstrap.min.js"></script> …

Member Avatar for Satish_7
0
812
Member Avatar for kgizo

Good day everyone I just want to know whether its possible to upload a file using joomla that wouldnt be downloable at all, I tried saving the file as a read only pdf file but that still made the file downloable on the web. Taking into consideration that the internet …

Member Avatar for Taywin
0
226
Member Avatar for OMER AHMED

Hi i am making an application in vb.net and i need help. The user will send me his issues or information through attachment. but i want a restriction on filesize that he can not attach file more then 20MB i did some coding but its not working. it will show …

Member Avatar for Minimalist
0
388
Member Avatar for Liang_1

Dear all, I have created a website where I would like my users to register and upload profile images to my server and then store it under folder in my server known as "images" and then save the dataurl of the images into MySQL database. Then, I would display their …

Member Avatar for almostbob
0
377
Member Avatar for daisyy

protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter pw = response.getWriter(); InputStream inputStream = null; // input stream of the upload file // obtains the upload file part in this multipart request Part filePart = request.getPart("audio"); if (filePart != null) { // prints out some information …

Member Avatar for jwenting
0
2K
Member Avatar for babir

Please help me.... I want to upload up to 5 photos and save in database. I want by selecting photo it will upload automatically and then the selected photo will appear in the page. It will occure with one by one photo, up to 5 photos and the photos can …

Member Avatar for Reverend Jim
0
199
Member Avatar for babir
Member Avatar for Taywin
0
233
Member Avatar for showman13

I'm studying the Swift Mailer, and wondered if there is someone in here that is familiar enough with the way it works, that you could give me a little guidance. I have a form that I created that allows someone to enter their information as required, and that works just …

Member Avatar for diafol
0
340
Member Avatar for Justin_14

Here's dish. When I submit a form, it straight up crashes my site on my network. Here are the details. 1. The form submits to itself. The form is on site.php (fictional name for reference on this post) and the action= "site.php". 2. When it crashes, it crashes for every …

Member Avatar for Justin_14
0
437
Member Avatar for Mike Askew

Me again... So now I am confused... I have a form: <form action="addanimal_submit.php" method="post" enctype="multipart/form-data" style="padding-left:10px"> <p>Name: <input type="text" name="name"></p> <p>Date of Birth: <input type="text" name="dateofbirth"></p> <p>Description: <input type="text" name="description"></p> <p>Available For Adoption? <select type="text" name="available"> <option value="1" selected>Yes</option> <option value="0">No</option> </select> </p> <p>Image Of Animal:</p> <p><input type="file" name="fileToUpload"></p> <input …

Member Avatar for Mike Askew
0
300
Member Avatar for nimz143

i want to make an application, where user can upload their images and display it in Image control without physically saving it in a folder on disk. after done build the cone, an error show on this line. Dim base64String As String = Convert.ToBase64String(bytes, 0, bytes.Length) Error show on the …

Member Avatar for nimz143
0
347
Member Avatar for AntonyRayan

Hi I am getting error this error while upload image? Error:Fatal error: Class 'Image' not found Code: $gallerycate_img = "gallerycateimg/".$_FILES["txt_photo"]["name"]; $gallerycate_image = $_FILES['txt_photo']['name']; if (($_FILES["txt_photo"]["type"] == "image/jpeg")||($_FILES["txt_photo"]["type"] == "image/jpg")||($_FILES["txt_photo"]["type"] == "image/gif")||($_FILES["txt_photo"]["type"] == "image/png")&& ($_FILES["txt_photo"]["size"] < 200000000)) { move_uploaded_file($_FILES["txt_photo"]["tmp_name"], "../gallerycateimg/" .$_FILES["txt_photo"]["name"]); copy("../".$gallerycate_img, "../gallerycateimg/thumb/".$gallerycate_image); $file_thumb="../gallerycateimg/thumb/".$gallerycate_image; $file_thumb_1="gallerycateimg/thumb/".$gallerycate_image; $img = new Image($file_thumb); $size = …

Member Avatar for pritaeas
0
194
Member Avatar for phoenix254

My problem is why this codes dont work. i want to upload image with hide input type file but doesnt work. here are my codes.. <form action="" method="post" enctype="multipart/form-data"> <div id ="settingmaincontainerright"> <input type="file" id="settingprofileimgfile" name ="settingprofileimgfile" > <input type="submit" id="settingprofileimgfilebutton" name="settingprofileimgfile" value="Choose Foto"> <input type="submit" id="settingprofileimgbutton" name="settingprofileimg" value="Upload Foto"> …

Member Avatar for JorgeM
0
164
Member Avatar for vizz

I have database 'website' having fields - title, url, snapshot to collect information of websites . Users will fillup the form so, There is no file input for fileupload. Form have inputs for title & url. How to generate snapshot using 'imagegrabwindow' or other php functions for given url? How …

Member Avatar for chrishea
0
157
Member Avatar for showman13

Good Morning all, Hopefully someone can head me in the right direction. I know nothing about perl or cgi but have a script that I purchased and had modified by a programmer half way around the world. He uploaded it to my development domain and the script works just fine... …

Member Avatar for 2teez
0
323
Member Avatar for vizz

With following code I tried to upload image and video file at the same time but, image file is uploading & video file is not uploading <form class="pure-form pure-form-aligned" action="Processor.php" method="post" enctype="multipart/form-data" > <fieldset> <div class="pure-control-group"> <label for="image">Upload image</label> <input type="file" name="image" class="pure-input-1-4" /> </div> <div class="pure-control-group"> <label for="video">Upload video</label> …

Member Avatar for jj.dcruz
0
1K
Member Avatar for phoenix254

i am trying to create a site, when user create his account then make automatic his directory with his name. when he wants to upload his photos, these photos go automatic in his folder or directory. im my register page i have added these lines: $addtothedb="INSERT INTO login (firstname,lastname,useremail,password,Gender,Dateofbirth) VALUES …

Member Avatar for phoenix254
0
528
Member Avatar for TMLAH

Hello, I have a script that allows user to upload a file to a mysql 5 database. That is working OK. The File size is accurate. However, my download script is for some reason downloading the files without any content - 0KB. The files are OK when I open them …

Member Avatar for abhisheklnt
0
6K
Member Avatar for DaveAmour

I get an errror when trying to upload a profile photo. The upload destination folder does not appear to be writable.

Member Avatar for DaveAmour
0
150
Member Avatar for OsaMasw

Hello guys have a nice day.. I have a problem need to be solved, I have upload script which save files in "/uploads" folder everything was going good until my boss decided to move upload file to storage server and need to store all files in "/etc/mnt/storage/uploads" so what should …

Member Avatar for cereal
0
2K
Member Avatar for ddanbe

I wanted to upload an excel file with one of my threads, but it is refused. Do I have to zip it first and if so, why?

Member Avatar for Dani
0
330
Member Avatar for riwakawd

When there should be a error it does not show. I can not seem to get the erorrs to work in the correct order How can I improve my file upload errors to work in correct order? public function upload() { $name = $_FILES['userfile']['name']; $tmp_name = $_FILES['userfile']['tmp_name']; $type = $_FILES['userfile']['type']; …

Member Avatar for riwakawd
0
346
Member Avatar for riwakawd

When I upload I can upload single files fine but, I cannot seem to upload if input is like **<input type="file" name="file[]">** I am not sure on my php upload function how to make it allow multiple files? Thanks in advance. public function upload() { $this->load->library('request'); $directory = FCPATH .'upload/'; …

Member Avatar for riwakawd
0
248

The End.