52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rbeach1955

when managing rules I receive the below error: Invalid postback or callback argument. Event validation is enabled using in configuration or in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is …

Web Development asp.net
Member Avatar for rbeach1955
0
112
Member Avatar for dr.4030

i wanna to upload some images for my banners but i want to send special formats to my db like jpeg and png i wrote some things like this <? %name=$_FILES['imgfiled']['name']; $size=$_FILES['imgfield']['size']; $type=$_FILES['imgfield']['type']; if ($type==image/jpeg) //i wanna upload png files too. but i dont know how to add it. exactly …

Web Development php
Member Avatar for dr.4030
0
108
Member Avatar for Buppy

Hi, i'm having a problem with AES encryption. I have 2 queries: [CODE] mysql_query("INSERT INTO table (secretfield) VALUES (AES_ENCRYPT('$secretvariable','12345'))") mysql_query("SELECT AES_DECRYPT(secretfield,'12345') as sf FROM table WHERE ID='$_SESSION[id]'"); [/CODE] With AES_ENCRYPT it works fine, it inserts encrypted values into the column, but when i use AES_DECRYPT, it returns a blank value. …

Web Development encryption php
Member Avatar for carlodglozada
0
102
Member Avatar for veledrom

Hi guys, I need a help for caching web pages. My website is driven by database and updated everytime (sometimes minute by minute sometime hour by hour, never know). Content and some information comes from database as well. There are also some queries run behind for logging purposes based on …

Web Development caching php
Member Avatar for jkon
0
225
Member Avatar for khan43

