6,015 Topics

Member Avatar for
Member Avatar for harkw002_UniSA

Unable to open file with fstream. it always seems to jump to the else statement and gives me the error message "Error: can't open input file ". I have included in the header file [CODE]#include <iostream> #include <fstream> #include <sstream>[/CODE] and in the class file i have the following code …

Member Avatar for Sandy_9
0
11K
Member Avatar for Mahnoor_1

Question is: Create a class Employee with following constraints in mind: 1. Declare three private data members named id,name,NIC of int,string,long respectively. 2. Overload stream insertion and stream extraction operators. Implement a global function named saveData, that'll allow the user to enter any number of employee's data and store it …

Member Avatar for Muhammad_251
0
4K
Member Avatar for tawanprp

Hi i'm a beginner in Java. I have school assigment where they want to save employee array to the file and can load it back with replacing the current array in GUI when it hit button save or load. Also, if i want to save or load the array with …

Member Avatar for freesoft_2000
2
168
Member Avatar for mfpl

hi there are two question. first how to boost the backlinking and second is which forums or guest posting is best for backlinking. Tags: #php #upload #css #form #asp.net

Member Avatar for JeanMilburn
0
42
Member Avatar for sovrby

I have an existing text file with a list of book names. I want to read those names & write a second text file with the names of duplicate entries. For example: SamsBookstore.txt might have And Then It's Spring Baby Bear Sees Blue Beach Feet Jimmy the Greatest! Boot & …

Member Avatar for JamesCherrill
0
39
Member Avatar for Glenn Dave

