Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1801.

Solve : Music?

Answer»

Any idea how I can put up SONGS or any MUSIC on the website? Just like on myspace or something different? Sorry if someone already has POSTED this before but I couldn't find it. Thank you. Quote from: YoMOMA on DECEMBER 24, 2007, 11:34:37 PM

Any idea how I can put up songs or any music on the website?
On what website?oh wow. the web is BACK. Well sorry for this But I have found kind of the way I can put up music on my web. it's a freewebs.com web... but who cares right... not needed to know everyone what is my web.
By the way I was usint esnips to upload music.
1802.

Solve : Can't understand this href?

Answer»

I'm trying to teach myself HTML and Javascript. The basic books SEEMS to skip over some "basics." I've spent the last 4 hours with my nose in reference books and in search engines trying to find out what the "#" in the following link tag means. I read this in one of my instructional books and I am just plain stuck. Here it is


Everything else in this anchor/link tag is clear to me but I cannot figure out what the "#" refers to. There are no anchors set within this HTML page. Is this some sort of shorthand for a standard location within the same document/page?

Stumped!
Frank Fazzio
# is just a filler. It doesn't mean anything. You usually put it in an href when you are doing some sort of scripting with javascript and the script is doing the relocation or other work. I've used the # when using an onmouseover, or onclick, or other onmouse events.I think it looks like a substitue for where you put the url to link to Products.

http://www.site/product catalog.htm">
Products[/url]
#=url
Maybe thats what it means. What a terrible book not explaining things properly.I don't know javascript but I did take html. ummmm..... Link name[/url] the id tag is if someone runs the mouse over it and wants to know what it is. The # is probably a place holder SOMETHING that your to supposed to have put your own link there. Quote from: michaewlewis on December 27, 2007, 04:34:31 PM
# is just a filler. It doesn't mean anything. You usually put it in an href when you are doing some sort of scripting with javascript and the script is doing the relocation or other work. I've used the # when using an onmouseover, or onclick, or other onmouse events.

That's the answer. ok.... You guys are just going to confuse the OP. michaewlewis is on the RIGHT track...it typically just acts as filler. If you use that in place of a URL, it won't do anything. Well, aside from redirecting you to the TOP of the page. Technically, that's what it is designed to do: redirect viewers to different sections of the page. Because # alone is empty, it redirects to the top. However, you can control its actions by applying name anchors throughout your page. For example, if you have a music section on your page, you can make something like this...

My Music[/url]



Then, when someone clicks on the below link...

LINK[/url]

...it will automatically redirect them to the My Music section. It can be quite useful.



When it comes to needing non-linking filler, I prefer using javascript: void(0); rather than #.

1803.

Solve : Myspace like? :S?

Answer»

Umm. I've got a website that I am making for my class from Rapport Teen Leadership. My website is at www.freewebs.com/t333. I hope this is just a draft for me untill I'll be ready to make a normal web with a good host name.
Well what I wanted to know is to make my friends from my class to EDIT their pages on their own, like at myspace or facebook etc. Well I have no idea how even though I have got all the stuff to build a website. (I've got an Adobe Master Collection CS3) Anyway if anyone knows on how to make that happen I will be really thankful To do something like myspace, you would need to know a good deal about php and mysql databases. Lot's of programming. I don't think there's a WAY around it... and having the adobe master collection isn't GOING to help with php, I'm afraid.
would u mind HELPING me then? I need to do this or my teammates are like no no no... we are not going to give u our info or whatever. Find yourself a book on php and mysql for beginners. That's probably going to be the easiest way to learn quickly. You could try learning online, but finding an online tutorial that is as QUALITY and in depth as a book is somewhat difficult.
I suspect you need something a bit better than a Freewebs service. You don't however need to learn any programming. Get yourself a PHP/MySQL-enabled web account and then install Joomla. There's a bit of a learning curve but not as much as learning a web programming language and database design.

1804.

Solve : ftp?

Answer»

I update a website fairly often. Updating always means:
1) downloading the file to edit
2) editing
3) uploading.

This is because When I click on the file in my windows 'my network places' window,
I am not OFFERED the option to 'open with'. If I open the file, PHP are default opened by a browser, not an editor.
This can't be the only way of doing this job. Can anyone suggest a way that I could update the files without the download, upload steps?

Thanks in advanceWhat SOFTWARE are you using to edit your HTML files?Thanks for replying soybean.

I edit HTML & PHP files with simple text editors. Like Crimson Editor, or Kate (when using linux)

So, any ideas?Two things.
If you want php files to be opened with an editor open your Windows EXPLORER, and click on Tools ---> Folder Options. From here you select File Types, select PHP and click on Change, to change the program you want them to open with.

Now about the DL-Edit-UL steps. Well if you want to change files there's only one quicker way I can think of.

Leave all the files for the website on your computer and if you need to edit one, simply open it from your computer, edit it and upload it to the site.
You'll be asked to Overwrite, click Yes.
I use PSPad exclusively for web design (it's a text mode syntax highlighting programmer's editor). PSPad has a built in FTP client which enables you to directly edit files on a remote server.*

I done recommend this method though, if you have any interest in change control, preservation of backups etc. If you make a mistake and realise too late, that's it. You've blown your only COPY of the file.




*Actually, that's a bit of a simplification - it downloads them to a temporary local LOCATION and then uploads the changed file when you hit save. But the file transmission is done transparently.

1805.

Solve : Except "www.multiply.com"?

Answer»

Except "multiply.com", what are the other websites offers web designing?I've never heard of multiply.com, but it looks a LOT like facebook and myspace.... but you've probably heard of those right? Is that what you're looking for?BASED on reply from michaelewis, how about www.friendster.com Nope...all the links that you mentioned is different from "multiply". This site is offers free DOMAIN site which is under multiply.com and offers creating your own website.If you're looking to create a website, you might try geocities or angelfire

1806.

Solve : html help needed?

Answer»

ok so im kinda new into the site making and im having TROUBLE figuring out the CODE and such... i was wondering if someone had some easy TIPS or sites to help me out. if so that would be great.

MM SURE, check out the sticky in this forum called Webmasters Best Friends and look for HTML Reference sites. It's toward the end. cool thanks

1807.

Solve : www is missing in URL adress?

Answer»

I bought a domain something.net at godaddy.com and i want to put my Invisionfree forum there. I've arranged the DNSs at dns.siel.si, where I wrote in this data:

TYPE: CNAME
domain name: something.net
subdomain: www
adress: z15.invisionfree.com

I got 3 DNSs there and I entered them in godaddy section for my domain. I entered something.net in my Invision domain manager and set it to default domain.

Here's the catch: www.something.net is WORKING and the main forum page shows with no PROBLEMS, but when i try to click sublinks (other sections of the forum), they won't load! While browser is loading the page there's a message at the bottom Loading http://something.net/wawawa...., so the www part is missing. When i enter www MANUALLY in the URL, the subforum loads with no problem.

How can I mend the settings so the subforums will load with no problem (that is, with www automaticly in URL)?

Please please PLEASE HELP!!!did you install the forum into the main directory? Most forums require that the forum be installed into a subdirectory like something.net/forum. They www usually doesn't matter as far as I know.AFAIK there is only one POSIBILITY of connecting this forum with the domain, and that is via Domain manager in forum CONTROL panel. I did as i was instructed there, but no success.

