52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nyler01

Please help me in creating a multiple file upload and then process it in ajax so that it can view into the page before the form is submitted this is my form <form name="create_memo" method="post" ENCTYPE="multipart/form-data"> <input id = "memofile" type="file" name="img[]" onchange="uploader();" multiple /> <input type="submit"> </form> <div id="memoupload"> …

Web Development file-system php
Member Avatar for diafol
0
937
Member Avatar for turpentyne

I'm trying a simple query to get students that signed up for each possible matching class, and I'm getting a weird result with this,when I print out. If they've signed up a student in one class, and a student in another class, I get the two students printing out fine. …

Web Development php session
Member Avatar for diafol
0
211
Member Avatar for mutago

Learning the best way to securely upload files to a server Can someone tell me the best way to ensure that only image is uploaded using finfo() thereby preventing hackers from uploading a malicious files.Assuming I don't want to upload files outside the roots. 1: I check if file exist …

Web Development php
Member Avatar for LastMitch
0
186
Member Avatar for Annuscha

Hi, I have a textarea counter which has a limit of 160 characters. What I want to do is when the checkbox is ticked the character limit would charge to 140 characters. I have the following code: Html: <input type="checkbox" name="change" value="1" /> <textarea name="sms_text" id="sms_text" rows="8" cols="60" onKeyDown="limitText(this.form.sms_text,this.form.countdown,160);" onKeyUp="limitText(this.form.sms_text,this.form.countdown,160);"></textarea> …

Web Development javascript
Member Avatar for LastMitch
0
225
Member Avatar for caltech

I have this: http://jsfiddle.net/calyne/DwV4z/3/ I want to make it like this: https://github.com/jakiestfu/Youtube-TV which is great, beautiful, just that it doesn't work for all channels, mysteriously. The one I'm trying to implement it for in particular happens to be among those unfortunate channels. So I've turned to the former script, except …

Member Avatar for LastMitch
0
400
Member Avatar for ankit.4aug

