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.

1751.

Solve : this problem stop me to run?

Answer»

hi
after learning html and cgi i ready to design my website.
now i have problem to make link with url (href="http://.....").
i can not use this type of links in my local PC.
some one say me test you website in your host and some one say test it in a web server in your local PC and create visual host(s) for more website.
i test it in iis and apache and make visual host but have problem and the links are not work.

please say me the correct way
thanks Just use:

<a href="C:\...\...\file.txt">A Text File[/url]

If the HTML file is in the same folder as the file you are linking to, use:

<a href="file.txt">A Text File[/url]The other thing which may be relevant - you will have to ''connect'' to your virtual server on your own PC initially - and that (after starting it up) will usually be using an IP number - it may be like - http://127.0.0.1/ then if you have your site build within a www folder - the site index page should come up with SOMETHING like this in address bar ..... http://127.0.0.1/mysite.com/ - mysite.com being a subfolder under the www folder and with its own index file.

If then inside that site build you have relative links it should run fine - tho absolute links can work if you already have some components on a server and address those with a full web url.

I have not I confess used my on board server for other than PHP - so am not sure how well you could integrate SSI stuff if you want to run CGI material. MAYBE kpac can answer that one.Quote from: kpac on November 17, 2008, 09:32:49 AM

Just use:

<a href="C:\...\...\file.txt">A Text File[/url]

If the HTML file is in the same folder as the file you are linking to, use:

<a href="file.txt">A Text File[/url]

thanks kpac
i know this , but with this addressing i can not upload my pages (30~50 page) to my host. also handily replacing the address is too problem.Quote from: ChrisXPPro on November 17, 2008, 01:39:41 PM
The other thing which may be relevant - you will have to ''connect'' to your virtual server on your own PC initially - and that (after starting it up) will usually be using an IP number - it may be like - http://127.0.0.1/ then if you have your site build within a www folder - the site index page should come up with something like this in address bar ..... http://127.0.0.1/mysite.com/ - mysite.com being a subfolder under the www folder and with its own index file.

If then inside that site build you have relative links it should run fine - tho absolute links can work if you already have some components on a server and address those with a full web url.

I have not I confess used my on board server for other than PHP - so am not sure how well you could integrate SSI stuff if you want to run CGI material. Maybe kpac can answer that one.

thanks
the ip of 127.0.0.1 is "localhost". and i have to make address with "localhost" but this address not work in server. i want to addressing whit this:
"http://www.someserver.net"
i think there are two ways for my work.
1. change the name of "localhost" to my target address "www.someserver.net"
2. change my os (win xp pro 32bit) to WINDOWS Server 2003 or LINUX.
# Linux and Windows Server 2003 have DNS#The local host IP is something you probably won't be able to change.

But if your site files are in the local server ''www'' folder in a folder called ... someserver.net then you should be able to get round this - but - if when working on site files in this mode and on line - then absolute url calls will still I think be able to call from a remote host as well - certainly if you are testing your work in a browser as you go along.thanks
now , what can i must do? i want to learn php and mysql , and want to put my website in free or non-free web hosts.
what the Pro web designer do for local testing of their site?

thanks again
I use "Vertrigo" as my ONBOARD server for testing - it will run php and has phpMyAdmin plus mysql. Set it up under a folder called usr.

There is another similar deal - forget name - which effectively runs an Apache on your machine. Someone else may well remember.

You will probably need paid hosting to get all the bells and whistles. Also - if your connection is fast and your open time thru FTP is long enough you can work ''on the fly'' direct to outside server and preview in browser that way too. Local testing tho is IMO a better option - at least initially.

Lots of good web sites with info on php and mysql if you want to learn - books too.
1752.

Solve : Finding the .flv link from a youtube video link.?

Answer»

Thanks for your help, I have created a NEW TOPIC, just for the purpose of getting the .FLV.

1753.

Solve : .html automated response query?

Answer»

Hi.

When SOMEONE comes on my site and submits any information, I'd like to create an automated email response to that which goes direct to their email address. How would I do this in HTML? Thanks!Im a complete rookie so Im gonna need ur help guys! Thanks in advance.

Ive got this so far;

[emailprotected]">

But it only gives me text box and a submit button. It will send the text to my nominated email address, which is good. But i also want to send an automated response to the viewer's address. how would i do this?

Also, i tried the above code, and when i click submit, it OPENS up the internet connectin wizard. it wants me to set up an email address and email server etc. how can i get it to send an email directly to my (and the viewer's) email address without going through this step of setting up an email server?

THANKS A BILLION PPL!!!You'll need to use PHP for that.

Try this for the PAGE with the form:

Code: [Select]<html>
<head>
<title>Mail</title>
</head>

<body>
<form action="sendmail.php" method="post">
Name: <input type="text" name="name" id="name" /><br />
Email: <input type="text" name="email" id="email" /><br />
<input type="submit" />
</form>
</body>
</html>

sendmail.php:
Code: [Select]<?php

$to=$_REQUEST['email'],"[emailprotected]";
$name=$_REQUEST['name'];

$message="Thanksforusingourform!Thenameyouenteredis:$name.";
$subject="MailForm";

mail($to,$subject,$message);

?>
thanks for such a quick response.
one more question: can i copy + paste the above php into MS Frontpage? or do I need another program?
you can probably tell im really not familiar with this STUFF so any help would be appreciated.
THANKS!See this video on pasting code into FrontPage. The video is not easy to listen to; the sound quality is fuzzy and the speaker has an accent. But, I think you will find it helpful. How to Copy and Paste HTML into FrontPage.You also need to make sure that PHP is installed on your server and that your server supports the mail() function. You may need to contact whoever hosts your site to find this out.Front Page doesn't support PHP, as it's not Microsoft!But, references can be found saying php can be put it a page developed with FrontPage. One paragraph on http://www.webworksite.com/tipsntricks.shtml says,

"Using PHP with FP - To open .php pages in FrontPage 2000-2002 instead of a text editor, go to 'Tools | OPTIONS | Configure editors' and modify the file association to frontpg.exe. The server you publish to must have PHP enabled. FP 2003 is already set as the default editor for .php pages, along with many other types including .aspx, .xml, .shtml, and many others."


1754.

Solve : Advanced PHP Help?

Answer»

Okay, I need a text box and a submit button. You enter a youtube link into the text box lets call this link 'A'. You then click submit.

'A' Will look SOMETHING like this: http://uk.youtube.com/watch?v=dxUXilGDzk8

When you click submit, the webpage needs to find "'/watch_fullscreen?fs=" within 'A'.
And then get the rest after that for instance it needs to turn:
Code: [Select]var fullscreenUrl = '/watch_fullscreen?fs=1&BASE_YT_URL=http%3A%2F%2Fuk.youtube.com%2F&vq=None&video_id=dxUXilGDzk8&l=194&sk=UipVJyQjldAVAUTftMXy7t5W_5dt_karC&fmt_map=34%2F0%2F9%2F0%2F115&t=OEgsToPDskJBx5h73eh0V0KNAiBqz_RF&hl=en&plid=AARdE3Ki_Rpaxi-sAAACgAA4AAA&title=Wiley - She Glows';
into:
Code: [Select]=1&BASE_YT_URL=http%3A%2F%2Fuk.youtube.com%2F&vq=None&video_id=dxUXilGDzk8&l=194&sk=UipVJyQjldAVAUTftMXy7t5W_5dt_karC&fmt_map=34%2F0%2F9%2F0%2F115&t=OEgsToPDskJBx5h73eh0V0KNAiBqz_RF&hl=en&plid=AARdE3Ki_Rpaxi-sAAACgAA4AAA&title=Wiley - She Glows';

Now lets say the link it now has is called 'B'.

It now needs to take 'B' and add "http://www.youtube.com/get_video?" to the start.

Once it has done all of this it should give a hyperlink to something like this:
Code: [Select]http://www.youtube.com/get_video?=1&BASE_YT_URL=http%3A%2F%2Fuk.youtube.com%2F&vq=None&video_id=dxUXilGDzk8&l=194&sk=UipVJyQjldAVAUTftMXy7t5W_5dt_karC&fmt_map=34%2F0%2F9%2F0%2F115&t=OEgsToPDskJBx5h73eh0V0KNAiBqz_RF&hl=en&plid=AARdE3Ki_Rpaxi-sAAACgAA4AAA&title=Wiley - She Glows'

I will appreciate anybody who could make this for me, as I have no experience in PHP AT ALL!
Thank You Very Much.I may have found a solution:
http://www.virtuosomaster.com/tutorials/youtube-flv-grabber-script/
How would I set the php up, for exaple do i put it in the same webpage as the form, do I save it as html or php?
I have uploaded this file with an extension of .php to my web host but nothing happens, could anybody help please.
Code: [Select]<?php

functionGrabVideo($url)
{
$CH=curl_init($url);
curl_setopt($ch,CURLOPT_FOLLOWLOCATION,true);
curl_setopt($ch,CURLOPT_USERAGENT,'Mozilla/5.0(Windows;U;WindowsNT5.1;en-US;rv:1.8.1.2)Gecko/20070219Firefox/2.0.0.2');
curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
$page=curl_exec($ch);
if(!curl_errno($ch))
curl_close($ch);
else
$page=false;
return$page;
}

if(isset($_GET['url'])){
$url=$_GET['url'];
$url=trim($url);

if(strstr($_GET['url'],"youtube.com")){
$youtube_page=GrabVideo($_GET['url']);
preg_match('/watch_fullscreen\?fs=(.*?)&vq=(.*?)&video_id=(.*?)&l=(.*?)&sk=(.*?)&fmt_map=(.*?)&t=(.*?)&hl=(.*?)&plid=(.*?)&/',$youtube_page,$matches);
if($matches&&isset($matches[1])&&isset($matches[3])){
Header("LOCATION:http://www.youtube.com/get_video?video_id=$matches[3]&l=$matches[4]&t=$matches[7]");
}
}
}

?>

<!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">
<head>
<title>Youtube Grabber Script</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
<!--
body {
font-family: sans-serif;
font-size: 12px;
}
form{ margin:0; padding:0;}
#url {
font-size: 1em;
color: #222222;
background-color: #F8F8F8;
width: 295px;
margin: 0px 0px 4px 0px;
padding: 3px;
border-color: #333333 #CCCCCC #CCCCCC #333333;
border-style: solid;
border-width: 1px;
}
.submit
{ background-color: #000000;
height:22px;
border:1px solid #666666;
color:#FFF; font-size:12px;
font-weight:bold;
}
p{ margin:0; padding:2px 0}

-->
</style>
</head>

<body>

<form method="get" action="" name="form">
<input type="text" id="url" name="url" /><br>
<p> example: <a href="http://www.youtube.com/watch?v=QFrqKYwmhMc" target="_blank">http://www.youtube.com/watch?v=QFrqKYwmhMc</a></p>
<input type="submit" class="submit" value="Grab Video" />
</form>
</body>
</html>
If you click on the http://www.virtuosomaster.com/tutorials/samples/youtube-flv-grabber.php.txt link it will take you to the complete page. I did note there was a line of space between the php closing tag and the following doctype line - I'd remove that space.

