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.

951.

Solve : How to capture Start and Stop Time of particular task?

Answer»

Hi GUYS,
can you please HELP me out how to get start,stop and DIFFERENCE of both TIME INTERVALS with batch file creation
Thanks,
CheersWhat task are you triggering, what does it do, and do you have it set up as a windows scheduled event?

952.

Solve : Forms with multiple hidden inputs, how do I select??

Answer»

I am working on a webpage that will allow for a single selection from a row of radio buttons. The selection needs to be tied to a specific EMAIL address (hidden input) that the form will be sent to. There will be a different email address for each radio button.

How do I tie the selected input to a specific email address? Thanks to all takers.

The website is: www.flbbq.org - have a look!Hmm if I understand you correctly I don't believe this is going to be possible with strictly HTML. You'll likely need to create a script (e.g. PHP / Perl) that enables this to happen. Using a script you could setup a few if statements that will send to the appropriate person assuming the box is selected. If you were to provide me with additional information and assuming your server supports scripting I may be able to write you up a basic example of a script.Thanks, but I figured it out. I just didn't understand the entire use of the INPUT statement. Have a look at the live page: http://www.flbbq.org/contest_signup.htm

This FORUM appears to be a great resource and I've added it to my Bookmarks. I'm CERTAINLY not at the expert level, but I've had 29 years programming BASIC and have built several websites that I still maintain.

http://www.fawnridge.com/ricky - my website
http://www.flbbq.org - the Florida Bar-B-Cue Association website

Hope that I can return the favor some day.Good to hear you've got it working and thanks for the update. Just a FYI, you may want to be cautious doing it this way since an e-mail harvesting bot can easily view your HTML code for e-mail addresses and grab each of those hidden e-mail addresses.

Yeah, we know about the email harvesting. Most of the addresses are throwaways, used for the contest and then discarded. New ones are implemented each year.

953.

Solve : HTML Noparse Tags ???

Answer» GOT it.
954.

Solve : Brosers not displaying correct characters?

Answer»

All of a sudden my webpage has started to show the small black diamond with question mark inside (,in place of fractions) I have changed nothing, I have done a lot of research today, and it seems like it stems from the charset, the browser is set to unicde (UTF-8) when I change it to western (windows-1252) it CORRECTS the problem but on reload converts back to UTF-8 and ISSUE remains, my website was written many years AGO (not by me), so any help or advise would be fantasticOthers have had this kind of problem.
Is would appear that after you visit the page it REVERTS to a former STATE,
http://stackoverflow.com/questions/2014069/windows-1252-to-utf-8-encoding
The answer is rather hard to follow. The post seems to say "... make sure all pages in the  set use the same encoding..." or  something like that.

955.

Solve : Possible Security Issue??

Answer»

I've wrote a SMALL JS script(Netscape's JS) that displays the contents of a txt file onto a CELL on my Home page that acts as a monthly news column. And I'm wondering if it could be a security issue as far as the script.

The script is a seperate file and is called upon in index.html(the home page).

Here's the script:
CODE: [Select]var page="mlmnews.txt";

         FUNCTION ajax(url,target)
          {
            if (window.XMLHttpRequest)
            {
                req = new XMLHttpRequest();
                req.onreadystatechange = function() {ajaxDone(target);};
                req.open("GET", url, true);
                req.send(null);
           
            }
            else if (window.ActiveXObject)
            {
                req = new ActiveXObject("Microsoft.XMLHTTP");
                  if (req) {
                    req.onreadystatechange = function() {ajaxDone(target);};
                    req.open("GET", url, true);
                    req.send();
                }
            }
            setTimeout("ajax('"+url+"','"+target+"')", 10000);
           
         }
         function ajaxDone(target) {
            if (req.readyState == 4) {
                document.getElementById('B2').innerHTML = req.responseText;     
            }
         }         
                   
    ajax('mlmnews.txt','ajaxlist');
                     

And here's the calling code in index.html:
Code: [Select]<script language="JavaScript" src="update_news.js"></script>
Anything?I don't see how there could be a security RISK. The main way people exploit security is if there is a text field, or textarea etc on the page.Thanks Kpac for taking a look at it. 

Just wanted to be sure. idea is good!
Im just wondering about the search engine.
Im just hoping that it will not consider it as spam, coz as your script says it will create like a new items on you page.

just my thought. Quote from: kenjiemichael on April 03, 2009, 07:48:16 AM

Im just hoping that it will not consider it as spam, coz as your script says it will create like a new items on you page.

It won't. Quote from: macdad- on March 23, 2009, 04:58:51 PM
...that displays the contents of a txt file onto a Cell on my Home page that acts as a monthly news column...
956.

Solve : Phpmyadmin and PHPmySQL connection?

Answer»

Hi!