1808.

Solve : I need a few questions answered about forum hosting...?

Answer»

Hi everyone!!

I'm using Windows XP SP2. I'm creating a forum using IkonBoard, PHP 5.2.5 and FFDB 2.8. Now, I'm only new to this so I'll read the manual for each product, but I need an answer for each question:

1. Will IkonBoard, PHP or FFDB slow down my system or hog my disk space? I only have 256MB RAM and 17GB disk space left.

2. When my computer is turned off, I assume the server won't be available. Is this correct?

3. I have a lot of private information on my computer, will this data be accessible via the server?

Thank you. Quote from: DAIRYMAN on January 09, 2008, 02:40:20 AM

1. Will IkonBoard, PHP or FFDB slow down my system or hog my disk space? I only have 256MB RAM and 17GB disk space left.
Yes they will take up some disk space and system resources. How many depends on how large the forum grows and how many VISITORS you get.
Quote from: dairyman on January 09, 2008, 02:40:20 AM
2. When my computer is turned off, I assume the server won't be available. Is this correct?
Correct. The server is only accessible when the server application is running.
Quote from: dairyman on January 09, 2008, 02:40:20 AM
3. I have a lot of private information on my computer, will this data be accessible via the server?
No it shouldn't be if the server is configured properly. But you should know that running a server will make your computer more visible on the internet and a more likely target for ATTACKS. An attacker could potentially exploit an unpatched security hole in one of the applications and get ACCESS to data on the server.
Actually I wouldn't recommend running a server on a computer used for storing personal data.Thank you, Deerpark.Quote from: Deerpark on January 09, 2008, 03:47:17 AM
Actually I wouldn't recommend running a server on a computer used for storing personal data.

I agree. Check on craigslist for cheap/free computers that you could use instead of your own, then put linux and xampp on it.
1809.

Solve : Javascript menu?

Answer»

Hi, thanks for taking a moment.
I would like to build a popup menu in JavaScript.

To be CLEAR, I mean the kind of menu that POPS up to display
sub-items of a LINK, or button on a website.

I don't insist on JavaScript, it just seems like a good LANGUAGE for the job.
I've Googled to my hearts content, but only pre-built, "buy our product" TYPE pages are coming up.

Can anyone point me to a tutorial page? Thanks in advance!check out www.dynamicdrive.com
They have a bunch of free menus you can use.

1810.

Solve : Attach images in email?

Answer»

How do I attach (embed?) an image in an email so that it will appear as the body of the message and not as an attachment?What email SERVICE are you using? Yahoo Mail, Gmail, etc? or Outlook?
In outlook, you just need to drag the image into the body of the message.
In yahoo mail, hotmail and gmail, I suspect you need to attach the image and then insert an html image tag where you want it to SHOW up. Like this:

Code: [SELECT]<img src="attachement001.jpg">
I tried with Yahoo using different codes I can find on the internet, but it shows the codes instead of the picture.

Use the new Yahoo Mail front end. When you compose a message you have an option to go into "rich TEXT" mode, which allows you to insert images.In neither classic nor new Yahoo! Mail, the rich text composition doesn't have a command to insert images.



From Yahoo! Answers, it seems that Yahoo! Mail does not allow images to be inserted into the text body. The way they normally do it is by composing the mail in Outlook then forward to Yahoo! Mail.

I am just wondering whether there is really a way to do it within Yahoo! Mail.Aye, you're right. That's a little backwards, isn't it?

There may be some way of hacking Yahoo's mail system, but mightn't it be better simply to use an email interface that readily allows the insertion of images?I just did a test as an experiment. I logged onto Yahoo Mail and attached a photo. I then sent this message to my REGULAR POP mail account and opened that message in Windows (Vista) Mail. The photo appeared in the body of the message. Same for Outlook Express on another computer. With Outlook 2003, it appeared as an attachment, not in the body of the message.Quote from: soybean on January 10, 2008, 09:25:30 AM

I just did a test as an experiment. I logged onto Yahoo Mail and attached a photo. I then sent this message to my regular POP mail account and opened that message in Windows (Vista) Mail. The photo appeared in the body of the message. Same for Outlook Express on another computer. With Outlook 2003, it appeared as an attachment, not in the body of the message.

Just curious -

Isn't this whole thing dependent not only on the sender, but also on the receiver?

In other words, if the receiver's method of handling email does not allow ( or is configured off ) inline pictures, then they'll always be attachments?

If this is correct, then even if the original poster finds a method that inserts pictures, he can't always be sure that this is the way his email will appear on the other end.

I think you're quite right, Willy. In the case of Yahoo! Mail, it allows images to be displayed in the message body (as a receiver), but does not allow image insertion to text body during composition (as a sender).
Weird policy, isn't it? Yahoo is always playing catch-up with Google...Quote from: Rob Pomeroy on January 11, 2008, 05:42:40 AM
Yahoo is always playing catch-up with Google...

and hotmail is playing catchup/copy with yahoo and google.
1811.

Solve : Html Forms?

Answer»

I am stuck. I want to make someone input an email address when they fill out my contact form. I am getting people putting there names and leaving me no way to contact them. How can I make it so when a person pushes the submit BUTTON, if they dont put an email address or phone number down it will give them an error message? I USE Dreamweaver. THANKS in ADVANCED for all help, I need it!javascript.
Have the submit button run a script, before SENDING, that checks the fields to see if they're filled.
Search for "form validation javascript": http://search.yahoo.com/search?p=form+validation+javascript&ei=UTF-8&fr=moz2

1812.

Solve : Apache, MySQL and PHP?

Answer»

I have recently installed Apache, MySQL 5.0 and PHP on my computer but I can't figure out how to get it going. It asks me for the host name, port and other things aswell.
Can someone please help me? First TIME I set up a web SERVER, I spent weeks trying to get all the configurations right and never did figure out how it all works together. My advice to you is to download xampp from www.apachefriends.org and let it configure everything for you.I actually have XAMPP installed but I don't really understand how to use it to its full potential.
Can you give me a quick rundown on how to get started, please?
Thanks.You shouldn't have to do anything to it to get it going. Just install it and open a browser to http://localhost/ and set a few passwords to secure it.
The web files, which you will have to create, should be put in the xampp directory under www or htdocs (can't remember the folder name, as I don't have it installed on this pc).Thanks for the info but how do I actually run the PHP files?In the folder htdocs create a new folder, for example "MyWebsite".

Create a PHP file, name it index.php, save it in the folder MyWebsite.

Using a browser, go to:

http://localhost/MyWebsite/

Now you should see the webpage you created (your index.php file)

Or let's say you MADE a test script.
Create the script and name it, for example, test.php

If you save it in that same MyWebsite folder, you browse to:

http://localhost/MyWebsite/test.phpThanks for that.
Is that where you save SQL files to as well?no sql files are stored in the mysql directory. SQL doesn't work with files the same way though. What SQL files are you trying to save?The only SQL file I know of, is when you export a database (My)SQL to a file. This file will have the extension .sqlI used wamp which packages everything you need together (do a search for Wamp Server).
Learned all the setup I needed from a YouTube video. (do a search for your program)

1813.

Solve : "windows cannot find program.exe"?

Answer»

