199,114 Archived Topics
Remove Filter ![]() | |
Hello there, I'm trying to create a rewrite condition for a set of rewrite rules. Currently this is what I have: HTML and CSS Syntax (Toggle Plain Text) [CODE]RewriteCond %{HTTP_HOST} ^/?forum [NC] RewriteRule ^([\w]+)/([\w]+)/?$ index.php?p=$1&s=$2 [NC,L,C] RewriteRule ^([\w]+)/?$ index.php?p=$1 [NC,L][/CODE] What I want is to have the following uri, [url]http://www.mywebsite.com/page1/page2[/url], … | |
Hi, I have made a script to search my database. But when I execute it, it shows only one result. I even checked the database but there were many entries like this. here's the code... [CODE]<?php // Made by Shahbaz Singh July 2011. All Rights Reserved. Webdhaba.in $q = $_GET["q"]; … | |
sir, i am doing a asp.net (c#.net) web application with sql server 2005.i created a datatable.and fill that with values and get that in my crystal report.but when i tried to export that to pdf or any other format i am getting error as below... CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. Details: crdb_adoplus … | |
Hi everyone, i was given a book.xml file which contains all the title,author of the books. Here's how it looks like. <?xml version="1.0" ?> <Books> <Item> <BookID>A001</BookID> <Title>A Tale of Two Cities</Title> <Author>Charles Dickens</Author> <Language>English</Language> <Year>1859</Year> <Quantity>5</Quantity> </Item> <Item> <BookID>A002</BookID> <Title>The Lord of the Rings</Title> <Author>J. R. R. Tolkien</Author> <Language>English</Language> … | |
Hey folks. I hope you can all help me. Basically, I'm designing a small GUI Windows program that allow staff at a cinema to reserve seats for customers. There will be a total of 60 seats in the cinema. I have two classes in my program:- 1.) MainForm.vb - used … | |
Hi I would be greatfull is somebody could help me. Ok vut a long story short I am trying to create a website which has the facility of a database driven banner system, on either left and right hand side of any page. the purpose of this is so that … | |
The problem is this. I try to enter the limit of at least 34 fibonacci numbers but the limit display the limit of 89. [CODE]#include <iostream> using namespace std; int main() { int x=0,y=1; int num; cout<<"Enter number:"; cin>>num; cout<<x<<" "<<y; while(y<=num) { x= x + y; y= y + … ![]() | |
help im new to this.... why are get method useful?? for example why write this: [CODE]public class name { private String yourname; public void setname(String Fname){ yourname= Fname; } public String getname(){ return yourname; } public void sayying(){ System.out.printf("hello %s", getname()); } }[/CODE] when this also does the same thing … | |
Hi, Please let me know how to resize an Image with form resize event. Also I will have to limit the size so that the image size is not larger than the scrreen width and so small so that the text in the Image is illegible. Also, please let me … | |
Hello all, I have a problem. I need to make a php application with manual licensing not using any software for it but I didn't find anywhere a tutorial or a book about this. I have only found some tutorial about different types of licensing but could not find any … | |
[CODE]from gasp import * begin_graphics() Circle((200, 200), 60) Line((100, 400), (580, 200)) Box((400, 350), 120, 100) update_when('key_pressed') end_graphics() [/CODE] | |
[CODE] insert into AUDIT_TABLE( "TIMESTAMP", AUDITCATEGORY, USERID, AUDIT_XML, "AUDITID", "SOURCE", "ROLE", EVENT_ID, EVENT_DATA, TYPE_OF_APPLICATION) select CURRENT_TIMESTAMP, AUDITCATEGORY, USERID, AUDIT_XML, (SELECT MAX(AUDITID)+1 FROM AUDIT_TABLE), dummyNumber||i, "ROLE", EVENT_ID, EVENT_DATA, TYPE_OF_APPLICATION from AUDIT_TABLE where "SOURCE"='1312171509321'; [/CODE] Hi, Above is a part of my stored procedure , I'm trying to create test data for … | |
How to check browsers javascript and cookies are enabled or not? And How to redirect on error page for each condition separately ? | |
[CODE]<?php $login = $_POST['login']; $nickname = $_POST['nickname']; $senha = $_POST['senha']; $email = $_POST['email']; $conexao = mysql_pconnect("localhost","rodrigue_incub","xxx24df") or die (mysql_error()); $banco = mysql_select_db("rodrigue_incubadora"); //Utilizando o mysql_real_escape_string voce se protege o seu codigo contra SQL Injection. $login = mysql_real_escape_string($login); $nickname = mysql_real_escape_string($nickname); $senha = mysql_real_escape_string($senha); $email = mysql_real_escape_string($email); $consulta = mysql_query("SELECT * … | |
[B]Hi, i just want to know that from where i can download "VISUAL STUDIO 2005" free...[/B] | |
I've found a simple timer program and it seems to work (for the most part). The problem is that certain cout functions aren't showing up. The timer originally didn't include milliseconds in the code, so I added them myself (which could be the problem) based on the code for the … | |
So I'm creating a program that calculates the “Sum of Powers” after the user inputs two integers N and M. The sum of powers is computed as N^M+ N^(M-1)+ N^(M-2)….+N^0. But I don't know how to finish it. I'm kinda confused using return method, loops, etc. Here's what I have … | |
i have a list of datarows. each row is having mutiple columns like userid,date,flag,etc. i want to sort the based on date. how can i do that ? [CODE] Dim listOfRows As New List(Of DataRow)() For value As Integer = c To count - 1 r = tableToRead.Rows(value) listOfRows.Add(r) [/CODE] … | |
As far as I can tell, this is safe. It prints "Should Get Here" and nothing else, as expected and desired. In real life, CantGetHere is a function that actually IS called and does some arithmetic. To avoid a seg fault in line 14, I have a NULL pointer check … | |
Hi I have 3 image placeholders taken from a recordset. If the image URL is in the database table column then the image shows as you would expect. However if no image exists I want to force the code to pick up a blank image from location: propertyimages/dot.gif Current code … | |
I have this problem with xsl if I entered the state and the city is working fine ,but if I miss one or the other doesnt work Thanks [CODE]<?php $city=$_GET['city']; $state=$_GET['state']; $dom = new DOMDocument; $dom->load('Sample.xml'); $xsl = new DOMDocument; $xsl->load('asn6.xsl'); $xslt = new XSLTProcessor(); $xslt->importStylesheet($xsl); if(isset($city)) $xslt->setParameter(NULL, 'city', $city); … | |
Hi thanks for reading, got the following code, was working and not it is not. I want timers for each item, timer countdown being pulled from MySQL. Thanks. [CODE] <script type="text/javascript"> <?php $selectTimers = mysql_query("SELECT * FROM auctions ORDER BY itemID DESC"); while($fetchTimers = mysql_fetch_array($selectTimers)) { $itemID = $fetchTimers['itemID']; $itemYears … | |
I have about 50 different tags, each is at most 2 chars in lengnth. depending on the input of the user a combination of tags will be joined together into one large string. Is there a simpler/more efficient way then having 50 different if-statements? for that matter, how is a … | |
hi how i can write the code for servlet that accept message from client. i wrote the code for socket server that accepts message from client. but i am unable to write the code for servlet. please help me. thanks | |
Hello everyone: The problems is the following. I'm creating an specific program to upload to FTP on C#. That works perfectly. My problem is that i want to give the user the ability to change folders but so far I don't seem to find anything over the internet. Can someone … | |
Dear All, I have textbox in my form .. I enter the student name in the text e.x (vbstudent) I want to sign textbox data to array, each letter in one index. ex array(0)=a array(1)=l array(2)=f array(3)=r array(4)=e array(5)=d array(6)=o How can I do that .. please reply me soon. … | |
[B]Hi, i just want to know that from where i can download "VISUAL STUDIO 2005" free...[/B] | |
create or replace [CODE]PACKAGE BODY employee_details AS PROCEDURE INSERT_ROW ( P_EMPNO IN NUMBER , P_ENAME IN VARCHAR2 , P_MGR IN VARCHAR2 , P_SAL IN NUMBER, P_DEPTNO IN NUMBER, P_COMM IN NUMBER, P_HIREDATE IN VARCHAR2, P_JOB IN VARCHAR2, P_error_message OUT VARCHAR2 ) is l_EMPNO NUMBER; l_object_name VARCHAR2(60) := 'employee_details.INSERT_ROW'; BEGIN te_trace('Entered … ![]() | |
it is highly recommended........that tell me exact difference between storedprocedure and trigger ![]() | |
I had this little project of a POS System, that i've already finished, and i try to retake it again to add more features And suddenly in a Summary Report for the sales of the day i keep getting this error message [CODE]Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)[/CODE] And im cranking … | |
hi guys, I am developing a website, and it needs people to upload images. I can write code for single upload but not multiple, please help. Thanking you in advance! | |
ı created a project in c # and it loaded to data in access but searching button doesnt work every time find the last loaded please find the problem [code] baglan.Open(); veri = new OleDbCommand("select urun,model,adet,boyut,aciklama from ogrenci where 'urun='" + urun + ";", baglan); oku = veri.ExecuteReader(); while (oku.Read()) … | |
1. In a for or while loop, if the condition is breached in the middle of the brackets {}, will the code immediately stop the loop, or wait until it gets to the bottom of the brackets {} ? 2. If a function is called in my code, does the … | |
So I'm plugging away at my database design and get to a point where I need to work on the UX (or UI for you old[er] peeps). I have a guide from Microsoft that I refer to very often called the UX Guide. I have all of my forms setup … | |
So I'm curious, when you need to store user settings or application settings what method do you normally use? I have been using a class and just serializing it to a file. But there is also the "settings" in the application's properties folder. Does anyone ever use that? Any pros/cons … | |
Hi, I'm in the process of making a forum system for my clan website. I'm currently making a function that convert bbcode tags to html tags ready for echoing in the div. Additionally, it will check all the images posted in forum post to see if they are over a … | |
Recently I have been trying to get my head around the PackBits compression algorithm and I'm having problems. I understand that the packets consist of a one byte header followed by the given data and if the value of the header byte is positive, it is followed by the same … | |
I am making what I call a PM (Preventive Maintenance) Kit list. My users will use this list to generate a printable sheet to tell me what they used out of there kit. The list includes pricing per part and I would like the list to calculate the costing as … | |
Hi, how can we reduce the time of query execution time? I m using mysql. I have to execute one query which select data from lot of tables . It takes more time to execute. Please give me good suggestion for this....... | |
Hi, i'm trying to update a mysql table with values, and i get this error: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE StockID= 23' at line 1. Here is my … | |
I am trying to write a sample program that can call use the main method of "SequenceFilesFromDirectory", which aims to convert a set of files into sequence file format. [CODE]public class TestSequenceFileConverter { public static void main(String args[]){ String inputDir = "inputDir"; String outputDir = "outoutDir"; SequenceFilesFromDirectory.main(new String[] {"--input", inputDir.toString(), … | |
HI, I have a DataSet which returns three rows say A,B,C. Data will be in the Following format. A B C 1 5 9 2 6 10 3 7 11 4 8 12 Now i want to convert this into xml in the below mentioned format.. [code=xml] <chart showValues='0' caption='Cost … | |
I am trying to populate a drop downlist on my page with data in flightnum from the table Air_Flight, my dropdownlist keeps having System.Data.Datarow in the dropdownlist. Im pretty sure im one line of code away from getting the actual values in the dropdownlist, I am just not sure which … | |
I'm working on some C# code. It's not as readable as it could be because of the formatting used. Is anyone aware of any good code beautifiers that work well and adheres to industry standards? Interested in free ones too - if available | |
I have this problem and haven't solve it, yet. who has any idea, please give me :) the problem is: give a sequence with n elements (n<=10^6), for example 4 3 2 1 and 2 number L,R (left and right) count how many pair (i,j), i<=j that: [CODE]L<=A[i]+A[i+1]+..+A[j]<=R[/CODE] someone will … | |
I have an application that currently operates based on a static password that is hard coded into the application. I would like to somehow have the application look in a text file, say: C:\passtest.txt for a password. The text file will have nothing but the 1 password in it, it … | |
I am a VB.net programmer and I am very new to PHP HTML and Java Scripts I am doing a project for my company using PHP HTML and Java Scripts and I want to Know how to make readonly a text box after it gets the input This text box … | |
Hi I know there are some posts addressing the same issue but unfortunately I do not understand how to do it and was wondering if someone could help. I would like to cycle through pictureboxes, in this example using the 'n' variable To further explain what I would like to … | |
Unix server - function(). I want to call this function through java program and track the result. help me. |
The End.