I am trying to link my PHP file(that is saved locally on my PC) with xampp(phpmyadmin db). The username and password are correct, but I am confused about the server name. I tried both localhost and 127.0.0.1(the server's IP address on top of phpmyadmin), but it doesn't seem to connect. PLEASE help ! THANKS

[attachment deleted by admin to CONSERVE space]

957.

Solve : Background HTML help?

Answer»

I am putting this CODE on my web page
[BODY BAGROUND="background.JPG" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF"]

But when I go to vue how the page will look the whole background is White.

Is this not the code to put an image as the background???are you sure you have put the code in the right spot?

where have you been putting it?HTML? That's not HTML, is it?background is spelled wrong and you need to use angle brackets, not square brackets.thats CORRECT also I think that text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" is messing it up since that part of the font QUOTE from: squall_01 on February 17, 2009, 11:14:21 AM

thats correct also I think that text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" is messing it up since that part of the font

This doesn't make a difference.

What you need to use is CSS.Thats part of the font code not sure if its like excuting this after his backgrounds declared or not. Quote from: squall_01 on February 18, 2009, 10:05:47 AM
Thats part of the font code not sure if its like excuting this after his backgrounds declared or not.

HTML isn't "Executed".


#FFFFFF is white. the background isn't showing up and thus the background is also white. and so the entire page is white.
Chances are the file doesn't exist, and was copied directly from somewhere else- with no context sensitive changes made.oh just THOUGHT of something are all the files in the same folder?  If there not its not going to see it.  All they need do to sort it is: <body style="background-image: url('myimage.jpg');">. No less, no more.
958.

Solve : How do I stop my html site from being ran by java??

Answer»

I have an HTML coded website that is using jAVA to run it and I was told that this was quite INTERESTINGLY dumb and unnecessary by someone on IRC so I'm wondering how to MAKE my website stop doing this links removed by allan

Ignore what other PEOPLE say.

Java is one of many TOOLS developers use for a lot of things.
 • Some are for it.
 • Some are not for it.
 • Others do not care.

If you are happy, you do not need to please anybody.
- Unless they want to PAY you lots of money to do it their way! 
Your site doesn't use Java.

959.

Solve : PHP Mail() function won't send message but without errors?

Answer»

Code: [Select]<?php
$Name = "HerbertsWorld"; //senders name
$email = "[email protected]"; //senders e-mail adress
$recipient = "[email protected]"; //recipient
$mail_body = "You have a new visitor!"; //mail body
$subject = "New Visitor :: 458"; //subject
ini_set('sendmail_from', '[email protected]'); //Suggested by www.phpbugs.com
mail($recipient, $subject, $mail_body, $header); //mail COMMAND :)

?>
It does not send a message to [email protected]


Can someone help?So you have a web site and you are using PHP and you can not send:
Some amil?
Any mail?
Just his address?

Do you have a conrol panel for this web site? Can you create your own email boxs and forwardwers?
Did you already create an email ACCOUNT for USE with yur blog or BBS?
Like [email protected]
Try SENDING to the address you have on made on the site. Chekc it in the wevmail. Make a forwarder to send it to hobnail.

Hotmail may reject email that are created by a PROGRAM. So use your own webmail account for visitor information.

All I am trying to do is make something that emails
[email protected] then

the web is herbertsworld.com, but herbertsworld.net is the only one that makes the email.

How would I make it email me on load? Quote

<?php
$name = "HerbertsWorld"; //senders name
$from = "[email protected]"; //senders e-mail adress
$to = "[email protected]"; //recipient
$body = "You have a new visitor!"; //mail body
$subject = "New Visitor :: 458"; //subject
mail($to, $subject, $body); //mail command
?>

You don't need:

Quote from: Bannana97 on April 04, 2009, 11:55:56 AM
ini_set('sendmail_from', '[email protected]'); //Suggested by www.phpbugs.com

This is a different part of PHP, called sendmail.
960.

Solve : Best screen resolution cross browser compatibility?

Answer»

Hi . My WIFE is creating a website and she finds that her webpage looks very different on different monitors and perhaps the same on some other browsers. The screen resolution she is using at present is 900 x 1000, this was set by a virtual site designer. What would anyone suggest for a cross browser best viewing.

Best Regards
chris900*1000 is not a standard video resolution on any Video display that I know of.Ok, do you have any SUGGESTIONS, i think we can change the res. Thanks for your early replyHow did the resolution get changed? The "Virtual Site Designer" Program?

Regardless:

For XP:

Right Click Desktop, select Properties.

Choose "SETTINGS" Tab. Change the screen resolution on the left to your desired value. Press OK.

For Vista:

Right Click desktop, Select "Personalize" and then "display settings"

adjust Resolution slider on the left.


let me know if this works or not.Yeah got that , its the actual website resolution size we set it to 900x1000 in  Coffeecup Visual Site designer and it looked awful on another pc.  The pc we were viewing from was set in 1024 x 768. I am sure that should view good across all platforms am i correct/hmm, then you'll need to change the options in the Visual Site designer to use a more appropriate resolution. a good COMMON denominator is 800x600.Hi again. Ok thanks for that information. I will get her to change the size of the webage to 800 x 600. I have just realised I didn't explain myself too well. It wasn't the screen res we set , it was the webpage size but now I can see you got that sussed. Thanks again.

Regards
ChrisNo, I think the problem is that you're using absolute positioning of the HTML elements. It looks fine or your browser and screen, but looks completely different on other browsers and screens - with elements out of place etc.

Is this the CASE?Sorry I am not sure about elements. If I had them will the page position itself correctly throughout. If that is the case are they hard to insert into the html document and where would i find these.No, a HTML element is the same as any HTML tag. The "reply" button of this page has two elements, , which defines the actual image, and which defines the link itself.ok i got that. The visual designer we are using now seems hooked on keeping our webpage size to 740x600. We are going to view it on several pc's and hope it works cross platformIf the site is online now, have a look at Browser Shots. It will show you a screenshot of what your site looks like in different browsers. Even if your site isn't online now, you should bookmark it for later. Absolutely brilliant, that is going to help us so much. Thank you. I'll say no more.

961.

Solve : HTML image positioning issue - centering with flexboxes?

Answer»

In HTML, I'm having kind of a simple problem with imagery. I need to know how to get an image to align to the center. I've been told to look up and try examples of flexboxes, but I have and have been unsuccessful in doing so. As you can tell the picture is far to the left and  I want it in the center. I'm having the toughest time getting this DONE and would really appreciate some help.

Here is my current code to try and get the picture to justify

for the main site div part ( near the end I added the unnecessary div tag but yeah it's not centering it on the web page at all and I don't understand why not. Do I have to specific a larger box in CSS and SOMEHOW get the box to go all the way across to the right, then center it inside the whole horizontal box?

Code: [Select]<div class="displayed">
    <IMG class="displayed" src="images/image4.jpg" alt="Grandpa" align"center">
</div>



for the css part

.displayed
{
    justify-content: space-around;
   
}I've removed the link to your site from this thread too. No advertising permitted.It wasn't advertising it was the link to my website so PEOPLE can see what's wrong with the *censored* thing you ignorant fool. I don't give a *censored* if you are a mod. You just go on ahead and tell me who to complain to. Give me the instructions top to bottom buddy.A link isn't needed in this case as your description should be sufficient. Something like:
Code: [Select].displayed
{
    display: BLOCK;
    margin-left:auto;
    margin-right:auto;
}

Should work, I've just done a quick test and it centers an image within it's container. It shouldn't be necessary to have the same class on both the container and the image.
I've got it fixed, no thanks to that moron Allan who can't read. Now he's giving me a warning and also apologized at the same time. But he's not APOLOGIZING for the warning? *censored*? This guy is a straight up idiot. He doesn't need to be a moderator or whatever he is.In your defense if you were advertising you are doing a poor job of representing your people skills.The moron has banned you. Thanks for stopping by.

962.

Solve : Black out webpage with an alert, then take it to normal??

Answer» I SEE websites that have a code where you can click a LINK, and the screen turns black with like a transparency of 0.5, then shows an alert. ....... How would I do this? Code: [SELECT]<a href="#" onclick="document.style.backgroundOpacity='0.5'; alert('This is an alert!');"&GT;Click</a>
Does that work?OOPS.

I FORGOT to add: How would I make it clear the screen once the alert is removed?
963.

Solve : Wordpress installation problem?

Answer»

Hi everyone, I uploaded wordpress to my host server and when I try and log in to admin panel I GET this:  Warning: require_once(/home/a2570573/public_html/wp-load.php) [function.require-once]: failed to open STREAM: No such file or directory in /home/a2570573/public_html/wp-admin/install.php on line 36

Can anyone help me?  THanks.
Probably you are having problem to establish the database connection, so GO and check the wp-configuration file if it is configured properly like database name, username, password etc.
If this is not your issue it might be that during file transfer with your ftp software you lost the connection to the server and some of the files where not uploaded.
Cheers.Wordpress won't load if you haven't establihed an ACTIVE domain name with it.  In other words if you just tried to create a wordpress site without having registered the domain name you would have to change the database files to the IP address instead of the unregistered domain name.Some detail is needed. You have web site? And  the server company does not provide the tools needed WordPress?
I have used WordPress for years and anytime I have to change to another provider, I make sure they already have all the stuff I need to run WordPress. They should say so in the advertising.
And yes. you must have a domain.

Hi,
The easiest thing you can do is to contact your web hosting provider and tell them the problem you are experiencing and they will help you fix it.
Hope that helps. Quote from: sunnyy on December 07, 2016, 01:29:51 AM

how to install wordpress in win.7.
As far as I know - and, I'm quite sure about this-, you don't install WordPress on your computer, you go to wordpress.com or a web hosting service that supports WordPress and DEVELOP your pages there. Sunnyy,
If you wan to use WordPress on your PC you need to understand that WordPress is normally installed on a Web Site, which would be running Linux or almost anything other than Windows 7.

Some, like myself, install a private copy of WordPress on a a PC with an emulator  to test out some things before uploading to the web  site.

maybe a dumb question but.. is the wp-load.php file actually present in the directory?
964.

Solve : Javascript 2!?

Answer»

In browers why is it necessary to allow or enable JavaScript?WELL i think you need java enabled so that you can PLAY most of the GAMES in the internet because most of the games in the internet need java and it is use to SEE most of the images in the internet. Correct me if i'm WRONG. Quote from: KingPincer on April 05, 2009, 04:45:20 AM

Well i think you need java enabled so that you can play most of the games in the internet because most of the games in the internet need java and it is use to see most of the images in the internet. Correct me if i'm wrong.

Yes, you are right, but Java is not JavaScript.

If you don't have JavaScript enabled in your browser, then you can't reply back to me.
965.

Solve : Html sreen resolution?

Answer»

Hey GUYS,
Can SOMEONE tell me is it possible to make my website same in screen different resolution USING only html?You can't.
You NEED at least CSS using reponsive website tecniques.

966.

Solve : Javascript!?

Answer»

What is the fundamental relevance of JavaScript?What is the fundamental relevance of google search?

-&GT;See this<-So is this more homework?
Relevance of JavaScript

It is not to be confused with JAVA.
It can do many of the SEAMS THIGHS done with JAVA.
It is widely used to provide SPECIAL features to HTML pages.
A common task is to provide a "rollover" effect, when the mouse is over an image, the image with change or "rollover" to invite the user to click on the image.
It is independent of the Operating system and the type of CPU.

You could just Google JavaScript purpose and find much more.
Oh sorry, you must not know how to do it.

Let me Google that for you.

http://lmgtfy.com/?q=JavaScript+purpose

Quote from: Geek-9pm on April 05, 2009, 12:00:49 AM

It is independent of the Operating system and the type of CPU.

 


Nearly all websites on the net now use some bit of JavaScript. Without it, websites can look very drab and dreary unless they are very professionally designed using CSS.
967.

Solve : Menu's?

Answer»

useing dreamweaver.  Why it can look real good but can cause confusion and such if they dont spend time to do it.dreamweaver is barely a step above frontpage IMO.

Both create a lot of unnecessary CRUFT in the HTML page, all of which needs to be DOWNLOADED. EITHER way, IIRC dreamweaver USES CSS for most of the navigational MENU placement- not frames.alot of people dont use that.  True but if you understand the code you can edit it.   I'm not adviseing it for the begginers or anything.

968.

Solve : What are some CSS commands I need to know?

Answer»

Hi im learning xhtml and css at the moment. what are some css commands I should remember for styling my web PAGES. thankyouHi Divs,
I recomend using w3school
and here some properties to memorize:

1. border-radius
2. box-shadow
3. text-shadow
4. Text-Stroke
5. Multiple Backgrounds
6. background-size
7. text-overflow
8. Flexible Box Model
9. Resize
10. Transition

If can look into these ones it would help you a lot.
hope you find this helpful.if you're going to develop a full website, you're probably going to use every single PROPERTY described on the already-cited w3schools.
The good thing though, is that you don't really NEED to memorize the syntax for each property, but just remember that you can achieve a PARTICULAR result with a CSS property... so that you can look up the reference on w3schools anytime you need to use something you haven't memorized yet.
After doing this job for some time, you'll AUTOMATICALLY memorize the properties you use the most.

969.

Solve : PHP _GET function won't work on "if" statements?

Answer»

if ($link = _GET['none']) { alert('None is in your WINDOWS location!') }You're GETTING mixed up with JavaScript and PHP. PHP cannot display alerts, it can only echo the JS code to display it.

Quote from: Bannana97 on April 04, 2009, 06:23:58 PM

if ($link = _GET['none']) { alert('None is in your windows location!') }

Try:

Code: [Select]if ($link = $_GET['none'])
{
  echo "<script type='text/javascript'>alert('None is in your windows location!') </script>";
}
Nope. Heres the entire code:




function doAction() {
var searchFOR = document.getElementById('inta')

if (searchFOR.value == 'HerbertsWorld') {
window.location = "http://www.herbertsworld.com/members.php?membersID=all&category=rate&input=found&search=" + searchFOR.value
document.getElementById('NotFound').style.display = 'none';
 }
else if (searchFOR.value == 'herbertsworld') { 
window.location = "http://www.herbertsworld.com/members.php?membersID=all&category=rate&input=found&search=" + searchFOR.value
document.getElementById('NotFound').style.display = 'none';
 }
else {
document.getElementById('NotFound').style.display = 'block';

window.location = "http://www.herbertsworld.com/members.php?membersID=all&category=rate&input=none&search=" + searchFOR.value
 }

}

function hideResult() {
if ($link = $_GET['none']) {
document.getElementById('NotFound').style.display = 'block'; }
else {
document.getElementById('NotFound').style.display = 'none' }
}
that's the opposite- your trying to put PHP code in a javascript FILE.How would I do it though?Wait its not a js file. Its a .php file.The only php code is the get.

yes but I named the file members.php

It worked before. Then it broke. Quote from: Bannana97 on April 05, 2009, 12:37:07 PM
yes but I named the file members.php

That won't do anything.

970.

Solve : local PHP?

Answer» WOULD like to develop my PHP locally.  Of COURSE, the PAGES don't render until I upload them onto a server
probably RUNNING Apache.  can I install the PHP environment at home, and develop PHP locally?Download and install XAMPP.
971.

Solve : Looking for advice on creation of video (porn) website?

Answer»

So I've got a relatively straightforward, simple business model that I think could compete with pornhub (no joke). I have a good idea of my approach, how to break into the market, etc etc. I have some background in IT (albeit on a broad level) but I'm trying to figure out exactly how I should be starting a video sharing website.

The general consensus appears to be to HOST with wordpress, potentially using an amazon instance. Where I'm at a bit of an impasse is on what approach I should take to host video content. Most people seem to agree that hosting your own content isn't smart (although couldn't a scalable amazon instance solve this problem?). So what's the alternative? This is porn, so I can't have material being pulled down, and it needs to be seamlessly integrated for the user to upload.

Any advice is much appreciated!

-p.s., if you're in the Richmond or DC area, I am looking for a CTO type partner for this venture. Let me know if interested.
Some additional INFO:

I do not have a large budget at this POINT. But I am planning to host original (not pirated/copyrighted) content.

Monetization will come through ads. So is there a scalable (Opex) way to host my own VIDEOS that doesn't require much upfront capital, but rather an OPERATIONAL "pay as you go" model? I know amazon and pretty much all cloud service providers offer this, but I'm unsure of the specifics when it comes to video hosting (and again, I keep seeing people say NOT to host your own content).

Alternatively, if I did go down the embed route, is there a way to A. avoid "unsavory" material being deleted / keep all videos private from whoever the host is and readily available in my own site? and B. integrate the video upload process so that the user doesn't need to go to a third party site to upload their videos?

Thanks for the help!I deleted your duplicate thread.Thanks. Wasn't sure which category was most appropriate.

972.

Solve : I want to create a Live Sports Score on my website?

Answer»

I like to create a Live Sports SCORE on my website. When a Team I like plays an opponent. Detroit Red Wings are my Favorite NHL Team, so I want to create a Live Sports Score when the Red Wings PLAY against any opponent.
An example will be like the following: Home Game
St. Louis   2
Detroit      4   2nd Period
another example: Away Game
Detroit      2
Nashville   3   3rd Period
Is there a way I can create a easy code or something to put on my website and it AUTOMATICALLY updates the score EVERY 40 seconds or so. And also for every game Detroit Plays during the regular season and Playoffs, and Home and Away Games also.

  I bet you have seen this on other websites, so now you would like to create your own?

Well, the fact is that somebody has to update to scores somewhere along the line.

You could use an API, though.What exactly is API and how can I create that to go into my website for Sport Scores. I want it to as simple as I can get it. How do I go about doing it?

973.

Solve : HTML multiple drop down menus on one page?

Answer»

I have several DROP down menus for selecting t-shirts by size on one page.  The first drop down menu works great, but the subsequent drop down menus RETURN a blank INSTEAD of passing through the option values.  I have read other posts that suggest to give each drop down menu a different form name, but the subsequent drop down menus still don't WORK.  Here is my code for the first one that works and the second which doesn't.  Help would be greatly appreciated.

HEAD SECTION:
function movevalue()
{
  s=document.getElementById("select_size");
      document.getElementById("itemname").value=s.options[s.options.selectedIndex].value;
      }

function movevalue2()
{
  s=document.getElementById("select_size2");
      document.getElementById("itemname").value=s.options[s.options.selectedIndex].value;
      }
---------------------------------------------------------------------------------------------
BODY SECTION:
1st drop down menu – works fine.





https://secure4.mysecureorder.net/xyz/cgi-bin/eshop.cgi?command=buy1">
Qty.

 
       Select Size
       Small
       MEDIUM
       Large
       XL
  {This line works and option values pass through correctly}


2nd drop down menu with different form name doesn’t work – returns a blank in the “itemname” field.





https://secure4.mysecureorder.net/xyz/cgi-bin/eshop.cgi?command=buy1">
Qty.

       
       Select Size
       Medium
       Large
       XL
  { this line returns a blank instead of info.}


974.

Solve : How do I find my host??

Answer»

First, I don't know how to find my host. (www.herbertsworld.com is my website)

Then, I do not understand what this php item means:

$host = 'localhost';
$USER = 'root';
$pass = '';
$DB = 'yourdb';

Please help me!  If the site is on a shared server, which is more than likely the CASE, then the host is "localhost".

Quote from: Bannana97 on April 02, 2009, 05:56:34 PM

Then, I do not understand what this php item means:

$host = 'localhost';
$user = 'root';
$pass = '';
$db = 'yourdb';

This is usually used for connecting to a database. If you do not use a database, then you do not need that code. those are the PARAMETERS to your online DB.
common use of db are:
forum
blog
shopping
any thing that needs data storage, that is DB.

kenjiemichael: Please remove the links in your signature. They are allowed only for long-standing members.As stated above, you only need those if connecting to a database.  You web host is whoever is hosting your website such as godaddy.  If you are hosting it on your own COMPUTER, your computer is the host.
975.

Solve : How can I remove the iframe background in IE??

Answer»

Hi,
Here I am with yet an other question, even though ,not all the rest is fixed.
My nephew asked me if I could put in some up2date news, after some searching I found a site who displayed news on a page so you can put it into your site.
So I did put it in like this
Code: [Select]&LT;iframe  scrolling="no" frameborder="0" height = "210px" width = "164px"
style="position:relative; top: -203px; left: -173px; background: #580202"
src="http://www.wielernieuws.be/extra/scroller/wielernieuws.htm" name="nieuws">
</iframe>
Now, it's displaying pretty nice in Firefox and Google Chrome but in IE it adds a white background.
Is there any way I can remove the background in IE?
The background: #580202 doesn't SEEM to work :s

Anyone who knows how to fix this?

Thanks in advance

JONAS
Ah, I found your problem straight away - IE.
That's another flaw with IE, it doesn't like iframes.... So there's no way to solve it?
I'm starting to hate IE it ALWAYS stops my beautyfull desings

Jonas I saw a script that send users to different pages depending on which web BROWSER they use, you could design a site purely for IE, and send the users there...I found it on google, try finding it there.

976.

Solve : Email pop-up link?

Answer»

I am working on an HTML email template for a client to SEND out in MailChimp and she wants an email box to pop open when someone clicks on "contact". I have only worked with html a little bit and am copying from a template CREATED previously by someone else.

When I click on the link from my gmail account, the email form opens and looks perfect but when I click on the link when I am in my Yahoo account, there is a "+" symbol between every WORD. Please see attached images.

Can someone tell me why this is and can it be fixed?

Thank you!

[attachment deleted by admin to conserve space]

977.

Solve : php + addrss?

Answer»

is there some code that shows a textbox on the page so when you type an internet address it goes to that site (basicly the address bar on a normal browser)


i need this because ive got a page with frames so one SIDE will have the php address bar but the other side will have my admin cp so i can look at peices of code and past them without having to have MULTIPLE tabs or browsers thanksJavaScript can do it.

Code: [Select]<html>
<HEAD>
<script type="text/javascript">
FUNCTION gotoURL()
{
var url = document.getElementById('url').value;
window.location = url;
}
</script>
</head>

<body>
  Go to: <input type="text" id="url" />
  <input type="submit" onclick="gotoURL()" />
</body>
</html>
The only drawback with that method is that you'll have to enter "http://" before the site you want to go to.id PREFER not to use javascript

978.

Solve : HTML Images, audios and videos?

Answer»

Hi, Guys how are you doing?

   my name is Sara and i am trying to learn HTML and CSS. my question is my browsers can not display images, audio and videos. by the way, my OS is windows 10 pro, i am using notepad++, browsers Firefox, chrome and IE. None of my browsers are working. here are the following HTML codes:
 
 1.
 2.
 

3.
             
     

    i have tried three of my browsers and none of them are working. for more information i am attaching the three browsers how they look like after they display the image
 
    please guys i need your help.
      Thank you,
      Sara




       

[attachment deleted by admin to conserve space]Your code looks correct, the only thing I can think of is an issue with the source FILES. Are they definitely where they're supposed to be?     HI, Jenno

    you mean the directory of my files?  the images, audio and videos and the index,html are in the same folder ( Documents)


    
   Hi guys

    i think the problem is with windows 10 because my images, audio and videos are working with windows 7. i have tried with my friends windows 7 OS. now, my question is how can i downgrade to windows 7?


   Thank you,
    saraYou are including files in a path relative to your HTML file.  THEREFORE if your HTML file is in D:/Notepad++/ then your BROWSER is looking for the images in D:/Notepad++/Documents/Super_yoga.mp4.  If this is not correct then you will either need to move the files into the same directory or use a full path to ACCESS you images (e.g. C:/Users/username/Documents/Super_yoga.mp4).

This issue is in no way RELATED to Windows 10 so downgrading your entire OS to try to solve the issue would be silly.

979.

Solve : HTML file upload, size limit?

Answer»

Hey,
is there a method for the HTML file upload tool, that doesn't upload the file if its over a certain SIZE? or is it only in JS? HTML file upload tool?

HTML can't actually do the UPLOADING bit, only display the form.
 
The below is from here: http://www.w3schools.com/php/php_file_upload.asp
Fairly easy to understand and customise.

Code: [Select]<?php

if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000))
  {
  if ($_FILES["file"]["error"] > 0)
    {
    echo "Error: " . $_FILES["file"]["error"] . "<br />";
    }
  else
    {
    echo "Upload: " . $_FILES["file"]["name"] . "<br />";
    echo "Type: " . $_FILES["file"]["type"] . "<br />";
    echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
    echo "Stored in: " . $_FILES["file"]["tmp_name"];
    }
  }
else
  {
  echo "Invalid file";
  }

?>
thanks Kpac, and all this PHP code goes in the html file or a seperate php? Quote from: macdad- on February 08, 2009, 03:51:49 PM

thanks Kpac, and all this PHP code goes in the html file or a seperate php?

No it doesn't, it all goes in one single PHP or PHTML file... Quote from: macdad- on February 08, 2009, 03:51:49 PM
thanks Kpac, and all this PHP code goes in the html file or a seperate php?

Well, you could use your normal HTML page to display the form, and put an action ATTRIBUTE in the form tag:
<form action="upload.php">...</form>so then i would put the could in a seperate php file with "action='upload.php'"?
Actually, the above example with only temporarily store the images, unless the tell it to store them.

This is the HTML file with the form to upload the file:

Code: [Select]<html>
<body>

<form action="upload.php" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file" />
<br />
<input type="submit" name="submit" value="Submit" />
</form>

</body>
</html>

And this is the PHP file, called upload.php, that actually uploads the file and stores in a folder.

Code: [Select]<?php
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000))
  {
  if ($_FILES["file"]["error"] > 0)
    {
    echo "RETURN Code: " . $_FILES["file"]["error"] . "<br />";
    }
  else
    {
    echo "Upload: " . $_FILES["file"]["name"] . "<br />";
    echo "Type: " . $_FILES["file"]["type"] . "<br />";
    echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
    echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />";

    if (file_exists("upload/" . $_FILES["file"]["name"]))
      {
      echo $_FILES["file"]["name"] . " already exists. ";
      }
    else
      {
      move_uploaded_file($_FILES["file"]["tmp_name"],
      "upload/" . $_FILES["file"]["name"]);
      echo "Stored in: " . "upload/" . $_FILES["file"]["name"];
      }
    }
  }