I am trying to clear session variables after I have logged out. In my search.aspx I have a logout button therefore I put the below code in search.aspx.vb. However it does does seem to work. Protected Sub hlLogout_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles hlLogout { if(Session["User Name"]!=null) …

Web Development asp.net session
Member Avatar for Knvn
0
179
Member Avatar for JSHGROUP

I'm launching an multi outlet online food ordering website - most of the coding etc has been done I just have a couple of problems, one of which is this.... I want to add a min order requirement so that if the order comes in at £8 the order is …

Web Development php
Member Avatar for jmo
0
137
Member Avatar for khan43

Hi I am trying to create a forgot password section within my login section and it doesnt seem to work. In my forgotpassword.aspx page my code looks like this: [CODE]<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:PasswordRecovery ID="PasswordRecovery1" runat="server" Height="224px" Width="295px" SubmitButtonText="Get Password" SubmitButtonType="Link"> <MailDefinition From="soccervillage@yahoo.com" Subject="Your new password" BodyFileName="PasswordRecovery.txt" /> </asp:PasswordRecovery> </asp:Content>[/CODE] …

Web Development asp.net
Member Avatar for khan43
0
222
Member Avatar for maria_megha

please give me the code for checking the company name entered in textbox using javascript .Only sentence case to be allowed.Only abbreviations (without a full name) should not be allowed.(eg DPS) Abbreviations if any should be allowed only at the end of the name within ().eg Delhi Public School(DPS)

Web Development javascript
Member Avatar for Taywin
0
103
Member Avatar for still_learning

Hi there, At my company we are working on building a website, however javascript is disabled on the server and cannot be enabled. Onclick, onmouseover, etc.....these events do not work either. Is there any alternative to making my page dynamic? Mainly I'm wanting simple things like being able to fire …

Web Development javascript
Member Avatar for z-Steve
0
120
Member Avatar for McLaren

Hi, [CODE] $('object').live('mousedown',function(){ url = $('.m_banner_show object param[name="movie"]').attr('value'); alert(url); //filename = url.substring(url.lastIndexOf('/')+1); //pridedam paspaudima $.post( getBaseURL() + "index.php?option=com_ReklamuRodymas&controller=welcome&task=addClick&format=raw",{filename: filename}); }) [/CODE] The html code: [CODE=html] <OBJECT id=bnr_banner2_0 codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=468 height=60 VIEWASTEXT> <PARAM NAME="_cx" VALUE="12382"> <PARAM NAME="_cy" VALUE="1587"> <PARAM NAME="FlashVars" VALUE=""> <PARAM NAME="Movie" VALUE="uploads/banners/file4.swf"> <PARAM NAME="Src" VALUE="uploads/banners/file4.swf"> <PARAM NAME="WMode" VALUE="Transparent"> …

Web Development flash javascript
Member Avatar for tinymark
0
110
Member Avatar for serdas

below code work this with no problem <form name="statusUpdate" action="" method=""> <textarea name="status" id="status" rows="4" cols="50"></textarea> <input type="button" onclick="updateStatusViaJavascriptAPICalling(); return false;" value="Update Status via Facebook Javascript Library" /> </form> [CODE] } function updateStatusViaJavascriptAPICalling(){ var status = document.getElementById('status').value; FB.api('/me/feed', 'post', { message: status }, function(response) { if (!response || response.error) { …

Web Development api javascript wordpress
Member Avatar for serdas
0
135
Member Avatar for ditty

Hi I am using curl function for getting data from another website. But when i use curl_exec($curl) it shows 'bool(false)' . why it happend so? Please help me..Thank you

Web Development php
Member Avatar for NightLight
0
98
Member Avatar for Warl30ck

Ok, Hi I need help.I making a project and need to find the end of file line of a file.I researched [CODE]file_get_contents[/CODE] of a certain file and it worked but it did not register anything. And then found [CODE]feof[/CODE] and used this: [CODE]<?php while (!feof($f)){} ?>[/CODE] And it registers the …

Web Development file-system php
Member Avatar for NightLight
0
133
Member Avatar for AMADH

Hello, I have created a javascript script to select a color for the css theme. I have it working great for picking, but the problem is when I refesh it goes back to the default. I was wondering if somone might know why my cookies are not saving? from html …

Web Development html-css javascript web-browser
Member Avatar for AMADH
0
256
Member Avatar for studentoflife

Hello, I'm trying to write an asp.net app which searches a sql db and returns/updates the data. I want to be able to hold the currently selected id of the item my user has selected. For example a doctors surgery would select a patient record then be able to browse …

Web Development app-store asp.net
Member Avatar for kouroshnik
0
142
Member Avatar for adrianfigallo

hello guys, i'm pretty new to php and to this forum, but i need a little bit of help and i hope i can find it here :). I need a wordpress page to create dynamic links, using the url and the wordpress database (or a new database¿?) to grab …

Web Development php wordpress
Member Avatar for Dan Koralek
0
124
Member Avatar for TheSassyDragon

This is the code at line 23: [CODE] foreach($form->getErrorArray() as $m){ $x .= "".$m." + "; header("Location: Form_Display.php?message=".$x."") [/CODE] Gives me two error messages 1. Passwords don't match 2. Email not entered I've banged my head out, smoked a carton of cigarettes and had a quiet meditation session after raging. …

Web Development php regex session social-media
Member Avatar for joeyxaza
0
241
Member Avatar for mark4013

Hi Guys, I'm new to programming and webdesign, but my girlfriend asked me if I'd build her a site for her massage therapy with an online booking calendar as she can't take calls for bookings during work so I thought I'd have a go. I've pretty much finished the booking …

Web Development javascript
Member Avatar for tinymark
0
96
Member Avatar for GHLifestyle

I'm retreiving data from a texfile with AJAX through: document.getElementById("my div").innerHTML=xmlhttp.responseText; but I want to make a linebreak in the text before each capital letter starts. How do I go about doing that? Appreciate the help.

Web Development javascript
Member Avatar for Taywin
0
260
Member Avatar for aniperiye

hiiii i am aneesh...my doubt is how we can insert a repeater inside a gridview??? i want to put all repeater in one column of gridview. how it can achieve???? i am totally confused please give me a solution...

Web Development asp.net
Member Avatar for aniperiye
0
2K
Member Avatar for rajandass65

hi, i have a table which have code col and data col.the code and data occur repeated no of time. so i run query like SELECT code, COUNT( code ) AS no_of_times FROM testing_table GROUP BY code ORDER BY code which give no of time code is repeated in the …

Web Development php
Member Avatar for smantscheff
0
67
Member Avatar for tcollins412

i am making a register page on my website. i have a password and a re-enter password text fields. how would i validate those two by making sure they are the same in ajax? and how would i make that happen on the re-enters onblur or onchange? thank you

Web Development javascript
Member Avatar for kardklub
0
141
Member Avatar for Chrissie1185

I am an extreme newbie when it comes to JSP and I am really stuck. This is my code: [CODE]while (rst.next()) { id=rst.getString("ID"); nme=rst.getString("Name"); twn=rst.getString("Town"); cny=rst.getString("Country"); out.println("<tr>"); out.println(" <td width='10%'>"+id+"</td>"); out.println(" <td width='20%'>"+nme+"</td>"); out.println("<td width='10%'>"+twn+"</td>"); out.println("<td width='10%'>"+cny+"</td>"); out.println("<td width='10%'>Edit</td>"); out.println("<td width='10%'>Delete</td>"); out.println(" </tr>"); } out.println("</table>"); out.println("</center>");[/CODE] Where it says "edit" …

Web Development java-jsp
Member Avatar for javaAddict
0
145
Member Avatar for Macko888

Hey, I was wondering if anybody out there is using Aptana Studio 3, For the last 3 months i have changed from dreamweaver to aptana and have had no regrets. I found that dreamweaver has alot of blah blah on their interface... What are your thoughts? and any other great …

Web Development php
Member Avatar for Macko888
0
590
Member Avatar for Munnazz

Hi friends i was in a need of using reorderlist from ajax family. I tried a lot and was unable to do anything with please help me. Munnazz

Web Development javascript
Member Avatar for Munnazz
0
91
Member Avatar for damastr

Hi, this is probably a pretty simple question for you pro's but would appreciate some help as I have ogtten stuck. I have a html form [CODE]<html> <body> <form action="com.php" method="post"> Firstname: <input type="text" name="firstname" /> Lastname: <input type="text" name="lastname" /> Age: <input type="text" name="age" /> <input type="submit" /> </form> …

Web Development php sql
Member Avatar for scaiferw
0
173
Member Avatar for phpDave

Hi, I've been trying to SELECT from 3 tables but not sure how. Here is the code for selecting from 2 tables [CODE]$query_Recordset3 = sprintf("SELECT * FROM mystuff.users JOIN mystuff.contact USING(user_id) WHERE contact.rec_id = '$id'", GetSQLValueString($colname_Recordset3, "text")); $Recordset3 = mysql_query($query_Recordset3, $connAdmin) or die(mysql_error()); $row_Recordset3 = mysql_fetch_assoc($Recordset3); $totalRows_Recordset3 = mysql_num_rows($Recordset3);[/CODE] Any …

Web Development php
Member Avatar for diafol
0
105
Member Avatar for barriegrant1

hey guys, I'm creating a basket for an e-commerce site, im trying to total up the basket values within the 'cart' class and return the value back to the 'basket' page where the total will be shown. The total is fine but i cant seam to return the total back …

Web Development asp.net session
Member Avatar for barriegrant1
0
138
Member Avatar for filch

On this page: [url]http://streetkids.zuka.net/sandbox/map-new.05.html[/url], when you click on, for instance, Ethiopia, you get a map and then when you click on the "flag" you get a popup with some tabbed info. At the bottom of this popup is a close link. It is there the first time you click on …

Web Development javascript javascript-jquery
Member Avatar for filch
0
152
Member Avatar for tomjrjones

hi, i have a current working registration page, (the code is below), how do i make it so when they click register it checks to see if its a valid email address, if u cannot help me can u give me a link to a website. this registration form creates …

Web Development apple email html-css php xml
Member Avatar for tomjrjones
0
214
Member Avatar for kardklub

if i have [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>[/CODE] [CODE] <script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js" type="text/javascript"></script>[/CODE] both of these in my header my jquery menu does not work. i have searched google and it keeps telling me about this [CODE] <script> jQuery.noConflict(); // Use jQuery via jQuery(...) jQuery(document).ready(function(){ jQuery("div").hide(); }); // Use Prototype with $(...), …

Web Development javascript javascript-jquery
Member Avatar for kardklub
0
228
Member Avatar for SchemeStarter

On a form, I want to jump to the next tabindex when pressing the 'enter' key. The script that should do the thing, should look like this (the tabindex is generated dynamically and the code is simplified): [CODE] <form id='MyForm'> <?php $tabindex = 1; ?> <input class='pts' type='text' id='<?php echo …

Web Development javascript
Member Avatar for Taywin
0
1K
Member Avatar for gazzy1

THE SCRIPT bELOW PASSED THE SECOND TO 0 (STARTING FROM 1500 SECOND) I NEED 1500 SECONDS THAT SHOW AS 00:25:59, 00:25:58................00:25:01...00:24:00...00:24:59........................UNTILL 00:00:00. PLZ HELP ME <HTML> <BODY> <script language="javascript" type="text/javascript"> var myTime = "1500"; function countDown() { document.form.seconds.value = "00:25:" + (myTime < 10 ? "0" + myTime : myTime); …

Web Development javascript
Member Avatar for tinymark
0
135
Member Avatar for raghujosh

Is it possible to read array variables one by one in a numeric array in PHP? I have an array that I need to read each element and depending on the element, do something else. But I am finding that there are no functions to read each element of a …

Web Development php
Member Avatar for diafol
0
96
Member Avatar for gazzy1

i want to create a timer for my php page i created the page that only 20 second i want that the time should be as 00:00:20 (hh:mm:ss) plz help my scipt are.......................................................................................................... [code]<tr> <!-- countdown script --> <td style="text-align:left;font-size:10pt;font-family:Verdana, Arial;">Time Left: <input type="text" name="seconds" size="3"> <script language="javascript" type="text/javascript"> var …

Web Development javascript php
Member Avatar for Luckychap
0
2K
Member Avatar for rkayd

This probably doesn't belong on this forum but I'm not sure where to ask this as I don't know what programming language this should go under. There doesn't seem to be a general forum here. I'm still working on the site that I've been asking questions about. I've got sql …

Web Development php
Member Avatar for diafol
0
223
Member Avatar for igor221189

Hello, Would it be possible to add text to textboxes with the click of button? The page contains three dropdowns (category, sub category, items). First, user selects a category in the dropdown. In the second dropdown, all items that are held in that category are displayed. In the third dropdown, …

Web Development javascript mysql php
Member Avatar for igor221189
0
112
Member Avatar for gazzy1

i want to create a login page with different user i have a table users with column UseriD and Password field in user |d and pass field there are many users like user01 user02 user03 i want that when user01 logged in then page redirect to [url]http://yahoo.com[/url] and when user02 …

Web Development php
Member Avatar for amie900218
0
161
Member Avatar for roshanchugh

How Do i execute a jsp file placed on another machine on LAN.I have written my code in netBeans using Glassfish server..It will be helpful if i get a reply

Web Development java-jsp
Member Avatar for peter_budo
0
112
Member Avatar for andrewliu

Hello I'm learning regexp and I'm trying to get contents in a div tag. [CODE]<div class='name'> <div class='contents'> contents </div> </div>[/CODE] my regexp is something like this [CODE] preg_match_all("/\<div class=\"name\"\>(.*?)\<\/div\>/is", $res, $matches ); foreach($matches[0] as $value) { echo $value; }[/CODE] I want to get everything in the div class='name' but …

Web Development php
Member Avatar for andrewliu
0
9K
Member Avatar for McLaren

Hi, has anyone tried it? [URL="http://www.scriptbolt.com/script/mbanner"]http://www.scriptbolt.com/script/mbanner[/URL] it is a banner rotator for image and flash files. Just one thing I want from it - for a flash embeding code add more parameters, actually this: [CODE]<param name="wmode" value="transparent" />[/CODE] Because I need to count clicks of the flash banner. I read …

Web Development flash javascript-jquery
0
77
Member Avatar for Silent-Regret

First off, I'm sorry if this is the wrong section, I've been visiting this site off and on for awhile now, but today is my first day joining. Second, I was wondering if there is a way to... auto load, I guess you could say, data from a mssql database, …

Web Development mssql php
Member Avatar for Silent-Regret
0
155
Member Avatar for romy_fb

hi i wanaa ask what is $_SESSION['views']=1; mean ??? i think its like array but i don't know and what is "views" is it index ? can i change it ? if it is index why in each page i just write views i mean why i didn't change the …

Web Development php session
Member Avatar for kekkaishi
0
117
Member Avatar for gunnarflax

Since no one answered to my previous thread about a similar issue I rephrase the problem and try my luck again :) I have rather recently started working with prepared MySQLi-statements in php. From what I've learned is it supposed to be much more effective and secure so I've tried …

Web Development mysql php
0
159
Member Avatar for xxreenaxx1

I am stuck on inserting the data into mysql via php. Its a foreach method and I am just stuck [CODE=php]include '../Database/take_an_exam.php'; $intNum = 1; $intnumber = 1; while( $info = mysql_fetch_array( $sqll )){ echo "<input type='hidden' name=\"Que_ID\" value=\"{$info['Que_ID']}\" /> "; echo " $intNum, {$info['Que_Question']} <br />\n"; $intNum++; for ($i …

Web Development php
Member Avatar for petr.pavel
0
3K
Member Avatar for khan43

Hi I am trying to edit security into my website which I have created in visual studios 2008 using asp.net. If I copy the URL into a new tab within internet explorer, it does not seem to log me out. I would like it to log me out due to …

Web Development asp.net
Member Avatar for khan43
0
108
Member Avatar for professor123

i am in the process of developing an online exam that is on a website[COLOR="Red"](which only has these links--[U]HOME, DOWNLOADS, E-LEARNING, ONLINE-EXAM, FORUM[/U])[/COLOR], now l am doing my system design and analysis stage. for my context diagram it only [COLOR="Red"][U][B]seems to me[/B][/U][/COLOR] as if it only includes the online exam …

Web Development php
Member Avatar for Stefano Mtangoo
0
123
Member Avatar for CommDave

I've used this method to highlight the location page that the user is on. Below is a working example of how this functions. This works in div tags or in a tables and cross browsers. Below I've created a main Navigation and two sub navigation. Terminal Intensity, Surreal 1, & …

Web Development html-css javascript
Member Avatar for Taywin
0
527
Member Avatar for kudenv

Hy all. I have some problem then tried employ action onMouseover and onMouseOut. I have further drop unordered menu [CODE] div#content{position: relative; padding:0 10px; border: solid 1px #6b6b6b; height: 100px;} ul li {list-style: none;} ul.menu {padding: 0; margin:0; display: block; height: 68px;} ul.menu > li {float: left; background: url("li.jpg") no-repeat …

Web Development javascript
Member Avatar for kudenv
0
198
Member Avatar for gazzy1

i want to create a timer for my php page i created the page that only 20 second i want that the time should be as 00:00:20 (hh:mm:ss) plz help my scipt are.......................................................................................................... <tr> <!-- countdown script --> <td style="text-align:left;font-size:10pt;font-family:Verdana, Arial;">Time Left: <input type="text" name="seconds" size="3"> <script language="javascript" type="text/javascript"> var …

Web Development java-jsp php
Member Avatar for peter_budo
0
162

The End.