I have a homework but I am stuck on how to create a 2d array in a csv file. I uploaded the csv file but its a big one. The instruction is I need to create a 2d array in a csv file and answer the questions (questions are provided …

Member Avatar for rproffitt
0
37
Member Avatar for abdoosh

hello can anybody help me with this issue i have java code to print information that exists in XML file i will paste it here, so i want to print the information based on user input , as example the user enter the Id number then the program should print …

Member Avatar for JamesCherrill
0
152
Member Avatar for james702

Hello everyone! The handoff between design and development has always been torture for me. I know that there are several cool handoff tools, that can ease the process, but recently I've read an article https://ester.co/blog/figma-vs-sketch and an idea come up to my mind. Do these design tools have any relation …

Member Avatar for rproffitt
0
36
Member Avatar for Tko_1

I needed a script that would grab all the folders in the directory and add them to a dropdown list and allow the user to upload to there choosen folder. This is what i came up with. (upload script is not mine) Thought i would share.

Member Avatar for rproffitt
0
4K
Member Avatar for Ddd_1

Hello Guys, I'm a beginner in web developing and currently building a website for my assignment.In the website,i have to create a form that allow user to upload multiple images in multiple field. My problem is when user upload the first images,they can't proceed to upload the second images and …

0
184
Member Avatar for burma5
-1
35
Member Avatar for summer_2

I want to create an edit function, the flow is In a loop, read the next record until there are no more records. If we found the record we want: Write the new data to the output file else Write the old data to the output file end loop Close …

0
24
Member Avatar for luffy_D

I am trying build a webpage which takes a large tab delimited `.txt/.txt.gz `file as user input from a form and using `POST` method(`test.html`) to send the data to `cgi-bin` directory to `file.py` which ideally should open the file read and put the data into a dataframe and do some …

Member Avatar for tinstaafl
0
256
Member Avatar for Mimi_3

I have being passing across this word above without knowing the meaning, please someone should come up with an answer.

Member Avatar for rproffitt
0
32
Member Avatar for fecapeluda

Hello guys i'm using [batflat](https://github.com/sruupl/batflat/blob/master/inc/core/lib/Image.php) for a small project. The thing is want to save/display webP images too, How can it enabled/possible?. I try **imagecreatefromwebp** without luck. Any idea/help will be awesome. Gracias! /** * Saves image * * @param string $path Path to location * @param string $type Filetype …

Member Avatar for AndreRet
0
238
Member Avatar for garyjohnson

Hello I have a simple for and PHP that uploads multiple images to a file. The problem is I want these images to be resized when they are uploaded. Does anyone know of a simple way to resize these images with PHP? I am not a professional so further explaining …

Member Avatar for haree54
0
3K
Member Avatar for nanakumi75

I have a social network site which allows users to upload an image as a profile cover. I use PHP to upload the image to database and select it to display as profile cover.The image shows perfectly, but when I visit a different page and come back, the cover image …

Member Avatar for nanakumi75
0
24
Member Avatar for kumud1452894
Member Avatar for Shiva_20

$select = "SELECT * FROM `success-stories` where id='$id'"; $result = $conn->query($select); $row = $result->fetch_assoc(); $file = $row["download_pdf"]; $file_arr = explode("/", $file); $path = $file_arr[0] . "/" . $file_arr[1] . "/" . $file_arr[2]; header('Content-Description: File Transfer'); header('Content-Type: application/pdf'); header('Content-Disposition: attachment; filename="' . basename($file) . '"'); header('Expires: 0'); header('Pragma: no-cache'); header('Content-Length: ' …

Member Avatar for pritaeas
0
29
Member Avatar for Shalini_7

Hi. here is my code, actually what i meant is , i have created a button called button into my exe, and linked it to text file. so when user click on the update button, it will copy all the text file data into the exe. i tried it works, …

1
421
Member Avatar for NardCake

Hello! I needed a configuration file for a application I'm working on so I first used the built in ini functions in php but it wasn't easy to write the ini files. So I wrote myself a class here to parse a configuration file and write/edit configuration files. I plan …

Member Avatar for Vitaly_1
2
963
Member Avatar for akgreen

I have spent a lot of time on this question, namely, how to programatically use a PHP script to send a PDF document to the printer without launching the Adobe print dialog that results from using arcord32.exe (the adobe reader). PHP has some useful classes for creating PDF's, i.e., the …

Member Avatar for Yogesh_22
7
23K
Member Avatar for Akinjide

Hello friends, I have a website on which I embedded my YouTube channel, but I need my users to pay before they can watch live videos. Help me.

Member Avatar for Dani
0
153
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 Imhanzobe

Am a new aspired web developer who is looking forward to be an expert in due time,in this great community. Thanks

Member Avatar for Dani
0
152
Member Avatar for john10

Hey guys, I would like some help regarding saving or reading to or from a bin file. I've read several online tutorials about file input/output, however it doesn't given specific information when applying it to both an array of structures. My knowledge of pointers is weak, as I constantly need …

Member Avatar for jimmichaels29
0
3K
Member Avatar for hassanumair1

how can i convert xml based script; which is created by SqlYog software. I want to convert this xml based script to batch file (full coding from xml to batch file script; not only batch(.bat) format.) So i can run the synchronization / backup directly clicking with batch file. give …

Member Avatar for jimmichaels29
0
2K
Member Avatar for annya

First time iam working with this type of form, spend two days but nothing worked. last date to submitting my project was on tomorrow please help me iam not an expert. I have removed some filed for shorten the form, I want the attachment files (3 files) need to uploaded …

0
137
Member Avatar for Monira Masia

Let’s say you were developing a pretty standard marketing website for a business. Blog, services, contact, about us, you know the type! With no limitations from the client, what is your build stack? I’ve been developing sites and SPA’s for a a few years now on a variety of cms/Site …

Member Avatar for Dani
0
129
Member Avatar for VietnamTours

Hi. Google Search Console inform us like this: Referenced AMP URL is not an AMP We do not know what that information is. Can please anyone help? My website is https://adventurejourney.vn/ Thank you in advance for your help! Adventure Journey Team!

Member Avatar for Dani
0
428
Member Avatar for JamieBek04

Really hoping someone can help me out or point me in the right direction. This is my first ever post in a coding forum so I apologize in advance if I’m breaking any forum rules. I already have a bunch of php code sorted from modifying web resources. I need …

Member Avatar for Dani
0
957
Member Avatar for Saran_1

I have scoured Stack over flow and the Pandas documentation for a solution to this issue. I am attempting to recursively move through a directory and concatenate all of the headers and their respective row values. Below is what I have so far after much experimentation with other libraries: import …

Member Avatar for m_26
0
18K
Member Avatar for MickeyD

I don't like the way my Win10 file search results are displayed and I can't find out how to change the settings. I've made changes to the 'Sort by' and 'Group by' options but can't seem to get the results I want. An example: I type a search word in …

Member Avatar for MickeyD
0
342
Member Avatar for cyandeer

Our website is hosted on wordpress and now we are facing an issue of files permissions its getting changed automatically by particular time duration in daily basis. At initially file permission is (755 or 644) but after few time ago it change itself and becomes files permission to 000. The …

Member Avatar for rproffitt
0
232
Member Avatar for lanny_1

can someone please help me with coding. I need to create a dropdown menu with the options being the category the user has inputted into a file upload page.

Member Avatar for lanny_1
0
317
Member Avatar for Syera_1

i wish to send another field together with my FormData, so after i googled it, they said to add append to my form data, done it. but it did not send anything to db including the content of the file. here is my code:- $('#upload_csv').on("submit", function(e){ var data = new …

0
234
Member Avatar for Daniel11

Hello Coders, I am working on ASP.NET Web Forms. In my page there is a GridView which should have a feature to upload multiple files at the same time to the server. Can you help me in implementing this feature. I want: 1. The files should be uploaded from the …

0
396
Member Avatar for Reverend Jim

Because Microsoft will be removing vbScript in the next version of Windows, I have been busy converting my utility vbScripts into Python. Part of this is a library of functions that I keep in `D:\include`. I'd like to maintain this system in Python, but the import process is rather clumsy. …

Member Avatar for bngwebguru
0
6K
Member Avatar for Stevewrites

Greetings Digital Natives. I'm excited join this platform. I am a sofware developer at [Timbu](http://www.timbu.com/south-africa) Hoping to learning and connecting with you guys. I want to really upgrade my tech skills. I have stayed along in front end. I need to do little of backend and move with likeminded fellow.

0
257
Member Avatar for DanielKeith
Member Avatar for Rio Vaks
0
255
Member Avatar for misstj555

Hello. I am trying to write a program that solves the "quadratic equation" when given variables "A", "B" and "C" and find the number of zero's. One code is the definition, the next is the implementation and the last code it just the test file. I need help running the …

Member Avatar for misstj555
0
315
Member Avatar for aaronmarinowork

I have been thinking about getting into web development. So far, i have been able to absord lots and lots of information about HTML, CSS and Java... But there is someone I know. He says that there are web developer secrets that I'll never be able to use and those …

Member Avatar for Kevin_51
-1
511
Member Avatar for Muktesh_1

Newbie here, Final year student of Electronics, I am learning python and want to move in the direction of web development! sounds quite strange to the filed i am in. i have been geting interested in working with API's and learning frontend using tkinter in python. Thanks!

Member Avatar for Dani
0
203
Member Avatar for Mahi_6

I need an answer for this question ( write 2 program that takes grade as input and display the range of marks use the select case and if() A. 90 to 100 B+ 80 to 89 B. 70 to 79 C 60 to 69 D 50 to 50 F. F

0
259
Member Avatar for prochotap

In desktop application used in technologies like C#, .Net and MySQL I import data from large file (which is about 37 MB) to datagridview. The table from Excel file is in below: ![B8UMq.png](/attachments/large/4/9bbe3c17922dd6159fbe781fae200a4e.png) After loading data from Excel to datagridview I'm inserting that data to MySQL database. Later when I …

Member Avatar for rproffitt
0
639
Member Avatar for deepak_48

i have define code File selectedFile = new File(selectedFilePath); when run and test is it file or not if (!selectedFile.isFile()){ runOnUiThread(new Runnable() { @Override public void run() { tvFileName.setText("Source File Doesn't Exist: " + selectedFilePath); } }); return 0; it give message source file does't exist; why give this message, …

Member Avatar for JamesCherrill
0
417
Member Avatar for Swetha_3

Hi, I have a .csv file in an AWS machine i wanted to convert that .csv file to .dat file? Can you please help me? Thansk, Swetha. G

Member Avatar for Nani_2
0
8K
Member Avatar for Dani

We have a Swagger file for our API, but in our API documentation, we want to show valid responses for each endpoint. I coded up this little recursive function in PHP which takes our Swagger file and spits out a valid response. I use it as follows, for each individual …

0
2K
Member Avatar for Cyril1

hello, I am trying to write a vb.net programme that reads data from a file and do a count for each column as shown in the format below and also write to an output file. i am able to do the count but i am unable to write the output …

Member Avatar for rproffitt
0
1K
Member Avatar for Ionut cosmin

Hi guys i am new here..i am not have more experience with php.I have one good script ,this search on folder from name the file,example pdf file.Worked ok all goood but i need add the limit rezult for show because i search pdf name for example and this show me …

0
285

The End.