89 Topics
Hi... I want a to print a receipt using dot matrix printer such that the paper should not eject fully out from printer after printing. Any idea ? | |
Hi... I want to move an uploaded file to another machine.I had given the file path to move_uploded_file() function including IP address .The folder is a shared folder.My code shown below. [ICODE]<?php if ($_FILES["file"]["error"] > 0) { echo "Error: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: … | |
Hi.. I want to show a progress bar when downloading a file. In my script I am clicking a hyperlink and waiting for a while to appear the download box. I want to display a progress bar before appearing the download box. I had seen many examples for displaying the … | |
Hi.. I want to run an exe file without saving from the server by clicking a hyper link. My code works fine with internet explorer .But with fire fox it showing save button . I used the following code [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> … | |
Hi... I want to find out whether a file is existing or not The file is stored on another machine in the same network . I tried the following code.But always showing "The file is not existing". [CODE] <?php $filename = 'file://192.168.0.15/E:/PDF/p.pdf'; if (file_exists($filename)) { echo "The file $filename exists"; … | |
Hi.. How to check a check box based on a condition at run time? | |
Hi. I have a page to send SMS.For that I am linking a third party page using header function.But I could not return to my home page after redirecting that page.I could not have the privilege to edit that third party page.How will I return to my home page after … | |
Hi, I am using c#. I have a problem of finding the difference between 2 dates in terms of year,month and day. For example Finding the difference of 2 dates(mm/dd/yy). date1=12/3/2010 date2=3/5/2011 I used the following code [ICODE] int year=date2.Year-date1.Year; int month=date2.Month-date1.Month; int day=date2.Day-date1.Day; [/ICODE] The output I am getting … | |
Hi, I have a table field with var char data type having values like TVM/345/2000,TVM/01/00,TSR/42/01 etc.I want to extract the sub string from first location to the second '/' location as TVM/345/. Is there any built in function to solve is? Thanks | |
Hi.. I am frequently using XAMPP's phpmyadmin for MYSQL database. I want to install original Mysql database from their developer's site([url]http://www.mysql.com[/url]). I am very confused that I found 6 types softwares. Which one should I install? I also need to access the software using GUI.. Any body can help me? … | |
Hi I want to set focus to a text field on a php page which is loaded by ajax. The javascript file for ajax is shown below [CODE] <script> function menu_change(str) { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else { // code … | |
Hi... Is it possible to copy a drop down list into another drop down list ? | |
[B]Hi... I have a table named empl with following fields(eid,ename,esal) I had inserted the following records to empl table 1 Govind Raj 20000 2 GovindRaj 600000 3 Govindraj 10000 4 govindraj 50000 5 Govind.Raj 50000 6 Govind-Raj 20000 7 Govind_raj 2000 8 Govind.raj.3000 9 govind,raj. 4000 10 Govind'raj 6000 11 … | |
kindly give vb.net code samples for connecting crystal report and postgresql Also give information about how to add tables to a crystal report from a postgresql database using ODBC or any other method. | |
Hi.. I have a project to display PDF files by clicking a hyper link. The PDF are huge in size and it will take a long time to load. I want to show a message like "Loading Please wait" on that loading time.. Any body have idea about this?Help me.... … | |
Hi... I want to enter more than one date onto textfield array with same name. The javascript I have used is shown below.It works with text field without array. [U]calender.html[/U] [CODE] <script src="CalendarPopup.js"> </script> <SCRIPT LANGUAGE="JavaScript" ID="js1"> var cal1 = new CalendarPopup(); cal1.showNavigationDropdowns(); </script> <form name="newenquiry" method="post" > <input maxLength="10" … | |
Hi... I have a problem on my project which is done in VS2005.In which I am creating crystal report and i want to export it to a pdf on an export button click. But an error is showing as 'Missing Parameter Value'. The code i used is shown below:- [CODE] … | |
[B]Hi... I want to add a text field inside a div(div with id "my_div") tag dynamically(By clicking "Add" button). The code below shown is adding the new textfield after the submit button not inside the "my_div" div . [CODE] <html> <head> <script language="javascript"> function add() { var divTag = document.createElement("div"); … | |
Hi.. I have a problem with my project. I want to create dynamic radio button group with different names. [CODE]<script language="javascript"> function changeIt() { my_div.innerHTML = my_div.innerHTML +"<br>Skills<input type='text' name='mytext[]' value='mytext'>"; my_div.innerHTML = my_div.innerHTML +"<br><input type='radio' id='my' value='mytext' value='male' name='radio[]'>"; my_div.innerHTML = my_div.innerHTML +"<input type='radio' id='my' value='Female' name='radio[]'>"; //var el … | |
Hi, I want to create a group of radio button(2 buttons on a group) by dynamically with different names.After submitting the form I want to retrieve it on PHP. I can create the radio buttons dynamically.But I could not retrieve the values on PHP. There is a problem with radio … | |
Is it possible to run an exe file directly onto the server without downloading/saving into client machine? I had used that exec() function .But it is showing no display. <?php echo exec("d:\example\php_exe\1436.exe"); ?> Also I tried it using backticks operator | |
Hi , I want to access a pdf file by clicking a hyperlink using PHP.the pdf file is stored on a shared folder of a storage machine.It work with internet explorer.But with firefox and chrome its not working.Showing error on chrome as "The loading of the URL has been blocked … | |
Hi.. I have installed xampp-win32-1.7.4-VC6 on windows. I can access it as localhost. But showing the following error while it accessing from other machines which are locally connected. The error as follows [COLOR="Red"]Access forbidden! New XAMPP security concept: Access to the requested directory is only available from the local network. … | |
Hi... I have a problem to load a PDF file which is stored on another machine.I had loaded the PDF on the same machine using following PHP script.Here I had used a hyper link to load PDF. [CODE] <?php $file="first"; $pdfFile=$file.".pdf#page=1"; ?> <a href="<?php echo $pdfFile; ?>" target="_blank" > Click … | |
Hi.. I want to take the max value of the substring of a varchar field having values as SN1,SN2....SN10.I used the query as following [CODE]select max(substring(st_no,3,4)) from tbl_st;[/CODE] I am getting the max value as 9.I want to get 10. If somebody knows please help me | |
Hi.. I had successfully connected MySQL database usng ADODB.But I could not connect Using PostgreSQL database with ADODB.I had used the following code for connection. [CODE] <?php include("adodb/adodb.inc.php"); $db = NewADOConnection('postgres'); $c=$db->Connect("localhost", "postgres", "postgres", "dbname"); $db->debug = true; if(!$c) { echo "not connected"; } else { echo "successfully Connected"; } … | |
Hi.. I want to encrypt and decrypt a password using c#.net.If any body knows please help me. | |
Hi.. I have an issue on my project.I want to open a particular page of a PDF by clicking a hyper link.How should I do it?any idea ? | |
Hi... I need a batch script to convert a PDF file to a text file on window xp.Any idea ?please help me... | |
Hi... Is it possible to search a string on a PDF file? I want to search and highlight a string on a PDF file . If any idea please help me..... Thanks for advance | |
Hi... I have an issue on project.I want to open a particular pdf page by specifying its page no using PHP script.Is it possible?please help me | |
Hi.. I want export data from database to a PDF using c#.In database I stored the data as 'nvarchar'.Any body have any idea About this? Thanks in advance. | |
Hi.. I want to use the pear package.Pear is already on my xampp package.On the file php.ini the pear is included(I didn't change the file php.ini..there is a line like include_path = ".;c\xampp\php\PEAR").I used the following code to retrieve the results from database..But it is not working .. [CODE]<?php // … | |
Hi... I am doing a PHP project.I had executed the project on 3 machines.For one machine it is showing a warning as follows.. [U][B]warning[/B][/U] Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. … | |
Hi.. I am designing a tabless web page.The page contains 2 div sections.One is for menus and other is to display the contents of the page by clicking the menus.I don't want to use frames and iframes.Is it possible to do it using the div tag? The code I had … | |
Any body knows how to close a firefox new tab window using javascript by clicking a hyper link? I used the following code <a href="" onclick="window.close()">Close this window</a> <A href="javascript: self.close ()">Close this Window</A> It works for new windows .But it will not works for firefox new tabs.. | |
There is an a problem on declaring variables on MYSQL stored procedure.The code I used I used is shown below. [CODE]DELIMITER $$ CREATE /*[DEFINER = { user | CURRENT_USER }]*/ PROCEDURE `emp`.`third_SP`() /*LANGUAGE SQL | [NOT] DETERMINISTIC | { CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES … | |
Hi..... There is a problem with the following mysql query create table emp2 (Leave decimal(12,2) default NULL) [B][U]Error message[/U][/B] Error Code: 1064 - 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 'Leave decimal(12,2) … | |
Hi.. I had used the following command to restore a mysql database on command line. mysql -u root -p admin test < D:\backup\test.sql here username-root,password-admin,database-test,backupfile located at-D:\backup\test.sql. It doesnot working..showing error messages..If anybody knows plz help me. Thanks |
The End.