If any file has tags then it will take the extension .php even if there is html mixed in. It is not at all uncommon to have both mixed in together.

~~~~~~~~~~~~~~~~~~~~

Ahhh - see you tried it. I haven't time to check this out right now but hopefully a php guru can have a look. Remove that line space I mentioned and - make sure file is .phpI took away that line, but it's very weird.
I just get, for example:
www.flvyoutube.com/youtube-flv.php
turns into
www.flvyoutube.com/youtube-flv.php?url=http%3A%2F%2Fuk.youtube.com%2Fwatch%3Fv%3D-T_SryRAXuw
and nothing happens.Outa my depth for now ... hope for other input.Thanks so far anyway. For your help on both topics.It is fixed, never mind it was just my crappy free host, thanks everyone. So - curiosity here - can you give a report on its function sequence - end result etc ... interesting to know the details.Sorry, I'm not sure how to do that, but please, take a look at this, I'm very pleased with what I have created, (with alot of help)
http://ytflv.110mb.com/youtube-flv.phpLooks good

One thing I'd change is that RATHER faint red text in the form field -- #FFD728 - might be better a bit darker.

So - I assume this does the job as you want now?Thank you, and yes it works perfectly, thanks.
Does this display properly in IE7, as I am using firefox, and just by chance I thought you might be using IE?
Thank you.Just checked IE vs FF - pretty much same and main difference is text size - as is usual FF shows a bit larger but essentially they match well. I don't have Opera set up on this puter so couldn't check that.

Field text looks way better. Thank you. and thanks for your help once again.

1755.

Solve : Web Page Design?

Answer»

I recently took some online lessons in webpage design and have some knowledge of frames.

In Frames one can target a LINK to a specific location on the web page (frame) by naming that frame. Is it possible to do the same thing in cells of a regular html tables by naming cells and not having to use frames.

Thank you,
eskay
Not that I know of! Well not as you want I don't think.

Best you might do is use named anchors which would at LEAST target a given row in a table but not I don't think a specific cell if you have more than one in a row - not that I have tried that but named anchors work by SCROLLING vertically so a row would seem best you can achieve.

If a row was given in one cell content and called by http://www.yoursite/yourpage#rowone.html that could work and bring that row into view.

IMO I do not think frames are good - I used to use them but they complicate things I feel and also do not help when it comes to SEO aspects (search engine optimization). If you really must use frames then I think another solution may be needed for what you want - kpac, any ideas?Yeah, ChrisXPPro has it RIGHT. Frames are not so great. I use them for my own use when I am too lazy to do it some other way. If you use and advanced tool like Dream weaver or what ever you do what you want with with templates that use CSS and all that stuff. That way you whole site has the same look and feel without the need to remember all the little details.
If you want to pick something off of another site and put it in a table, you would want to have the permission to do it. Most often you want a picture or even a video. The sites that do that stuff give you the embedded code that you can stick into a cell as an object. Make sure the cell is big enough.On my site http://9pmgeek.com you will find a page that has many embeded videos in a table.
Even though frames is considered 'old school' web design, it's still a format that is constant in webdesign. I think it's a good idea to be familiar with them at minimum, so when you encounter them you know what to do with them.

1756.

Solve : Star Lite Media - What do you think??

Answer»

Please feel free to leave your comments on my site Star Lite Media.

Say what you like, don't like, or anything you think should be changed.

Go on!

I have permission to post this topic by the WAY...Nice

Only thing I can think of- is to change the colors of the forum so that the black background is more prevalent. As it stands now the main background is black, but the forum titles and so forth still have a white background, which is kind of- amateurish.

Sites using black backgrounds are the hardest to design properly, so that not only is the site readable, but ALSO looks polished.Quote from: BC_Programmer on October 28, 2008, 12:44:35 PM

Nice

Only thing I can think of- is to change the colors of the forum so that the black background is more prevalent. As it stands now the main background is black, but the forum titles and so forth still have a white background, which is kind of- amateurish.

Sites using black backgrounds are the hardest to design properly, so that not only is the site readable, but also looks polished.

Thanks.

I know what you mean about the colours (or colors)... And, yes, it is hard to design a site with a black background.
For now, I think I'll leave it though, until I get a few more opinions... But thanks again. Had a quick look - not bad at all and yeah, working on black is never that easy. You have some nice header images.

Main gripe right now is your apparent use on your links bar of target="_blank" - IMO no need to go to a new browser opening within your own site, unless a special need situation. if navigation is clear enough folks will stay in the site - it just has to be ''sticky'' - meaning PEOPLE want to stay and look around.

Not sure on the web design page wjhether the random ''comments'' up top really work - seems a bit scrappy . plus too I'd bring the links bar down to bottom of header instead of top to preserve good vis if someone has scrolled down a bit. Also handy to repeat links options at footer area - just small text links but enough to be available, though you have no footer other than the Google ads.

It has good potential and clean and simple IMO is way better than mega complex. Just maybe needs a tad more ''life'' injected without getting too fussy - no gimmicks needed tho!Quote from: ChrisXPPro on October 28, 2008, 05:25:34 PM
Had a quick look - not bad at all and yeah, working on black is never that easy. You have some nice header images.

Main gripe right now is your apparent use on your links bar of target="_blank" - IMO no need to go to a new browser opening within your own site, unless a special need situation. if navigation is clear enough folks will stay in the site - it just has to be ''sticky'' - meaning people want to stay and look around.

Not sure on the web design page wjhether the random ''comments'' up top really work - seems a bit scrappy . plus too I'd bring the links bar down to bottom of header instead of top to preserve good vis if someone has scrolled down a bit. Also handy to repeat links options at footer area - just small text links but enough to be available, though you have no footer other than the Google ads.

It has good potential and clean and simple IMO is way better than mega complex. Just maybe needs a tad more ''life'' injected without getting too fussy - no gimmicks needed tho!

Thank you.

I really agree with some stuff you said and will be changing it in the coming days.
Actually, I didn't realise the links on the main site opened in a new window, it never does in Firefox.Sorry for the bump...

I updated the WHOLE site, now using Joomla CMS. Everything should be in order. Well, I'm not a big fan of forum portals and the layout reminds me a lot of Drupal Core, which I am also not a fan of...but aside from that, it looks pretty stylish and your pages appear to be in order. I didn't CHECK them for compliance or compatibility, but I can tell you that everything looks/works fine in IE6.Thanks Chris...
1757.

Solve : php print forbidden directory contents?

Answer»
Just wondering if this is possible, i use the rack111.com webhost i have a free account and i couldnt find anyway to GIVE guests permission to access the folders individually , i chmod them all but only the files are accessible, for example.. http://aurai.rack111.com/upload/ wont show the directory contents , instead i GET 403 forbidden, i cant set the permissions for this.. so how can i work AROUND it?Use this script:

Code: [Select]<?php

$dir="upload/";
$files=scandir($dir);

foreach($filesas$key=>$value)
{
echo$value;
}

?>
thanks kpac, it works..


Just one last thing i cant figure out, in the script you posted.. After echo $value
i need to include
;
So that it may print each filename to a new line..

<?php

$dir = "upload/";
$files = scandir($dir);

foreach($files as $key => $value)
{
echo $value
;

}

?>


But i cant get it working?? i know this should be simple but ive tryed it a few different ways without any success ??nevermind i figured it out , forgot the .
thanks again Good. GLAD you got it working.
1758.

Solve : Forum in Freewebs?

Answer»

Hi everyone,

I made a website through freewebs (HTML mode) and I want to add a forum to the site.

Can anyone recommend one thats COMPATIBLE with Freewebs?

Thanks in advance According to http://members.freewebs.com/pages/features/, blogs and forums are among the features available to you from Freewebs. Have you looked to SEE exactly what they offer? Well most forums require the PHP mail FUNCTION, which in turn requires PHP Safe Mode to be off. Most free web hosters have safe mode on for SECURITY reasons.

1759.

Solve : Front Page Software?

Answer»

Designed a web page and them we tested it with IE and Firefox looked great....BUT then have someone else test it with differrent display settings ..and the graphic boxed moved when reviewing the web site for both IE and FireFox.. How can we design the page so it doesnt matter if the screen display setting are differrent on other computers??? Rookie web designer - HELP! Thanks By "graphic box", do you mean an image or photo? What technique did you use to position the "graphic box"? Did you use tables?use a more "standards up to date" web design application...

Front Page is kinda old and outa date especially with all the newer
browsers....

Good Luck

BTW see: Dreamweaver/MS Expression/etc...there are many othersYou have a point but I doubt he wants to buy Dreamweaver. I think the issue here can be solved without purchasing additional software. A reply from pauljacques to my question is needed.Moved to Web Design (if I actually move it to the right place this time, at least) I know a lotta folks like to build a window at 100% - but IMo this can lead to what is described.

I tend to build with a wrapper or table constraint to 760 to 770 pix ... and within that position everything - this should normally mean that despite res settings on different puters, all will display the same.

It is tempting these days in fact to build to a 1024 . and so constrain within maybe a 1,000 pix size but even now, I FIND there are people on 800x600 and no one likes to horizontal scroll!

BTW - strikes me these days, Frontpage produces more problems than it solves! Much need to work within the generated code itself to try and avoid hassles if it REALLY has to be used.To add a bit to ChrisXPPro's COMMENTS or express the point using different words, if you're using tables for page layout, use fixed widths for table cells rather 100% width. That will prevent pages elements from shifting around when a different resolution or small browser window is used by your site visitors.

Regarding ChrisXPPro's comments on FrontPage, I'm inclined to agree there, too. I used FrontPage extensively some years back but would not do so again. One freeware option, if you're willing to spend some time learning how is works, is KompoZer. I assume you're not quite proficient enough with HTML to code from SCRATCH but, if you are skilled with HTML, a freeware text editor that is much nicer to use than Notepad is Notepad++.

1760.

Solve : DOCTYPE & Meta Content?

Answer»

Is this information placed on the first page only (index) or does it need to be on each html page? Also how important are these items? Doctype should be on each page - and IMO meta data can also be repeated - I have all that within a template usually and so it gets repeated, ALTHOUGH the homepage is I reckon the most important for all that - it should be the first page to get spidered. If you happen to use frames, make SURE all your data is in its frames page head area.

A starter page from Dreamweaver gives this .......

Code: [Select]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="CONTENT-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
</body>
</html>
Make sure no space left above the doctype page code start, unless adding in some php initially or a cgi call, but STILL no white space. Your meta data can include content, keywords, author - numerous options but, keep a keywords list IMO 32 items max - SEARCH engines will reject ultra long strings of keywords.It should be on every page and it is important because spiders should be able to read your content. Your pages will be hard to spider and index if they have codification errors. You should check your HTML code with The W3C Markup Validation Service. Quote from: busweb on December 13, 2008, 01:55:11 PM