else
  {
  echo "Invalid file";
  }
?>

Does that explain it well enough? yup, Thanks Kpac  No problem.
980.

Solve : HTML - Open link and display specific content in the next frame?

Answer»

Hello,

I have a small website where I am writing articles, i have the below code on page 1:

Article Number One[/url]
Article Number Two[/url]

I would like both links to open the specific article in the page entitled article which has the below code:



How can i get it so when i click on Article 2 on page 1 it loads up the Article page then opens the article in the frame?

Thanks,Did you write the php code or are you using php that is generated elsewhere?

Dynamic HTML is the direction I feel your
TRYING to go with this and running into your problems, so CURIOUS what your php code is doing if able to share the php here?
QUOTE

<a href="./articles.php">Article Number One[/url]
<a href="./articles.php">Article Number Two[/url]

articles.php is hyperlinked as the same php code for Article 1 and 2, so curious what your php code is to differentiate a user clicking on Article 1 vs 2. The way I see this you get the same RESULT from clicking either link, so knowing what your php code is doing is needed for us to help further.

Quote
<iframe src="./articles/article_viewer" frameborder="0" width="75%" height="100%" name="articles_viewert"></iframe>

Knowing what your php is doing we can better assist with this. There is a lot of dynamic HTML that is going on with your php or should be going on in your php to display what you want.
Hi thanks for the reply