i GOT it, i went to the fulltilt forums and SUM1 had the same problem LISTED as me and sum1 TOLD them 2 change the name so i right clicked on the icon and changed its name 2 fulltiltsetup.exe now it works, so thx for TAKIN the time to try and help meCool

1814.

Solve : How to find unused files w/Dreamweaver??

Answer»

How can I get Dreamweaver to show me which files are not being USED in a WEB SITE?

Thanks in ADVANCE,

JDL

1815.

Solve : Need help inserting a video in geocities?

Answer»

Hello all, im working on a page for clan page for a game... Everything is going smoothly except...i want to add a video an link it to a word... i know how to do that.. but i cant load the video to geocities... is there anyway around this??

also im using a template i downloaded from an other site... im alright in html now...but hwo do i begin to make other pages? i have my front MAIN one done but how do i start woking on other ONES and make geocities awknowledge them??

i know its alot but any HELP woudl be greatly APPRECIATED... Thanks in advanceyou can upload the video to youtube and then take the HTML code and put it in an html object. I dont really know anything about geocities but that will show the video.hi,

Yeah that does make sense dosnt it... thanks for the help...

I still need help with my other question though about adding more pages to my site what do i name the file? im confused here... any help would be nice ...thanks again...well if your okay with HTML you should know how to work on those other pages. once completed, there should be a file upload tool somewhere around geocities, use that to upload the html file and you should be able to see a URL of the document. you want to copy that and use that as the URL for the link to it (probably on the index for now).

If you want a quick HTML made up, I have a free utility I made for download onmy site, you can alter the HTML's when your done. You can also alter the file itself, just please dont redistribute the altered version. I know I put the PESKY little made by thing in there just to be a pain lol.
LINK

1816.

Solve : To create a Website ...?

Answer»

well you know myspace (http://myspace.com), you can post PHOTOS, put your speeches and such in blogs, and put a chatbox (http://xat.com) on the page somewhere for discussion. I think that REALLY WOULD be perfect, you know?

We used to use those chat boxes all the time, its really great.Quote from: gamerx365 on January 17, 2008, 06:41:40 AM

well you know myspace (http://myspace.com.
Oh boy thats NEWS!!!!!!!
Thanks anyway.Quote from: Ivy on January 19, 2008, 02:02:34 AM
Quote from: gamerx365 on January 17, 2008, 06:41:40 AM
well you know myspace (http://myspace.com.
Oh boy thats news!!!!!!!
Thanks anyway.
haha yeah, sorry I just wasn't sure if you knew how exactly you COULD use myspace to do what you need.
1817.

Solve : I have a few questions for my website.?

Answer»

Hi, I was wondering a few things. First off I would LIKE to know if anyone knew how I could make comments for my website like youtube how you can comment on a video. Also I would like to know how to let viewers rate things such as how you rate a video on youtube. If you have anyother suggestions for me my website is www.phazzo.com.best way to do that is with php and mysql.
For comments, you would need a form to submit comments into a mysql database to store the comments. then to display them, you will need a php program to extract the info from the database and insert it into the comments page.
a RATING system would be very similar.....
Quote from: michaewlewis on January 21, 2008, 04:26:00 PM

best way to do that is with php and mysql.
For comments, you would need a form to submit comments into a mysql database to store the comments. then to display them, you will need a php program to extract the info from the database and insert it into the comments page.
a rating system would be very similar.....

Do you know any good site for those things or do I make them.one site that I know of is www.phpbuilder.net. They have a bunch of scripts you can use to get GOING. Do you know anything about php/mysql programming?Alright ty I ll check it out.
1818.

Solve : Just beginning...?

Answer»

I've been messin around with either doing a website...or a BLOG for some BUSINESS PURPOSES. Nothing big but I was wondering if I can work with most blog sites...like blogger...the same as a site. I mean as far as uploading files, like psd and such..or if I'll have to USE a website for that. Some helpfiles on some sites aren't that great...or I'm just not lookin in the right spots. THANKS!What exactly is your question? Thats ok..I'll just try it & see what happens..ThanksEr... okay...

1819.

Solve : How to using a web to creat a design??

Answer»

I have a trellix web software but i create nice and i post to yahoo, but yahoo don't have i what to do now.What do you mean by "post to yahoo"? trellix is used to create web pages, right? So, how do you "post" a web page to Yahoo!? Doesn't MAKE sense.post to yahoo as in geocities? I know they have their own little free HOSTING or whatever. I still dont UNDERSTAND the rest of your question even if thats what you mean.

Create your WEBPAGE in trellix and save it then go to your yahoo account and upload it just like you would any other file. make sure all your PATHS are correct or images and things wont work.

1820.

Solve : css custom bullet problem, overlap??

Answer»

I am a bit new to css, but im a pretty fast learner and understand the basics. My problem is that I have a nav bar with custom bullets and they SEEM to overlap with the text/links next to them. Im not sure why or how to fix this?

Ive tryed compairing my code with the code of another layout that implemented a custom bullet but I can seem to find the problem. Any ideas or suggestions would be greatly appriciated...

the css code

UL {
margin-left: 3em;
}

ul li {
}

ol {
margin-left: 3em;
}

ol li {
}

a {
color: #6633FF;
}

a:hover {
text-decoration: none;
}
#menu {
padding: 0px;
}

#menu ul {
margin: 25px;
list-style: none;
}

#menu li {
display: inline;
list-style-position:outside;
}

#menu a {
display: block;
padding: 5px;
background: url(../../../goldco/images/img04.gif) no-repeat left center;
text-decoration: none;
text-transform: uppercase;
color: #2782DC;
}

#menu a:hover, #menu .active a {
background-image: url(../../../goldco/images/img05.gif);
color: #2782DC;
}Hmm... mixing ems with pxes for MARGINS - that'd be the first AREA to check. Pointing us at a sample web page that includes the bullet gifs would HELP.

1821.

Solve : downloading exe files????

Answer»

Well I've read all the PREVIOUS POST about how to place a link to download files. I;ve tried them and one work to an EXTENT. I am able to download the file to my desktop from my the target folder. HOWEVER when I attempt to open the zipped file it brings up an error saying the file is corrupted. The zipped file onyl contains a simple text document. Ultimately I need to download an exe file. Any suggestions as to what might be wrong and how I could solve this. Thanks in advance. Below is the code that I;m using

Code: [Select]<html>
<body>
<h3 align="center"> Complete!
<br><br>
<a href= "http://bmstools/autobuild/bqtester/download.zip">Download MTester File:</a>
</body>
</html>
and the target file is placed in the same directory as my .asp files for my pages.Did you upload the file correctly? Did you also try downloading something else from another SITE? Wondering if its the site you made or your computer. Most likely the site or the file.Well i simply placed the text file inside the folder, I didn't do any special uploading or anything, I dont know I had to??? I also dont have admin rights to the server could this possibily be a problem ? where are you downloading the .zip from? I asumed it was from your own domain. possibly they messed up the file when they uploaded.

1822.

Solve : setting/getting File Attributes ???

Answer»

Okay I'm using VB script to try to print information for all the files in directory, I'm able to get the file name and the date created, however I cant SEEM to find any information on how to get the comments of the file.

rightClick on file>properties>summary>comments

This is the code I have so far. Thanks in advance. If I happen to stumble upon the answer I'll make sure to post it here.