Your pages will be hard to spider and index if they have codification errors.

Not entirely correct, because most spiders now use the robots.txt file.
1761.

Solve : automatically page generate.,,?

Answer»

can someone tell me.,. how to automatically generate a new PAGE in php.,. for example i have a lot of topic in my forum.,,. the 1,2,3....&GT;>> next.. page i mean.,.,
pagination i mean.your page has to be very dynamic.

What I mean is that it should grab and display information out of a database. It should have a very bare-minimum of code written into the page by you.

that way when I click ">> next " all that the page is really doing, is moving forward in the database, and refreshing. It only 'seems' to be a new page to USERS. Hope this helps

edit: I learned about this topic by picking up MySQL and PHP from Tizag.com.
I strongly reccomend this page for learning some fundamentals of database with php.I think a good thing for you would be to download Simple Machines Forum software.

Have a look through the FILES to get a picture of what's involved in what you want to do.

1762.

Solve : pagination: Help!!?

Answer»
anyone can explain this query to me?

$page_limitvalue = $page * $page_limit - ($page_limit);

$sql = "SELECT *FROM blogs ORDER BY blogs_id DESC LIMIT $page_limitvalue, page_limit;";

i cant FIGURE out,.. especially this one: "LIMIT $page_limitvalue, page_limit"

thanks in advance.,.,

r3ynz
As far as I know, it tells MySQL to order the blogs by the ID of the BLOG in DESCENDING order, but the ID of the blog has to be between the variable $page_limit value and $page_limit.
1763.

Solve : stupid css...?

Answer»

I'm new w/ CSS. need help. my page has styles applied to the and the tags.

the tag has color dark Blue, the has dark grey.

thing is, I can't make the dark gray body extend all the way to the bottom of every page in the site. some pages are 'longer' than others. on the longer pages
I the grey background of the body stops where my screen stops.

So if I scroll down, the gray background of the body tag ends. but the body continues.
looks horrible.
the css code for my body tag is:

body{
background-image: url('http://www.site.com /pic/mainBG.png');
height:100%; width:865px;
margin-bottom:0px; margin-right:auto;
margin-left:auto; margin-top:0px;"
}

can anyone tell me whats wrong?








Common problem - let me reproduce a small item gleaned from the web which should help ...... it outlines this type of problem from standpoint of a side column but the principle can be applied generally. BTW - check out http://w3schools.com - lots of useful info.

Quote

One of the disadvantages of CSS is its inability to be controlled vertically, causing one particular problem which a table layout doesn't suffer from. Say you have a column running down the left side of the page, which contains site navigation. The page has a white background, but you want this left column to have a blue background. Simple, you assign it the appropriate CSS RULE:

Code: [Select]#navigation
{
background: blue;
width: 150PX
}

Just one problem though: Because the navigation items don't continue all the way to the bottom of the screen, neither does the background colour. The blue background colour is being cut off half way down the page, ruining your great design. What can you do!?

Unfortunately one of the only SOLUTIONS to this is to cheat, and assign the body a background image of exactly the same colour and width as the left column. You WOULD use this CSS command:

Code: [Select]body
{
background: url(blue-image.gif) 0 0 repeat-y
}

This image that you place in the background should be exactly 150px wide and the same blue colour as the background of the left column. The disadvantage of using this method is that you can't express the left column in terms of em, as if the user resizes text and the column expands, it's background colour won't.

Using this method the left column will have to be expressed in px if you want it to have a different background colour to the rest of the page.
You don't really need a color attribute to the tag. I don't think that will do anything to be honest.

I also wouldn't set the body to a width. You would be better off using a div#container in the CSS.Following on kpac ..... if the html tag is addressed in css then it can be useful I believe to have a color mentioned - after a bg image url - which means that if any delay in bg image loading there is a color to show first which could be in a similar hue.

I agree with kpac re don't assign a width to body .... as he says - use a div which is often called a wrapper ... such as, example ......

Code: [Select]#wrapper {
background:url(img/background.jpg) #FFFFEE;
color:#303030;
margin:0 auto;
padding:1px 5px;
width:760px;
text-align: left;
}
The text-align left is part of a centering hack.
1764.

Solve : Upload script Help?

Answer»
I need to find a upload script, similar to the one on youtube.com not graphically but a browse box and user input , and then one click uploading.. i dont want to use a database but i preffer php , i just want a simple script to upload to a folder without login/database ect , i know this is possible with php or html/ajax but i CANT figure it out
can someone explain what i need to do?

diablo416 Look here: http://www.w3schools.com/php/php_file_upload.asp

It saves the UPLOADED file in a folder, no database.THANKS ive got it WORKING, but how can i upload .zip files , i modifyed it but still GET invalid file

if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "application/zip")
|| ($_FILES["file"]["type"] == "application/x-zip-compressed"))
&& ($_FILES["file"]["size"] < 2000000))
Nevermind i solved it , thanks againGood to see you got it working.
1765.

Solve : Hello (some tips for a beginner?)?

Answer»

Well I just RECENTLY decided to get into computer programming. I'm starting with HTML and I'm going on from there....

Do you have any tips for a BEGINNER?

Do you know any good websites that will help me get started? I have a book on HTML/xhtml/css but more web RESOURCES would be great.W3Schools - Definitely the first stop for me. Excellent tutorials on all aspects of web design.Quote from: kpac on December 13, 2008, 05:31:43 AM

W3Schools - Definitely the first stop for me. Excellent tutorials on all aspects of web design.

Thanks for the linksAlso, CHECK out DevShed, W3C, and Dynamic Drive. HA. I just got that, w3. that's clever...because there's three w's in world wide web...

I'm so smart.

lol, you are.

World Wide Web Consortium. Well I'm not that clever.
My html book helped me....

Jesus

I must be the only teenager in america who is doing html 8 in the morning.
1766.

Solve : please help a noob?

Answer»

Please i want to know where i can upload the website i made.

Something like freewebs but i don't like freewebs, its cheap.

what is the best free web HOSTING company out there?www.110mb.com A LIST: http://www.free-webhosts.com/ Quote from: Jacob on DECEMBER 10, 2008, 04:24:11 AM

www.110mb.com

I agree with jacob...I remember Calums old site REALLY GOOD.
1767.

Solve : help making a web page?

Answer»

is there any where i can GO to , that i can make or get a simple web page for my-self to play around with , i would like to make a d.i.y help page/s , i know nothing about this as i'm sure your can see , harrySomeone reminded me today of http://www.oswd.org/ - in fact a very handy place if you are out of ideas for a web page template.

That said you'll need some knowledge of html and css to be ABLE to adapt something you like to your vision and needs.

I forget the exact link but w3_schools (try a Google) will be a great place to learn some stuff.

Also - go Google various stuff like "how to make a web page" - that sorta thing. There is a heap of stuff out there and you may well find something that helps. Some free HOST places also offer a simple on line way to create a page.

Could well be too - once you get a handle on basic html you'll find it ain't so hard as you might think.thank you , its just that i'm 63 and i fancy having a diy help page just to post and answer QUESTIONS
i'll try were you said , harryQuote from: harry 48 on October 29, 2008, 03:15:34 PM

to post and answer questions
i'll try were you said , harry

That's what we're here for. Harry - we are same age - don't worry.

I have been ''in the game'' for many years but sometimes wonder if I have learned ANYTHING! Never too late to start tho - just takes longer! went to goggle and searched " how to make a web page " open no 1 page and got lost on the first ten lines seems hard to me

i love to go in deep to the pc and mess around with it ( did harm a few times ) but fixed it

but making a page seems to much for me

harryProbably seems hard at first glance but actually just a case of persevering a bit.

For relatively basic stuff you probably only need to know just a few basic tags such as
1768.

Solve : formatting question?

Answer»

I'm sure this is a really simple question, but I haven't been able to figure it out.

I'm making a web page, with the main part of the TEXT in a div element with a non-repeating background. The background is 561px wide, and the text spills over around it. Is there any way I can make the text stay inside the background?
I tried making the WHOLE div element or just the paragraph elements 561 px wide, and that worked really well until I tried resizing the window -- it wasn't fluid anymore (or at least when it couldn't fit the whole thing, it would send it all down to the bottom of the page where there was more room...)
Is there a simple way to solve this?

Thanks!
EugeniaI must admit that I completely cop out in this kind of scenario, because I find tables-based layouts are so MUCH more consistent and cross-browser compatible than pure CSS layouts (especially with all the non-standard handling of CSS by the various browsers).

That said, if you could upload the page as it is and provide a link, I may be able to offer some suggestions.Some of the pictures aren't there cause I forgot to copy them over, but the basic problem is still obvious, the text in the "Our Publishing" paragraphs is extending past the edge of the background...

Here's the page:
http://cer-pxo.com/books

And here's the link to the css I used:
http://cer-pxo.com/main.cssOh, I see. The whole layout isn't really working for me. I'm mainly using high-res or widescreen monitors, and the whole view pane looks a bit messy, with your navigation links to the right; the Russian text to the left, the logo centred above the two, the unaccountable 180px left margin, etc.

Before attempting to fix this problem, I think you need to make a design decision: are you going to design a fixed-width web page, or are you going to design a fully fluid page that fills the whole width of any browser window? It looks to me like a fixed width is presupposed by the width of your logo, in which case you could wrap everything in one fixed size div. (Note that you should use a class to do this rather than defining ALL divs identically as you have done in your current CSS.)

How do you want to proceed? Do you want me to expand on anything I've just said?

That is actually more or less the way it is supposed to look, with the Russian on the left and the links on the right. The 180px left margin is for those pictures I didn't upload, there is a column of them that will be used as links as well.
I generally wanted to make it a fluid page, though I wasn't being absolute with that - I just figured I'd make whatever needed to be fixed-width, or fluid, what it needed to be to work...
Is there a way to keep that particular part fluid, but give just the text a maximum width so it doesn't spill over? I thought there was a max-width style, but it didn't work when I tried it.Max-width has limited support in the IE browsers unfortunately. Bear with me - I'll GET back to this thread when I have a little more time.Are you aware of what happens to your horizontal menu when a Firefox browser window is made narrow? See below:

Yeah, actually it does that in all the browsers I think. I'd noticed, but it didn't bother me as much so I figured I'd leave it for now and try to fix it when everything else is done...I know this probably isn't the right way to do it, but I found a way that work to keep the text inside - I changed the width of the div to 80%, which is approximately how much space the background takes up, whether the window is minimized or not. Thank you for all your time and help!! Well that may well work for the resolution you're designing at, but will it work for all resolutions?Good point Rob, always design for the lowest common denominator is a good rule of thumb. 800x600 is as low as I go now days, but that is in an extreme circumstance, typically its 1024x768.

Tables vr CSS, well IE doesn't always display the same as FF, CSS can really be a pain to work with at TIMES when trying to make sure you are cross browser compliant.