Ignore the fact that they're PHP pages, they're currently empty and could be HTML pages, i'm not too concerned about that.

Just to clarify, what i'm AIMING to do is this:

1. I have a page called Home which contains links to my articles, lets say:
       Article 1
       Article 2

2. When I click on one of the articles (lets say Article 2) it directs me to a new page called "Articles" and opens up the code in a on that page called article_content.html.

Thanks,You would need to have some sort of URL parameter so the link to article one would be along the lines of "articles.php?article=article-one" then have something in article.php that reads this parameter and loads the correct article into the iFrame.

It would be helpful if you explained what the actual project is in more detail and why an iFrame is required.  Using iFrames in this way is seen as very outdated and is generally classed as bad practice.  Iframes should only be used when there is a good reason to (e.g. including a piece of content from another website such as when embedding a video), they shouldn't be used as general page layout elements or anything like that.

981.

Solve : Solved Making a Promt Email Me!Solved?

Answer»

I have my promt in a button, using an onclick event.

How would I make it email me what the user types in?Are you using JavaScript? JS can't email.

Have a look here.
PHP is a fun, safe reliable tool for this job.  Most commercial servers run it these days. 
this form uses the POST method (a special HTTP REQUEST which hides the users input)


code for page with form to take user input
**********************************


      
   Your Name:


      
   Your Email:  
 

         
   
                              
   
                              
   

   



---- end page