Code: [Select]dim fsoFolder, outputFolder, NBoutputFolder, files
Set fsoFolder = CreateObject("Scripting.FileSystemObject")

If Not fsoFolder.FolderExists(OutputPath) Then
newfolder = fsoFolder.CreateFolder (OutputPath)
End If

Set outputfolder = fsoFolder.getFolder(OutputPath & "held\")
set files = outputFolder.Files

dim fileName, dateUpdated, descrip
if(not (isNull(files)) ) then
'for loop to generate all the entrys in folder
for each objFile in files
response.write("==========================="& "&LT;BR>")
response.write("<U>FileName:</U> &nbsp "& objFile.Name & "<br>")
response.write("<u>Date Createrd</U> &nbsp "& objFile.DateCreated & "<BR>")
'This following line GIVE an error:Object doesn't support this property or method: 'Comments'
'response.write("AUTHOR Comments:<BR> &nbsp "& objFile.Comments & "<BR>")
next

else
response.write("There are no published exe in Folder")
end if

Also I would like to be able to set the comments for a file from the script.I don't have the expertise to answer questions about VB script. I'm just wondering why you posted your question in the Web Design section. Does this really pertain to a website? Looks to me like it's more of a programming question and should have been posted in the Programming forum.Well I'm having to display the list of files on a webpage that will resemble something like a library. The user will add a comment to a file they publish and this comment should be added to the file and then be available to be viewed by other users. I'm pretty sure you're looking for the extended properties of a file.

This little snippet lists out all the properties available:

Code: [Select]'List Of Attributes

strFolder = "c:\documents and settings\all users\documents\my pictures\sample pictures"
strFile = "blue hills.JPG"

Set objShellApp = CreateObject("Shell.Application")
Set objFolder = objShellApp.NameSpace(strFolder)
Set objFolderItem = objFolder.ParseName(strFile)


Dim arrHeaders(39)
For i = 0 To Ubound(arrHeaders)
arrHeaders(i) = objFolder.GetDetailsOf(objFolder.Items, i)
Next

For i = 0 To Ubound(arrHeaders)
Wscript.Echo i & vbtab & arrHeaders(i) _
& ": " & objFolder.GetDetailsOf(objFolderItem, i)
Next

Once you KNOW the index of the property, you can directly access them like this:

Code: [Select]strFolder = "c:\documents and settings\all users\documents\my pictures\sample pictures"
strFile = "blue hills.JPG"


' Specific Attribute

Set objShellApp = CreateObject("Shell.Application")
Set objFolder = objShellApp.NameSpace(strFolder)
Set objFolderItem = objFolder.ParseName(strFile)

strName = objFolder.GetDetailsOf(objFolderItem, 0)
WScript.Echo "Name: " & strName

strDimension = objFolder.GetDetailsOf(objFolderItem, 26)
WScript.Echo "Dimension: " & strDimension

The examples are for a jpg file. Files will only have extended properties which make logical sense. For instance, pictures will not have an album title property.

Hope this helps.

PS. Attributes are zero based.
Thanks Sidewinder excatly what I was looking for to obtain the file attributes.

You wouldn't happen to know how to go about changing these attributes from a script?
Attributes accessed through the Shell.Application are read-only. Normally I try not to have posters download stuff, but in this case you'll need to download and install the DSOFile COM component.

With DSO the properties are still read-only except for Author, Category, Comments, Company, Keywords, LastEditedBy, Manager, Subject, and Title. With DSO you can also create your own custom properties.

Code: [Select]strFile = ""c:\documents and settings\all users\documents\my pictures\sample pictures\blue hills.JPG"

Set dso = CreateObject("DSOFile.oleDocumentProperties")
dso.Open(strFile)
dso.SummaryProperties.Comments = "This Is A Test"
dso.Save

The example shows how to change the Comments property to This Is A Test.

Good luck.

1823.

Solve : How do you put adsense into wordpress?

Answer»

Hi guys
Have searched all over the internet for this answer. People have plenty of ideas on how to do it but they do not start from scratch...Everyone presumes that you know SOMETHING. I do not know anything about wordpress and PHP.

What I am looking for is to access the template html to edit. Everyone says to go to yoursite/wp-content/sidebar.php etc etc.. But how do I get there..Nothing seems to work.FTP???I FOUND out why I could not do it... Everyone failed to mention that you cannot do ftp while hosted with Wordpress. If you have a Wordpress template hosted somewhere else you can put adsense in anywhere you want, and very EASILY...

1824.

Solve : Need help with Google Adsense code?

Answer»

Hey! I'm NEW to all this STUFF. I use MICROSOFT Office Live Basics
for my website at http://www.johnsjigs.com

and must use the html "EDITOR" (it's a module insertion) that does allow
me to enter javascript coding that begins <script language="javascript">
but not Google's javascript code that begins <script type="text/javascript">.

What gives?

I'm assuming the are multiple javascripts....I've double checked my browser (IE7) settings....
the other code I've CUT and pasted works.....I am confused and not finding too many answers
or directions to go explore some more.

ANY help would be appreciated. The use of

1825.

Solve : Free HTML, CSS, XML, JavaScript, DHTML, VBScript, ASP, PHP, SQL tutorials.....?

Answer» http://www.w3schools.com/ is an excellent source for every ONLINE web building tutorial you could POSSIBLY want. They have examples where you can edit the source in ONE frame, press a button, and see the result in the second frame. You can also get a HTML Web Developing Certificate (and others), and there are quizzes on all the languages aswell.

Admin might want to sticky this TOPIC so people can access it easily.
1826.

Solve : php questions?

Answer»

just a couple questions?

a)i want to log i.p addresses that visit the password gate on my new site and after three password trys, i want to be able to add them to a banlist , i already figured out as much as logging the i.p and found a ban script online i can use , but i need to know how to send the information to the banscript? without using a database.

b)how can i call php pages from a html page? , i DONT want to open them .. just use them when a page is opened ,
say my index.html page , when they surf to the address how can i load the ban.php script i have without it beeing noticed when it opens?

(a) You could just keep a flat file of banned IP addresses in a TEXT file elsewhere on the web server. Search through it with (e.g.) strpos() and append (if the IP is not present) using fopen() etc.

That said, this is a bad idea. Many people could access the web site and be banned simultaneously, causing multiple read-writes to the banned list. The results are undefined. This is why you should really use a multi-user database (e.g. MySQL) for this kind of problem.

A word of warning: IP-banning is a little pointless. Many people may share the same IP address as far as your web server is concerned. (E.g. corporate LAN, several users on a home LAN or behind a proxy server such as AOL.) Your banning algorithm would need to be reasonably tight to avoid indiscriminate banning of innocent users. (E.g. taking account of username as well as IP address, or by means of a unique stored cookie.) Again this pretty much presupposes the use of a database.

(b) Configure your web server to pass html pages through the PHP parser as well (instructions vary depending on the web server in use). Then you can use &LT;?php include(...); ?> as normal.thanks man , but im new to php still and cant figure out how to use strpos() and fopen() to do what i need


<html>
<HEAD>
<title></title>
<LINK rel="stylesheet" href="http://***REMOVED***/main_style_sheet.css" type="text/css">
</head>
<body>
<?php
$getip = $_SERVER["REMOTE_ADDR"];
$getdate = date( "l dS of F Y" );
$gettime = date( "h:i:sa (@B" );

