52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rsleventhal

At times, I have need to push all submitted form array values into $_SESSION. To do this, I've written a small function: function addPostToSession() { foreach ($_POST as $key=>$value ){ $_SESSION[$key]=stripslashes(strval($value)); } } This works well, as long as $_POST is one dimensional, but in a form with checkboxes, $_POST …

Web Development php session
Member Avatar for cereal
0
425
Member Avatar for rb.dhoriya

hello... i'm creating a web application in asp.net in which i would like to give user a one "JavaScript" code, through which the user can get content from my website to his/her own website. i've used one generic handler to process user request in my website. i've tried using jQuery.. …

Member Avatar for rb.dhoriya
0
3K
Member Avatar for marifard

Hi, I have two pages to upload an image for specific client. the code of the page where I choose the image from file for specific client is: <?php require("headerloggedin.php"); ?> <?php $clientid = $_GET["clientid"]; $query = "SELECT * FROM clients WHERE clientid = $clientid"; $resultset = $db->query($query); while($row = …

Web Development image php
Member Avatar for marifard
0
241
Member Avatar for Kapeesh

Hello Dear, Plz tell me how to create a bar chart fetch data from database using in jsp. this is my connection code and plz tell me i add new code in same page or another page. Thanks <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Customer …

Web Development java-jsp
Member Avatar for janissantony
0
188
Member Avatar for ankit1122

hello, how can i access a variable or object defined in a java class to my jsp in same project?

Web Development java java-jsp
Member Avatar for janissantony
0
100
Member Avatar for ravi142

Hello, I am build to sent email with around 5000 email at time sent means Multiple emails used.Like Gmail but at the end Gmail have restriction for limited user.also not sent in SPAM .do you suggest me if any Web service provide this facality.[Not sure but Mailchimp could be provide …

Web Development email php
Member Avatar for hericles
0
70
Member Avatar for nevek

Hi, I am trying to load u sub-page wich has 2 datepickers but i can't get them to work. This is the code on my main page <script> $(function(){ $("#datepicker").datepicker(); }); //function is called onchange in a list function loadTherapie(){ var therapieID = document.getElementById("lijstTherapieen").value; $("#divTherapie").load("wijzigtherapiesubpage.php?therapieID="+therapieID+"&cacheOntloper="+randomNumber()+"&type=2", function(response){ $(response).find("#datepicker").datepicker(); }); } </script> …

Web Development javascript javascript-jquery
Member Avatar for nevek
0
325
Member Avatar for davy_yg

create_account.php <?php include('includes/koneksi.php'); $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; $institusi = isset($_POST['institusi']) ? $_POST['institusi'] : ''; $alamat = isset($_POST['alamat']) ? $_POST['alamat'] : ''; $email = isset($_POST['email']) ? $_POST['email'] : ''; $no_telp = isset($_POST['no_telp']) ? $_POST['no_telp'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; //Simpan berita /* if (isset($_POST['submit'])){ …

Web Development php
Member Avatar for pritaeas
0
337
Member Avatar for wgdbatman

I am having a reall issue with an assignment I am on. Here is the Assignemnt and attached are what I have for the .html and .php files. My .html is displaying as code on a web page vice the desired formatting. Any advice? Write a PHP script that obtains …

Web Development php
Member Avatar for matrixdevuk
0
569
Member Avatar for ceeandcee

Good Morning, I am trying to run a mysql query to see if the field 'Date' is within 7 days of the current date or not. If it is less than 7 days old, I want to echo an image called current.jpg. If it is more than 7 days old, …

Web Development php
Member Avatar for diafol
0
338
Member Avatar for liphoso

i am running PHP Version 5.2.9, i want to create a barchart from data in mysql. i got this sumple and tried running it. am having a bit if trouble with json_encode(). i have an array that has numbers and strings but the numbers get printed back as strings. how …

Web Development json php php-codeigniter wordpress
Member Avatar for liphoso
0
583
Member Avatar for ravi142

Hi I make **FPDF output** of data in 3 simple columns with word wrap content. For E.g Like Table Structure. Title-1 | Title-2 | Title-3 Coln-1,Coln-2 | Coln-1,Coln-2 | Coln-1,Coln-2 If you given help with some snippets then better to understand. Thank you.

Web Development data-structure pdf php
Member Avatar for ravi142
0
2K
Member Avatar for grakovski

Hello there :) I got this json: http://steamcommunity.com/id/spekat/inventory/json/730/2 In place of "spekat" - has different account names with different information. I want to get "classid" index with information (like numbers) Now my code is like this: <?php $urljson2 = file_get_contents("http://steamcommunity.com/id/$steam_acc/inventory/json/730/2/"); $json_decode2 = json_decode($urljson2); $inventory = $json_decode2->rgInventory->classid; ?> But not work, …

Web Development json php
Member Avatar for gabrielcastillo
0
483
Member Avatar for younes.keraressi

hey, i have a virtualbox with a guest install on it windows 2008 r2 server where i put my web site and i can ping both side, from main to virtual machine, and from mv to host but the problem is when i try to tape in browser the ip …

Web Development web-browser
Member Avatar for veedeoo
0
639
Member Avatar for tanklessgunit

I'm trying to solve a problem which I've now for 2days. But with any kind of success I want to create something where people can track their progress, so if somebody 'creates a progress' certain information need to be selected from the DB and inserted into other table. for now …

Web Development php
Member Avatar for veedeoo
0
288
Member Avatar for soomro_moon

hello, can anyone please help me with this piece of code, is not showing combobox value, why ??? its urgnt <tr><td>TERM</td><td><select name="term" ><option value="t_1">FIRST TERM</option><option value="t_2">SECOND TERM</option><option value="t_3">THIRD TERM</option><option value="t_4">FOURTH TERM</option><option value="t_5">FIFTH TERM</option><option value="t_6">SIXTH TERM</option><option value="t_7">SEVENTH TERM</option><option value="t_8">EIGHTH TERM</option></select></td></tr> <tr><td><?php if(isset($_POST['term'])) { echo $_POST['term'];} ?></td></tr>

Web Development php
Member Avatar for pclfw
0
245
Member Avatar for UK-1991

Hello guyz, I have created a security on a page like there are several password issued to the users like on join us page if the person click on it the prompt box and user enters the password users are on that page and password is wrong it redirects to …

Web Development javascript php
Member Avatar for diafol
0
297
Member Avatar for Ryujin

Greetings. Trying to scrape data from search results in [a library catalog](http://pilot.passhe.edu:8042/), but cannot return anything at all. The same script below works fine pulling from *another* catalog, but not with this one. (It's a Voyager catalog by ExLibris, in case that helps.) Below for simplicity is a boiled-down version …

Web Development php session
Member Avatar for cereal
0
982
Member Avatar for David_14

Is there software around that will update a cell or table (or iframe) on a web page via email? Therwe used to be Send2Page that worked great, but i don't think they are around anymore.

Web Development email
Member Avatar for Brandon_8
0
105
Member Avatar for younes.keraressi

hi, i have a webserver with a dns and i installed wampserver on it with putin my website on www, the problem is when i try to access from any computer with internet www.MyDomainName.com it work fine, then after a 2 or 3 min its wont and its says web …

Web Development apache dns
Member Avatar for younes.keraressi
0
284
Member Avatar for iwanttolearnc

is it possible for me to use user-uploaded data ,such as tab delimited data in a text file, only in memory? this is because i dont want to save the files in the server.

Web Development asp file-system
Member Avatar for pintukennady31
0
125
Member Avatar for suha91

Greetings, I need a help on how to insert data from textbox when the checkbox checked. In my code there are few checkboxes where one checkbox is with textfield. Its means when i checked the "other" checkbox it will allow user to type. But the the problem here now is …

Web Development data-structure php
Member Avatar for diafol
0
3K
Member Avatar for Wisnu_1

Hello! I'm having trouble with my college assignment. The assignment wants me to display an XML file using XSLT and add some filtering function. I have no problem displaying the XML with XSLT in my web page using javascript. I used the tutorial from w3school (http://www.w3schools.com/xsl/xsl_client.asp). However i have no …

Web Development apple display javascript xml
Member Avatar for pritaeas
0
319
Member Avatar for Szabi Zsoldos

Hi guys, I have this weird .htaccess rule that is used for a dropdown search engine RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+) index.php?bla1=$1&bla2=$2... and so on [L] If I want to maintain the above rule, it is allright. The problem is that I want to creat a new rule with 3 variables, but the …

Web Development apache php seo
Member Avatar for Szabi Zsoldos
0
338
Member Avatar for t_thakar

I have a soap call which returns an object which has a xml string. an example is shown below: <?xml version="1.0" encoding="utf-16"?> <LoginResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <StatusMessage>Login Successful</StatusMessage> <AuthKey>b2365767-ae42-1a44a6436575</AuthKey> </LoginResponse> I would like it to convert it into an associative array which will be similar to: array( "LoginResponse"=>array( "StatusCode"=>1, "StatusMessage"=>"Login …

Web Development php xml
Member Avatar for t_thakar
0
1K
Member Avatar for daniel36

can anybody tell me a working jquery pdf viewer plugin(open source)?

Web Development javascript javascript-jquery pdf
Member Avatar for gogs85
0
452
Member Avatar for chrisschristou

hello friends, i need to do one more step in web developement, it is about CMS or (WCMS), i create web site with php/mysql using dreamweaver so i had facility to creaty template.... my question is how to create a MCS or a just form that will allow me to …

Web Development cms php
Member Avatar for diafol
0
268
Member Avatar for Blueie

Hello I am getting the following error in my Manage.aspx file: 'GetUserName' is not a member of 'System.Security.Principal.IIdentity'. I had not opened that file previously, so I can only think that changes I have made - or NuGent Package Manager has changed when I installed Microsoft.AspNet.Identity.Core 2.1.0 - have impacted …

Web Development asp.net
Member Avatar for Blueie
0
158
Member Avatar for davy_yg

Hello, I am trying to create a login box that processs the form to another file after login: index.php <form action="login.php" method="POST"> <input type="text" class="form" name="username"><br> <input type="password" class="form2" name="password"></div> <input type="submit" class="login" name="submit" value=""></input></div> <div style="margin: -235px 0 0 850px;"><a href="create_account.php">Create an Account</a><br><a href="forget_password.php">Forgot Password</a></div> <div style="margin: 20px 0 …

Member Avatar for diafol
0
216
Member Avatar for jean_5

I have the following code: if (object.GroupBy == "Cities") $("body").children().find("td:first[name=Name]>").html("City"); if (object.GroupBy == "Banks") $("body").children().find("td:first[name=Name]>").html("Banks"); if (object.GroupBy == "User") $("body").children().find("td:first[name=Name]").html("Users"); <tr class="form-list-table-header"> <td class="" name="Name"></td> <td class="" name="Total">Total</td> </tr> <div><span>Group By</span></div> <select class="combobox" name="GroupBy"> <option value="Cities">Cities</option> <option value="Banks">Banks</option> <option value="Users">Users</option> </select> </div> If the user select Cities, the td is …

Web Development javascript
Member Avatar for jean_5
0
120
Member Avatar for ruhestorer

Hi, Is there simple way to call cffunction using cf component- button or link, or whatever. I have list with multiple documents and in the end of each line i need component which user can click, and on click i need to call cffunction.

Web Development coldfusion gui
Member Avatar for dipakatcvrca
0
734
Member Avatar for softwaredeven

hello guys ... i have a problem regarding on this error 1. Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 104 2. Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 120 3.Notice: Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 163 4.Notice: Undefined index: …

Web Development html-css javascript-jquery php
Member Avatar for almostbob
0
629
Member Avatar for aksahoo17

Hi, i want to set a coldfusion variable to undefined within a javascript function, i just written as below, but without calling the method it automatically set the variables on page load. Can anybody help me in the same i want to set the below variable only on call of …

Web Development coldfusion javascript
Member Avatar for dipakatcvrca
0
3K
Member Avatar for Violet_82

Hello guys, I wonder if you could kindly explain this to me. Basically, I've got a form and a thank you message above it, here they are: <asp:Content ID="Content5" ContentPlaceHolderID="contentPlaceholder" Runat="Server"> <div class="thankYouMsg" id="thankYouMsg" runat="server"> <h2>Thank you for your feedback.</h2> </div> <div class="contactForm" id="contactForm" runat="server"> <h2>Contact me</h2> <div class="form" runat="server"> …

Web Development asp.net
Member Avatar for Violet_82
0
218
Member Avatar for Violet_82

Hello guys, I'd like to clarify a few things with IDs and classes. As I've learned so far, ASP.NET adds its own id and overwrite the previous one, if there was any. Let's just take a recent example, the panel I added in my previous thread: <asp:Panel ID="ThankYouPanel" runat="server"> <div …

Web Development asp asp.net
Member Avatar for Violet_82
0
235
Member Avatar for Simon180

Am trying to make a simple categorys script but am not having much luck . CREATE TABLE `portraits` ( `n` INT(11) NOT NULL AUTO_INCREMENT, `category` VARCHAR(25) NOT NULL DEFAULT 'Main', `collection_id` VARCHAR(5) NOT NULL DEFAULT '00000', `collection_name` VARCHAR(55) NOT NULL DEFAULT 'Free Gallery 1', `permissions` INT(1) NOT NULL DEFAULT '0', …

Web Development php
Member Avatar for broj1
0
2K
Member Avatar for rjusman90

<ul class="sf-menu"> <?php $menu_query ="SELECT * "; $menu_query .="FROM `menu`"; $menu_query .="WHERE `Status` = 'Enabled'"; $menu_query .="AND `ParentMenuID` = '0'"; $menu_result = mysqli_query($connection,$menu_query); while($row = mysqli_fetch_array($menu_result,MYSQLI_ASSOC)){ $PageID=$row['PageID']; $ID=$row['ID']; $LW=$row["LinkWidth"]; $menu_qry_for_page ="SELECT * "; $menu_qry_for_page .="FROM `page`"; $menu_qry_for_page .="WHERE `ID` = '$PageID'"; $menu_qry_for_sub ="SELECT * "; $menu_qry_for_sub .="FROM `menu`"; $menu_qry_for_sub .="WHERE …

Web Development php
Member Avatar for rjusman90
0
238
Member Avatar for toxicandy

I have the code: $VolunS = array('aro','clergy','intskills','interpt','bus','child','law','cpr','cpryn','data','security','emergency','computer','mechanical','administration','firstaid','faid','translation','translate','construction','basicclean','foodprep','animalcare','heavy','other3'); foreach($VolunS as $skill){ if($person["$skill"] != ""){ echo $person["$skill"] . ", "; //this is the line where echo is replacing $row .= } } And my problem is that I am adding an extra comma at the end of the list. The purpose of …

Web Development php
Member Avatar for diafol
0
163
Member Avatar for ravi142

Hello, I want help for recursive in php which like structure is attachment file.. [1] **Sire (Parent)** > Sub1 ->nChild.. > Sub2 [2] **Dam (Parent)** > Sub1 ->nChild.. > Sub2 ->nChild.. Do you have some example of code so its better for me. Thank You.

Web Development php
Member Avatar for Taywin
0
222
Member Avatar for Tunnleram

Hi, I'm getting an error that I generally understand in a situation that makes no sense to me. I was hoping for some direction - to see if anyone had any ideas. I have a profile page users can edit. When they do it uses user_action.php to commit those changes …

Web Development apache php
Member Avatar for Tunnleram
0
230
Member Avatar for khanNivas

On uploading a picture in a comment initially in preview it is upside down.

Web Development image javascript
Member Avatar for Taywin
0
84
Member Avatar for Jake.20

Greetings pros, Can someone give me an idea on how to create a notification like the comments on facebook? What i have in hand is; The Counter increases when the database updates. But the counter only updates when the user hovers it. So What i need to do is. When …

Web Development data-structure json php
Member Avatar for Taywin
0
497
Member Avatar for Azii

Hi, The question is regarding PHP and Javascript/Jquery. I have a php page which process the form data and displays it on SUBMIT. I need to collect that data into javascript. how should I proceed? **//Php file** <?php @session_start(); $uname = $_SESSION['sessionVar']; ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Web Development javascript javascript-jquery php
Member Avatar for Taywin
0
248
Member Avatar for sniigg

Hi, I want to generate an anchor tag <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> in code behind using c#...but dunno how to do....

Web Development asp.net
Member Avatar for pritaeas
0
1K
Member Avatar for jean_5

I have the following code: isBigInt: function () { var val = bigInt(); if (bigInt(val.toString()).greaterOrEquals("-9223372036854775808") && bigInt(val.toString()).lesserOrEquals("9223372036854775807")) return true; else return false; } I have downloaded the biginteger library in the https://www.npmjs.org/package/big-integer , but this code does not get the correct number typed by the user.

Web Development javascript
Member Avatar for wolfdragon
0
854
Member Avatar for totalwar235

I would like to create an array of objects. I am not sure as to how this would work as my searching through javascript does not give an address of identifier. I can only use javascript as the site is being designed for local use. if it did I would …

Web Development javascript
Member Avatar for wolfdragon
0
139
Member Avatar for ravi142

Hello, In php code generate output completly but when user click on 'PDF' Button then Output generate in PDF file or Click in 'Excel' button then generate Excel file as download. Thank You

Member Avatar for diafol
0
163
Member Avatar for steven.gray.10236

I hope someone can help me. I have been working on this for several days and can not figure it out. I made a blog and I am trying to get SEO friendly URLs. I have tried the mod-rewrite and it seems to have no effect. is there something else …

Member Avatar for edbr
0
533
Member Avatar for Safer Heart

I need to pay someone for a live counter that adds one each 1.7 seconds. https://www.daniweb.com/web-development/php/threads/68355/live-web-counter-increment-a-number-by-x-every-x-seconds It is the real time count of Heart Failures worldwide. Gary@HealthyHeartTissue.com Gary

Web Development php
Member Avatar for veedeoo
0
188
Member Avatar for kroken

Hi i didnt find anything about this here on the forum and i cant figure out how to do it myselfe either. i have a homepage runing java with servlets and jsp pages and i want a simple contactform that sends a message from the form to a specific mail. …

Web Development java java-jsp
Member Avatar for harpreetfervaha
0
2K

The End.