52,566 Archived Topics
Remove Filter ![]() | |
i got a problem in c#/asp.net i m making a encrypt/client and decrypt/server password verification. first, client got the public-key generated by RSACryptoServiceProvider from server and encrypt content by using javascript. and then server receives this encrypted-content to decrypt by using RSACryptoServiceProvider/c#. but,what is the problem with RSACryptoServiceProvider keysize? it … Web Development asp.net client-server | |
Hi all, I Have a Problem in my Function. I am created a Recursion Function in PHP and also Created a Array. But I Have a Trouble That How to Store This Recursion Function Value in Array. Please Help Me I Want to Store Recursion Function Value in PHP and … Web Development php | |
Hey Guys, I am using Ajax with JSP.What I am trying to do is when the user enters a name and clicks on the button it goes to a jsp page. On the jsp page it is checked whether the name is present in the database or not. If it … Web Development javascript | |
I need onmouse over video file preview code using javascript....anybody knows kindly reply me Web Development javascript | |
hello all i am new to this forum and need some help whit php. I am trying to create a script that shows the number of users online. [CODE]<?php $host = "xx.xxx.xxx.xx"; $user = "xxxx"; $pass = "xxxx"; $db = "users" $conn = mysql_connect("$host", "$user", "$pass") or die ("Unable to … Web Development php ![]() | |
I'm really having some difficult wrapping my head around regex and preg_replace. What I want to do is have a function that scans an entire page for any <a href> tags pointing to Youtube and then convert them into an embedded youtube video. Here's a code to show kinda of … Web Development flash php regex streaming-service | |
I'm a first time hoster, so I apologize for the novice question. When I'm working on my local computer, everything is fine, but I'm just having a problem on the hosting server. I use FileZilla to edit my website. When I edit the main page (.aspx), the system automatically recompiles … Web Development asp.net assembly web-server | |
[url="http://5url.com/dhtml.html"][font=Trebuchet MS]http://5url.com/dhtml.html[/font][/url] [font=Trebuchet MS][color=blue]Always felt that [i]Flash[/i] and [i]Browser Incompatabilties[/i] hurt the development of DHTML (except for MENUS)[/color][/font] [color=blue][/color] [color=blue][font=Trebuchet MS]Who knows how far it would have developed[/font] ;) [/color] [color=blue][/color] [font=Trebuchet MS][color=blue]Also [b]STYLE FILTERS[/b] are another I.E. gem[/color][/font] Web Development flash javascript | |
Just to say hello again and to ask if someone knows what is the name of that Script at this site: [url]http://www.infoway.us/products/index.php#Desktop%20wallpaper[/url] You'll see on rollover like in a eBay can show you image before you search the gallery. I would ask if anyone can give me deeper explan... but … Web Development javascript | |
Hi, X user uses his/her windows/Linux based software to publish content (job, item to sale or rent etc) in my PHP website. Something like posting data from a computer based software to website OR from a website to a website. I’ll start doing this based on you guys’ information. Thanks … Web Development php | |
Hi all,suppose i got two rows like this picture [url]http://i575.photobucket.com/albums/ss197/yonghan79/ask-1.jpg[/url] I'm trying to change the modified column value to current datetime without refreshing the page when i click the update button..The first row worked,the second doesn't work..Here is my codes views/order_home [code] <script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.js"></script> <script type="text/javascript" … Web Development html-css javascript javascript-jquery php | |
hello.... i want to do the validations in registration form. but my validation is when the user enters the value in textbox that value automatically cheks that value is already in database or not. for example..........username textbox is there..now i am entering value first three letter "kal" then comes beside … Web Development php | |
![]() | Hi, I would like to know if it's possible to specify the "target='FrameName'" in response.sendRedirect("Home.jsp") by any chance? I tried this: [CODE] <!-- Security Check --> <form action="Login" target="_top"> <% if ((String) request.getSession(false).getAttribute("sessionStatus") == null) { response.sendRedirect("Login?pageTimeout=yes"); } %> </form> <!-- Security Check --> [/CODE] But it doesn't work... The … Web Development http-protocol java-jsp session ![]() |
wats roang in here .. [LIST=1] [*]<?php [*]ini_set('display_errors', 1); [*]//connecting to database [*]$error = "nu am putut sa ma conectez :("; [*]mysql_connect('localhost','root','')or die ($error); [*]mysql_select_db('dan') or die ($error); [*]//max display pet page [*]$per_page = 2; [*]//get start variabel [*]$start = $_GET['start'] ; [*]//cont record [*]$record_count = mysql_num_rows( mysql_query("SELECT *FROM news")); … Web Development php | |
Hi all, I am looking for a method to make a html element empty (no innerHTML). This would be pretty easy if it weren't for IE. IE has the bug that innerHTML is read-only for tables (and some other elements too). So my function [CODE=javascript] function clearElement(id){ document.getElementById(id).innerHTML = ""; … Web Development html-css javascript | |
ei could someone help me with my problem. I got error running my projects on localhost. I dont know what caused this, but this problem occured when i replace my wampserver2.0c to the latest version wampserver2.0i. before there is no error it works fine. but now when i logged in … | |
Hello all. I've got this upload script, working just fine. [CODE] <?php error_reporting(0); $change=""; $abc=""; define ("MAX_SIZE","400"); function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } $errors=0; if($_SERVER["REQUEST_METHOD"] == "POST") { $image =$_FILES["file"]["name"]; $uploadedfile = $_FILES['file']['tmp_name']; … Web Development file-system php | |
![]() | Hi, I am getting 3 warning messages below: Warning: mysql_free_result() expects parameter 1 to be resource, null given in J:\xampp\htdocs\propertypages\resultsForSale.php on line 660 Warning: mysql_free_result() expects parameter 1 to be resource, null given in J:\xampp\htdocs\propertypages\resultsForSale.php on line 662 Warning: mysql_free_result() expects parameter 1 to be resource, null given in J:\xampp\htdocs\propertypages\resultsForSale.php … Web Development php |
hey guys i m trying to retrieve data frm Db.. Its a very simple query what cant understand whats going wrong with the code. It shows "[I]Parse error: parse error in C:\wamp\www\php\table.php on line 35[/I]" here is the code: <?php // creating table include "var1.php"; mysql_select_db('wiley'); $qry="SELECT movie_name, movie_leadactor, movie_director … Web Development php | |
Hey i'm a newbie.... Just started using php.... Been a month now !!! I use notepad++, firebug and a wamp server for all my development work.... Can anyone suggest good tools that'll make my work easier... and also a good debugger ..... Web Development php | |
Does anyone know of a php based forum that is easily customizable to work with an existing user base so that members don't have to register or sign in a second time when they access the forum? I heard that this is possible with phpbb3 but I haven't seen anything … Web Development php | |
I'm having an issue trying to update a field in my database that is a INT type. I'm using this field for a checkbox on my form. The checkbox works correctly by using the field in the database containing a 0 for unchecked and a 1 for checked. The problem … | |
Hi. Perhaps a lot of you heart this problem, but i can't find a solution. Java Script is crashing when see \n sign. I have a lot of functions like this: [CODE=JavaScript] function drawDocumentMainRowColor1(unique, content, align, padding, color) { drawDocumentHTML += '<tr class="stdTab" bgcolor="#' + color + '"><td> </td><td style="padding: ' … Web Development javascript | |
I want integrate following apis in my website, 1. Yahoo BBAuth 2. Google OAuth 3. Live ID Delegated Authentication 4. Facebook Connect Does these facilities enable me to get their email addresses as i cant find any mention of email address of the logged user in the API documentations. | |
hai... i need idea how to make security code in jsp.. for example: when we register to any website, mostly we need to fill the security code that appear at the registration form page. so how can,I as a developer to do that security code? this is the example of … Web Development java-jsp | |
I'd like to turn PHP off within a folder, with the exception of certain files (e.g. disabling PHP for all files but test1.php and test2.php, or test*.php). I believe PHP can be turned off for a folder by placing "php_flag engine off" within that folder's .htaccess, but how can I … Web Development php | |
Ok here is my code for the authenticate page. When l log in it comes on blank. [CODE]<?php if(isset($_POST['log'])) { $username = $_POST['username']; $pass = $_POST['passd']; include("connectOrder.php"); $sql = "SELECT * FROM users WHERE user_name='$username' AND password = '$pass' AND access_level != 0"; mysql_query($sql); $num=mysql_num_rows($sql); if($num == 1) { session_start(); … Web Development php | |
Don't know why my coding appear this error: "Notice : Undefined index: PK in c:\easyphp1-8\www\associationdeleteprocess.php on line 24" But I still can delete my database. Who can help me to solve this problem? This is my "AssociationDeleteProcess.php" coding: [CODE]<html> <head> <title>Index</title> </head> <body background="E-Filing%20Management%20System%20Picture/Snow.gif"> <p align="center"> <img border="0" src="E-Filing%20Management%20System%20Picture/logo-RR-gif.gif" width="957" … Web Development php | |
hi i keep getting this error on my php page Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/internal/public_html/includes/xpage_admin.php on line 871 Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/internal/public_html/includes/xpage_admin.php on line 877 the code below works perfectly on my test … | |
how do i i figured out how to make one now i need to know how to delete the directory(and everythin thats inside it) WITH PHP Web Development php | |
In orkut, as soon as one receives a new scrap, one gets an alert at side bottom even if page is not refreshed. I am sure that orkut doesn't check for scraps again and again by Ajax. Then how does orkut know that i have received a new scrap?? Similar … Web Development javascript | |
Hello guys I have datagridview with each record containing a checkbox. I need to loop through the grid rows and get checkboxes that is being checked and also row numbers. There is also a delete button outside gridview.The above process should got executed on delete button click. Please provide some … Web Development asp.net | |
This is my Stored Procedure DELIMITER $$ [code=mysql] DROP PROCEDURE IF EXISTS `call`.`sp_login`$$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_login`(userid varchar(50),pass varchar(50),out chk int(11),out user_alias varchar(50),out user_tariff varchar(50),out c_credit decimal(15,5),out r_reseller varchar(10),out r_level varchar(10),out c_tariff char(2)) BEGIN select id into chk from cc_reseller where useralias =userid and uipass=pass and level!=0 and activated!='0'; if(chk!="") … | |
it say theat he error is in line 16 i dont no wat error is :( plea help [CODE]<?php if($_POST['post']) { //gat data $title = $_POST['title']; $body = $_POST['body']; //chec fot existance if ($title&&$body) { mysql_connect("localhost","root","")or die(mysql_error()); mysql_select_db("dan")or die (mysql_error()); $date = date ("Y-m-d") //adaugarea inoutati $insert = mysql_query("INSERT INTO … Web Development php | |
I have be struggling to turn the below while loop into a foreach loop with no result, so I am asking for help here on how to do this. [code] $query = "Select * from TIME_TABLE Where Extract(month from DATE_FIELD ) = DATE_FORMAT(NOW(), '%c') and Extract(day from DATE_FIELD ) = … Web Development php | |
i had problem running my projects on localhost. why does i cant access some of the page? there will be an error that says apache has encountered some serious error and need to be closed. this problem started after i replaced wampserver2.0c to the latest wampserver2.0i. Is there a problem … | |
Hi, I want to create script like in facebook. When we log into facebook, go into any friend's profile Their gift button , show gifts with pagination. when click on image and ok button it save into database. Any sample demo script ? How to create script like this? Please … | |
Hi, I am using str_replace to scan through pages and replace, for example; [gallery] with the actual gallery page using an include command. For example; [gallery] Once this is located it's replaced by include('modules/gallery/index.php'); How can you do this (and for multiple ones, [gallery], [enquiry]? Thank's very much. Zack. Web Development php | |
Why is this regular expression (pat) not working? According to documentation, scan takes both string and regexp. [CODE]irb(main):001:0> pat = '\d+ (\w+) \(\d+\)' => "\\d+ (\\w+) \\(\\d+\\)" irb(main):002:0> string = 'dfasdf 1 up (2009) sdfasdf 2 walle (2008) adfasdf' => "dfasdf 1 up (2009) sdfasdf 2 walle (2008) adfasdf" irb(main):003:0> … Web Development ruby | |
Hi All, I went Through the tutorial of zend framework. . I can able to validate the forms outside the index controller. But the same form which is called in index controller is not validating. I searched in web but none helped me. . I wanna know why the form … Web Development php | |
Hi everyone, its been a while since i kast posted on here, Im trying to make the following menu open on the mouseover event, but im having loads of problems, Whilst the menu system works great on the click event, Copy and paste this code if you are looking fro … Web Development javascript | |
Hi guys, Can anyone tell me why this script no longer works in firefox? It works in the older version but since it got updated to version 3.5.3 it doesnt work anymore. It works fine in IE. [code] <script type="text/javascript"> function show_popup(s_file, msg, msg2, msg3, w, h) { var p=window.createPopup() … Web Development javascript | |
I'm having a few problems with a function that I would like to call from within a while loop. Obviously I can't include the function itself within the loop but it seems to me that the function requires variables created by the loop so calling the function from within the … Web Development php | |
![]() | Hi, I would just like to know if it's possible to ping a certain port from a jsp page. For example: If I had a Apache_Status.jsp on my machine and I wanted to ping it on another machine at: 123.456.78.90:8080 And I had a Glassfish_Status.jsp on my machine and I … ![]() |
Hello guys, I have a simple form with 2 input fields (name, age). On submit the values should be sent to the php file where I print them. The problem is that on submit the php file is not rendered - IE just shows me the php code, Mozilla doesn't … | |
Hello all! I came here through Google searching for PHP load balancing... and got to this thread: [url]http://www.daniweb.com/forums/thread171839.html[/url] I am trying to do something similar, but what I'm trying to do is a one time, one day, quick and cheap load balancing solution using PHP. The idea is to use … Web Development php | |
This is my script, which is intended to show a different page depending on day of the week. [CODE]<html> <? error_reporting(E_ALL);?> <body> <? $i=$_GET['day']; switch ($i) { case 0: include("2.php"); break; case 1: include("3.php"); break; case 2: include("4.php"); break; case 7: include("5.php"); break; default: echo "page not found!!!!"; } ?> … Web Development php | |
Hi, attached in the attachment below has a screenshot of what I am trying to accomplish... I have hurdle marks for individual students and i am trying to compute the total of those marks. How can I access those values, compute the total, and store them back in the "Total … Web Development asp.net | |
i have this apache-php server runing with some php and mysql apps.. I also have this application that uses java and one module is running through RMI, and its automatically started by the init.d using a shell script... then it's visible through a port (which is configured on the module … |
The End.