$banned_ip = array();
$banned_ip[] = '111.111.111.110';
$banned_ip[] = '111.111.111.111';
$banned_ip[] = '111.111.111.112';
$banned_ip[] = '111.111.111.113';
$banned_ip[] = '111.111.111.114';

foreach($banned_ip as $banned) {
$ip = $_SERVER['REMOTE_ADDR'];
if($ip == $banned){
echo "It seems you have been banned from viewing this website.";
echo "
";
echo "If you think you have been banned in error please contact me.";
$fp = fopen("SCR/ip_data.dat", "a");
fputs($fp, "**BANNED** Visit logged on $getdate at $gettime internet time) for IP: $getip
");
fputs($fp, "");
fclose($fp);
exit();
}
}
echo "<font size=3 color=#000000>Update in progress.</font>";
echo "
";
echo "'<font color=#007700>Authorized Visit</font>' detected and logged on $getdate at $gettime internet time) for IP: $getip";

$fp = fopen("code/data/ip_data.dat", "a");
fputs($fp, "Authorized Visit logged on $getdate at $gettime internet time) for IP: $getip
");
fputs($fp, "");
fclose($fp);
?>
<!--End -->


</body>
</html>
>


how can i get these i.ps from a text file in replace of what i have now?
$banned_ip = array();
$banned_ip[] = '111.111.111.110';
$banned_ip[] = '111.111.111.111';
$banned_ip[] = '111.111.111.112';
$banned_ip[] = '111.111.111.113';
$banned_ip[] = '111.111.111.114';


also i tryed but it dident work for me, i found success with another methodQuote from: m3rcllessd3ath on January 25, 2008, 10:23:13 AM

...
also i tryed <?php include(...); ?> but it dident work for me, i found success with another method
If include doesn't work, try
1827.

Solve : IF?

Answer»

I Want to know ,the educational topic to CREAT a WEBSITE what? what exactly do you want to know?The basic of creating a website is HTML.... is that what you want to know? It's also CALLED web design... Looking for tutorials, perhaps? Google "web design tutorials".

1828.

Solve : First empty record in SQL?

Answer»

Hi THANKS for taking a moment, as always

I would like to insert a record in the first unused space in a MySQL table. I am using PHP.
I really don't want to loop and look, it seems like overkill. I think MySQL must have command to return the value of the first vacant record to a PHP script.
does anyone know of a command or operation similar to this?

Thanks in advance,
G.R.What do you mean by "vacant record"? Do you mean a record with several FIELDS, all set to NULL? What fields are there in your database?A basic SQL insert statement should PLACE your data in the first available row.
But like (I think) Rob Pomeroy is hinting at this wont work if you have rows filled with null VALUES. If you do, you should really do something about it.

1829.

Solve : php ban users from text file??

Answer»

hello

using php without a database, how can i ban users whos i.p is listed in a text file?
i KNOW how to ban users, but how do i get the i.p from a text file instead of an array

or how could i set the array to use i.ps from a text file?I believe the function you want to use is fget and then parse the returned array and check to see if the current IP is banned. Check out www.phpbuilder.net
thanks , i already figured out some of it though can you explain why the following isnt working?

<?php
$userIp = $_SERVER['REMOTE_ADDR'];
$ips = file('/ban.txt');
$isBanned = false;

foreach($ips as $ip) {
$split = explode(',', $ip);

if($split[0] == $userIp)
$isBanned = true;
BREAK;
}
}

if(!$isBanned) {
echo "It seems you have been banned from viewing this website.";
echo "
";
echo "If you think you have been banned in error please CONTACT me.";
exit();
}
}
?>
For starters, you have two start brackets and four end brackets. Take care of those and see what happens.

Quote from: m3rcllessd3ath on January 28, 2008, 09:49:43 AM

thanks , i already figured out some of it though can you explain why the following isnt working?

<?php
$userIp = $_SERVER['REMOTE_ADDR'];
$ips = file('/ban.txt');
$isBanned = false;

foreach($ips as $ip) {
$split = explode(',', $ip);

if($split[0] == $userIp)
$isBanned = true;
break;
}
}

if(!$isBanned) {
echo "It seems you have been banned from viewing this website.";
echo "
";
echo "If you think you have been banned in error please contact me.";
exit();
}
}
?>

thats got it, thanks again manI.P. banning is generally a BAD idea because it is indiscriminate and also because it can easily be circumvented.

See http://kalsey.com/blog/2004/02/why_ip_banning_is_useless/Quote from: Rob Pomeroy on February 08, 2008, 01:51:30 AM
I.P. banning is generally a bad idea because it is indiscriminate and also because it can easily be circumvented.

See http://kalsey.com/blog/2004/02/why_ip_banning_is_useless/

i know its somewhat usless by for my purpose it will work fine (chat service) , i upgraded to proxy detection,
and since the chat will be moderated anyways, even if they have a dynamic ip address they can come back as often as they want and keep beeing rebanned , doesent matter to me.. eventually they will give up.
1830.

Solve : HTML background with a picture..?

Answer»

I'm getting pretty good with html but i can't FIGURE out how to PUT a picture as a background.
I can upload PICTURES on my site but I can't figure out how to make one my background.

can SOMEONE send me an example of how to do this?Take a look here: Using a Background ImageIt depends what you want it to be a background to - the page, a table cell, a DIV ELEMENT, etc... This is what I would use (which works for all cases): http://www.w3.org/TR/REC-CSS2/colors.html#q2Thanks guys!

1831.

Solve : webpage protect?????

Answer»

i made my first webpage and i want this to be protected or not allowing to see the SOURCE code of my webn? is this possible? or LET say, how to disable the right click to VIEW the source code? just put this in your html




thanks for the code... i have 1 more question. how can i put a message everytime they right click on my SITE?

thanks for your help...
Don't bother with right click prevention, it is pointless.
All anyone wanting to right click would need to do is disable javascript. I personally have javascript disabled by default whenever I visit a new site for security reasons.

Due to the nature of HTML you cannot prevent users from seeing the source code if they really want to, because the source code NEEDS to be available to the browser.



ok...

1832.

Solve : CSS based template question...?

Answer»

I have a CSS that creates a two-column TEMPLATE. The column on the right is a "sidebar" column that has a different COLOR from the column on the right.

I have tried editing the CSS, by removing anything refering to the sidebar, but the 2nd column still appears on the right, ALONG with the annoying color.

Is there anyone who can HELP me by viewing the attached css and removing the right column, so the template is actually only one column with a white background?

Please see the attched TXT file...

Thanks, in advance...

[file cleanup - saving space - attachment deleted by admin]I suspect that second column, and it's background color, is based on table tags in your HTML file. Have you reviewed your HTML file?I'll take a look...

Thanks, soybean...

Want me to attach the html file, as well?That would be fine. Did you create the page(s) yourself from scratch, or use a template?It's a template...but you're not going to believe this...

I feel like such an idiot...

I was looking for the problem in the html file and the css, but after looking through the images folder, I found a file called "content.jpg". This is the actual image of the area of the template that wraps throughout the template...for the content background.

That's where the "light green" column was showing up...

So all I had to do was edit the image to remove that color and, "Voila", problem solved.

It wasn't until I reviewed the HTML, as you suggested, when I found the problem.