1769.

Solve : Question on .ASP coding.?

Answer»

I really know nothing about VB coding, but I've used a template of SORTS to protect some pages on my site. However, the .ASP coding doesn't seem to be working correctly. I was wondering if someone could TAKE a look at it and tell me where I've gone wrong.

http://darrtutoring.com

Click on the "help sheets" link, and then any ONE of the three sub links have the same problem.

Also, what is the numeric attribute value I need to assign to the pages/user.txt file in order to only allow the asp file to look at it, not the internet?

Any help is appreciated,
ROCK

1770.

Solve : Urgent Help Required!?

Answer»

I need some help please. I have just taken over our website for the charity I work for and have built a new site through Moonfruit Web Design. I need the domain to take you to the new site now but I have no clue how to do using FTP, can ANYONE help?You will need to set up the FTP account in your "Windows Network Places"
Normall its something like:
ftp://www.mywebsite.com
or
ftp.mywebsite.com
or
ftp://ftp.mywebsite.com

You will need the username and passwordDo you mean that you want one domain to be automatically redirected to another?You need an FTP client, meaning SOFTWARE you install on your computer to upload the web page files from your computer to the web server of your web hosting service. Here's one to consider: SmartFTP
Client (32-bit) 2.5.1005.14


As Zylstra said, You will need the username and password of the hosting service in order to logon to your website on the server. Guys, I don't think this is an FTP issue...Perhaps not, but he did say, "I have no clue how to do using FTP". I re-read his post just now and I'm still not really clear on what his MEANS. And, unless he gets back in here and replies, we won't get that clarification.Quote from: Rob Pomeroy on April 06, 2007, 03:14:05 PM

Do you mean that you want one domain to be automatically redirected to another?

yes

So, the new website will have a different domain name, i.e. web address name, than the old one. Is that right? I think we need to be absolutely clear on this point.

For example, you want www.old-site.org to redirect to www.new-site.org. Right?Quote from: SOYBEAN on April 08, 2007, 01:46:43 PM
So, the new website will have a different domain name, i.e. web address name, than the old one. Is that right? I think we need to be absolutely clear on this point.

For example, you want www.old-site.org to redirect to www.new-site.org. Right?

That's rightThe simplest method:

Manual redirect

The simplest technique is to ask the visitor to follow a link to the new page:

Please follow link!

For for info: http://en.wikipedia.org/wiki/URL_redirection or http://www.google.com/search?hl=en&q=URL+redirection&btnG=Google+Search
Why don't you just use a meta refresh tag, something along the lines of this...

Code: [Select]<meta http-equiv="refresh" content="0;url=http://www.newdomain.com/">
Add the tag to your index/home page, be SURE to change the "0"(in sec) to your prefered time, and the url redirection.
1771.

Solve : Help posting forms to my email from my website!?

Answer»

Hi I need a bit of help, I have a questionnarie setup on my website, once all the questions are filled in and the user clicks proceed, (which is me at the MOMENT as im just testing it) a message box comes up warning about the form being sent by email, I use outlook so the form goes into outlook to be sent. Is there a way that I can get the form sent to my email with out sending it by email, like getting the web page to send it automatically?
Thanx in advance :-?Yes, absolutely, but this would require server-side processing. Does your web host SUPPORT PHP?I don't have an account that supports php but I guess I will have tomorrow once I sort it out. One it's sorted out, what CODE do I need to enter?

[emailprotected]" enctype="text/plain">
or
[emailprotected]" enctype="text/plain">Some hosts may not support PHP but will support Perl, it can also be done easily with Perl / ASP or other scripting languages. Some hosts may also have scripts on their server that will allow you to do this, so may also want to look into that.

Once it's setup you'll actually have a script on your server that handles the mail and on your web page you'll setup a forum that submits the data to that script. Something similar to the below example.
Code: [Select]<form method="GET" ACTION="<your script location here>">
<input type="text" NAME="name" size="10">
<input type="text" name="message" size="30">
</form>

1772.

Solve : Localized page?

Answer»

Hello,

I would like to know how to detect the LANGUAGE of the computer that the visitor is using and depending on the language go to a certain page.

Thanks

Al968There are several different ways to do this. The Apache web server has the feature built in, so when configured correctly, English users will be redirected to, say, index.html.en, and German users will be redirected to index.html.de.

Or you can do the detection via server side scripting. What's your setup?I don't know my setup so I would rather do it by server side scripting, however may I ask which language does it require ? Php or something ELSE ?

Thanks

Al968I can only tell you about PHP, since that's my coding language of preference. But the principle should apply to any server-side scripting that can inspect headers.

The $_SERVER['HTTP_ACCEPT_LANGUAGE'] variable should tell you what locale the user's browser is reporting, and you can adjust your response accordingly (with a select statement or whatever).There are also javascripts that could be used to detect language and forward users according to language to the appropriate location.

Below is a link to an example I found doing a quick search in Google for "JAVASCRIPT language detect script"

http://www.javascriptkit.com/script/script2/language.shtml

Javascript can just be inserted into your HTML.Quote

I can only tell you about PHP, since that's my coding language of preference. But the principle should apply to any server-side scripting that can inspect headers.

The $_SERVER['HTTP_ACCEPT_LANGUAGE'] variable should tell you what locale the user's browser is reporting, and you can adjust your response accordingly (with a select statement or whatever).

Thanks, Can you be more precice as I don't know Php at all, maybe a tutorial ?

Thanks

Al968This would be a somewhat ADVANCED thing to do in any language, so it would help to use a language that you're already familiar with - or if you haven't used one before, consider doing a basic tutorial first.

I can give you some code, but you'll need a handle on how to use it. How would you like to proceed?I think that I can handle the basics (I may be WRONG) so you go ahead and give me the code ?

Thank You for your help

Al968An example, anywhere in your HTML.

Code: [Select]<?php
switch($_SERVER['HTTP_ACCEPT_LANGUAGE'])
{
case'de':
echo'Willkommen';
break;
case'es':
echo'Recepción';
break;:
case'fr'
echo'Bienvenue';
break;
case'it':
echo'Benvenuto';
break;
default:
echo'Welcome';
}
?>
1773.

Solve : Is the use of AJAX for Security??

Answer»

Hi, Raymond and all members!

I have noticed that some Web sites have disabled "Open link in New Window" when you RIGHT click any Links in their Web sites.

Also, when you put the Mouse over the Link, you could only see "Javascript: Ajax(....
INSTEAD of SHOWING the link's URL in the Status Bar.

Could you think of any reason why they used AJAX?
For security reason? Probably they want to do certain bits of PROCESSING before HANDING you over to the lick - click-counting, database procedures or whatever. This is not specifically related to security.

1774.

Solve : Looking for a Free Web Host ???

Answer»

Hello,

For all of you Web MASTERS who are LOOKING for a FREE web HOST look no further:

http://box9.110mb.com/user_affiliate.php

Al968

1775.

Solve : HTML help?

Answer»

Hi I'm having a problem where I've created a small table and it shows but I want it right next to my text. It shows up below my text. What can I do to get it next to my text?

This is what I've done:

To sign up

CLICK Here


I want there to be a space next to the word "up" and then I want the table to show up.

Can anybody understand what I'm trying to ask? Can SOMEBODY help me? Thanks in advance. Why do you need a table just to put a hyperlink next to your text?

If you want to use a table, then include include the text in it in a separate cell.

Yeah, if you are using HTML or XHTML only then you'll just have to hyperlink te text and forget about the table. If you are really insisting on the table being there you'll have to LEARN some CSS.Quote from: Cloud on April 10, 2007, 07:45:45 AM
Yeah, if you are using HTML or XHTML only then you'll just have to hyperlink te text and forget about the table. If you are really insisting on the table being there you'll have to learn some CSS.
He does not need to learn some CSS just to use a table.

Quote from: Pinkflamingo on April 08, 2007, 06:35:43 PM
This is what I've done:

To sign up <table border="1" bgcolor="white"><tr><td>Click Here</tr></td></table>

What was the point of posting http://tinyurl.com/ here? It doesn't lead to something YOU did.
1776.

Solve : Free Templates?

Answer»

I am a web designer, like many of the other people on this forum.
I searched and searched the internet to FIND website templates that didn't have copyright NOTICES or links going back to the site where you got it from.

I found this:

Open Source Web DESIGN - http://www.oswd.org/

Very cool, all free, and copyrights can be removed (always check first)

Just an FYI for web designers seeking something like that
I hope you can find it usefulFound that when someone else posted it on another thread.
Very very useful, I'm using a TEMPLATE form there for my new site.
I recommend that anyone who wants a website that looks good without the hassle of having to do it all themselves has a look at this.
It's worth a look for more experienced designers too, as they're easily customisable.I used to USE Zymic, but OSWD was just so much better

It can be hard to find good templates that fit your site, but you just have to look around

1777.

Solve : target="_blank"?

Answer»

I wrote that down from an html class I took, and wote it's how I can send my customer to another website and not take them out of my website.

That's what I WANT to do - but I'm not sure how to use what I've written down. It MAKES no sense without a little more instructions. Please helpWhen you're writing in HTML, that code appears in a full link, thus:

target='_blank'>Click here![/url]

Does that help? Oh - you can use
SINGLE or double inverted commas (' or "), whichever you prefer.Perfect! Thanks. So glad to have found this forum, you'll be hearing from me a lot!Great, no problem. No question is too SMALL.

1778.

Solve : Smiley insert.?

Answer» HI Everybody!!

I would like know, Can we insert SMILEY on HTML page like HTML tagging.


Thanks
This is not a feature of HTML. You would need to use an IMG tag and insert the REFERENCE to the underlying image file. Eg:

Ok.

Thanks
Jay
1779.

Solve : iframe help?

Answer»

I am having problem with my iframe. It seems thaI have to post the iframe twice to make it work, I want to post it only once not twice, there an error in the code and im not sure were its located. I have LISTED the code below:
I think its in the if, or else if, tried it with out, ans still have to post it twice to work.


var locate = window.location
if (locate == "http://www.suproduction.com/weather.html?web=weather")
document.write('http://www.weather.com" height="100%" width="100%">');

else if (locate == "http://suproduction.com/weather.html?web=weather")
document.write('http://www.weather.com" height="100%" width="100%">');


What can I do with the code so that I can enter it once and have it work!!
Thanks

Try using braces:

if ( ... )
{
do something;
} else if ( ... ) {
do something else;
}ok I will try that!!!ok the braces did not work, this is what I did per above request

}
else if (locate == "http://suproduction.com/weather.html?web=weather")
document.write('http://www.weather.com" height="100%" width="100%">');
}

did not work, still have to post this code twice to work , any more ideas, please use the code above to show the correct way to make this work, thanks for your help!!!
MikeHmm... I was only LOOKING at your programming logic. Can you give me a LINK to the page so I can debug it? Your code should BASICALLY be:


