I have a script that uses convertToHtml, which all works fine, except it produces multiple table headers due to the way I'm looping through a list of server names. I'm trying to tidy this up if only the replace procedure would play nicely. Instead it seems to fail matching the string that I...
Hi,
The script below is successfully checking a list of wsdls & was outputting to the console the correct status. However I've tried converting the output to HTML, but the output from the $body variable is blank (I'm guessing this is because it's not an object), but I don't know how to make it...
Hi,
I have a list of comma separated items, but only have a limited line length (aprox 50 chars) to display them. If I split them at the comma, I'll end up with a long list of items. What I'd like to to is fit as many as I can on each line. In essence I'd like to loop through the string &...
Hi,
I have some javascript below that reports the time since the html file was generated. This was all working fine until DST, where it started showing the Last Updated time as an hour behind the actual time.
I believe I understand the concept of javascript time (i.e. milliseconds since 1...
Hi guys,
I'm trying to import a csv file to Excel & forcing the cells to be text fields so that numeric values don't loose leading zero's. Unfortunately the code I have is importing all of the lines in the csv to row 1. I would apreciate some help to show me what I am missing to split the...
Hi
I'm trying to display the number of birthdays per month for a list of people which is split by gender. This is so the people using this know how many cards / present to buy (for a cancer charity) & if they should have racing cars or princesses (or other sterotypical themes). For example...
Hi,
I'm trying to automate a backup of various directories using Rsync. The source directories are mounts of a couple of network shares & the destination is the mount of an external USB drive.
I have an issue with one of the directories where my script reports that the destination doesn't...
Hi,
I have a vbscript that backs up a couple of mysql databases every 6 hours to a backup directory on the D:\ drive. The filenames are formated with the date, time & server name, like so:
servername_Sat-04-06-2011_00_30_02.zip
servername_Sat-04-06-2011_06_30_02.zip...
Hi,
I'm trying to insert some values into a SQL server 2005 db & I'm aware that it doesn't support arrays. However it would make my life a lot easier if it did. I'm inserting some translated words into the language table, but was hoping I could have a list of the translations & a list of the...
Hi All,
I have an array that contains a list of 10 files. I want to change the order of some of the elements in the array so whe I do a for each loop the first three elements are always in the same order.
eg:
$contentfiles = glob("" . $files . "*.php");
$correctorder = array ('0' =>...
Hi all,
I'm trying to get the page http://dtmautoval.co.uk/test/index.html to appear without the white background around the 4 corners.
After a bit of fiddling around with the CSS I managed to remove all the white from the page, which had the desired effect on the corners & top of the...
Hi,
I'm listing a directory & trying to use a foreach loop to empty the list into an array, but keep running into problems "Parse error: syntax error, unexpected T_FOREACH, expecting ')' ".
Can anyone shed some light, please?
$timestorepeat = 5;
//path to directory to scan
$scrolldirectory =...
Hi Guys,
I have a program that relies heavily on various Dll files. I have tried telling my users that these dll files need to be in the same directory as the exe, but they still seem to forget this.
I have added the required filenames to an array & created a msgbox for each one that isn't...
Hi all,
I'm trying to create a folder using either host mkdir or running a job which runs mkdir. The mkdir seems to work, but creates a folder called my_directory rather then using the value of the variable.
Declare
my_Directory varchar2(100);
Begin
select p_value into My_Directory
from...
I'm trying to create a scrolling marquee that scrolls random images including links. Unfortunaltey I keep running into problems with each of my loops!
There are several arrays (1 per image) that contains height, width, title, image-url & link-url. I'm trying to get these images to all appear...
Hi,
I'm using tomcat on a windows machine. It's called via a bat file which in turns calls catalina.bat
Only thing is when I check the process name using task manager I only see java.exe. & I have several other java apps running, so I can't tell which is which. Is is possible to set the...
Is it possible to read a session variable using javascript?
I'm trying to use an image verification script using PHP. I need to check the MD5 hash of the value entered into the text box is equal to the MD5 hash of the Imagecode.
The imagecode is stored as a session variable...
Hi guys,
I'm not too good when it comes to javascript & have run into a problem with a line of code.
The original line is:
if(f.value=='' && f.id!='email'){cf_adderr(f)}
which I thought would be relatively straightforward to add some additional validation too, such as:
if(f.value=='' &&...
Hi,
I'm trying to retrieve several images (stored as blobs in mysql). I can display any of the images individually from the database.
However when I try to display all the images as scaled down thumbnails, I only get the binary data displayed.
I know this has to do with the header content...
Hi guys,
I've been working on a script for organising the office MP3 collection. So far so good. All mp3's from each artist have there own folder. The only problem is that if i have 2 tracks with a variation on the artist name, such as:
"Eminem - sometrack.mp3"
"Eminem feat Dr Dre -...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.