Thanks, soybean, for replying and trying to help out. Just goes to show how we tend to OVERLOOK even the simplest of things...

Thanks, again.Thanks for the feedback. Glad to hear it's all sorted out.

1833.

Solve : Choosing Colors?

Answer»

How do you chose colors for your website. To make it look like a FIVE year old didn't do it.Take a look at some of the references here:
http://www.google.com/search?hl=en&q=Choosing+Colors+for+website&btnG=Google+Search

There's some good advice out there. Thanks my pc teacher just wanted us to learn the code. But I gusse THATS important too.Here's a few links to help:
http://www.colormatch.dk/
http://www.cssbloom.com/
http://www.csszengarden.com/
Quote from: squall_01 on February 26, 2008, 06:39:18 PM

Thanks my pc teacher just wanted us to learn the code. But I gusse thats important too.
Well, the title of your post is Choosing Colors, and you said, "How do you chose colors for your website." But, now you're saying that's not really what you want to know?

Now, you say, "my pc teacher just wanted us to learn the code." Do you mean the code used to create color on a web page? If you wanted to make a page background red, you'd put this code in your HTML file:

Here's a reference on color codes: http://html-color-codes.com/
What I'm saying is she never got to involved with us using colors. She thought what ever we pick was okay. Css/HTML code.You seem to waver back and forth on what question you want to ask. Let us know when you finally DECIDE what question you want to ask. I'm not jumping back and forth, I'm only saing that when I learned it she didn't cover how to make it PROFESSIONAL looking.
1834.

Solve : HTML question on passwords?

Answer»

Is there a way to set a password to a page so only people with the password can enter?

thanks,
S_R_Sread this and follow the directions here
http://www.dynamicdrive.com/dynamicindex9/password.htmreally the best way to do it is by using a SERVER side PROGRAM to STORE and check the passwords. PHP and MYSQL would be the preferred way to do this.

1835.

Solve : How to create an Easter Egg in your website??

Answer»

I love Easter Eggs! I adore all things that deal with puzzles, so I want to PUT and Easter Egg on my WEBSITE.

Where would I look to learn how to create one?Create a page, put the easter egg on the page and host it. Than, put a link to the page where most people won't click. (PICTURES, smileys, etc.)

Good luck with your web page and business!Quote from: dairyman on February 03, 2008, 12:34:06 AM

Create a page, put the easter egg on the page and host it. Than, put a link to the page where most people won't click. (pictures, smileys, etc.)

Good luck with your web page and business!


I would love to do that. BUT, I don't know how to create an EASTER EGG.

I would love to be able to copy a simple one, just for fun. Or learn how to create my own. I am even willing to pay a few dollars for someone's Easter Egg they made.

By "easter egg" you mean a hidden page right?
Or are you talking about an actual easter egg. Quote from: Deerpark on February 03, 2008, 06:00:14 AM
By "easter egg" you mean a hidden page right?
Or are you talking about an actual easter egg.


LOL LOL I really thought I was going to fall out of my CHAIR when I read that!



I guess I should be more specific - I need the kind you eat! :-) I googled Easter Eggs and this website came up! :-) LOL



NO Just Joking - I want to put one on my website -

A page that pops up , music that plays, a hopping bunny, A dancing teddy bear, etc... For me it doesn't matter, as long as it is FAMILY friendly.

OH OH ... I just thought of one, if I knew how to write them!

But this one would be harder. - Having the Starship Enterprise fly by and in the background Spock saying "Live Long and prosper" Wouldn't that be ultra cool!!??

BUT, for now, I will settle with a pop up or something else that is simple. :-)The type of thing you're talking about is not simple. Have you talked to your web designer about this?

Have you considered something less complicated, such as simply putting some Easter egg or other Easter images on your website during Easter? Most websites doing this kind of thing use javascript. How do you about learning programming languages?I have one on my webpage... if you want to have a look go to www.isura.tk... it's not hidden, but it would be dead easy to make the button into a smiley for you (to make it an easter egg)Do you want a picture of an egg? If its that then it should be very easy.An easter egg is generally a hidden link that, once clicked, brings up something unexpected. Right?
If that's what you're thinking you want, you could wrap a few characters with [/url] that makes a window pop up with a picture of spock flying over an egg-eating teddy bear.
1836.

Solve : CSS question?

Answer»

Is there really important to learn CSS if i want to be a web designer?
and is CSS hard to learn if I know HTML well?

thanks,
S_R_SQuote

Is there really important to learn CSS if i want to be a web designer?
Yes, it's quite important. But, look at it this way. Once you learn how to use CSS, it can save you a lot of time in making changes to a site, especially a site with many pages. With a large site, you can change font throughout the site by merely changing it in a CSS file, if you've used the font style in your CSS file INSTEAD of setting font on individual pages, i.e., by not using CSS. Does that make sense?

Well, here's a reference that EXPLAINS the benefits of CSS better than me: http://www.yourhtmlsource.com/stylesheets/introduction.html

Quote
CSS hard to learn if I know HTML well?
I can't say I'm an expert on CSS, but I think a simple answer is that it may be about the same difficulty to learn as learning HTML. And, yes, knowing HTML well will help.


Yes, you should learn css. You can do a lot more with css than html as FAR as styling, positioning, and dynamic content.CSS is very important and it is easy to learn. An excellent website to learn CSS is http://www.w3schools.com/. When you enter the website you will see that there are lots of other tutorials also.
1837.

Solve : free web site hosting for life time?

Answer»

hi all,
i want to put my contents on web FREELY for my private access ANYWHERE and some useful contents for public access. I want:
unlimited memory space
unlimited life TIME
(none of my CONTENT should be deleted after some time like 3 months, 12 months, etc)

Can u suggest some links for such providers?I MADE a forum on invisionfree.com, and added my own vbscript in above the board... and it's free...You're not going to get unlimited space unless you pay for it. How much do you really need?
www.110mb.com offers free hosting and you get 5gb of space...

For paid hosting, check out www.godaddy.com or www.lunarpages.com
Quote from: michaewlewis on February 11, 2008, 10:46:55 AM

You're not going to get unlimited space unless you pay for it. How much do you really need?
www.110mb.com offers free hosting and you get 5gb of space...

For paid hosting, check out www.godaddy.com or www.lunarpages.com


Thanx mich,
that size is ENOUGH. but, is there any time limitation i.e will our content or site will be deleted after some days or months. do they offer life time free site?www.t35.com <__unlimited space,free, but a 5-600 kb upload cap and annoying ads on all frames and pages.
http://x10hosting.com/<__no ads ,best free hosting their is (no ads plan)
1838.

Solve : Getting HTML from Paint?

Answer»

I made a link button on paint. I am wondering how to get an HTML code for it. How do you get an HTML code for something you made on paint? Quote from: matmicegirl10134 on February 26, 2008, 05:10:51 PM

How do you get an HTML code for something you made on paint?

You create it. Like this:

To make the image a link, you'd need the include the code michaewlewis posted inside an anchor tag. For example:
&LT;img SRC="imagename.jpg">

You might also want to put height and width attributes in the img tag, like this:

<img src="imagename.jpg" width="59" height="80">
1839.

Solve : Tables and Layers OH MY!?