if (locate == "http://suproduction.com/weather.html?web=weather")
{
document.write('http://www.weather.com" height="100%" width="100%">');
}
thanks I will try that code!!!!Hey thanks thoses braces worked, your awsome
another question same topic:
I do all my coding in EXPLORE and notepad, but when I upload it to my website the code does not work intill I change the root dir, its there a simple way to make this work both on my c:/ and when I upload it, down below is an example:

var locate = window.location
if (locate == "file:///C:/suproduction/hurr/temp.html?web=aa")
{
document.write('http://www.weather.com" height="100%" width="100%">');
}


but when I upload it to my space I have to change the code to this:


var locate = window.location
if (locate == "http://suproduction/hurr/temp.html?web=aa")
{
document.write('http://www.weather.com" height="100%" width="100%">');
}


so is there a simple way of doing this with out having to chage the code dir.
Thanks

1780.

Solve : Signature?

Answer» GOOD morning computer world. I would like to make a signature for my ONLINE threading and don't even know where to begin. Accualy I do know w a good place to start. A program. Is there a free paint or photo program that i can use to start this. I will start with this question and then go on with more if needed. Thanx for all the help out there. I would be a completly ignorate to the computer world if it wasn't for the help i have recieved here.If you want to add a signature, you can just add text.
Using the tags, with the URL of an image in between, will show that image in your signature.
If you want to create your own, I suggest you check the SOFTWARE FAQ for a free image editor, I suggest Paint.NET as it's very easy to use, free and powerful.
Hope this helps a bit.For free design programs check out the software FAQ (link in my signature) under 'graphics'.And for a very SIMPLE image editor, one you already have, just use Paint. It's on all Windows computers.
1781.

Solve : Convert HTML website to CSS?

Answer»

Can anyone tell me the most efficient and reliable way to update a website by way of converting the HTML to CSS based design? We use Dreamweaver 8 and would like to stay compatible with that. I have read that Dreamweaver CS3 will do it in "two easy steps" but do not want to upgrade and am leary of how "easy" the two steps are. I have also seen a shareware proggie that says it will do it but then possible compatibility issues. So, I would rather use what I have or a freeware proggie if there is one?Nightmare.

CSS-based design is fundamentally different from pre-CSS design. I can't imagine that any program that claims to be able to separate style from content can do it in a way that is particularly satisfactory to a web designer.

You see, without CSS, quite a variety of styles may be used, with only subtle differences. But a CSS-converter would consider each of these a completely different style, assign it an arbitrary class ID and leave you with virtually unintelligible and incoherent stylesheet.

When converting to CSS-based design, you have to take an overview of your entire website and make some stylistic decisions. I defy a machine to do that better than a human. And I predict that a converter is likely to CREATE more problems than it solves.Many thanks for your reply Rob. I suspected, as with all software marketing it seems, they are long on claims and short on functionality in the product. But not having actually tried it and not being a web designer myself, I thought I would ask for educated opinions. The conversion "manually" is far too daunting a task I am afraid. I can appreciate the need for the overall design theme/flowchart with CSS.Out of interest, what sort of size is your CURRENT website - how many pages?Quote from: lsoul on April 03, 2007, 03:32:19 PM

But not having actually tried it and not being a web designer myself, I thought I would ask for educated opinions. The conversion "manually" is far too daunting a task I am afraid. I can appreciate the need for the overall design theme/flowchart with CSS.

Check out the site http://www.oswd.org/ They have different styles (CSS) and believe me, it's easy to apply the designs, you basically input your info and it looks great. Good luck, anyway.
ASlaterYou would not believe how useful that is to me!
Thanks a lot for linking there, I bookmarked it and I'll check it out when I have some TIME, I am in desperate need of something like that!
Great timing.
(Applaud)
1782.

Solve : MOUSE CURSOR TEXT BOX !HELP!?

Answer»

I'm not to computer savy...I need help!! Please anyone! I have been SEARCHING for information about the mouse cursor. The little window that pops up when you place the cursor anywhere..how can I change the text in that box? Is there a universal URL code for the mouse cursor and where in it can I can that text to read what I want?? Any info would be appreciated! THANKS You're talking about tooltips, I think. In HTML 4, you simply USE an ADDITIONAL attribute with any HTML entity, "title=''". E.g:

BLAH blah[/url]

or

Headinggen0715, do you mean Windows tooltips? You want to change what Microsoft did? Is that it?

1783.

Solve : YouTube Clone php (New Webmaster)?

Answer»

I am a new Webmaster and got a YouTube clone on Ebay-Said it was easy.lol
Could not FIND any info anywhere.Below is the zip file-I did un-zip mine.
Thanks-Just hope someone can help me =]


http://www.ghhwebsolutions.com/DigitalStore1746/websites/YouTubeClone_7h9s2m5f9.zip
Guess I was not that clear I want it to be the homepage of my site...
Also below is the demo:
http://ghhwebsolutions.com/demo/youtube/If you have your own site, use a FTP client to upload the unzipped files to your site.I do.
I also have now SmartFTP Client.
And I did that but,looks like it did not work.
See:
http://www.blacklinevid.com
Quote from: Astoria on December 12, 2007, 03:21:46 PM

If you have your own site, use a FTP client to upload the unzipped files to your site.
I clicked a little further untill I was at http://www.blacklinevid.com/YouTubeClone/YouTubeClone_7h9s2m5f9/
I assume this is where all the files are.

and got this error.

Failed opening required 'c:\MyWeb/smarty/libs/Smarty.class.php'

Ofcourse that's wrong coding, because on the webserver there is no "c:\MyWeb\" folder.




Yes,Saw that...Do you know how I can fix it?
YouTubeClone\YouTubeClone_7h9s2m5f9\smarty\libs
Smarty.class(62 KB) PHP file.
I found the above in the YouTubeClone I have saved on my destop.

Quote from: Astoria on December 12, 2007, 08:24:36 PM
I clicked a little further untill I was at http://www.blacklinevid.com/YouTubeClone/YouTubeClone_7h9s2m5f9/
I assume this is where all the files are.

and got this error.

Failed opening required 'c:\MyWeb/smarty/libs/Smarty.class.php'

Ofcourse that's wrong coding, because on the webserver there is no "c:\MyWeb\" folder.





Also I read that for this script to work I need PHP/MYSQL-I have that.
But,It also says I need ffmpeg and ffmpeg-php not REALLY sure what this is even... How to fix the error (c:\MyWeb\etc...) I'll look into that tomorrow morning.

And I never heard of ffmpeg, i will look into that tomorrow as well.

Since it's almost 1am here, it's time for me to get some sleep

Hopefully I can provide you with some help/info to help you further tomorrow!who's your webhost? Do they have a control panel that you can access (like CPanel)?Quote from: michaewlewis on December 13, 2007, 01:27:52 PM
who's your webhost? Do they have a control panel that you can access (like CPanel)?

What good is Cpanel going to do, if there are errors in the script??

@Kyle: I'm still working on itMy host is www.newvisionhost.com
And yes I have CPanelX
Quote from: michaewlewis on December 13, 2007, 01:27:52 PM
who's your webhost? Do they have a control panel that you can access (like CPanel)?
Quote from: Astoria on December 13, 2007, 02:23:28 PM
What good is Cpanel going to do, if there are errors in the script??

Just looking for more info about the server and services.


open config.php (the one referenced in the fatal error on the linked page) in a text editor and find line 44 where the C:\... part is and change that to point to the proper directory where Smarty.class.php is.
Also check to see if there are any other places where the C: is and make changes accordingly. But before making these changes, you MAY want to make a backup copy of the files. (always make backups)

Also check in your CPanel and see what options are available for php. Sometimes server hosts will shut off options by default and it could be stopping the program from running. Check the requirements for your program and make sure they match up with the available options on the server. I've never seen the ffmpeg extension for php, so it may be something you have to install. Did it come with your program?Actually it's not line 44, it's line 5:

$config['BASE_DIR'] = 'c:\\MyWeb';

Line 44 is this:

require_once($config['BASE_DIR'].'/smarty/libs/Smarty.class.php');

change line 5 into:

$config['BASE_DIR'] = 'http://www.blacklinevid.com/YouTubeClone;

About ffmpeg: (taken from wikipedia)
Quote
FFmpeg is a collection of software libraries that can record, convert and stream DIGITAL audio and video in numerous formats. It includes libavcodec, an audio/video codec library used by several other projects, and libavformat, an audio/video container mux and demux library.

You would have to ask if your webserver supports thies software.
1784.

Solve : Form submission - little thing?

Answer»

Hi guys.. i've made a form and am trying to get it to send it to my email..

I have this as the form:

Code: [Select]<form action="form.php" method="post">

<h3><font color="red">Please fill in this form correctly and honestly to join our community.</font></h3>
<font color="blue">First Name</font>:
<INPUT type="text" name=""
value="" size="40">
<br>
<font color="blue">Login Name</font>:
<input type="text" name=""
value="" size="40">
<br>
<input type="submit" value="send mail">

and in that it refers to a file called "form.php"

which i have made as this:

Code: [Select]<?php
$fname=$_POST['firstname'];/*thislineistextfieldname*/

//Declaratethenecessaryvariables
$mail_to="[emailprotected]";
$mail_from="[emailprotected]";
$mail_sub="FormData";


$mail_mesg=$fname;

//Checkforsuccess/failureofdelivery
if(mail($mail_to,$mail_sub,$mail_mesg,"From:$mail_from/r/nReply-to:$mail_from"))
echo"<spanclass='textred'>YourApplicationhasbeensentsuccessfully!Wewillgetbacktoyouwithin24hours.Regards,Psy.</span>";
else
echo"<spanclass='textred'>Failedtosendyourapplication!<br>Thiswaseithercausedby&bull;aninternetfault,inwhichcase,tryagain.or&bull;Wearecarryingoutmaintenancework,inwhichcase,pleasetryagainlater.Thankyou.</span>";



?>

Now when i fill in the form and hit send, it sends an email to my account, which is great.. BUT.. all the email shows is the who it's to, who its from and the name. ie Form Data.

There is no form results sent in the email.. how do i get them there? and why does it not send to a hotmail account but will to a GMAIL account?

This is the email i get:

Code: [Select] Message text garbled?
from @ msn. com/r/nreply-to <myemail> hide details 23:15 (1 hour ago)
reply-to
@ msn. com/r/nreply-to <meemail>,
[emailprotected]
to [emailprotected]
date 26 Nov 2007 23:15
subject Form Data
mailed-by mail.jellybaby.net