code for page which recieves user input
(the code in the first page NEEDS to know this pages name. In page 1 it assumes this page is called mailSender.php)
******************************************************************************************************************


        // POST GETS data from referencing page
   $body_of_email=$_POST['msg'];
   $ad= $_POST['addy'];

    $len = strlen($ad);
    $pos = strpos($ad, '');       

                //check for common typos
      if($ad==null || $pos ==false || $len<6)
      {
         echo "You forgot, or entered the wrong email address  PLEASE click back and enter address.";
         
      }

       else{
      
         if (mail( '[email protected]', 'An email from some WEBSITE', $body_of_email, $ad))
         {
            echo "";
            echo("
 
 
  Message successfully sent!");
            echo "
 
 
  Continue ";
          }
         else
         {
            echo(" Message delivery failed...");
          }
      }

      
?>

----end page---------you could try HTML "mailto:" hyperlink.Yes this would work:


mailto:[email protected]

BUT I want the forms to be on my website.Additionally, Mailto: is a spam magnet.A completely shameless link to my own site. Quote from: BC_Programmer on February 12, 2009, 07:42:29 AM

Additionally, Mailto: is a spam magnet.

good point, Quote from: macdad- on February 12, 2009, 12:10:16 PM
Quote from: BC_Programmer on February 12, 2009, 07:42:29 AM
Additionally, Mailto: is a spam magnet.

good point,

yeah, learned about that the hard way myself.

Try over 8000 e-mails under my old E-mail account.
982.

Solve : Avoid domain forwareding for hosting.?

Answer»

You can ignore this post if you NEVER do this. 

Recently I wanted to get a new domain and put it on a web host I already have. That host offers a thing called "add-on domain" by using a sub-domain of the host.

Now I am sorry. Later I went and got another service that lets me have real hosting for each domain I own. No more masking a LINK to a sub domain.

What went wrong? Well, as you might guess, the DNS things is rather slow and you have to wait hours, even days to see it a new host SITE is up and running. So if something does not work right, you think "Oh, it just takes time to settle the DNS thing." Well, if your stuff makes references to a sub-domain and not the actual domain, things can go real bad.

This is one of those things that most of the time it will work, but sometimes it does not and it is near impossible find an error log to  tells you what went wrong. I found out by typing in a full URL  I knew was right. But the name server was trying to send it to a sub-domain no longer was on the Internet.
Confused? OK, here is an example.

You have two domain, giantbox.co and plaindbox.net and you think you should change giantbox to a US TLD instead of the CO TLD.
Makes sense. But  plaindbox.net   is the actual name of your web space.
Now the hosting service  has given you a sub-domain the is like this:
wvw.giahnbox.co redirects to wvw.giantbox.plainbox.net and in the browser it looks like the real thing. So far so good.
Next you move both domains to another provider that lets you have separate space for each domain, No sharing directories.
After you make the move, yu discover you need to copy some FILES off of the original giantbox.co site. No problem, it is still there,, so just go there and get the data.
Wrong! yuo moved the plainbox.net site to another server.
So the url  wvw.giantbox.plainbox.net will not be found!

The solution is to reset the nameservers for plainbox.net to what they were before.
As far as cost, there is almost no practical REASONS to use domain  redirects unless you really have to do it.
Moral: If you own a number of domains, avoid the temptation to use re direction thinking it somehow makes your work easy. 


{None of the sample URLs are real. }
With godaddy where my domain was through years ago I  had forwarding to my Apache server. Back then I had a server that ran 24/7 in which I hosted Ventrillo ( Voice Communications for friends to use to chat for free ) and my Websites and so it made sense to host my own vs pay monthly fees. The Celeron 500Mhz computer didnt use much electricity and was plenty powerful to host both services. Plus having the full hard drive space in which i had 13GB free of the 20GB hard drive in it, I wasnt squeezed for space, I could host any content I wanted and as much as I wanted without having to buy into more expensive web hosting.

One thing I liked about hosting my own was the control I had in which all my data was right there. Updates to websites were very fast. I didnt have much traffic to my websites. One of them was www.AcesandEights.net for our guild here: http://us.battle.net/wow/en/guild/steamwheedle-cartel/Aces_and_Eights/roster  * But I havent played in almost 2 years. Lots of people quit playing and when less people to play then people jumped ship and went to other guilds. The 3 remaining characters there are all my characters on 2 different accounts. Hosting my own ventrillo allowed connection of 5 people in voice chat which was perfect for most of the stuff we had going on. Had even a voice chat ability to chat password protected with officers to keep some people out of the chat. When troublemakers left guild but wanted to go onto ventrillo and be a pest, I could quickly change the password on my server and let the guild know what the new password was so they could communicate and the idiots get locked out of being able to be pests because they dont have password to connect.

If I bought into Ventrillo hosting through a Ventrillo provider it would be more involved with changing passwords. I did have a paid for Ventrillo account once for up to 25 people to chat through strontium.typefrag, but I did away with that when we only really needed 5 people to be able to voice such as tanks and healers and the dps's could just follow text chat vs voice since that was going on as well.

Godaddy worked out perfect with my Forwarding. Setting it up was very easy.

I guess what should be said is... before you make any changes to switching web hosts or forwarding be sure to have a complete copy of your website locally.You want to move wordpress blog www.blog.net to www.blog.com

1. Buy the www.blog.com domain. Don't buy any hosting. You don't need any hosting.
2. Point new Domain at your web host IP.
3. adjust wordpress configuration and change domain base URL setting. from the original domain to refer to the new domain.
4. Let old Domain registration expire.

Thjere is no purchasing of additional webhosting, there is no messing around with subdomains, and you don't need to "copy files"- since there is only one webhost.

Users will still be able to access the same site with the original Domain URLs until it expires. It will automatically change to the new url, and they can access it with the new URL.

BC_Programmer,
I agree. I should have done it that way.At one-time did that. Should have done it again.  (BTW, is there a HTML method to check and see what URL the user has in his address line?)

Some web web hosts to get you to pay more for having multiple domains .But there are now many, many hosts that will give you what  you want.

I now have a host that lets me add any reasonable number of domains. There is no published limit on disk space and bandwidth. Bit they will let me know if I start using a lot of the server resources.

983.

Solve : How to get text of tag which has "for" attribute?

Answer»

Hi All,

I need to get the text of tag which has "for" ATTRIBUTE but doesn't have id. There are many other SIMILAR NODES, with only the "for" attribute differing.
I have 2 radio buttons, when i click on the radio button, i am fetching the id of the radio button selected. The id of the radio button is same as that of the "for" attribute of tag. So, i want to use the id of radio button and compare it with the label tag and fetch the text.
 
Here is the example node that contains the label w/ text I'm trying to select.


&LT;label for="ASMTQUESTION:3d6686fe4fd9f200beb2e3518110c74b-0" title=" " data-original-title=" ">Text</label>

Expected Results

Result 02


 
Any help will be highly appreciated!!!
Thanks in ADVANCE!!
984.

Solve : the web page link didn't open?

Answer»

I tried to PUT a link before a flash OBJECT, but it couldn't work. When I clicked to the flash object, the web page link didn't open.
i need urgent help please,


ThanksTry this:


FLASH CODE HERE[/url]Thank you Bannana97,
I
ALREADY did it before i ask, but it didn't work.
i need another help, if ANYBODY know this send me answers.


Thanks.
Tamnethmmm... Well:


<img SRC="Image Position" onclick="window.location('LINK HERE') />And if it doesnt work, change window.location('') to window.location="Link Here"Ta da!

985.

Solve : Tips for integrating bash based application to a website?

Answer»

Hi,

I have an application that was fully built on bash. The core frameworks are all in C. There are some perl scripts in there as well. But the use would be through bash scripts that i have written. I need to tightly integrate this to a website. Meaning, the inputs i give to the terminal, the outputs i receive, all have to redirected from/to a web browser. Any tips. Direction, Do's and Dont's or any info from core web developers would be helpful.

So far i have tried ajax using jquery. I was able to send and receive data from the app dynamically. That was good. But I still feel it needs a much more tighter integration. Like for example changing the shell scripts to php. Am i on the right track?It really comes down to how much you want to rebuild.  At the very least you're going to need some sort of backend on the webserver (PHP, Python.etc) that takes inputs from the frontend (either from standard HTML forms or through AJAX) and then call out to your existing scripts and then returns the outputs of the SCRIPT back to your browser.  It would help if you explained what the shell scripts did as it would be much preferable to have all of the logic handled directly by the backend application wherever possible rather than calling out to external bash scripts.  You also have to be EXTREMELY careful when passing user input from a web application into a bash script, if you fail to sanitize user input correctly you run the very real RISK of allowing people on the web page to access arbitrary shell commands.Thank you very much for your reply.

Ajax yes. I need ajax because i need it to feel like an application.

I am thinking of calling php scripts through ajax. The php scripts are supposed to call the bash scripts. Now i am thinking if i should try to write some of these bash scripts using php. Would that make anything better?... Does it make any difference.?

I am not sure if i can fully describe what these scripts do. But let me get to another level of abstraction here. They are supposed to receive audio from the browser that will be recorded and sent to the server using a recording script called recorder.js and ajax respectively. You might have come across that. Scripts are supposed to process that and output text and also processed audio back to the browser. Where audio will be played back and text displayed.

I am currently doing this with ajax and some weird polling MECHANISM. I do not like it actually, but it 'just works'. The method would not survive the beating of a regular user. Works under ideal conditions on the local host. I need to know how the a true web dev would approach this situation.  If you're streaming audio.etc I'd definitely be looking into using WebSockets rather than AJAX polling.  I'd try and move as much of the bash code into your application as possible to try to avoid having to talk to the shell.  This application feels like it's going to be a bit beyond the level of "bunch of PHP scripts sitting on an Apache (or similar) webserver". You're probably going to want to look more into developing a standalone application that will run as a service on the server and listen for incoming socket connections from the frontend.Yes i sort of realized that. I think i have to go a bit DEEPER. I am playing around with very minimal stuff. But i think i will need to do some ground work now.
Thanks a lot for Web Sockets. That is some good direction. I will look into it. Since i'm not a regular web dev i am lacking ideas. This is a good one. I will follow this trail and get back to you.

Should i look into any particular frameworks?

986.

Solve : Need Ajax Help?

Answer»

I Have some code here that displays a .php file on my html page.
                         

&LT;script type="text/javascript">
         var page = "ajaxpanel.php";
         function ajax(url,target)
          {
             // native XMLHttpRequest object
            if (window.XMLHttpRequest) {
                req = new XMLHttpRequest();
                req.onreadystatechange = function() {ajaxDone(target);};
                req.open("GET", url, true);
                req.send(null);
            // IE/Windows ActiveX version
            } else if (window.ActiveXObject) {
                req = new ActiveXObject("Microsoft.XMLHTTP");
                  if (req) {
                    req.onreadystatechange = function() {ajaxDone(target);};
                    req.open("GET", url, true);
                    req.send();
                }
            }
            SETTIMEOUT("ajax('"+url+"','"+target+"')", 10000);
            //setTimeout("ajax('ajaxpanel.php','ajaxlist')", 10000);
         }
         function ajaxDone(target) {
            if (req.readyState == 4) {
                    document.getElementById(target).INNERHTML = req.responseText;
            }
         }         
         ajax('ajaxpanel.php','ajaxlist');
                                        </script>
The Code will now show the php file where am I going wrong?dont you NEED to put the tagat the end so your peice of code looks like this
Code: [Select]<?php
<script type="text/javascript">
         var page = "ajaxpanel.php";
         function ajax(url,target)
          {
             // native XMLHttpRequest object
            if (window.XMLHttpRequest) {
                req = new XMLHttpRequest();
                req.onreadystatechange = function() {ajaxDone(target);};
                req.open("GET", url, true);
                req.send(null);
            // IE/Windows ActiveX version
            } else if (window.ActiveXObject) {
                req = new ActiveXObject("Microsoft.XMLHTTP");
                  if (req) {
                    req.onreadystatechange = function() {ajaxDone(target);};
                    req.open("GET", url, true);
                    req.send();
                }
            }
            setTimeout("ajax('"+url+"','"+target+"')", 10000);
            //setTimeout("ajax('ajaxpanel.php','ajaxlist')", 10000);
         }
         function ajaxDone(target) {
            if (req.readyState == 4) {
                    document.getElementById(target).innerHTML = req.responseText;
            }
         }         
         ajax('ajaxpanel.php','ajaxlist');
                                        </script>
?>It Is HTML not PHP.Can I ask... Why use AJAX?

Why not use a funtion to CALL the info from the file?

987.

Solve : Posting a Web Page?

Answer»

I have a web site I'm MAKING for a small business. I've never posted a web page before but I'd like to. From what I saw at school when we posted our work we just typed in some kind of FTP address into the address bar and posted it on out COLLEGES web site by dragging it into a folder so our teacher could check it. My question is their a site I can check out to do that for free and is it that simple. like can I just upload my design to a folder put all my documents in it and it will work.  I dont know how it works can anyone give me a good site and some idea what I'm doing.Some free hosting options are available for personal websites but they generally are not appropriate for business websites.  A business should be paying for specialized web hosting SERVICE.  One I've used is http://www.totalchoicehosting.com/.  Their Starter plan, which is adequate for many small business websites, is only $4/mo.

If you WANT to use a free service for testing purposes, you could use Yahoo's GeoCities. I believe Google has a similar free service. If you use Yahoo's GeoCities, the URL would look like this: http://www.geocities.com/mysite/; likewise, Google's service would have google in the URL.

To get a truly unique URL, such as www.mysite.com, you need to register a domain name and use a specialized web hosting service.  For domain name registration, I suggest godaddy.com. Quote from: soybean on April 10, 2009, 10:56:24 AM

Some free hosting options are available for personal websites but they generally are not appropriate for business websites.  A business should be paying for specialized web hosting service.  One I've used is http://www.totalchoicehosting.com/.  Their Starter plan, which is adequate for many small business websites, is only $4/mo.

If you want to use a free service for testing purposes, you could use Yahoo's GeoCities. I believe Google has a similar free service. If you use Yahoo's GeoCities, the URL would look like this: http://www.geocities.com/mysite/; likewise, Google's service would have google in the URL.

To get a truly unique URL, such as www.mysite.com, you need to register a domain name and use a specialized web hosting service.  For domain name registration, I suggest godaddy.com.

Google Sites (the new one) isn't very good. I find it un-user-friendly. The previous version Google Pages (closed beta) is much nicer. Quote
I believe Google has a similar free service.
As implied, I haven't used Google's service. I have used Yahoo's GeoCities, and I think it works fine. Uploading files is very easy. No FTP required. Quote from: soybean on April 10, 2009, 11:14:34 AM
As implied, I haven't used Google's service. I have used Yahoo's GeoCities, and I think it works fine. Uploading files is very easy. No FTP required.

Google doesn't have FTP but it has a nice site builder and you can upload files as well.
988.

Solve : Looking for some custom photoshop work?

Answer»

Hello,

I was looking to have some photoshop work done for a website I am in the process of designing. I pretty much need a custom banner for the main page and possibly some matching buttons. I have the design in mine I was looking to go with and could free hand sketch it out if need be.

Thanks

ChrisJust sharing that.... its against the rules here somewhere to headhunt to hire people to work on stuff here. A long time AGO I was going to assist with someones needs and was told its not allowed. NEVER looked for the rule but it sounds reasonable that everything ALWAYS remain free here, free help etc. I doubt anyone would do this sort of work for free unless someone needs something like this for a college project for a work study to show a college that hey look at this, I made this for this company etc. 

If you did all the work yourself though and shared a screenshot of it and was looking for suggestions though, we can assist with that. I havent used Photoshop in years though.. Thinking it was version 6.5 EONS ago.Why not do it yourself?
Lots of gree images available. Look at THS:

free buttons and banners and logos]


