52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for HunainHafeez

i am calling store procedure from MVC, which returns single record only. SP contains: PROCEDURE [dbo].[GetMonthlyReport] @emplID INT = NULL, @month VARCHAR(50) = NULL AS BEGIN IF (@emplID IS NOT NULL AND @month IS NOT NULL) --If Block begins BEGIN SELECT * FROM MonthlyRecord WHERE Month = @month AND EmplID …

Web Development asp.net software-architecture
Member Avatar for HunainHafeez
0
120
Member Avatar for sanjay@srvmedia
Member Avatar for diafol
0
367
Member Avatar for jstfsklh211

I'm trying to change user ldap passwords heres the code $ds = ldap_connect(LDAP_HOST, LDAP_PORT); ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); $bind = ldap_bind($ds, 'uid={admin},'.LDAP_BASEDN, '{admin password}'); $userpassword = "{SHA}" . base64_encode(sha1( '{password}', TRUE )); $userdata = array("userPassword" => $userpassword); $result = ldap_mod_replace($ds, 'uid={user},'.LDAP_BASEDN, $userdata); ldap_close($ds); `$result` returns true i can even see the …

Web Development php
Member Avatar for diafol
0
494
Member Avatar for nazree.zeko

So i got one form so the user can enter and submit their personal details. The problem is i didn't apply any validation . I've done a simple validation like this , but it seem to be not working . function validate(){ if((\$('txt_no_kp').value != '') && (\$('txt_nama').value != '') && …

Web Development php
Member Avatar for nazree.zeko
0
250
Member Avatar for davy_yg

Hello, How to make the contact us works? [Contact Us](http://www.indonusa.net.id/contactus.php) contactus.php <?php // require_once('recaptchalib.php'); $name = strip_tags(@$_POST['name']); $email = str_replace(" ", "", strip_tags(@$_POST['email'])); $subject = str_replace(" ", "", strip_tags(@$_POST['subject'])); $message = strip_tags(@$_POST['message']); if (@$_POST['submit']) { if ($name&&$email&&$subject&&$message) { // $privatekey = "6LfjvdcSAAAAAHNcKjYO5DhTNefxYZHYcfhtrvGC"; // $resp = recaptcha_check_answer($privatekey, // $_SERVER["REMOTE_ADDR"], // $_POST["recaptcha_challenge_field"], …

Web Development php web-server
Member Avatar for nauticalmac
0
801
Member Avatar for josverhoeff

Hi, I thought I'd share this with you. If you want all fields on a web form to be emptied of ther initial value (if any) on focus and filled again with the initial value on blur. Works with jquery.

Web Development javascript javascript-jquery
Member Avatar for JJenZz
0
249
Member Avatar for johnef_sh

hi I using PHP/MySQL with Google Maps from here https://developers.google.com/maps/articles/phpsqlajax_v3 and then I used PHP's DOM functions to Output XML from here https://developers.google.com/maps/articles/phpsqlajax_v3#outputxml everything working fine with me but I need to center google map on the marker. here is the code that center the map and make the zoom …

Web Development javascript php seo
Member Avatar for johnef_sh
0
9K
Member Avatar for Priti_P

Hello All, I want to send event invitation to Google user, using google calendar API. for this, I am using Google calendar API in php, for inserting event in the google calendar . I have used php-client libraries https://developers.google.com/google-apps/calendar/downloads But problem with this is : it require login. So how …

Web Development api google google-api php
Member Avatar for gabrielcastillo
0
249
Member Avatar for dudegio

Hello guys! Anyone who has an idea of integarting a bar code reader to a inventory system. The function is to read the bar code and this will serve as an input to the system. Any suggestion are very much welcome. thank you!

Web Development php
Member Avatar for phpdeveloper123
0
3K
Member Avatar for davidjennings

Hi all, I am looking to extract address line of text into arrays in a word document. I am only really looking for the postcode to extract. Any help would be appreciated Thanks David Velta - The Underfloor Heating Company, Wombwell School, S73 8AX Speedy Asset Services Limited, C/O Arnold …

Web Development php
Member Avatar for davidjennings
0
304
Member Avatar for lydia21

hi i am doing a attendance sheet appln... i want to know how to get the current indian time,date,month and year..... and i want to store that in mysql database lydia

Web Development php
Member Avatar for kharthikeyan
0
3K
Member Avatar for Linddha

i have a script for replace char that i want for URI in php. But now i need these result but using Javascript. i've try to change using Javascript but cant run <?php function seo_title($s) { $c = array (' '); $d = array ('-','/','\',',','.','#',':',';',''','"','[',']','{','}',')','(','|','`','~','!','@','%','$','^','&','*','=','?','+'); $s = str_replace($d, '', $s); …

Web Development javascript
Member Avatar for Linddha
0
272
Member Avatar for Gandalfs_beard

Hello I was hoping someone would be kind enough to assist me with a major problem I'm having with firefox. I'm running a Mac OS X 10.5.8 platform from a Macbook Pro and was using a very old version of the web browser firefox - version 3.6.23 to be exact …

Member Avatar for Troy III
0
248
Member Avatar for XTMercenary

new to javascript so this is probably a stupid question. I have some code example below. what i'm trying to do is use the method i've created which takes a filterType and a filter and then filter by using those two varaibles. The problem i'm having is that I don't …

Web Development javascript
Member Avatar for Troy III
0
108
Member Avatar for notacop

I have this checkboxes HTML Code: <input type="checkbox" class="calc" name="access[a]" value="1" /> <input type="checkbox" class="calc" name="access[b]" value="2" /> <input type="checkbox" class="calc" name="access[c]" value="3" /> <input type="checkbox" class="calc" name="access[d]" value="4" /> I need the following thing, i will explain it in an example: Example: User selects third and fourth fields, 7(3+4) …

Web Development javascript javascript-jquery
Member Avatar for diafol
0
161
Member Avatar for dbalas

Hi all! I am sorry if im asking same thing for the nth time but i can not find the answer to my question... I have problem adding partial views... I have One-to-Many relation in the database tables. My Model is: using System; using System.Collections.Generic; public partial class Job { …

Member Avatar for PoorRogue
0
548
Member Avatar for rubai

I am new in plugin development. I created a plugin with the help of http://codex.wordpress.org/Creating_Options_Pages <?php /* Plugin Name: 1pluginframework Plugin URI: Description: Custom plugin for lendingbig website. Version: 1.0 Author: Jahur Ahmed Author URI: License: GPLv2 or later */ // create custom plugin settings menu add_action('admin_menu', 'baw_create_menu'); function baw_create_menu() …

Web Development php wordpress
Member Avatar for rubai
0
316
Member Avatar for urbanthistleuk

Hello, I am after some help, I need to know how to do srv lookups using php and possibly mx lookup, I have a form which already has a textbox which selects the domian from a mysql database, I need to be able to display the srv record below the …

Web Development dns php
Member Avatar for urbanthistleuk
0
243
Member Avatar for mbarandao

Hello, I have the following string and would like to use preg_match() to extract parts of the string. Yang club 4931 Wyaconda RdRockville, IA 20852 301-937-3401 Monday - Friday - 3:00 - 10:00PM and Saturday & Sunday -12:00 - 8:00PM another possible string is: Kahler Hall 5440 Old Tucker Row …

Web Development php
Member Avatar for mbarandao
0
820
Member Avatar for davy_yg

Hello, I am trying to create a search form in order to search articles title and contents. Here is my code: searchPDO.php <?php // PDO start here //This is only displayed if they have submitted the form $find = strip_tags(@$_POST['find']); $searching = strip_tags(@$_POST['searching']); if (isset($searching) && $searching==yes) { echo "<h2>Results</h2><p>"; …

Web Development php
Member Avatar for cereal
0
350
Member Avatar for murali2489

Hi Team, I am almost going to finish learning core Java and my employers said openings are available for Hibernate/Spring/Struts. I am just wondering whether can i directly start studying one of these frameworks after Core Java. Some people said these Frameworks contains JSP,servlets and important J2EE concepts so that …

Web Development java-jsp spring-framework
Member Avatar for rubberman
0
266
Member Avatar for john_56

I have recently purchased a ready made site as I am new to all things HTML CSS etc (although I am learning fast). Every time I have tried to go to the page I get this msg Parse error: syntax error, unexpected T_STRING in /home/a4616062/public_html/index.html on line 1. Here is …

Web Development html-css php
Member Avatar for john_56
0
157
Member Avatar for Thkaal

Okay, here is the code I'm using. The original author hasn't been seen in three years and I haven't been able to get a response for a month so I'm asking here. The people here seem to be abel to help me more than anyone else. This is the ipn.php: …

Web Development mysql php
Member Avatar for Thkaal
0
765
Member Avatar for vishalonne

Hello I am writing an PHP module for admission process. It have an admission form. Tentatively ddmission process start from mid of March and ends in mid of May (not fixed). My question is what is the best way to activate and deactivate the calendar control of this admission form …

Web Development php
Member Avatar for JorgeM
0
181
Member Avatar for centenond

So , i want when ppl click on my picture open like a new window to show full size picture like facebook, im thinking this gotta be javascript .. How would i do this? Thanks :3

Web Development javascript
Member Avatar for centenond
0
178
Member Avatar for bilal.saim

I am using a radio player with <iframe> tag. I want to play it all page. But it musn't do postback this player. How can i do with Ajax, Javascript or JQuery ?

Web Development javascript javascript-jquery
Member Avatar for bilal.saim
0
133
Member Avatar for vinsbg

Hello, So I try to learn php and decided to make one site where I add images, save them in folder and id, name,type, path in mysql. Then show on page. So far I have upload form and I can upload and save images. Also I showing them successfully on …

Web Development mysql php
Member Avatar for vinsbg
0
213
Member Avatar for haymen.roth.3

i am receiving Emplid in this action, public ActionResult showDDL(int? EmplID = null) { ViewBag.EmplID = EmplID; if (EmplID == null) { IEnumerable<GetAtdRecord_SpResult> EmployeeAtd_2 = DataContext.GetAtdRecord_Sp(0).ToList(); return View(EmployeeAtd_2); } else if (EmplID != null) { IEnumerable<GetAtdRecord_SpResult> EmployeeAtd_2 = DataContext.GetAtdRecord_Sp(EmplID).ToList(); return View(EmployeeAtd_2); } return View(); } View: @{ var grid = …

Web Development asp.net software-architecture
Member Avatar for PoorRogue
0
171
Member Avatar for Jochen_1

Hello , i am making a website and have difficulties using Google Chart API. I am using a annotated timeline chart and it works. But i want to change the look of the chart and i am having difficulties with that . Mayby somebody here can help me ? Here …

Web Development api javascript seo
0
165
Member Avatar for XEN0

windows 7 home premimum x64 access denied for saving files to app_data folder and any other folder in the projects root directory. Code below is what im using to save and getting... doc.Save(Server.MapPath("~/App_Data/Logs")) I get a couple access to path denied msgboxes. Set a few permissions and no go.

Web Development asp.net microsoft-access xml
Member Avatar for XEN0
0
291
Member Avatar for mbarandao

I am generating a multidimensional array which outputs in the following format: Array ( [0] => Array ( [cName] => "Club Name (Exp. Date)" [location] => "" [days_times] => '0' [zip] => 0 [state] => 0 [contact_person] => "" [contact_phone] => '0' ) ) Array ( [0] => Array ( …

Web Development php
Member Avatar for mbarandao
0
329
Member Avatar for miyotz

I have here my Javascript code that adds dynamic textbox (row) my problem is how can I save the values from the dynamic textbox to database using PHP script? Hope you can help me guys.. Thanks! <script type="text/JavaScript"> function addRow(r){ var root = r.parentNode;//the root var allRows = root.getElementsByTagName('tr');//the rows' …

Web Development javascript mysql php
Member Avatar for diafol
0
1K
Member Avatar for developer707

Hello to everyone, I have a mysql table CREATE TABLE `tools_domuments` ( `id` int(11) NOT NULL AUTO_INCREMENT, `filename` varchar(255) CHARACTER SET utf8 NOT NULL, `description` longtext CHARACTER SET utf8 NOT NULL, `filetype` varchar(255) CHARACTER SET utf8 NOT NULL, `document` longtext CHARACTER SET utf8 NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB …

Web Development mysql php
Member Avatar for developer707
0
218
Member Avatar for wkwasniak

Hi. I just wonder, is it possible, to validateform , which has been "echoed" in PHP using JavaScript function? See code below <?php if(isset($_SESSION['email'])){ echo"You are looged in as ".$_SESSION['email']. "</br> "; echo' <form action="confirmlogout.php" id"logoutform" method="post"> <input type="submit"id="sub" name="sub" onclick="" value = "LOG OUT" /> </form></br>'; } else{ echo …

Web Development javascript php
Member Avatar for wkwasniak
0
336
Member Avatar for chaitu11
Member Avatar for gabrielcastillo
0
1K
Member Avatar for Limiter

Hi guys, I have worked with PHP and MySQL before and recently I wanted to try and learn ASP.net MVC since some of my friends are using it in the work place. But the most confusing thing about this is, why does all the tutorials out there not mention how …

Web Development asp asp.net mssql sql visual-studio
Member Avatar for Limiter
0
464
Member Avatar for chaitu11

how to refresh advertisements after every 2 sec in website using php

Web Development php
Member Avatar for chaitu11
0
347
Member Avatar for aleksandra.trivuncevic

Hi All... To made payment integration, I used e24PaymentPipe.dll got from client. The problem is that it is always results in failure ("-1") when I try to connect to Gateway Server using "PeformInitTransaction" function. To be able to use e24PaymentPipe.dll as third party dll, i performed following steps: (note: OS …

Web Development asp.net assembly visual-studio
Member Avatar for aleksandra.trivuncevic
0
615
Member Avatar for archie.herbias

i have created a codeigniter application and when i tried to access it locally, it says "No direct script access allowed". i don't know what's the problem .i'm using ubuntu . i need some help with this :)

Web Development php ubuntu
Member Avatar for gabrielcastillo
0
132
Member Avatar for mattyd

A simple problem with a simple solution, I suppose. I have researced it but do not quite understand it. **Problem**: I have a very nice script for a dropdown that displays country names and the associated flags for each country within a form. This works very well, but... Examples of …

Web Development javascript-jquery
Member Avatar for diafol
0
301
Member Avatar for softmohaideen

I have using php for form datas. I want get the data from html by using id value instead of name attribute.

Web Development html-css php
Member Avatar for diafol
0
64
Member Avatar for hriti

` <form action="v1.php" method="post" enctype="multipart/form-data"> <!--<input type="hidden" name="MAX_FILE_SIZE" value="500000" /> --> <input type="file" id="file" name="file" /> <input type="submit" id="submit" name="submit" value="Upload File" /> </form> <?php if(isset($_POST['submit'])) { $ffmpeg = "D:\\xampp\\ffmpeg"; //path of ffmpeg.exe file $videoFile = $_FILES['file']['tmp_name']; $imageFile = "D:\\xampp\\ffmpeg\1.jpg"; //output file name $size = "100x50"; $getFromSecond = 5; $cmd …

Web Development image php
Member Avatar for hriti
0
154
Member Avatar for crysys

Hello, how can i make this "Hscren.swf" clicable. Hscren is logo and i whant when you press click to make redirect in index like www.site.com. document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="712" height="172"> '); document.write('<param name="movie" value="images/template/style/flash/Hscreen.swf">'); document.write('<param name="quality" value="high">'); document.write('<param name="menu" value="false">'); document.write('<embed src="images/template/style/flash/Hscreen.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="712" height="172"></embed>'); document.write('</object>'); Thanks, I …

Web Development javascript
Member Avatar for gabrielcastillo
0
163
Member Avatar for lily123

pls ii need to display my result from the database into a table form using phph code. can soemone help out please

Web Development display php
Member Avatar for wkwasniak
0
223
Member Avatar for raminshahab

My issue is this: I call this method twice once inside a function and another in the HTML onclick. Reason is the DIV is part of a context menu. The first function call res is the correct variable I want. The second however changes res b/c Im forced to pass …

Web Development javascript
Member Avatar for raminshahab
0
104
Member Avatar for riahc3

Im trying to make a email form where people can visit our site and send us emails. Since I am not sure if I can add PHP code, lets stick to JS and HTML. I believe I can add JS libraries: Basically: Introduce your email address Dropdown box that you …

Web Development email
Member Avatar for patk570
0
191
Member Avatar for Roobin

Hi, Im working on a intranet website. I have multiple folders on a windows 2008 server. Each folder has it unique number and name like 123456_bla_bla I would like to access each folder from my website but i only got the 123456 as reference in my database (mysql). Is it …

Web Development mysql php
Member Avatar for Zagga
0
102
Member Avatar for vizz

I'm using [Page Transitions](http://tympanus.net/Development/PageTransitions/) (get animations.css from tympanus.net) to hide/show div. How to add remove classes. I'm trying to add in-out effects with simple classes. How to *Remove class `current` from current div & add outgoing class to same div* and *add class `current` & incoming class to next div*? …

Web Development javascript javascript-jquery
Member Avatar for vizz
0
369
Member Avatar for lortech

This is my first time working with php. I used a sample php mail code to process the mail. After entering in the form info and hit the send it button should show a new window that the mail was sent. The email does not send with the contents from …

Web Development email html-css php
Member Avatar for Kamal_5
0
357
Member Avatar for mwenyenia07

Consider array elements stored in table column as: 1,2,3,4,5 These corresponds to respective id of checkbox.if the id of the checkbox is equal to the one of the elements in(1,2,3,4,5) above,then it should be checked otherwise unchecked. Can somebody write a script that can do so. Thanks.

Web Development php
Member Avatar for gabrielcastillo
0
210

The End.