Answer» HI there,
I am attempting to change my web site over from using the OUTDATED frames version and CHANGING it to layers. I have figured out most of it but the problem I am having is attempting to get the flash BUTTONS to recognize the layer name "main" as a valid target. Basically I want to have the same effect that you can get out of frames but using tables and layers instead. I am using DREAMWEAVER MX to do the job.

Any suggestions are helpful.

Stephen
1840.

Solve : LINK colors error?

Answer»

Hello Sirs

How are you , I am getting numerous knowledge from your website ,actually it’s my first time write you hoping to help me with my questions.

QUESTION 1

I have already started designing a website but the problem is with “LINKS” found on my pages .

When I clicked “ONLY ONE LINK” that takes to my “HOME PAGE/OTHER PAGES” from my “ANY” pages, “ALL OTHER LINKS” that also linked to my “HOME PAGE” Which “I DID NOT CLICKED” will ALSO change together into the color ”PURPLE” that I set up for “VISITED LINK” or vlink.

WHY is that happening and HOW can avoid this error?

Question 2

Must I “INCLUDE ” a “CSS STYLE LINKS CODE” into the TAG that I have already written in the tag ?
Or IS THAT enough to WRITE the CODES ONLY in the tag?

Question 3

Is that mean my WebPages being look like the SAME ON A BROWSER as my pages look LOCAL on my PC ?

I am looking forward hoping to help me soon !

Thank you,
Tamrat .N


Quote from: Tamnet on February 12, 2008, 05:55:27 AM

Question 1

I have already started designing a website but the problem is with “LINKS” found on my pages .

When I clicked “ONLY ONE LINK” that takes to my “HOME PAGE/OTHER PAGES” from my “ANY” pages, “ALL OTHER LINKS” that also linked to my “HOME PAGE” Which “I DID NOT CLICKED” will ALSO change together into the color ”PURPLE” that I set up for “VISITED LINK” or vlink.

WHY is that happening and HOW can avoid this error?
Exactly how did you code your vlinks? Are you doing this in your HTML file or in a CSS file? Where is the code placed within the file?

Quote from: Tamnet on February 12, 2008, 05:55:27 AM
Question 2

Must I “INCLUDE ” a “CSS STYLE LINKS CODE” into the &LT;BODY> TAG that I have already written in the <HEAD> tag ?
Or IS THAT enough to WRITE the CODES ONLY in the <HEAD> tag?
You only need to put it in the section.

Quote from: Tamnet on February 12, 2008, 05:55:27 AM
Question 3

Is that mean my WebPages being look like the SAME ON A BROWSER as my pages look LOCAL on my PC ?
Yes, assuming the website visitor is using the same browser and a screen resolution that's works well with your layout and you haven't used any very unusual font that the viewer does not have installed. If you're currently only using Internet Explorer on your PC, I'd SUGGEST downloading and installing Firefox and perhaps Opera so that you can test your pages in them, also.
Thank you very much for answering my questions for Q no 2AND 3

but here is a breife sample where i PUT the code for Question no 1

<head>

<style type="text/css">
<!--

