Thanks for responding,
I recieve the same problem. I ran my script through a javascript syntax checker and I recieved a number of errors
Error:
Implied global: ActiveXObject 12, XMLHttpRequest 7, alert 21, document 37, setTimeout 32, window 1 6
Problem at line 4 character 18: 'fInitial'...
Hey,
I am using a javascript/AJAX HTTP Request to automatically refresh a perl script which simply generates a random number. The plan is to reload the perl script every 5 seconds therefore displaying a new random number each time. However, a javascript error is produced, although the perl...
Thanks for your reply.
Can you explain why you need a height and a width, surely the top, right, bottom, left will automatically generate its height and width. This would also help the logo somewhat be liquid as if I changed the width of the entire outer div (wrapper) then #outer_top_left would...
Hello,
I have been hunting for a solution to my problem, although this seems to be a well known issue, I am unable to find a solution that works.
I am using a background image for a logo in the top left hand corner of a website, however it is not been displayed in IE6 and below.
The website...
Kevin,
Thank you once again, I added \r and it worked! Thank you very much rharsh and travs for your help and suggestions, you are very useful and its much appreciated...
Thanks,
Chris
Ok i've just tried that and I get the ame result. I should mention that if I remove all \n characters the first part of a new XML file looks like this instead (only outer_tag resides on first line):
<?xml version="1.0" encoding="ISO-8859-1"?><OUTER_TAG>
<FORM>
<SECTION>...
Thats right i'm not using FTP. I'm using 1and1's Webspace Explorer System, and I click the XML file in there and click download. Should I try downloading the file using FTP?
Chris
Hey, thanks travs... I tried that and I recieve the same result is the result of one of the XML files (note that [] represents the newline character that is displayed in the text file:
<?xml version="1.0" encoding="ISO-8859-1"?>[]<OUTER_TAG><FORM>
<SECTION>
<SECTIONTITLE>Person...
Hey, thanks for the response...
As you can maybe see from my script (HTML tags in print statements) I am testing the script on a Web Server. Once I have ran the script I am downloading the XML files it creates to my Windows Desktop and opening them in notepad. I am using the same computer for...
Hello,
I have a Perl script which divides a large XML files into smaller files. It works great, except if I view the XML file in notepad I can see that the initial tags haven't been placed on a new line.
It should look like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<OUTER_TAG>
<FORM>...
Thank you very much ONCE AGAIN BabyJeffy,
It did exactly what I wanted! I also improved my script so that it does the following:
1) Disable the textbox if a menu option other than the 1st option is selected.
2) Disable the menu if the textbox contains any text.
Now there is no way information...
Hello,
I need to disable a textbox if a particular menu option has been selected. Basically, I have a form where the user has 2 choices... 1) Type the information into the textbox, OR, 2) Select the information from the drop down menu. If they have selected an option from the drop down menu...
I have javascript which I have incorporated into a PHP script which allows me to select all the checkboxes within a group by checking the 'check all' checkbox. The script is as follows...
Javascript:
<!--
function check_all(field, value) {
for (var...
Hello,
I am using a script to display the entire contents of a folder. At one stage in my code, I must replace the first occurence of a string within another string.
For example:
$string = '/dir1/dir2/dir3/dir4/dir5';
$replace = '/dir1/dir2';
$replace_with = '';
I would assume that if I did...
Hello,
I have a function which I use for displaying the entire contents of a directory (a recursive process). It works great, but the only problem is I also use it for a search process (to search for a particular file) and at the end of the search I want to display how many directories were...
My mistake,
I had accidently deleted a character from the initital path string. It has worked perfectly. The only thing I had to add was { } around the 2nd variable for each line.
Thank you very much.
Hey,
Thank you very much for your response.
I tried your code above and it doesn't seem to work. Nothing is printed at all. However you have solved another issue I have wanted to know for a while hehe, which is use of echo <<<HTML/HTML; which I use in Perl scripts and couldn't find a similar...
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.