I am developing an application in CodeIgniter with Doctrine for ORM. In my doctrine model, I have classes which are inhereted something like this One abstract SuperClass ( let's call it Super ) and two base classes BaseA and BaseB. @InheritanceType("JOINED") @DiscriminatorColumn(name="type", type="string") @DiscriminatorMap( {"a" = "DerivedA", "b" = "DeriveddB"} …

Web Development php
Member Avatar for LastMitch
0
266
Member Avatar for xmangkan0rx

I tried the instructions on the website on how to use it. But it doesn't work. Btw here are my codes: **select3.php** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script type="text/javascript" src="dynamic_table.js"></script> <script type="text/javascript" src="jquery.jCombo.js"></script> <script type="text/javascript"> $(function(){ $("#category").jCombo("getCategory.php"); $("#type").jCombo("getType.php?id_cat=",{parent:"#category"}); $("#desc").jCombo("getDesc.php?id_subcate=",{parent:"#type"}); }); </script> </head> …

Web Development javascript-jquery json
Member Avatar for LastMitch
0
183
Member Avatar for diya45

i try to approve documents through dropdownlist... when i select approve/reject/pending then i have submit button when i click on button document will be approve/reject...what should i code on submit button?? here is the code of dropdown protected void DropDownList4_SelectedIndexChanged(object sender, EventArgs e) { DropDownList ddl = sender as DropDownList; …

Web Development asp.net session
Member Avatar for LastMitch
0
173
Member Avatar for xmangkan0rx

Good Day! :) I created a chained select using php and jQuery like on this page (http://www.yourinspirationweb.com/en/how-to-create-chained-select-with-php-and-jquery/) and I created a javascript to add and delete select tags I get it somewhere on the internet but what happening is when I choose a category on the first row everything on …

Web Development javascript javascript-jquery
Member Avatar for LastMitch
0
535
Member Avatar for gon1387

Hi! I would like to know if anyone here have attempted installing Redmine V2.3.\* on IIS? If you did, can you please direct me to the right direction. What are the things should be done? I had tried it on my own, but I kept on having errors like "Gem::Installer::ExtensionBuildError: …

Web Development ruby
Member Avatar for LastMitch
0
303
Member Avatar for kimmi_baby

Hi, The home page of the website I'm creating displays an excerpt on multiple pages and below I need to display the text of the home page. The problem I'm having is when I call the title and the text, it's displaying the title and the text of the last …

Web Development php
Member Avatar for Doug_Vann
0
197
Member Avatar for iv_jo

Hi, I have problems with INSERTing VALUES in new table, with ALTER i made columns but then when I am inserting values for example one column from one table with 4 rows and second column from other table with also 4 rows, in my new table i get 16 rows …

Web Development php
Member Avatar for iv_jo
0
206
Member Avatar for laura301019

Hi I have an XML file that is storing numerous books and their details, I then have a PHP page that is to search the XML list by Author. This I can do but I was wondering how I can style the page for when the search button has been …

Web Development php xml
Member Avatar for cmps
0
170
Member Avatar for Indians

this is my sendmsg coding page. Am i right? its not working. First i got fatal error: call undefined function curl_init(). i cleared that error. now it takes time to load 10 to 15 seconds and show error in that page. coding is below... $name = $_POST['name']; $connum = $_POST['connum']; …

Web Development php
Member Avatar for iLikePHP
0
443
Member Avatar for HunainHafeez

Gridview remains in EDIT mode and doesn't get out of it when i don't rebind it, why ? but when i rebind gridview that it exits out of eidt mode successfully, why ? protected void gvTest_Edit(Object sender, GridViewEditEventArgs e) { gvTest.EditIndex = e.NewEditIndex; Response.Write("Editing..."); connectToDb(); // a funtion to rebind …

Web Development asp.net
Member Avatar for nakor77
0
139
Member Avatar for umandajayo

I have a requirement which is getting cross domain json data via Ajax. I need to maintain 2 different server (Server A and Server B). Server A only contain static contents. ie: JS, Images, Css Server B only contain dynamic contents ie. php driven scripts According to above requirement I …

Member Avatar for ryantroop
0
342
Member Avatar for cussel

hi all, how to check same values array if it values is the high values in array associative and get it values? example 1: Array ( [value 1] => 0.8434 [value 4] => 0.8434 [value 6] => 0.8434 [value 3] => 0.3434 [value 2] => 0.3434 [value 7] => 0.2114 …

Web Development php
Member Avatar for cmps
0
242
Member Avatar for <M/>

Hi, i have been search for an answer for this for a few hours now and i finally got frustrated... soooo... how do you create a redirect link that redirects users back to last page they were on? Lets say they are on page A and they visit my site, …

Web Development php wordpress
Member Avatar for <M/>
0
172
Member Avatar for SearchEngineOptimisationService

Hi im rubbish at programming, but im trying.... Im trying to get a page to display the details posted to a form. Part of it is working and part of it isnt for some reason. Ive declared a new value called "responsecode", responsecode = Request.Form("gtpay_tranx_status_code") If the value posted to …

Web Development asp
Member Avatar for JorgeM
0
233
Member Avatar for sriramkarthick

what will be result of the following ? "$qry_expirydt="SELECT ('".$stdate."' +INTERVAL ".$day." Month) as expirydt";" especially explain about (+INTERVAL) and (Month) used in the query ???

Web Development mysql php sql
Member Avatar for pritaeas
0
115
Member Avatar for anandatheerthan

Experts, Please forgive me if this is a dumb question. 1)I am developing an application that needs data to be displayed in a grid format. 2)I need the ability to edit multiple records inline 3) I need the ability to use custom validations on rows being edited. 4)I am not …

Web Development javascript php vb.net
Member Avatar for urtrivedi
0
271
Member Avatar for n21115

Hi, I'm trying to execute some commands via the exec / shell_exec / system / passthru / popen PHP functions. The commands are getting executed successfully, but they're not returning any output, which they would normally do, if they are executed in a terminal/shell environment: http://i.minus.com/ipySNqCnFn5iG.png http://i.minus.com/ibmq8Cer2yOAOR.png **What I expect:** …

Web Development php
Member Avatar for n21115
0
1K
Member Avatar for edotman

Hi Guys I am creating a site and i want users to be able to upload videos to a folder on a server, using SQL to store the path of the video and the name. I have created this Code. And it does upload all the details, but does not …

Web Development file-system mysql php sql video
Member Avatar for diafol
0
934
Member Avatar for dean.ong.14

ok so i am trying to do multiple checkboxes that will directed to their own page with a single submit but not working <form action ="trip1.php" method="post" name="form1"> <p><input type="checkbox" name="agree" /> Auckland</p> </form> <form action ="trip.php" method="post" name="form2"> <p><input type="checkbox" name="agree" /> North Shore</p> <p><input type="checkbox" name="agree" /> Waikato</p> …

Web Development php
Member Avatar for diafol
0
180
Member Avatar for Stanley_1