Or maybe a uoungster in the local high school would liketo take it on as a project.

989.

Solve : loggin function with html code?

Answer»

you can add like a javascript CODE to make it differnt COLORS such as when you click it its green when its not its black or something.

if you want it to have a link above it

Link[/url]


were the "" is the
FILE NAME of the files.was that what you really wanted?

990.

Solve : Basic PHP error ; please help!?

Answer»


$user=$_POST['log'];
if (&user=='ha') ECHO 'window.location="page.php"';
else echo 'window.location="http://www.herbertsworld.com/"';
?>





It does nothing.Like before, you're GETTING mixed up with JAVASCRIPT and PHP.

Code: [Select]window.location="http://www.herbertsworld.com/";
....is JavaScript.

The PHP method of this is:
Code: [Select]header("Location: http://www.herbertsworld.com/");
The full PHP code for what you have above, is this:

Code: [Select]<html>
<HEAD></head>
<BODY>
<?php
$user = $_POST['log'];
if ($user=='ha') 
{ header("Location: /page.php"); }
else
{ header("Location: http://www.herbertsworld.com/"); }
?>
</body>
</html>
Quote from: Bannana97 on April 10, 2009, 11:44:52 AM
<html>
<head />
<body>
<?php
$user=$_POST['log'];
if (&user=='ha') echo 'window.location="page.php"';
else echo 'window.location="http://www.herbertsworld.com/"';
?>
</body>
</html>
It does nothing.

Code: [Select]if (&user=='ha')
ifs $user. Quote from: gh0std0g74 on April 10, 2009, 09:21:31 PM
Code: [Select]if (&user=='ha')
ifs $user.

What? Quote from: kpac on April 11, 2009, 03:27:31 AM
What?
&user should be $userAha, sorry about that......
991.

Solve : Login System for a website?

Answer»

Hello I was wondering if anyone could point me in the direction of implementing a login system for my eCommerce website? I have never done this sort of thing before, I assume it would be php?I'd use an already existing eCommerce provider or buy a 3rd party software to achieve this as for you have never done this before and someone who has a background in internet security and point of sale systems as well as compliance should really handle this one. If it were a school project etc to make a simulated eCommerce website thats one thing but the minute you make your eCommerce business live online your going to get hit pretty fast by hackers if you dont know how to protect yourself. As a business owner your liable for making sure that no ones CREDIT card and personal information gets stolen when making purchases through your business and you can be sued for not using a commercially recognized eCommerce point of sale system.

https://en.wikipedia.org/wiki/Payment_Card_Industry_Data_Security_Standard