ThanksPut this in the third line in form.php: print "$fname";
Does it print out anything?
It doesn't look as if you have the body specified (e.g. body of e-mail being sent). Unfortunately I'm not that familiar with PHP (I'm a Perl guy), but I'd assume it would need some type of body message section.

Try reviewing this page and see if it helps.

http://email.about.com/cs/phpemailtips/qt/et031202.htmQuote

Put this in the third line in form.php: print "$fname";
Does it print out anything?
No lol.

yeah it seems like i need a body i'll try that page thanks.i tried this:

Code: [Select]<?php
$fname=$_POST['firstname'];/*thislineistextfieldname*/
print"$fname";
//Declaratethenecessaryvariables
$mail_to="[emailprotected]";
$mail_from="[emailprotected]";
$mail_sub="FormData";
$body="Hi,\n\nHowareyou?";


$mail_mesg=$fname;

//Checkforsuccess/failureofdelivery
if(mail($mail_to,$mail_sub,$mail_mesg,"From:$mail_from"))
echo"<spanclass='textred'>YourApplicationhasbeensentsuccessfully!Wewillgetbacktoyouwithin24hours.Regards,Psy.</span>";
else
echo"<spanclass='textred'>Failedtosendyourapplication!<br>Thiswaseithercausedby&bull;aninternetfault,inwhichcase,tryagain.or&bull;Wearecarryingoutmaintenancework,inwhichcase,pleasetryagainlater.Thankyou.</span>";



?> but it didn't work! it was basically copied from the site lol.. i also tried it with the $body = "Hi,\n\nHow are you?"; replaced as $mail_body ="Hi,\n\nHow are you?" but no lolright if i enter this:

Code: [Select]<?php
$fname=$_POST['Name'];

//Declaratethenecessaryvariables
$mail_to="[emailprotected]";
$mail_from="[emailprotected]";
$mail_sub="Enquiry";
$mail_mesg="hihowareyou";

//Checkforsuccess/failureofdelivery
if(mail($mail_to,$mail_sub,$mail_mesg,"From:$mail_from"))
echo"<spanclass='textred'>YourApplicationhasbeensentsuccessfully!Wewillgetbacktoyouwithin24hours.Regards,Psy.</span>";
else
echo"<spanclass='textred'>Failedtosendyourapplication!<br>Thiswaseithercausedby&bull;aninternetfault,inwhichcase,tryagain.or&bull;Wearecarryingoutmaintenancework,inwhichcase,pleasetryagainlater.Thankyou.</span>";



?> i get the message "Hi, how are you" naturally.. so where it says "mail_mesg=" i need something that will collect the data that was entered into the forms I decided to check out the code on my xampp server and found out the obvious. In your html form, you don't have any names for your text boxes!
Name your text boxes and try it again.nope still blank lolmake sure you're calling the same variable in your php file. If you named your text box "Name", then make sure you call it with $_POST['Name'];
that worked. cheers guys!TWO things:

The proper way to do an IF statement:

if(CONDITION) {

statement here

} else {

other statement

}


Also, using quotes.

Instead of double quotes:
echo " blah blah blah";

use single quotes:

echo 'blah blah blah';

EXCEPT!! when you echo a variable.
If you want to echo a line that has a variable in it, than you use double quotes.

echo "$variable";


Quote from: Astoria on December 12, 2007, 11:38:04 PM
Two things:

The proper way to do an IF statement:

if(condition) {

statement here

} else {

other statement

}


Also, using quotes.

Instead of double quotes:
echo "<span> blah blah blah</span>";

use single quotes:

echo '<span>blah blah blah</span>';

EXCEPT!! when you echo a variable.
If you want to echo a line that has a variable in it, than you use double quotes.

echo "$variable";

Have you ever done any programming at all?
There's several ways to set up an if statement. You don't need the curly brackets for a one line if, else, for, or while, and it doesn't matter how it's formatted. every interpreter and compiler ignores white space anyway.
Quotes don't matter either!
Besides, the original poster already resolved his problem, why'd you bring it back up? Quote from: michaewlewis on December 13, 2007, 01:17:52 PM
Quote from: Astoria on December 12, 2007, 11:38:04 PM
Two things:

The proper way to do an IF statement:

if(condition) {

statement here

} else {

other statement

}


Also, using quotes.

Instead of double quotes:
echo "<span> blah blah blah</span>";

use single quotes:

echo '<span>blah blah blah</span>';

EXCEPT!! when you echo a variable.
If you want to echo a line that has a variable in it, than you use double quotes.

echo "$variable";

Have you ever done any programming at all?
There's several ways to set up an if statement. You don't need the curly brackets for a one line if, else, for, or while, and it doesn't matter how it's formatted. every interpreter and compiler ignores white space anyway.
Quotes don't matter either!
Besides, the original poster already resolved his problem, why'd you bring it back up?

I was trying to help...
It's a bad habit not to do your if/else staements without curly brackets, THAT'S WHY I brought it back up.
And FYI, yes I've done tons of programming, and from what I've seen, quotes have cause ppl's lots of headaches.

And in the scripts that he posted, he didn't resolve my tips.It's a bad habit to think that everyone has to conform to your own coding style.
The guy wasn't trying to make his code look pretty, he was trying to fix his code. Your comments didn't help him solve anything.
Quote from: michaewlewis on December 14, 2007, 10:57:46 AM
It's a bad habit to think that everyone has to conform to your own coding style.
The guy wasn't trying to make his code look pretty, he was trying to fix his code. Your comments didn't help him solve anything.


No, you're wrong. It's a bad habit to code scripts in a way that can lead to many mistakes.
I'm not trying to force my coding on anyone, and his problems were already solved when I made that post.

All I am trying to say is that it's better to be safe than sorry.
But apparently that's not ALLOWED on this forum...at least in your opinion.
1785.

Solve : need some advice?

Answer»

I am still fairly new at design work; for example, I have done some simple "emercial" type presentations using powerpoint with simple graphics, templates, etc. but I would like to bring myself into the 21st century with it. What are some decent programs that will not break the bank, or you do not have to be an analytical genius to FIGURE out. I am very sure that a lot of you know way more than I do, so I am listening........Dreamweaver is a popular web design program from www.dreamweaver.com You can buy it for $400
Front Page is a web design product from Microsoft. Not as powerful, but cheaper... I THINK.A much cheaper alternative might be Actual Drawing. Although, I don't know if it's the best option. But there's a free demo you can try out.If you plan on designing websites I suggest you start with the basics.

Learn HTML, CSS etc. And no, you don't have to be a genius for that

OFCOURSE there are tons of programs you can use, but if you have an understanding of the basics, it will be a lot easier when you start using those programs.

If you have the creativity and HTML/CSS knowledge, you can create some fine looking sites created only in Notepad!

That won't cost you a dime. Just time. Time to learn, and time to practise.WHAT I AM BASICALLY AFTER IS FOR THE LOCAL AREA; I HAVE CUSTOMERS THAT WOULD LIKE A SMALL FILE THAT CAN BE EMAILED AS AN ADVERTISEMENT FOR THEIR PRODUCTS; I HAVE DONE SOME WELL RECEIVED PRESENTATIONS IN POWERPOINT '07, BUT I DO NOT KNOW WHAT IS NEEDED FOR THESE FILES TO "OPENED" AND VIEWED IF THE RECIPIENT DOES NOT HAVE POWERPOINT. IS THERE ANYTHING THAT I COULD CONVERT THEM TO THAT IS UNIVERSAL?? LIKE I SAY, I AM NEW AT THIS, I HAVE THE CREATIVE TALENT AND THE MARKETING SIDE OF THIS BUT AM SHORT ON THE TECHNICAL SIDEI think you can save powerpoint files as html. Give that a try. Quote from: michaewlewis on December 17, 2007, 09:58:13 AM

I think you can save powerpoint files as html. Give that a try.

There are also add-ins available for download that enable you to save presentations in .pdf and .xps formats, which would MAKE presentations available to those who don't have a copy of PowerPoint.
1786.

Solve : PERL - Where to start??

Answer»

So far all I know is the print COMMAND, where can I learn Perl as a programming language? ((I;'ve heard that EVEN though it'd be slow, perl has the power to create an OPERATING system.... )) any place I can learn Perl programming?Barnes &AMP; NOBLE
Amazon.com
Google
http://www.tizag.com/perlT/

1787.

Solve : music in web?

Answer»

how can i put some music in my webpage?There's tons of ways to do it:
Yahoo! Search for Flash music player
Also Google Reader MP3 Player and a few others are described at http://www.labnol.org/; Do a search for embed music in web pages there...There are several ways using HTML or any # of websites that will create a music widget for you.
www.playlist.com will create a music box, only thing is you have to select music from other sites, not your own.
In HTML you can use the bgsound tag or the embed tag. You are supposedly able to use the object tag but I don't THINK that works to well. HOPE this HELPS.

1788.

Solve : cPanel X-File Manager.-Uploading??

Answer»

First off for those who do not know I am a new Webmaster.
Okay here goes.
I have TIRED to upload a simple HTML file to my File Manager.Just something saying the SITE will be up soon.
How do I make that the home page-And the only thing that SHOWS up on the site.All I have now is that Index of /......Parent Directory stuff ect.
I did upload the file to the PUBLIC_HTML
Also, I did make sure that the homepage is saved as an index.html file.
Think I did that part right
Thanks all.

Anybody? You've registered your domain name? And, you've taken the NECESSARY step to link your hosting service's domain pointer, or whatever it's called, to your domain name with your domain name registrar, right?

What happens when you try to go to your site with a web browser? Do you see your page or some generic notice, "something saying the site will be up soon"? What other files are in your public_html folder? if there's an index.php, or index.htm, it may be taking priority over your index.html. rename any such files.
also, check the faqs for your web host. they may have changed the index to something else like main.html or something crazy like that. It's UNCOMMON but possible.
Yes I have done all that.
Here is the link for my site:
http://www.blacklinevid.com
Thanks again all
Quote from: soybean on December 14, 2007, 08:22:15 AM

You've registered your domain name? And, you've taken the necessary step to link your hosting service's domain pointer, or whatever it's called, to your domain name with your domain name registrar, right?

What happens when you try to go to your site with a web browser? Do you see your page or some generic notice, "something saying the site will be up soon"?
Below is a copy of the files in the public_html folder now:
YouTubeClone 755
_vti_bin 755
_vti_cnf 755
_vti_log 755
_vti_pvt 750
_vti_txt 755
cgi-bin 755
Create New File
.htaccess 0 k 0644
_vti_inf.html 1 k 0644
postinfo.html

And nothing I can see is taking priority over index.html.There is a public_ftp-Could that be it?
Quote from: michaewlewis on December 14, 2007, 12:59:13 PM
What other files are in your public_html folder? if there's an index.php, or index.htm, it may be taking priority over your index.html. rename any such files.
also, check the faqs for your web host. they may have changed the index to something else like main.html or something crazy like that. It's uncommon but possible.
I don't see your index.html file in there.... Make one and put it in your public_html
OKay did that.But,still not working.
Quote from: michaewlewis on December 17, 2007, 09:56:47 AM
I don't see your index.html file in there.... Make one and put it in your public_html

How did you make your index.html file? It looks as if it was set up as a folder....I think it was...Did I do it wrong?...
Quote from: michaewlewis on December 18, 2007, 03:03:33 PM
How did you make your index.html file? It looks as if it was set up as a folder....
How did you create the file? Did you use CPanel or an ftp client? Using CPanel, delete the current index.html and then create a new one. Make sure you tell it you want to create a file, and not a folder.Gosh,I feel stupid now but,...Thanks
Quote from: michaewlewis on December 18, 2007, 05:45:34 PM
How did you create the file? Did you use CPanel or an ftp client? Using CPanel, delete the current index.html and then create a new one. Make sure you tell it you want to create a file, and not a folder.
Glad you got it working.
1789.

Solve : MYSQL??

Answer»

what is this MYSQL? it sounds like it has some interesting features. I googled it and got mysql 5.0 and stuff. do i need to download something? where should i learn this from?It's an implementation of a SQL database. When you have a WEBSITE that NEEDS to dynamically save and retrieve data you often have a SQL database to store the data in. This very forum for example is stored in a MySQL database.
Software that needs to handle lots of data or need to share data between many users usually utilizes some form of database as well (often SQL).
http://en.wikipedia.org/wiki/SQL
http://en.wikipedia.org/wiki/Database_management_system

I don't know any good online tutorials but there PROBABLY are some around. I can recommend a book THOUGH. "Fundamentals of Database Systems"There's some good tutorials on phpbuilder.net -
http://www.phpbuilder.net/columns/index.php3?cat=1&subcat=2
http://www.phpbuilder.net/columns/index.php3?cat=1&subcat=28

If you WANT to play with mysql and php, download and install xampp from www.apachefriends.org

If you want mysql by itself, to play around with the interface, download it from dev.mysql.com/downloads

1790.

Solve : how to get input without a submit button???

Answer»

Hi,

I am pretty much a newbie and haven't even really tested my wings let alone figured out how to FLAP both at the same time but I seem to have tackled a pretty big project so I am working at it.

I am creating a web based plant key and I am currently working on the glossary part of it.
In most online glossaries I have looked at you can either scroll through all the entries or there is an alphabet at the top that takes you to the begining of the entries starting with any given letter. Some also have a search function. What I would like to do is have the user be able to type in an INPUT box and the computer sort of zoom in on the word. So if I type an "A" it would skip to the begining of the A section and as I continued typing it would keep jumping to show the words that started with say "ABA". I want this zoom in function to occur as soon as the user starts typing so there is no submit button. The help sections in software like dreamweaver and microsoft PRODUCTS have this feature. I don't really know what the proper name of it is so I haven't been able to find it on the web.

I can only assume that there must be an autosubmit script that continually submits the typed letters and causes the jumps to an anchor in the page/glossary to create the zoom in effect.
Where might I find an example of the html to make this happen?
What is the proper name for this so I can learn more about it?
How does it work? Is it an autosubmition thing??
If I can do this will it slow down the LOAD time on my page a lot? Maybe that is why I haven't encountered it much on the web??
Will I have CROSS browser compatability issues with implementing this?

Thanks so much for your patience & time.

Katetie a javascript to the input field that utilizes the onkeypress event to begin searching.

1791.

Solve : I need a cheap but good domain with no ads?

Answer»

well, this is self explanitory... any suggestions please? me and a couple friends want to build a flash website for... well we really dont know yet but we want to build a flash website lol. also maybe you should give us suggestions what to do... what does the internet need?goto www.xptips.co.uk navigate to A BASIC GUIDE TO THE INTERNET And you will find what your looking for..

hope this helps

the actual guide doesn't work...I've used www.lunarpages.com in the past. They still have good offerings.Click on the link below
http://search.ebay.com/_W0QQsassZdragonlove03
NewVisionHost.Com has
Unlimited Storage
Unlimited Bandwith
2 Years of Hosting-For 8 bucks-And more COOL deals =]
Quote from: Kyle on December 19, 2007, 06:15:22 PM