<PATIENT PATIENT_NUMBER="1"> <DEVICEINFORMATION> <SERIALNUMBER TYPE = "String" Value = "664231931" /> <CURRENTDATETIME TYPE= "String" Value = "200801301439" /> <SOFTWAREVERSION TYPE= "String" Value = " T2.2" /> <TIMEZONE TYPE= "String" Value = "-2" /> </DEVICEINFORMATION> <DEVICELIST> <DEVICE TYPE="String" Value="UA767PC" /> </DEVICELIST> <BP> <EVENT EVENT_NUMBER="1"> <DATETIME TYPE = "String" Value = "200801301439" …

Web Development display php xml
Member Avatar for pzuurveen
0
151
Member Avatar for shanaka895

I recently found some softwares for auto blogging like [wp real bot](http://www.wprealbot.com) Is it possible to write blog posts automatically?

Web Development javascript
Member Avatar for Nmalik1
0
119
Member Avatar for pocto

After spending over 1 year working on a social network project for me using wordpress and buddypress, my programmer has disappeared, even though he got paid every single week, for the whole period. Yes, he's not dead as I used an email tracker to confirm and see he opens my …

Web Development wordpress
Member Avatar for Nmalik1
0
122
Member Avatar for patk570

Hello, I have 2 functions that I wrote to show a hidden div, I would love to convert this to jquery but unsure how. Also, I want a function that will allow me to change the onclick function to open and close and show an arrow > and arrow down... …

Web Development java-jsp javascript-jquery
Member Avatar for patk570
0
222
Member Avatar for GeekPlease

Good day folks, I saw this site http://www.adhamdannaway.com/ and wondering how did he do the hovering thing in the home page. The one with his picture. Can someone help me to figure this out. Thanks.

Web Development javascript javascript-jquery
Member Avatar for theHop
0
123
Member Avatar for sriramkarthick

![8879e41bbac91150577048d2bb602f32](/attachments/large/4/8879e41bbac91150577048d2bb602f32.png "8879e41bbac91150577048d2bb602f32") If possible provide me the editor like FCKEditor for including into the php file

Web Development php
Member Avatar for diafol
0
262
Member Avatar for HunainHafeez

like answers should be technical, i know the code to fill and update everything, but i actually don't know precisely that how it does ? like i change row in GRIDVIEW and click update, it changes(updates) data in database too, some says that SQLDATA-Adapter do this but even in my …

Web Development asp.net dataset
Member Avatar for HunainHafeez
0
93
Member Avatar for asif49

Hi I've tried html5 to access the laptop camera like demoed in this article http://davidwalsh.name/browser-camera The problem is, it asks everytime I visit a website which uses a camera to either approve or deny access to my camera. The app I'd like to develop would not work like this, and …

Web Development flash html-css javascript
Member Avatar for asif49
0
287
Member Avatar for gahhon

![1c1818c0424f995161e5d67c0832ee62](/attachments/large/3/1c1818c0424f995161e5d67c0832ee62.jpg "1c1818c0424f995161e5d67c0832ee62") i want to create a dynamic data by showing the particular category details. Example, if i mouse hover the area of clothes/the word of clothes, it pop out a new small window that showing another pie chart, how can i archieve that? or showing the details in the …

Web Development asp.net
Member Avatar for gahhon
0
186
Member Avatar for gahhon

My webpage is allow to scroll up and down but not left and right. Assume my webpage left is contain something and right is used to display the some information. Of curse, the information might be extremly long but how can i to auto break to new line instead of …

Web Development asp.net
Member Avatar for gahhon
0
213
Member Avatar for amrita111

I need to have a application in which files are uploaded on the server in asp.net . I want those files to get renamed automatically on the server on a certain date.How to proceed with this in asp.net. Kindly help

Web Development asp.net file-system
Member Avatar for JorgeM
0
134
Member Avatar for davy_yg

Hello, I just uploaded a website that I build in windows to Linux Server. I wonder why not all codes loaded correctly. The website does not appears as good and there are some errors in it (such as the includes codes). What's the difference between creating website in Linux and …

Web Development php
Member Avatar for kevstev01
0
235
Member Avatar for judah.raine

Hi there, I'm utterly desperate (being a total novice at all things php) and am hoping someone can assist. In brief, I have a submission form. User adds url. Output should then display as an image link with the amazon affiliate code. In my template I have the following (which …

Web Development image php
Member Avatar for judah.raine
0
372
Member Avatar for HunainHafeez

i'm trying to hide EDIT button in a column when i click it but it doesn't. Actually, i manually created EDIT button in gridview, it worked :) but now after clicking edit button i want it to disable so i can put UPDATE button while editing. i tried but it …