I highly advise using a well known eCommerce provider or commercially recognized software to handle eCommerce. Hosting your own through your own servers will be extremely expensive and paying for an eCommerce service will be way cheaper.

Adding a logon system that is poorly coded could make for a backdoor entry for a hacker to do all sorts of bad stuff including planting data stealing scripts etc. Quote from: DaveLembke on June 24, 2017, 07:18:13 AM

I'd use an already existing eCommerce provider or buy a 3rd party software to achieve this as for you have never done this before and someone who has a background in internet security and point of sale systems as well as compliance should really handle this one. If it were a school project etc to make a simulated eCommerce website thats one thing but the minute you make your eCommerce business live online your going to get hit pretty fast by hackers if you dont know how to protect yourself. As a business owner your liable for making sure that no ones credit card and personal information gets stolen when making purchases through your business and you can be sued for not using a commercially recognized eCommerce point of sale system.

https://en.wikipedia.org/wiki/Payment_Card_Industry_Data_Security_Standard

I highly advise using a well known eCommerce provider or commercially recognized software to handle eCommerce. Hosting your own through your own servers will be extremely expensive and paying for an eCommerce service will be way cheaper.

Adding a logon system that is poorly coded could make for a backdoor entry for a hacker to do all sorts of bad stuff including planting data stealing scripts etc.

Thank you for this information! Do you have any recommendations for 3rd party companies to handle this? I assume you would be referring to Magento or Shopify?A10 Tactical, for help with  login security and payment you can:
Ask your bank.
Ask American Express.
Ask PayPal.
https://www.paypal.com/us/webapps/mpp/accept-payments-online


I dont have any recommendations because I havent messed with eCommerce in 8 years and its one of those subjects that you need to be up to the times with.

Back in 2009 before leaving the Point of Sale security scene, the Food Stores that I as Systems Admin for for 6 years were having to go through PCI Compliance and we had some issues such as one of the oddball Point of Sale systems in the gas Station that the business owned was storing credit card numbers and so that had to go away, hard drive destroyed to protect customer data," and get replaced with a better system that doesnt store credit card numbers. We also had to isolate the POS network from the USER network where as both were on the same LAN. When i got there in 2003 it was a big big mess of stuff on the same LAN but different IP and Subnets, and I worked to get the POS system isolated because we had some users that were back door accessing the company network from home etc and fortunately we never got hit by a hacker but it was not up to compliance until i left in 2009 when they were looking to PUSH people out the door or fire them who are paid too much they claimed after the economy tanked in 2008 with housing bubble bursting and stocks plunging, and hire newer people for lesser. This was a big disaster for them and cost lots of money and upset lots of customers when stuff broke an no one there able to get it back up and running fast because of new untrained help. They had to hire 3rd party company to back door into the company to fix issues remotely and pay lots of money for emergency calls etc. It would have been way cheaper to keep me and my boss than to fire him when pressure tactics of trying to get employees to quit didnt work, but I saw what they did to him and same game they were playing with me and decided to just give my notice vs ever get fired without reason which the state of New Hampshire Labor Laws allow for. 

Geeks info with paypal etc I would probably check into... The biggest thing is that what percentage can your business afford to TAKE that cuts into your profit margin. Certain credit cards at the business I worked for cost a different percentage on the sale to process. Paypal might be the easiest to set up and as a customer using Paypal I have had good experience with them with getting a refund when a transaction went sour etc. But they might be great for customers and not so great for the merchant, the merchant side of the Paypal is the unknown to me. Additionally Paypal is trusted and well known so people buying something through your site seeing that will probably feel more comfortable than processing through an unknown credit or debt card processing means. I have backed out of transactions online in the past for example when I had a GUT feeling that I better not becasue the green security lock isnt shown in URL bar of browser etc. But with paypal i just verify that its actually Paypal and not a spoofed hacker site that i'm connected to in URL bar and if I am I buy the item and feel safe doing so.I have sold on eBay  using Paypal amd was happy with it. But lately I have run out of things to sell.
Quote
How much does paypal charge merchants?
Goods and services – Purchase payments: There's no fee to use PayPal to purchase goods or services. However, if you receive money for goods or services (such as from selling an item on eBay), the fee for each transaction is 2.9% plus $0.30 USD of the amount you receive
So, at about 3% Paypal is on the high side. But thaere are other factors. Some credit cards hve other changes that m,ight go abobve 3% on some trnasactions.
Here is the most recent thing for Paypal:
https://www.paypal.com/us/webapps/mpp/merchant-fees
 2.9% isn't that bad actually even with the 30 cent transaction fee. The store I worked for was having to pay 4.5% to 7.0% on credit card transactions with pin pad terminals and hughes net satellite as the main communication means with dial-up as a backup to this if weather would take out the satellite. Visa, Mastercard, and Discover were processed at different agreed upon contractual amounts. We could take american express but we didnt tell customers that because american express transactions were almost 10% somewhere in the 9% on the sale. So we would say that we only took the 3 major credit card types. EBT and Debt cards I dont recall what the fees were for those, but they accepted those too.

Some places put a minimum purchase amount to protect from say someone buying a candy bar for 99 cents and having 33 cents of that given to credit card processing if same amount as paypal at 2.9% etc. If selling higher ticket items you wouldnt have to worry about that much the 30 cents would be next to nothing on say a $30.00 purchase it becomes 30 cents which is 1% and then 87 cents at 2.9% so $1.17 in fees to do the transaction and that $30.00 sale then was $28.83.Not much experience in e-commerce but 2.9% does not seem like a bad rate at all!

If I remember correctly Stripe does a similar rate - why not check them out? https://stripe.com/
992.

Solve : CSS display error...?

Answer»
function run() {
var buttn = document.getElementById("shows")
var fac = document.getElementById("act")
var val = true
if(val=true) {
val = false
buttn.innerHTML = '[ Show ][/url]'
fac.style.display = "
NONE"
 }
else if(val=false) {
val = true
buttn.innerHTML = '[ Hide ][/url]'
fac.style.display = "block"
}

}




It hides the DIV, but then does not show it. Quote from: Bannana97 on April 10, 2009, 02:26:54
PM
<script type="text/javascript">
function run() {
var buttn = document.getElementById("shows")
var fac = document.getElementById("act")
var val = true
if(val=true) {
val = false
buttn.innerHTML = '<SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: "><SPAN style="COLOR: #000000"><SPAN style="FONT-FAMILY: ARIAL"><a href="#" onClick="run()">[ Show ][/url]</SPAN></SPAN></SPAN>'
fac.style.display = "none"
 }
else if(val=false) {
val = true
buttn.innerHTML = '<SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: "><SPAN style="COLOR: #000000"><SPAN style="FONT-FAMILY: Arial"><a href="#" onClick="run()">[ Hide ][/url]</SPAN></SPAN></SPAN>'
fac.style.display = "block"
}

}
</script>



It hides the DIV, but then does not show it.

Which DIV?

Could you provide a link to a working example so we can see for ourselves what is HAPPENING?
You have no semi-colons in that code.
993.

Solve : Complete list of learning objectives for Dynamic as well as static webiste?

Answer»

Hello
1. What software and programming languages I have to learn if I want to become master in (Static) website MAKING please GIVE me a sequence of learning too

2.  What software and programming languages I have to learn if I want to become master in (Dynamic) website making please give me a sequence of learning tooany one guide me?  You might help by telling all about what yu want to become.

What have you already done? How much time will you have?
What things do hyou do for fun? What things do your do to make money?

How to other people consider your?
Do you have specail specail talents?
Do you have any handicaps?

Why did you want to do Web design?
I want to make my subject PHYSICS website a grand website are there any software to make website you know drag and drop so that it can save my time??Start with WordPress.

It is used by a wide range of professionals and other people. It comes with a large set of free designs your can use. Most things are free. Paid l support is available.

You can get a free web site by goint to their site and asking for a fre limited space web site. It allows use of other langjuages also. It is free for anyne wanting to lern about WordPress. For comercial business users, there is a fee.

https://wordpress.com

That will save you a lot of time and let you get to your main objective.
Hello friends
I want to ASK that if I make a website in that I do not type mathematics but simply write them neatly in pages and upload them in the form of images then will it be a good way or not?? bec typing mathematics take too much time but I shall write all text in typing form??  Thanks
But will you recommend WORDPRESS or WIX ?? now tell which to use Answer:
Wix vs WordPress. Wix plans cover hosting, themes and free extensions. But the price can go up if you need to install a paid application from the Wix app market. WordPress is free, and the cost will depend on how many plugins you need, your hosting PROVIDER, whether you need a premium theme and more.May 25, 2017