Click on the link below
http://search.ebay.com/_W0QQsassZdragonlove03
NewVisionHost.Com has
Unlimited Storage
Unlimited Bandwith
2 Years of Hosting-For 8 bucks-And more cool deals =]

If you want to have to worry about whether or not your HOST will disappear after a few months, then go with something on ebay or some new, unheard of host that offers unlimited everything for super cheap. Otherwise, if you want dependability and stability, find a well-known host with a long history of pleasing customers and a very active support forum.im thinking about going with godaddy.com they have $10.00 a year domain and $4.00 a month hosting. sounds like features arent so bad either. I mean you only GET 50gb of space, but thats a lot anyway for a simple flash site so i dunno. plus i have a CODE to get 10% off my order so... know anything about them that maybe I should know?godaddy is a very popular host. I don't know of any reason not to use them. Good luck.yea well thanx for the help with that, now i guess i should get my buddies together to see what were going to do this site about lol. we really have no idea, we just wanna work together on a flash project.Ugh.Heard lots of bad things about them online.
http://forevergeek.com/articles/godaddy_sucks.php
And from a friend of mine...Quote from: Kyle on December 19, 2007, 07:03:44 PM
Ugh.Heard lots of bad things about them online.
http://forevergeek.com/articles/godaddy_sucks.php
And from a friend of mine...
"this page connot be displayed"Works for me...

Quote from: gamerx365 on December 19, 2007, 07:27:25 PM
Quote from: Kyle on December 19, 2007, 07:03:44 PM
Ugh.Heard lots of bad things about them online.
http://forevergeek.com/articles/godaddy_sucks.php
And from a friend of mine...
"this page connot be displayed"
lol i dunno... well my computer is a peice of crap now anyway so.... i dunno i need a new one... with a bigger hdd and more ram (incase anybody wanted to know what to get me for christmas)Ugh.Me too man...yeah well godaddy.com doesn't look like its that bad after reading that ARTICLE, it just looks like they are trying to get you to buy tonz of other crap you don't want. but you can just say no and be done with it so it doesn't seem bad.
1792.

Solve : Pop-up Menu (slide bar)?

Answer»

I am a beginner at webpage building and I know just simple STUFF because I mostly use dreamweave CS3. Well I am sorry if there is ALREADY such a topic on slide bar but I just couldn't find it. So what I WANTED to ask is what is the code for a slide bar? Like when you mouse over some bar like for example HOME there will appear several other bars on the bottom or on the side for like computers, forums, etc... Well I wanted mainly to know that but I WOULD rather know how can I create my own slide bar with dreamweaver or Fireworks or photoshop or anything. I hope someone has got any ideas that COULD be helpful. Thanks. Hi Yo,

I am also pretty much a beginner. I have looked into this for the page I am building though. I believe it is called a pop up menu & if I remember correctly I didn't have trouble getting it to work. Let me see if I can find the link . . .

Here is a suggestion for dreamweaver.
http://www.smartwebby.com/web_site_design/pop_up_menus.asp

Here is a suggestion that uses css that I ended up using because it seemed a lot less cluttered/more concise.
http://www.stefashwell.com/tutorials/entry/7/
But I am not sure that IE supports the hover command. I think there is a work around but I haven't looked that up yet.

Good Luck

KateSomething like the menus on this page?: http://www.milonic.com/Kate. Thanks. The second web helped me out a lot, but I still wonna learn how to make your own cool looking pop-up menu. thnx. Check out this website: http://www.dynamicdrive.com/
They've got all sorts of freebies that you can use in your site.Yes! the Dinamicdrive is the one my teacher showed me. Yes nice. Thanks.

1793.

Solve : HTML links?

Answer»

Quote from: 1Pman on February 28, 2008, 08:11:08 PM

the problem that i am having is that the "name" side of the link highlights when the MOUSE hovers over it like all my other links. Is there any way to stop this so that the text is normal?

In my browsers (IE7 and FF), the "name" side of the link already SHOWS up as normal text.

If in your browser(s) the "name" side does show as hyperlinks, simply change:

Code: [Select]<a name="lager">Lager</a>

into:

Code: [Select]<a name="lager"></a>Lager



@soybean: I do assume that the "name" side appears as normal text in your browser as well?Quote
@soybean: I do assume that the "name" side appears as normal text in your browser as well?
Yes. It's normal text, in bold since he does have bold coded in to his file.I should have noted that i have an external css page with "a.hover" attribute which adds effects to all the links. The problem is "not" with the click able links in the top portion of the document. It takes place after you click the link in the top and are directed to the paragraph in the document. If i run my mouse over the text it acts as a link but is and as it highlights but i do not want them to. you can view the complete page at the following:

torch.cs.dal.ca/~probinson/job1.html

this is a school assignment i have been working on.

thanks for all the help and sorry for any misunderstandings....I think your solution is in some text I extracted from www.sedbtac.org/ed/training/webaccess/SampleContent_CSS.doc :

To apply a SPECIALIZED STYLE from the CSS to text in the webpage
1.Provide the desired HTML element and text. For this example, a paragraph of "Be sure to complete the assignment before class!".
2.Apply the style in one of three ways dependent on what effect is desired:
  • Use "class" within the HTML element to apply the style to the whole element. For example:
    <p class="notetext">Be sure to complete the assignment before class!</p>.
  • Use the <span> TAG and "class" to apply the style to specific text or an instance. For example:
    <p>Be sure to <span class="notetext">complete the assignment</span> before class!</p>.
  • Use the <div> tag and "class" to apply to multiple text or an area.
    For example:
    <div class="notetext"><p>Homework: Read Chapter 1</p><p>Be sure to complete the assignment before class!<p><div>.
1794.

Solve : Bulding a Website for my Church?

Answer»

Quote from: gamerx365 on February 18, 2008, 11:57:53 AM

We got the site up today. If you want to check it out to see how I'm doing on it, the url is http://wordoffaithonline.com
Now I was wondering, if I make a theme, like make all new buttons and pictures and everything and save it in a folder on our server, and then make a link to choose that theme, can i save it so that everytime that user returns to the site will automatically see the theme?
I like the graphics on the site. Didnt know if wanted some CONSTRUCTIVE criticism on the site or not; so if you do let me know, if not then it does look good.You could use a cookie.If you want to ask a sophisticated calendar to your site, see http://www.mychurchevents.com/