a:link {text-decoration:none; color:#0000FF}
a:visited {text-decoration:none; color:#800080}
a:hover {text-decoration:underline; color:#FF0000}

-->
</style>

</head>
Thank you so much again

tamI think maybe the only problem here is that you need to remove , so that you have this:






a:link {text-decoration:none; color:#0000FF}
a:visited {text-decoration:none; color:#800080}
a:hover {text-decoration:underline; color:#FF0000}




1841.

Solve : Automatic link to a new page?

Answer»

Hi
Wonder if anyone can help me please. I manage an application that has links to various info pages. Another DEPARTMENT ALSO wants thier info pages linked . Because my application can only be pointed at one server I now have the dilemma of three sets of live information on different servers. My RESOLUTION was to make a link page on one server that I can "see" from within the application. If activated, this then automtically calls second server pages. I thought I would be able to do the same with the new server except it's not working for some reason and I get an invalid page message. below is the page I use that works







Please wait, you will be forwarded to the relevant page.






I know the URL is UNTIDY but I cannot get that changed as it is a standard used for the business intranet.

The new server is simpler but using the format above I cannot get the link to work. The one difference is the pages are not on the intranet but just on a server in html format.

I tried







Please wait, you will be forwarded to the relevant page.





Again I cannot change the location path, but I do wonder if the element STC'S is an issue as when trying the link, the URL showing does not contain the " ' ". Is there away to force HTML to read this as a character.

The workstations are all Windows Professional SP2 , The servers 2003 Windows server.

Any help appreciated

Mike
Mike,

The first thing that stuck me is that you have two statements. Make sure you remove one of these as this invalid HTML could CAUSE all types of havoc.

Also your tag is ended with , this too could cause issues.

I'd suggest instead of forwarding the pages the way you explained you're trying below if you need to get to three different pages maybe create a main page with three seperate frames, each containing a page of their own that automatically forward to the page you want. Doing this you could have one page that shows all three pages. Would something like that work?Also meta tags (like the automatic refresh) should not be inside the body, but in between and . Like this:




Please wait, you will be forwarded to the relevant page.




1842.

Solve : Website Validation?

Answer»

Shoul i have to validate my website to the validatores in order to host my SITE on the WEB/WWW.What? I don't understand your question....What validators?HTML validation




i mean this refer &GT; http://validator.w3.org/[/url]No it is not necessary but a validated page is more likely to be rendered correctly by browsers. But if you're worried about how the page looks in different browsers you should test it with various browsers yourself. A HTML validator won't catch everything.

Quote from the W3C FAQ:
Quote

Why should I validate my HTML pages?

One of the important maxims of computer programming is: Be conservative in what you produce; be liberal in what you accept.

Browsers follow the second half of this maxim by accepting Web pages and trying to display them even if they're not legal HTML. Usually this MEANS that the browser will try to make educated guesses about what you probably meant. The problem is that different browsers (or even different versions of the same browser) will make different guesses about the same illegal construct; worse, if your HTML is really pathological, the browser could GET hopelessly confused and produce a mangled mess, or even crash.

That's why you want to follow the first half of the maxim by making sure your pages are legal HTML. The best way to do that is by running your documents through one or more HTML validators.
Quote from: Tamnet on February 19, 2008, 02:38:12 PM
HTML validation




i mean this refer > http://validator.w3.org/[/url]
Quote from: Deerpark on February 19, 2008, 02:44:56 PM
No it is not necessary but a validated page is more likely to be rendered correctly by browsers. But if you're worried about how the page looks in different browsers you should test it with various browsers yourself. A HTML validator won't catch everything.

Quote from the W3C FAQ:
Quote
Why should I validate my HTML pages?

One of the important maxims of computer programming is: Be conservative in what you produce; be liberal in what you accept.

Browsers follow the second half of this maxim by accepting Web pages and trying to display them even if they're not legal HTML. Usually this means that the browser will try to make educated guesses about what you probably meant. The problem is that different browsers (or even different versions of the same browser) will make different guesses about the same illegal construct; worse, if your HTML is really pathological, the browser could get hopelessly confused and produce a mangled mess, or even crash.

That's why you want to follow the first half of the maxim by making sure your pages are legal HTML. The best way to do that is by running your documents through one or more HTML validators.





Iam have already try to do what you are saying me now but it's a little bit boring .

it only say "this document type " will not permit you to do this ... to do that and so on
i can not get or tell me /"the validator" what specifically one has to do i mean a very open option to do such task


Thank you anyways if you have any other thing to tell me , you are welcomed anytime

bye
Tamnet
1843.

Solve : Naming HTML files?

Answer»

Hello, everyone. Is it wrong to use parentheses when NAMING HTML files? After sending a link to a FRIEND via email I noticed that clicking on it resulted in a 404 error. The PAGE loads properly when I follow the link within the site. Any info is appreciated.

-JI would RECOMMEND against it. Try to just use letters and numbers when naming html files.Thank you.

1844.

Solve : HTML Command??

Answer»

O.K., I'm trying to use the meta tag to forward to a video file, OPEN it and start playing, but I'm having trouble. You know in a href tags there is the type="video/x-ms-wmv"? What can a substitute to use in the tag?

P.S., It's required. Otherwise the computer OPENS a text file.

Code: [Select]<?
include("../rdcounter/includes/config.php");
$url = $_GET['url'];
if($url){
$link = mysql_escape_string($url);

if (file_exists($link)) {
$check = mysql_query("SELECT * FROM ".TBL_DL." where name = '$link'");
$exists = mysql_num_rows($check);
if($exists == 1){
$update = mysql_query("SELECT * FROM ".TBL_DL." where name = '$link'");
while($myrow = mysql_fetch_assoc($update)){
$downloads = $myrow[downloads];


}
$total = $downloads + 1;
$update = mysql_query("UPDATE ".TBL_DL." SET downloads = $total where name = '$link'");
echo('<meta http-equiv="Refresh" content="0; URL='.$link.'"&GT;');
}else{
$add = mysql_query("INSERT INTO ".TBL_DL." VALUES ('','$link', '1')");
echo('<meta http-equiv="Refresh" content="0; URL='.$link.'">');
}
} else {
echo "error: '$link' not found";
}
}else{
echo("No url specified");
}
?>Ant meta tag are only for LISTING contents of your website so the search engine can find your site.
best way to get your video file playing is http://www.boutell.com/newfaq/creating/video.html

1845.

Solve : Flash in webpage noobie help?

Answer»

Hello

I have an SWF file (a SLIDESHOW) which I would like to use in MySpace but it is slowing down my entire page load with the user not seeing anything for around 2 minutes (the file is only 2mb).

I would like the flash player to load the file AFTER the page has loaded, perhaps with a loading animation.

I think I need to use an xml playlist? if so, I'd really appreciate some direction...

Here's the code I am using at the moment in MySpace:

http://www.path_to/MySlide.swf">


http://www.path_to/MySlide.swf" />




Thanks in advance for any helpAs computer reads html code from top to bottom, maby try to PUT the code at the buttom of the page then you site will load first then your swf, well i think theres is ANOTHER way but i am not sureThanks Elexir

I have actually had to give up on the idea as I got no replies for help on 6 different forums in over a week.

Thanks anyway.

1846.

Solve : writing batch file to run application in website root folder?

Answer»

Hi, I'm NEW to writing batch files so I'll tell you my goal and what I've come up with so far.

I want the people viewing my web page to be able to click a button and it opens the Nortel Java Device Manager we use here at work with the IP address of the management switch preloaded.

I tried writing a batch file that looked liek this:
CD C:\Program Files\Nortel\JDM
START jdm.jar 1XX.XXX.XXX.XXX

Now that .bat file works for me locally on my PC fine, but when I save it in my root directory of my website (which is on a separate PC/server) and click the button hyperlinked to it, it tells me "http://neteng/DM_LLN.bat" in my webbrowser bar and that "page cannot be found".

Lemme know if this description is too confusing, basically we use a small java application to configure our switches remotely using a GUI and I am making a site with pictures of the switches that you can click on and instantly have the device manager pop up ready to config that switch. THANKS FOR ANY HELP!Are you trying to have the client pc or the server run the batch file?
I don't think a batch file is the best way to ACCOMPLISH your goal, depending on which side the file should run.mmm Everything is runnin on the webserver. I'm a little unclear I suppose. Ideally the USER should not have to download anything, but I don't know if that's even possible.I think you would have to use a server side language like asp or jsp to accomplish that. I don't think php will let you. You definitely can't do it with HTML or javascript, as those are client side scripts and the server would refuse anything like that for security.
I don't know much about asp or jsp, but I'm pretty sure those languages will allow you to run files on the server. Since you are trying to run a java application, it would probably be best to work with jsp.

1847.

Solve : Stretched Background?

Answer»

Ive been working on a website and Ive been trying to stretch a BACKGROUND. I have a code, however, instead of STRETCHING the whole page, it only stretches it at the top of the document above all the text. Heres the code:


/* pushes the page to the FULL capacity of the viewing area */
html {height:100%;}
body {height:100%; margin:0; padding:0;}
/* prepares the background image to full capacity of the viewing area */
#bg {position:fixed; top:0; left:0; width:100%; height:100%;}
/* places the content ontop of the background image */
#content {position:relative; z-index:1;}






Enter a ton of text or whatever here.







Can someone help me with this code or give me a different ONE.

--ThanksIs this the whole script?
try taking the second "#bg" content and merge it with the first. like this:
Code: [Select]#bg {position:fixed; top:0; left:0; width:100%; height:100%; position:ABSOLUTE; z-index:-1;}
1848.

Solve : auto remove outdated entries?

Answer»

I'm looking for a way, script or what EVER, to remove dated events that have already occured. For example, I have an ANNOUNCEMENTS section with SOMETHING occuring on the 15 of Febuary, and I would like for it to dissapear on the 16th. Is there a way to do that?Probably...
But you haven't EXACTLY provided us with loads of information here...
It would for example be HELPFUL to know what language this announcements section is written in.

1849.

Solve : HELP!! Embedding multiple playlists?

Answer»

Hello.

I am new to the website and I am designing a website for my church. I know little about HTML, but now I am having problems. I am PLACING weekly sermons from my church on the website, but I am having a problem with "autostart" and "autoplay". SEE the following example:

 

Sunday, January 13, 2008

 

 

 

Sunday, January 20, 2008



I want the players to NOT play AUTOMATICALLY when I load the page, so I set the autoplay and autostart to false. However, when I do this, the forward and reverse buttons do not work. If I set them to "true", the players both start at the same time. I can stop them, and start one of them, and the forward and reverse buttons work.

Can someone HELP me with the CODE for this so that it works perfectly. I plan to load about 10 sermons at a time on the website, and I do not want them to start automatically, but I want the forward and reverse buttons to work. Any help will be greatly appreciated.
1850.

Solve : Heeelllp! Submit form by pressing enter??

Answer»

Hi there,

I'm hoping this is a pretty easy thing to do, and that it is me MISSING something. My password submit button on my html page will only work when the USER clicks on submit and does not work when the user just presses "Enter".

How can I change this so that the user can submit the password by pressing "Enter"?

Here is my code:

Code: [SELECT]
<script language="JAVASCRIPT">

function pasuser(form)
{
if (form.pass.value=="password")
{
location = "page2.html"
}
else {
alert("Invalid Password")
}
}

</script>


<form name="login">
<INPUT name="pass" type="password">
<input type="button" value="Login" onClick="pasuser(this.form) ">
<input type="Reset">
</form>


Change the input type of the login button to "submit", instead of "button"