Wix vs WordPress | Head-to-Head Comparison
Keep asking and you will find answers.
This one below  will ask for you e-mail and mail you a guide.
http://www.websitebuilderexpert.com/wix-vs-wordpress/
(Be carefull, they may put you on a mailing list and you will get more taht what  you want. Use an e0naul taht is not yur main e-mail.)
The gjuide has some extra information yhou might need.

994.

Solve : Scripting?

Answer»

I want to know what type of SCRIPTING is USED in photoshop.

ThanksMaybe this will help:
HTTP://blogs.adobe.com/jnack/2008/04/new_photoshop_s.html

They have TUTORIALS and perhaps that may answer your need.yes, that's what I was looking for, thankyou Geek-9pm!

995.

Solve : H1 halp css?

Answer»

I use  H1  in css for my headline  because they say it is the bigest.

But it is noit  that BIG  can I chang it or somethingYes, with CSS.

Code: [Select]h1 {
  font-size: 100px;
}
Thank you for the help.

I will be useing  Exturnal  css  so I have the fallowing code in my  Exturnal  .css FILE

body {background: #000000 url(wall.jpg) no-repeat fixed;}
a:link{color:#ffff00;}
a:visited{color:#ffff00;}
p{font-size:25px;color:#ffffff;font-family:times new roman,Arial;}
h1{font-size:100px;color:#ffffff;font-family:times new roman,Arial;}

now wen I make all my other pages I know to have them  link to this file  because this is were they will get the information about text size and so on.

So on all my other pages I can just use the

  tag  and then start typeing and it will know the font and size to use right???

And the only point to giveivg text  Classes  is if you have a lot of diferant lines of text that you want to have diferant fonts and sizes RIGHT?? Quote

So on all my other pages I can just use the <p>  tag  and then start typeing and it will know the font and size to use right?Huh?Huh???

And the only point to giveivg text  Classes  is if you have a lot of diferant lines of text that you want to have diferant fonts and sizes RIGHT??
Yes and yes.Thanks for the help but I wanted to ask one thing about  images.

I know I can use the  HTML code


to place an image on the page.

And I know  CSS has it's own  code for placing an image on the page.

Since I am USING  CSS coe  I am makeing an  Enturnal  CSS  web site.

Sould I just use  CSS code even wen I just need to place an image on one of my pages  or can I use the old  HTML 

I know they both work but if some of the page is  CSS and then I though an  HTML  code in  will this do something or am I useing  it wrongCSS can't "place" an image on your page. It can only specify a background image. There's a difference.so I would still use this html code for placing an imageYes.

996.

Solve : Need some help with html code and Dropbox menu?

Answer»

I read A lot of answers about this on the web. I can't FIGURE out why this DROPBOX menu dosnt WORK on my site. Most answers aren't written like mine is written so It hard to figure out what's going on. I'll post the code and see if any ONE can help me with this. I dosnt work on mobile or desktop.

Code ------


 
   
     
        Toggle navigation
       
       
       
     
      Self Energy GROUP[/url]
   
   
     


   
 


End code --------

Thanks and any help is appreciated.
997.

Solve : Wordwrap: endless horizontal scrolling?

Answer»

How do I prevent endless horizontal scrolling on my contact form: http://summitworkshop.org/contactform.php.

I've GOOGLED the problem, can't really find an answer.

Thanks!Did you fix it? Looks fine to me...I feel kinda dumb.  I hastily only used a REPEATING letter, which doesn't LEAVE a line break.

Thanks for your RESPONSE.  So it's FIXED? Just to be sure.... Yeah, it's fixed.  Thanks.

998.

Solve : SEO Help?

Answer»

I built a new website about 6 months ago but am struggling to get it anywhere on any search engines.  I have read countless articles on how to improve website ranking and Search Engine Optimisation and have made so many chnages to my website to improve its rankings but am still seeing no results.  Has anyone any ideas?

www.gainfreegifts.co.uk

Many thanks in advance for your helpsounds like a pyramid scheme to me.


in fact, by definition it is.Im asking about help for SEO, not about the content of the sitethat's nice. There's a reason your not showing up in the search engines.yeah there is a reason and thats what Im asking!! I dont think the subject of the site is anything to do with why it isn't ranking.  There are plenty of WEBSITES out there with same subject / content which rank much better than mine.  But if you know otherwise why not share your KNOWLEDGE?

Im on here for help with SEO not to discuss the subject of the site.  You obviously have a problem with this for some strange reason.  Im promoting free gifts referral marketing and providing details on how to get free gifts.  I have myself received free stuff along with many friends.  No one has lost out on any money or been ripped off in any way shape or form so why you have a problem with this, I don't know.Is this Google you're trying to get HIGH ranking in?

http://google.com/support/webmasters/bin/answer.py?answer=76465&topic=15260
http://google.com/support/webmasters/bin/answer.py?answer=40349&topic=15260
http://google.com/support/webmasters/bin/answer.py?answer=35769&topic=15260

Your site does not offer anything, to be honest. It is just a show-ground for another site with affiliate links to that site. Someone clicks on a link in your site, goes to the site with the products, buys SOMETHING, you get paid. And you wonder why Google isn't listing your site?

Besides, SEO is not an easy thing to master. Your MAIN keywords are "Free gift". There are 92,300,000 results for this in Google.com. You'll have to be good at SEO to get in the first 1000, let alone the top 10.thank you very much.  I have read the 2nd two articles previously but not the 1st.  This could possibly be the problem.  You know I did put the first link first for a reason. That is your biggest, if not your only problem.

999.

Solve : Blogger site being redirected to some other website sometimes?

Answer»

I'm using BLOGGER. My site sometimes redirects to another website. I'm using a blogger template. I dont think I had any issues EARLIER. But when I modify some codes in that template this problem started.

Not everytime but sometime my site redirects to another website. I searched for the codes with the name of the website in the edit html section but I didn't get it.

Is there a way to remove this redirecting??? Quote from: chaosloader on October 04, 2016, 12:14:06 PM

I'm using blogger. My site sometimes redirects to another website. I'm using a blogger template. I dont think I had any issues earlier. But when I modify some codes in that template this problem started.

Not everytime but sometime my site redirects to another website. I searched for the codes with the name of the website in the edit html section but I didn't get it.

Is there a way to remove this redirecting???

Are you using a premium template? If no then that's the main CAUSE of the sudden redirection and to get rid of this you really NEEDS to buy premium from the coder or do a thorough EDITING the “footer code” of that template. This is how it looks and you are done, it helped me alot
1000.

Solve : How to make "reply" in same page??

Answer»

I like to write about how concentrated solar thermal power (basically a bunch of mirrors) can save the world from PEAK oil, ect. I know basic html and can understand forms but don't know how to make it so that people can share their thoughts directly within the same page. I tried a forum but get too much SPAM (how's that happen too?). Do I need to learn SSI? or can I simply paste a script (and learn where to put it)?
ThanksWell, you said you tried a forum but got too much spam, but a forum really is the best thing for you.

Spammers (the people who spam) usually do so just to get people to visit their own sites, by posting links to it. A simple way to invite this is the just get a few people you trust and make them moderators on the forum. If you get a lot of spam, then you might want moderators from different parts of the world (timezones), so there is at least one moderator online most of the time.

For what you want though, like I said already, a forum is the way to go.  Quote from: kpac on April 13, 2009, 06:53:21 AM

Well, you said you tried a forum but got too much spam, but a forum really is the best thing for you.

Spammers (the people who spam) usually do so just to get people to visit their own sites, by posting links to it. A simple way to invite this is the just get a few people you trust and make them moderators on the forum. If you get a lot of spam, then you might want moderators from different parts of the world (timezones), so there is at least one moderator online most of the time.

For what you want though, like I said already, a forum is the way to go. 

Exactly...But how would someone be able to post a comment/"sign" a petition on the same page?Where there's a will, there's a way... actually, wouldn't a blog be better for this purpose, than a forum?I think a forum would be more flexible than a blog in this case, but yeah, a blog is also a good idea.Thanks for the responses!

It's just that I don't have the resources to continually update. I never knew that all forums has to deal with spammers on a up to the minute basis. I even tried "blocking user", but that did no good as many more would come in (and even that seemed to allow same user for a while).

I'm in the opinion to READDRESS the energy issue from massive concentrated solar thermal power as an almost perfect 24/7 base load power solution capable of powering the world to, get this, the Liquid Fluoride Thorium Reactor, as that concept seems to be a thousand times safer than conventional uranium "burning" fission (which I oppose). If everyone does not care to address the energy issue, we will suffer the effects of limitation formed by the "not so unlimited" renewables and their very high prices. Meanwhile Al Gore wants to put a carbon cap on fossils which at first seems to be a good way to fight global warming but would actually KILL developing nations and DESTROY any chance for America to get out of the depression!

Conservation is limitation, without energy, there is no freedom and don't kill a watt, MEGAWATT!