The church I belong to uses it; you can see it at http://www.mychurchevents.com/calendar/calendar.aspx?ci=G1O9L6I3G1L6G1G1 or see this sample: http://www.mychurchevents.com/calendar/calendar.aspx?ci=2259678&list_by=calendar_month It's not free; the annual cost is $59.95.i dont THINK were interested in paying large amounts of money for anything but I'll send the pastor a link and see what he thinks. It's kind of a small church so we dont need anything big anyway.Quote from: michaewlewis on February 28, 2008, 11:16:55 AM
You could use a cookie.
got a link or any direction on how to do this?Quote from: gamerx365 on February 18, 2008, 11:57:53 AM
Now I was wondering, if I make a theme, like make all new buttons and pictures and everything and save it in a folder on our server, and then make a link to choose that theme, can i save it so that everytime that user returns to the site will automatically see the theme?
Quote from: michaewlewis on February 28, 2008, 11:16:55 AM
You could use a cookie.
I guess a cookie would be the key to an individual user getting a certain theme when visiting the site. But, I'm wondering whether you understand you would need to develop a separate set of pages for each "theme" you want to make available. That sounds like an awful lot of extra work to me. If I were you, I'd focus on continuing to develop content in the site you now have.I've started on a theme called glossy blue already and yes i realize I'd have to upkeep all the new info, so I wouldn't make more than 4 themes. It wont take me long to get all the content up as soon as the pastor sends me the rest of the stuff he wants on there. This theme thing is keeping me occupied until then. Check this out:
http://wordoffaithonline.com/glossyblueBlack text is difficult to read on that background. So, I don't like it. I also don't like seeing the ads at top of the page. I'm SURE they're there because you're using a free hosting service. I'd want to change that but I know this depends on whether the church is willing to pay for web hosting. Here's a good one: http://www.totalchoicehosting.com/. Their Starter plan would be fine for your site; it costs $4/mo., and no setup fee. I'd think a church would be willing to spend that much to have a website.alright well i sent the pastor a link to this thread so hoping that he checks back on it he might see that link. I dont know though i might send it to him just to make sure he sees it. Thanks for it by the way. I could change the text color but the buttons won't match then...Before you go spending $60/year for a web calendar...

Why not just pay the following vendor $34 and you can add a flash calendar to your site...three different sizes...you design the calendar...and there's no additional fees.

CoffeeCup Web CalendarRegarding a calendar, TWO free options are available: Google Calendar and Yahoo! Calendar. I believe either can be integrated into your website. I see Google has a Team Edition. That would allow other authorized church members to make updates to the calender.
yeah thanx for the google and yahoo links. I signed up and POSTED the google calendar on the calendar page. it looks pretty good but the only problem is not all the text shows up on the calendar so you have to click it to see the event. But anyway yeah thanx for that.
1795.

Solve : 100% div height?

Answer»
Hey guys and ladies. Im learning CSS. amazing language, simple powerful. So far I see it is a great way to ditch cumbersome tables. But I NEED help.

I have encountered a problem with expanding my div TAGS to 100% of the length of the page. They simply won't seem to FIT tight.

I CURRENTLY have them set to 200% so that they at least don't abruptly END, but they are stretching the length of the page beyond need on some monitors.

here is the page:
http://www.gominitruck.ca

I have found ineffective cures for this issue on google. Mostly the idea that you can code the inside of a having defined both styles to
height:100%... The idea seems to be that the containment hierarchy will do the rest. This, I am sure does not work. after 45 minutes of efforts.

PLEASE HELP!

-thanks in advance : )





1796.

Solve : CSS with template-based pages (dreamweaver 8)?

Answer»

Hello. I use Dreamweaver 8 to build my site. I know it's dated, but it's all I have right now. I have two questions:

1) I understand how to save a page as a template, but when I publish template-based PAGES to my server, the style sheet doesn't attach and I'm left with a page that looks like something DOC Brown and Marty McFly brought back from 1994. Why doesn't my style sheet link to the page properly?

2) In the EVENT I'm unable to solve the above problem, are there any cons to using an internal style sheet (CSS inside the tags)?

Any assistance is appreciated, as my content is increasing and it's a pain to make minor changes to the master layout.

Thanks,

Jcheck to see if the stylesheet is referenced in between the tags. It might look something like this:

If it is then check your server to see if the file is on it.

I don't think there's anything wrong with internal style sheets. Some programmers don't like it, but I'm not sure why. it doesn't slow anything down that I'm aware of.Thanks for taking the time to reply. I really appreciate it.

I have the CSS file referenced properly, and I have the CSS file uploaded to the server. That's the weird thing here. I didn't have any problems with my pages until I tried to use the template feature in Dreamweaver. I'll just keep messing AROUND with it.

In the meantime, I'll just use an internal style sheet. No one can tell me why I shouldn't, so why not.

Again, thanks a million!Do you have a link we can look at to get a better idea of what the problem might be?


There's nothing wrong with internal styling. Some people just oppose it because it's unattractive, less practical, and it makes things look unorganized. It basically works the same way, though. I (and many others) prefer external sheets, but internal should work just fine.Since my last visit I went ahead and went with internal styling, even though it is unattractive. A day or two later, after beer ten and shot three I was sitting on the stool when it hit me:

I'm an idiot. I must have accidentally changed the path relative to the template, a very tragic mistake to make. I was obviously mistaken when I said in my earlier post that I had the CSS file referenced correctly. I did not.

Thanks to both of you for your help and advice. My advice to others would be to slow down and work carefully, or look foolish in a forum FULL of people who know what they're doing. Ha ha, don't worry, that sort of thing still happens to me sometimes. Thanks for giving us an update; I'm glad you've got it all sorted out.

1797.

Solve : a web-based system?

Answer»

Hi! I'm Randy V. Silverio. A 4th Year BSCS student in Trinity University of Asia.

We need help. We developed a web-based system using VB as programming language and the TEMPLATE or project type used for the web application is ASP.NET

Here's the scenario:

When you're done (logged-out or end session) using our web-based system, it automatically transfer you to the Login Page. The problem is, once you click the "Back" in the Standard Button of your browser (for EXAMPLE: Internet Explorer), it will DISPLAY your previous visited pages. Our system focuses on student records, so we need to secure it.

Our thesis adviser said that we need to add another process when logging-out. For example: When you click the LOGOUT command button, it will also automatically delete all the cookies. (and that's our problem)

Please help us. THANKS!check out this link:
http://www.htmlgoodies.com/beyond/reference/article.php/3472881
Basically, you'll want to put a nocache meta tag in the head.

1798.

Solve : help in hosting a site on intranet?

Answer»

hello friends


can any ONE please help me out in hosting a website in intranet



1------ what are the steps of hosting site on intranet
2------ what is requirnment


me CREATED a website in http: with ip address and please help me out in change that to
domain name of any like acb .com or any another plsease help friends


thanks
waiting for reply



i know here is lot of webmasters with a brilliant mind having

who can help me out

So if I'm hearing you right, you already have a host with a static IP (your own computer?) and a design and you just need a domain name. Is this right? In that case, you would need to find a domain name provider to sell you a domain name. Check out www.godaddy.com. They're a reliable domain name provider that may be able to help you out.

If you haven't gotten that far, and you STILL need a host, godaddy also does site hosting.oh, SORRY, I just noticed that you were asking about intranet and not internet.
For that, you need to have a dns server on your network that routes all requests for the site name to the appropriate computer and webpage. Windows Server 2000-2008 all have dns servers that can be installed from cd. Linux also has dns servers available DEPENDING on the distribution.

1799.

Solve : Dreamweaver?

Answer»

Hi all,

I am trying to teach myself webdesign using dreamweaver to design and manage a wesite for a school that i work in, i've made some progress but am concerned about the activex controls.

When i create any sort of drop down boxes or flash buttons, when i test my site useing ie7 i get the activex controls blocked pop up on my screen.

This is not a problem for me while designing but i WOULD prefer this not to happen for visitors of my site once it is completed and published.

Any advice on this matter would be greatly appreciated as i do not want to put any more hours into my design if it will then be necessary for me to go back and change it all.

Many thanks

Stuart

p.s. maybe it would be easier for me to create DROPDOWN boxes, buttons and tabs that do not require activex - if this is possible?Are you testing this site on a server or locally on your COMPUTER?Hi Matt,

Thanks for the reply, sorry i didnt get back sooner, have been extremely busy.

I am checking this locally on my pc.

CheersQuote from: stuart78 on November 25, 2007, 05:13:15 AM

Hi Matt,

Thanks for the reply, sorry i didnt get back sooner, have been extremely busy.

I am checking this locally on my pc.

Cheers
You will find that once you get your website on the internet, this ISSUE should no longer occur.

This occurs since it would be a security issue to run ActiveX controls locally. Precisely why I asked. Heh. Zylstra is right, Stuart...once you actually UPLOAD these files to a server, you shouldn't encounter this little annoyance anymore.If you are trying to create flash buttons, I must warn you:
Your clients (the people who view your site) will be required to have Flash on their computer, and they will have to click the flash buttons before they are activated, requiring someone to click on the button more than once for each page. You might find you are better off creating some buttons from PNG or JPEG files, and then making what I think are called "over" images, where moving the house causes the button to highlight. This is not only faster in some cases, but will also not require your users to have Flash. Thank you for all you help, that was exactly what i wanted to know. Merry XmasThe fact of why its blocked depends on what they have turned on in there internet explorer. The new versions have that, so that they can choose if its safe to run it.
1800.

Solve : IE and Forms?

Answer»

I recently did a quick form for a friend, and used mailto: as the action in the form. Not too elegant, but should work ok, right? Well works great with firefox in both Windows XP and Madriva Linux, but will not fill the form information using Internet Explorer.

Anybody have any idea what is wrong here?


[emailprotected]" method="post" enctype="text/plain">



Thanks in Advance
Bill.I'd recommend not using a mailto for a form, even though it may be possible. Its just not a good idea, unless you're absolutely sure that all your VISITORS have a mail client installed and are comfortable with SHARING their email address with you. (I wouldn't)
Use a php program to SEND the form for you. www.phpbuilder.net has several form mailers available for free.

I didn't notice anything wrong with your code, but I can't see the whole code either. You may want to insert a larger snippet from your code so I can see if there's something else wrong with it. If you don't mind, show us everything from to .Fair enough, here you go! His SERVER doesn't support PHP otherwise, I agree. Obviously there's a IE problem, but for the life of me, I can't figure out why.

[emailprotected]" method="post" enctype="text/plain">


Warranty Record

Lakeside Marine Products
Thank you for your PURCHASE. Your new boat lift performs along side the best in the industry - and in many ways, leads the industry - particularly in warranty coverage. Customer satisfaction is a key ingredient in every Lakeside Lift Corporation transaction.
We are a small company with a passion to provide great products at a very affordable price. On average, word of mouth sales account for more than one of every four sales. This is a testament to our excellent product value and customer satisfactoin.



Name:




Address:



City:


State:

Zip Code:

Country:




Product Purchased:



Model:

Serial #:




Date of Purchase:



Dealer Name:




Would you like to be notified of any special sales (motors, guides, etc.)
Yes
No




Comments

Write any comments here...










Check your internet explorer settings.... It worked fine in mine. I'm using IE7Did it post the information into your mail client? That's where the problem lies for me. It opens the mail client, but the body is blank.

Thanks for our help so far.

BillYes, it posts just fine and emails right away.
What version of IE do you have?I have tried it with both IE6 and IE7 on numerous machines, and can't get it to post the information to the email. Its just blank in the body.Re-wrote and re-hosted using PHP. No problems. Should have done it right the first time anyway.

Thanks for the help,

Bill