Web Development asp.net dataset open-source
Member Avatar for JorgeM
0
180
Member Avatar for corestaples

Hello, How would I be able to do an onClick to take a value from a link and put that into a form field in another form located in a different browser window with a different url? For example: window 1 /browser A <a href="#" onClick="takeThisValue();">thisIsTheValueIwantToUse</a> window 2 /browser B …

Web Development javascript
Member Avatar for JorgeM
0
277
Member Avatar for HunainHafeez

one thing that i have been searching since many days that confuses me is that the difference between ONCOMMNAD and ONROWCOMMAND, Oncommand methid use parameters like "DELTEROW" EDITROW while ONROWCOMMAND uses DELETE, EDIT etc and both send different kinda objects like one send GridviewEventargs type object while another sends commandeventargs, …

Web Development asp.net
Member Avatar for JorgeM
0
651
Member Avatar for renierdbruyn

This function always returns `FALSE`: function rank($applicant_id_number = 0) { $this->load->model('advert_model'); $application = $this->advert_model->get_applications(); // $user = $this->flexi_auth->get_user_by_identity_row_array(); $rank = 0; $sql1 = "SELECT * FROM applicant_details"; $results = $this->db->query($sql1)->result(); $sql3 = "SELECT * FROM job_advert"; $job_advert = $this->db->query($sql3)->result(); foreach ($results as $key => $applicant) { $applicant_age = $applicant->age; $applicant_id_number …

Web Development php php-codeigniter
Member Avatar for broj1
0
259
Member Avatar for yaragalla_mural

Hi before adding `<!DOCTYPE html >` to my html, my javascript code is working fine. But by adding this to my html, the below part of the code is not working div.style.left=x; div.style.top=y; i am not able to set left and top values to an element. What could be the …

Web Development javascript
Member Avatar for yaragalla_mural
0
114
Member Avatar for gahhon

i am using MYSQL as my database. Due to i have multiple selection of categories one of them is `Others` Once the user selected the `Others` it will shown a textbox which let the user to input a new category. But now i have problem is how can i add …

Web Development asp.net
Member Avatar for gahhon
0
186
Member Avatar for gahhon

![732d22f08a80a7b16757c3d9f59f5454](/attachments/large/3/732d22f08a80a7b16757c3d9f59f5454.jpg "732d22f08a80a7b16757c3d9f59f5454") Recently i'm just created a new gmail account just for my project purpose. But when i performing there is a feedback from end-users.. the email address of the sender is my new gmail account? According to MailMessage `MailMessage(SENDER, RECEIVER)` am i right? but how come i am can't …

Web Development asp.net email
Member Avatar for gahhon
0
132
Member Avatar for sriramkarthick

My problem is "How to upload the image, while uploading store the filename with the extension in the database and while retrieving the image filename should be taken from the database and file should be taken from corresponding folder" ?

Web Development file-system image php
Member Avatar for 203428
0
264
Member Avatar for urbanthistleuk

Good Morning, I am after some help, I am still fairly new to php development so apologies if this one has been answered before, I have been tasked to build an email migration tracker that automates emails, this part I think I have covered, one part I am not sure …

Web Development php
Member Avatar for urbanthistleuk
0
220
Member Avatar for annyangel

plz help me to create a code in PHP the INSERT operation is used with a Class which inserts data and go into the database.

Web Development php
Member Avatar for annyangel
0
123
Member Avatar for sriramkarthick

What is the usage of "**preg_replace('/\\x13\\x00*$/', '', $plain_text);**" ?

Web Development encryption php
Member Avatar for n21115
0
268
Member Avatar for SUNDARESAN.R

Hi, I am new to daniweb. I have some clarifications, please give your suggestions. I need a floating image in my website. When the user scrolls down the image should come down. If the user scrolls up, the image should go up. Pls let me know how to do this …

Web Development image javascript
Member Avatar for SUNDARESAN.R
0
176
Member Avatar for chrisschristou

i do addition for 2 variable but i get only the second variable as done <?php $totalpay= ($row_panier['prix']+$shipping1);?> <input name="total" type="text" value="<?php echo $totalpay; ?>" readonly> only the number of $shipping one is show on navigator

Web Development php
Member Avatar for diafol
0
82

The End.