Hi All,
I am executing a Batch Script which executes a set Of SQL Statements.The Output of a Result Set is
Name,Amount,Match
1 10 1
2 20 1
3 30 0
When a Match goes to = 0, The Execution of a SQL Script should be stopped and an o/p file should be created
I am using this Command in Batch Script:
S...
Hi. There are numerous plug-ins to preload images, but is there a way to preload javascript? My application uses a big js file and it take about 5 seconds or so to load before the page shows... so, is there a way I can display a "loading message" while I somehow preload the script? (A sort of 'Loading...' like in Gmail)
Thanks
...
Cannot find the bug here, think so this whole script is fagged up, still can not see any signs of success as such.
The problem is when the form is hit with the specified details i.e. username , password and an e-mail address are not inserted into mysql database and I am unable to verify through PHP "How to check if details are present in...
I need to create a guestbook-like page on my website. However, the server ( main site ) runs Apache and PERL but not PHP - and the sysadmins will not change this.
However, I have other servers which run PHP which could be used. The form and the guestbook page just need to be on the main site server. The engine could live on one of th...
I have a problem while trying to batch convert the encoding of some files from ISO-8859-1 to UTF-8 using iconv in a powershell script.
I have this bat file, that works ok:
for %%f in (*.txt) do (
echo %%f
C:\"Program Files"\GnuWin32\bin\iconv.exe -f iso-8859-1 -t utf-8 %%f > %%f.UTF_8_MSDOS
)
I need to convert all files on the d...
Hi all,
I'm very new with ssh so I need some help to write some scripts. The idea is I have files distributed in different folders on a remote server. I want to copy some certain folders into another new folder also on the same server. Suppose, I know all the name of folders that I want to copy and I can list them in a text file. How c...
I need to filter it out the number from my table. for example,
Id url
001 /testing
002 /testing2
003 /24678
From the above table, i need to fetch the numeric value ( 24678 - which is dynamically creating) and should update with some string like "my-testing". how to write SQL script for this?
thanks in advance.
Liy...
Hello,
I have a PHP script which generates a XML using 'echo' commands and data from a database.
So, if I access this script from a browser, I can see the xml data and download it.
So I writting a software to retrieve this data using webclient class. But webclient only downloads a empty file, so I'm thinking it's trying to download the...
Is it possible to set up RichHtmlField control to allow javascript in HTML?
I mean I need to insert some script into field content, but the code is removed from source after submit.
...
What is the best solution to appending new text after an existing block of text in a text file, using a BASH script?
for example, I have a config file with the following:
[setting1]
...
[setting2]
...
[setting3]
I want to add some text after [setting2], e.g.:
test1=data
test2=data
test3=data
Therefore, I want it to look like t...
I get the "unterminated string literal" error with this code. This code used to work by using escaped quotes. Not possible now because because Google Adsense is including several script files.
<script type="text/javascript">
<!--
var t=0;
var myArray = [];
myArray[0]= 'condition1';
myArray[1]= 'condition2';
myArray[2]= 'condition3';...
I want to create subdomain from my local machine into a remote server using linux shell script. As I am new in shell scripting, anyone please help me.............
...
Hi All, I have a complex json array which I want to target a specific line/string and if present then add a small table to web page...
This is the array
{
"coastalWarnings":[{
"loc":"ABEL",
"warn":"GALE"
},{
"loc":"CASTLEPOINT",
"warn":"STORM"
},{
"loc":"CHALMERS",
"warn":"GALE"
},{
"loc":"CHATHAM ISLANDS",
"warn"...
Hello,
when a user starts my app he can create a new project which means creating a new database with all tables.
I do not want to copy the structure of the tables from an older database/older project because in the meantime due to an update of the programm the tables could have changed too... this would lead to chrashes.
So with eve...
Hi Guys,
I am trying to create my own web interface for the plowshare utility, managed to get the script running okay so far, but I am a bit unsatisfied by the way the results are being displayed. Currently I am loading the text file into an array and display it and refresh the page from time to time to load the new results. The text fi...
Hi,
I would like to create script, which simply runs ssh-keygen -t rsa. But how to pass to it 3 times enter?
...
Is there a way to write a BASH script that will append a string to every file in a directory?
e.g., I want to append the string "test" to every .html file in the current working directory I'm in; something like:
echo "test" >> *.html
But of course this doesn't work.
...
I'd like to create some sort of script that will create a particular shortcut on the desktop of any Windows computer. The idea is to make the script available (to students in a course) so that they can download it to their computer and run it just by clicking it (i.e. not running it at the command-line). The script will have to check for...
Hi, the problem i face is this:
I would like to have in a context menu (when i right-click on a folder) an action to be executed and display the output to the user, inside, let's say, a text area window with a vertical scrolling bar. Suppose, that the action is just a shell script that executes a "find" command inside the given directo...
Hello,
in my .net-Project, I use a master page on which I dynamically register the
jQuery-library.
public partial class Application : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
ScriptManager.RegisterClientScriptInclude(this, this.GetType(), "jquery", VirtualPathUtility.ToAbsolute(...