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.

1.

Solve : Can't get pop-up windows to work on my site?

Answer»

This could be a script error or it could be something else, but the pop-up windows that were working are not now. They are PRODUCT detail windows with an add to cart button. I have attached the script from the page if someone can look at it and see if there is an issue with the writing. I don't think I have ever changed anything on this page in order to not make it work, but I have been adding JAVA scripts to other pages on the site, if that makes a difference. Let me know if other page scripts are needed, or the website address. Thanks everyone! You all have been very helpful in the other forums!


      


          


          {title}


          




         [/url]
      

          


          
          
          {row.product_name}
          [/url]
          
          
          
          


          


          
          Item: {row.product_no}

          [/url]
          


          


          &LT;font face="verdana" style="font-size: 9pt">Price: </font>

           
          $ {row.price}


          


          
          
          
          
          
          
        
        
        
        
        


        
            
       
      
       {row.td2}


      
      
      
      

              <font face="verdana" color="#000000" style="font-size: 7pt">
                 &nbsp;Displaying {first_product} to {last_product} of {total_products} &nbsp;
             </font>

                  
              

              <font face="verdana" color="#000000" style="font-size: 7pt">
                  Page
                  <!-- BEGIN page_row -->
                <a class="link4" href="{page_row.link}">{page_row.name}[/url] &nbsp;
               <!-- END page_row -->
               
               <!-- BEGIN link_prev -->
                    <a  class="link4" href="{link_prev.link}">&lt;&lt;[/url]
                    &nbsp;
              <!-- END link_prev -->
                    
              <!-- BEGIN link_next -->
                    <a  class="link4" href="{link_next.link}">&gt;&gt;[/url]
                    &nbsp;
              <!-- END link_next -->
                    of {total_pages}&nbsp;
              </font>
     
                

    

    What's all the stuff in CURLY brackets (braces: { }) about?  Are you using a templating system?  DTML?

This is not a complete page you have posted here.  Perhaps you could provide a link to the page - that would be easier.
2.

Solve : Dial-Up wont dial.?

Answer»

Specs:
AMD 3500+ Clawhammer
A8N Asus SLI Deluxe Mobo (It has integrated Ethernet. If thats related at all)  
Windows XP SP:None?  The ORIGINAL one.

I installed the Modem as per instructions.  Installed drivers as well and then restarted computer.

When I was installing my ISP software, (I use Earthlink dial up) it requires me to register an account.  I already had one so I put "I have existing account" and I put in corresponding information that it requires.

In the end, it requires that my computer makes a call to the registering computer to verify info.  It picks up, gets a dial tone, but doesnt dial!  It either TIMES out (the woman comes on "the time alloted for you to dial has been blah blah blah") or i click "disconnect". Either way, my computer restarts, i log back in and i get a popup "System has just recovered from a serious error" and I'm back to square one.

I tried doing the modem test suggested in the HELP books of the installation cd.  I managed to figure out that my computer is communicating with my modem.  I DO get a dial tone, however, in the end, it doesnt actually dial anything, and it always ends up restarting my computer.

BTW, (i dont want to create another thread for this) how would i go about getting an RMA for my motherboard and CPU?  (Just in case we figure out that those components are the problem)  What things should I lie about or not tell them (that would void my warranty)?   Quote

Specs:
AMD 3500+ Clawhammer
A8N Asus SLI Deluxe Mobo (It has integrated Ethernet. If thats related at all)  
Windows XP SP:None?  The original one.


What if you put SP2 on there and try again?


Quote
 What things should I lie about or not tell them (that would void my warranty)?  


You call them and ask for an RMA if you determine those are the problems. I would never lie about anything, but did you do something to these components? Where did you get them?
Did you put the dialup phone number in?
Give the Internet Connection Wizard a try.Will try SP2..

I bought both retail from www.newegg.com  

I haven't done anything to the Mobo, but i put an aftermarket HSF on.  I read on the warranty that it would void it... >.<  

There was no dial up number to put in, it was automatic.  "we will now make a tollfree call." with the buttons 'continue' and 'cancel'.  I'm sure all this isp helpful software is designed to make people dependent on them.
At the end of the day all you need to do is dialup and put in your username & password.

Try windows Internet Connection Wizard, ask your isp for the email settings, pop3 & smtp.No the problem is that my modem/computer/whatever wont even DIAL the number.

I even used some program called "hyper connect" or something like that.  I then found instructions on how to figure out if my comp was connecting to the modem (it was)  and then i tried to make it dial a phone number (i got it from my isp) and it wont.  It picks up the line (i can hear dial tone) and nothing happens.  The drivers show that the modem is indeed connected, but it fails to dial.  No beeps, just dial tone.  Then the woman comes on "the time allotted for you to dial.." and my computer crashes.Going back to the beginning here. Is this a new modem? What type? Has it been tried in another machine with success so that we know it is not just modem trouble?
3.

Solve : Can't type within websites?

Answer»

I'm on the VERGE of calling the guys at GeekSquad.  So I'd be grateful if someone can help me.  

I can't type in fields within websites.  I can't click into the field with my mouse, nor can I tab into the field from the keyboard.  

For example, on the Google homepage, you're SUPPOSED to type what you're searching for in the BOX in the middle of the page.  I can't get to the box.  I can click on, and tab among, all of the underlined phrases.  But I can't get to the box.  This happens on all websites I try.  

Any ideas?  

RebeccaWhich operating SYSTEM are you using? Browser? Have you scanned for viruses and Spyware?

[glb]FLAME[/glb]i think it is spyware, or your browser doesn't suport flash or something

4.

Solve : Yabb, forum!?

Answer»

How do I make my own forum?? I looked on yabb's site, but I can find anything that says: Sign up??? What do I do?? I want to make a forum for my friends and me!!

[edit]"Get your own website at www.mbhosting.com for FREE! Comes with forum"
^^^^^^^^
Another comment from zylstra's site!
?? Still need a response pls!
[/edit]Hi,

Please also invite me in your forum, when you create it.

As I am also one of your best friend.

Quote

Hi,

Please also invite me in your forum, when you create it.

As I am also one of your best friend.


Probably his only friend at that.

 

Why does EVERYONE need a forum?  :-? Are you plotting something? If it involves a coup d'etat count me in!I'll be inviting everyone once i've got it up and running!!Ah, what kind of polls can we expect to see?None actually!LOL MAYBE a fooPutting the cart before the horse a bit...do you have a webpage built yet ? ?
Have you decided on a theme for the Forum ? ?
I understand enthusiasm but start with a plan first and improve on thatYes to all of that man, just havn't uploaded it all! Busy on all that jazz right now!! MIGHT be ready by tommorrow!Is the ACCOUNT better now that I restored all those folders you accidentally REMOVED? It should be by now.

Flame Quote
How do I make my own forum?? I looked on yabb's site, but I can find anything that says: Sign up??? What do I do?? I want to make a forum for my friends and me!!

Maybe should ask your question to someone who apparently uses mbhosting and has a forum.  See http://mbhosting.com/forum/index.php?s=1dfb1a955ab2afe1ffdbb9f56bf4d3f9&showtopic=324
Such as the manager. (Hi lol)  

FlameAs you might lmow, I'm already done!

http://www.anythingeverything.mbhosting.com/yabb
5.

Solve : Editing template pictures?

Answer»

I have been building web pages for a short time using Dreamweaver. I found several templates that I would like to use but they all come with .jpg and gif files that seem to be from either Painshop or Photoshop. Each picture has "Mydomain.com" or some text in the picture that requires change. If the background is a solid color then I can cut and fill to same MATCHED background and put in my own text. HOWEVER a good many that need change have a complex background like a scene or person which I am unable to change. I have Paintshop and not Photoshop which may be needed. It would seem that maybe these pictures may be done in layers and save as such and require different SOFTWARE to be able to work on separated layers.
Is there something that I'm not seeing or doing that I could get some guidance on?
Bruce
Can you upload a SAMPLE so we can try?  If the picture is copyright protected, you can't (shouldn't) change it without the author's SAY so - they're watermarked with the domain.com logo so you'll go to them and ask (pay) for a picture without the watermark.  If it's not a copyright issue, let us try to help

6.

Solve : Random Links?

Answer»

right, i have a site in DEVELOPMENT and i want to know:

is there a way that when you click a submit button, it will go to random page coz ive got 9 pages that can be used from 1 link

its a GTA page for an online text based game, i have 9 cars you can STEAL, how do you do it so that it has 50% CHANCE of going to any of those 9 cars but also 50% chance of GETTING busted?

7.

Solve : Backup IPod?

Answer»

IPod therefore I am.  

I'm trying to backup my Ipod to a PC. Does ANYONE know of a PROGRAM that would do that SUCCESSFULLY? Tried CopyPod and the other 5 programs that claim to do the JOB. All of them declare that "some files could not be BACKED up" and pretty much quit before even starting. Got to love Apple

Thanks!
Whats this got to do with webdesign?!


Chris>Google backup ipod< Quote

Whats this got to do with webdesign?!


Chris
:-?
8.

Solve : Edit text file trough PHP?

Answer»

Hellow,

Does anybody knows how to edit a text file trought php. It should be something like this: a text box where you can see the things that are written in the text file (*.txt) and you can edit it. A bit like the moderators of this forum can do. Edit a written text in a text box. There shouldn't be special things like Bold etc... just a box where you can edit a textfilfe and ofcourse a save button


can anybody helps me


P.S. I'm running php 4

thanks


julleHave a browse through the >File System< section of the PHP manual.  Pay particular ATTENTION to file_get_contents.

If you still can't work it out, come back again.something along these lines should do the trick:

if($_REQUEST['submit'])

{

        $post_data = $_SERVER["DOCUMENT_ROOT"]."root to text file here";

          $data = fopen($post_data, "w");

          $post = stripslashes($_REQUEST['post']);

          fwrite($data, "$post");

        fclose($data);

        print "File edited successfully[/url]";

}



          $post_data = $_SERVER["DOCUMENT_ROOT"]."root to text file here";

          $data = fopen($post_data, "r");

              $read = fread($data, filesize($post_data) );

          fclose($data);

print <<


Edit 'File-name':-


{$read}







EOF;



A very old script i used a while ago. Theres simplier ways of doing it, but this one's pretty secure.

Then, to have the .txt file show up on your website, simply use

HOPE this helpsSorry to be PICKY, but that script INVOLVES some practices that are best avoided, I think:

Quote

if($_REQUEST['submit'])
I've only recently discovered how that doesn't work.  The handling of "submit" buttons varies between browsers and is not guaranteed.  If the submit button is the default action on the form, and rather than press the button, the end user hits "enter", the form is submitted without the button being clicked.  Many browsers will ONLY send the submit/value pair, if the button has been clicked.  Therefore, to test whether a form has been submitted, it is much better to include a hidden form element that contains a name/value pair that you check for.  The hidden element will always be sent with the GET/POST variables.

Quote
$post_data = $_SERVER["DOCUMENT_ROOT"]."root to text file here";
DOCUMENT_ROOT is not very portable, since its handling seems to varying according to the O/S PHP is installed on.

Quote
         $data = fopen($post_data, "r");

              $read = fread($data, filesize($post_data) );

          fclose($data);

print <<<EOF

Very bad indeed - no checking for special characters, no parsing of HTML, etc.  Could end up with a very screwed up edit page.

Quote
<textarea name="post" cols="35" rows="15">{$read}</textarea>

The "{}" syntax can be specific to a templating system.  "" is recommended.

Quote
Then, to have the .txt file show up on your website, simply use <? include("filename.txt") ?>
The "" short form is not guaranteed, and depends on php.ini SETTINGS.  For maximum portability, you should always use "".

9.

Solve : Problems opening multiple Web pages?

Answer»

hi all,

Can someone help me in sorting out the a problem i am facing with my computer. When i try an open a WEBSITE it opens. But when i want to open another ONE, it gets replaced on the same page which is open. So i CANT open more than one web page. Its really difficult ot work like this.

Please help.
Cheers,Is there a chance that you could download and install Firefox?  You'll find its tabbed BROWSING capabilities perfect for your needs, and it's a lot more secure than Internet Explorer.thanks for your help. I will download that.
But if were to still USE explorer could the problem be solved. I think its becasue of some keyboard shorcut keys i pressed.

Cheers
Bhumihttp://windowsxp.mvps.org/IEFAQ.htm

10.

Solve : IE shows properly, FF doesn't?

Answer»

Hi

On my site that i'm developping I have a script that shows an loading picture intill the site is fully loaded


However it shows properly in internet explorer, FIREFOX doesn't. The image isn't properly between the BORDERS of my div (see picture)

Does anyone know how to solve this?Uploaded script in a text file. The forum didn't allow me to use javascript in my postWhere on your site is the loading graphic? I can't find it.On my site, which isn't online (yet). I run out from LOCALHOST but that has the same effect as a accessable webserver. I just think the PROBLEM is in the script, the image doesn't matter.The problem is in the interpretation of CSS.  Instead of

Code: [Select]document.write('<div id="loading" width="32" height="32" style="border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"><IMG border="0" src="images/laden.gif" width="32" height="32"></div>');try

Code: [Select]document.write('<img border="0" id="loading" src="images/laden.gif" style="border: 1px solid; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; width: 32px; height: 32px;" />');You can change the image with document.getElementById('loading').src =...OK, that worked. Thanks for the help, Rob!  No problem bud.

11.

Solve : DEAR FRIENDS CAN YOU TEL ME?

Answer»

DEAR FRIENDS.
I HAVE MADE MY SITE IN FRONT PAGE XP. AND WANT TO ADD FROM IN MY SITE USER FORM TO ASKY SOME QUASTION. SO HOW CAN ADD AND HOW THIS WELL WORK ON. THANKS
JAMEEL AHMED SIDDIQUIForms usually have to be processed by a server-side language such as Perl, PHP, Python or ASP.  You will need to learn such a language if you want to do this kind of sophisticated thing.  There are lots of tutorials out there, so try using Google.

12.

Solve : my first robots.txt?

Answer»

ok I'm starting to work on my first robots.txt  and all i want to do it block them from going to my other directories. the only one i want them to be able to access is my public_html directory..


here is what i have so far::



robots.txt


User-Agent: *

Disallow: /_private_directory/

User-Agent: *

Disallow: /forum_directory/

User-Agent: *

Disallow: /gallery_directory/

User-Agent: *

Disallow: /spenser_directory/If you don't want to permit access to those directories, consider removing any that don't need to be PART of your web tree.so just delete my forum and gallery folders? but wouldnt that mess up my forum and gallery pages??
Yes, it would, wouldn't it...
Your Robots.txt file looks fine. It seems that Google and other search engines will not index those directories.

You MAY want to allow CERTAIN directories to be indexed, and just block the SUBS inside them.

For example:
I have a forms directory. If I wanted to prevent the admin panel from being indexed only, it would be

Disallow user agent: *
disallow: /forms/use/CHSurveyResopnce/admin/ (not a valid directory)
instead of just blocking the ENTIRE /foms/ directory.

I think your file is fine, unless theres something else you would like to add, Rob. I think we both missunderstood your last post.

LOOK! 4 more posts till I'm at my first 1000!In a previous post, you said that you wanted your gallery indexed.
If you want it indexed, you need to allow it. Quote

so just delete my forum and gallery folders? but wouldnt that mess up my forum and gallery pages??
I said delete any that don't need to be part of your web tree.  Like _private_directory (which I assume is connected to your web editor in some way - looks like you're doing your coding on the live site, rather than offline, then uploading).
13.

Solve : mouse over and out problem?

Answer»

first off it should be very obviouse I am an amature html user. What I am TRYING to do is have a black and white thumb  (tn_resfloors_1_bw.jpg) be visible on my page....on mouseover have it turn to color (tn_resfloors_1).jpg
when I mouseout have it go back to black and white....then when click open the full size pic.... I keep getting a not a valid OBJECT error (or something like that) - thanks.


onMouseOver = "document.tn_resfloors_1.src='../residential/resfloors/tn_resfloors_1.jpg';return false;"
onMouseOut = "document.tn_resfloors_1_bw.src='../residential/resfloors/tn_resfloors_1_bw.jpg';return false;">
How about:

Code:
[Select]<a href='../residential/resfloors/resfloors_1.jpg' target='_blank'>
  <img src='../residential/resfloors/tn_resfloors_1_bw.jpg' id='theimage'
       onMouseOver='javascript: document.getElementById("theimage").src = "../residential/resfloors/tn_resfloors_1.jpg";'
       onMouseOut='javascript: document.getElementById("theimage").src = "../residential/resfloors/tn_resfloors_1_bw.jpg";'
       border='0'
  >
</a>that worked for the mouseover part...thanks so much
the image doesnt open now when clicked. Any ideas?Can you post a link to the page?  I'd like to SEE it in action and if necessary do some bug-busting.  its only on hard drive for now...and very early in stages. I will notify you when I get it loaded on some personal space and if availalble I would appreciate the help.Incidentally, the "target='_blank'" part in the tag should cause the image to POP up in a new window.  When you click on the link, is ANYTHING happening at all?  If not, are you using some kind of popup supression?  Because this kind of popup is perfectly legitimate.

14.

Solve : POP UP'S?

Answer»

I am getting pop up ads every 2 seconds for ad.yieldmanager.com and Z1.adserver.com.
My BROTHER suggested a new browser. Can someone offer a better solution. I like Explorer and do not want to change .Thanks.perry.....make sure you are using spyware scannners and if you are using a firewall configue it to block those sites.

dl65  Do you only see pop-ups when you open the browser? How do you connect to the Internet? Do you have Spyware protection?

[glb]Flame[/glb] Quote

I am getting pop up ads every 2 seconds for ad.yieldmanager.com and Z1.adserver.com.
My brother suggested a new browser. Can someone offer a better solution. I like Explorer and do not want to change .Thanks.
Download, Install, and run this: AdAware
If you have WINDOWS XP or 2000 you can have Microsoft AntiSpyware BETA, which blows AdAware right out of the water LOL

[glb]Flame[/glb]
15.

Solve : Random mapped image??

Answer»

Hi all,

I was wondering if it was possible to COMBINE a html script that shows a random image, with a mapped image, an image where hyperlinks only appear in the given coordinates. Seperately I get the scripts to work, but how do I get both? Since adding code here, doesn't seem to work for me I included a file with examples of the code I am using now. Can anyone help me out plz. Thx in advance!It's easy with PHP...  Do you know PHP?Just the basics. I only use PHP on the main page of my SITE for the layout. All the INCLUDES (content) are html pages. If it can't be done in html can you post the code in php plz. Or does anyone know an alternative to use it in html?To be honest, it's pretty simple.  Just use a switch...case statement after your random number is generated in PHP.  The pseudocode:

set $rand to random integer
switch $rand
  case 1
    echo all the necessary html for the first image and image map
    break
  case 2
    echo all the necessary html for the second image and image map
    break
  ...


This isn't real code, but you should get the idea.

16.

Solve : Loading/Progress bar.!?

Answer»

Will inserting a Loading/Progress bar into a Web-page make any difference to how long the page takes to load. ??Why would you want to do that?  Browsers already have their own progress bar.  yes.. true, but I read somewhere that if you insert one in your page, images ett load at the same time, whereas sometimes you have to wait for images to load one at a time seperately. I was just wondering if there was any truth in this...

                                Thanks anywayTake a look at this: A Simple Web Progress Bar... or Google for more hits using the search phrase progress bar in web page, or something similar.

By the way, is the REAL, underlying issue here that parts of your page SHIFT around before the images finish loading? Quote

Take a look at this: A Simple Web Progress Bar... or Google for more hits using the search phrase progress bar in web page, or something similar.

By the way, is the real, underlying issue here that parts of your page shift around before the images finish loading?

Well no, not my web,.. but yes, that is the issue. .. thanksmmm soybean, that link is very interesting, and I will have a more in depth read of it later,.. but I think I will take the advice of you and a lot of the experts on here.. KEEP IT SIMPLE

                                                          thanksThis would presumably run in javascript, which places a load on the browser and therefore would slow it down (the browser).thanks guys   Talisman, you acknowledged that underlying issue here that parts of your page shift around before the images finish loading?  In other words, if you have text on certain parts of the page and one or more images on other parts of the page, the text will appear first since it downloads faster than images and, depending how you created your HTML coding, the text gets pushed around when the images load into the page.  

If this is so, you can control this by using HEIGHT and width attributes in the appropriate HTML tags.  This way, the browser knows that the page layout includes images of certain dimensions and it will reserve SPACE for them even before the images are fully DOWNLOADED.  This prevents the shifting around mentioned above.Firstly,.. I do my Web-pages in FrontPage 2002, and not with Notepad HTML, .. I havn't noticed text paragraphs or such moving about,.. but some images load seperately, and Hover buttons seem to take the longest to load. I suppose waiting a few seconds is a small price to pay for a web.  :-/
17.

Solve : Large sortable table - how to break it up??

Answer»

Hello, I'm new here and hoping you could perhaps help me with this html problem.

I have to show a list of over 4000 booktitles, with additional info about them.
When this list was still small I used a table and found a simple javascript 'SORT' routine that works really fine. (You can see the small one here if you like.)
But since now 4000 titles is too long for one page I have to break this table up into different pages, but when I do this 'sort' function doesn't work any more, at least not for the other pages.

So, what I basically need is to either make it sort all pages (which would mean break up the table), or else to still use this one 4000 rows long table yet only show part of it (f.e. 50 at a time). But I wouldn't know how to do either.
This is my problem (and I hope I've made it CLEAR a little , English is not my native language).
How could it be solved in an easy way?

Thanks in anticipation for any suggestion.

This is a job for PHP and a database.  Do you have any knowledge of server-side programming?Sadly, no. I know HTML only and I'm able to implement some pre-cooked javascripts.
I'd prefer an easy html/javascript solution given the short amount of time I can give to it, but I'm always willing to learn.
I would suggest putting the data in a single CSV file, load it into an array, then sort that way.  You could limit which of the lines of data you write to the document.  But doing this ACROSS pages is somewhat laborious and processor-intensive at the client end.  I've never tried doing this kind of thing client-side, because PHP is much more efficient at this kind of task.

It MIGHT be a bit too much to learn a new programming language just for this task.  On the other hand, I guarantee that once you've learnt PHP and SEEN the performance benefits and the versatility of the language, you'll end up using javascript much less.

18.

Solve : Linux, Apache, Servlets?

Answer»

Hey, I'm a complete moron with Linux, and I need to get my APACHE web server to use Servlets. I have absolutely no idea where to even start, in all honesty. I've looked through tutorials but they really require more knowledge of linux than I have. I know this is a vague, INTRICATE question, but I'd love for someone to take a LITTLE time to GIVE me a hand.If you need to run your website on a server why dont you use WAMP server it is easy to install and support most script
google WAMPThere are already several sites hosted on this pc, don't feel like murdering their sites You want the >Jakarta project< - one of Apache's other projects.  No need to wipe out any of your web sites.

To Elixir: WAMP is Windows-specific.  How does that help with a Linux problem?

19.

Solve : php to html?

Answer»

Hy

Any one can help me with an IDEEA?
I want to insert a .php script/page in my .html index FILE, but i don't want to use iframe.

Thank'sYou just have to peaste the code between where ever you want it in, just make sure your HTML is php format
By using
html code in between those line
?&GT;      = have to be at the bottom

Well this was my FIRST reply in agesOk  Thank's

I thing the is most good and simple I disagree.  Browser support for IFRAME is mixed and variable.  The very nature of PHP lends itself to use within an ordinary HTML page, not within separate frames...

20.

Solve : put powerpoint on my website?

Answer»

is there a way i can put my powerpoints on my WEBSITE?? as either a show or downloadable (i know i can do this but HOW??)


TIA,

unlovedwarriorHi,

Your ques is not clear to me.

Do you want to upload a .ppt file to your site ? Or are you trying to show some powerpoint cliping through your site?


In any CASE, you can upload the ppt file to your server, and you can view the file DIRECTLY if you are using internet explorer browser.

In other browser (like opera) it will show as a downloadable (i.e as a .ppt file)

Go to your server's (i.e. site's) control panel and there would be an option to upload the file!

i want to be able to have them view it on my site and/or have the option to download itDownload is fine.  Viewing it online requires a browser plugin (AFAIK there isn't one for Firefox, Opera, etc).  Note the Powerpoint is not designed for the web; files produced by Powerpoint tend to be rather large and CONSEQUENTLY not suitable for web deployment.  If you want SOMETHING to do presentations/animation on the internet, Flash is your program.k thanks rob

21.

Solve : Image Is Shifted To The Middle?

Answer»

Hi

In the following webpage, I have an image(the product) in the left, and its description in the right.

View The Webpage



The problem is when i am viewing the webpage through Opera browser, the image is seen at the top, but when i see the webpage in internet explorer or firefox, the image is seen at the middle portion of the page, in the left side.

I want to see the image at the top portion of the page, in the left side for all browser. [highlight]How to achieve that??[/highlight]

You can see the source code of the page by right clicking.

Thanks  


A little EXCESSIVE, but in this case too much specification is better than too little.

Also, doesn't that block of "THIS IS THE DESCRIPTION" code hurt your eyes? :-/Sorry Dilbert - I don't think that's what he was looking for.  The issue VAS vertical alignment.

I've tidied up the code and corrected some syntactical errors.  Here you go:

Code: [Select]<table WIDTH=100% cellSpacing=8 cellPadding=0 border=0>
  <tr>
    <td valign='top'>
      <img src='http://www.geocities.com/onlinemarketeer/cd.jpg' border=0 width="413" height="450">
    </td>
    <td rowspan=2 valign='top'>
      <p style='text-align: justify;'>
        <blockquote>
          <u><b>Title</b></u><br /><br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
        </blockquote>
      </p>
    </td>
  </tr>
  <tr>
    <td valign='top' align='center'>
      <br /><br /><br />
      <font size='3'><b>(Retail PRICE= $37)</b></font><br />
      <font size='5' COLOR='#000099'>INTRODUCTION </font><br />
      <br /><br />
    </td>
  </tr>
</table>
<br />
<hr /><br /><br />I think you'll find that does the trick in all browsers.[size=14]Rob Pomeroy,

Thanks !  It has worked for all browser.  

However, Another think i need to do.

The Retail Price = $37  + INTRODUCTION part is not exactly below the image.

I want it to go below the picture.[/size] Quote

Sorry Dilbert - I don't think that's what he was looking for.

Oops, sorry. Quote
[size=14]Rob Pomeroy,

Thanks !  It has worked for all browser.  

However, Another think i need to do.

The Retail Price = $37  + INTRODUCTION part is not exactly below the image.

I want it to go below the picture.[/size]

Oh, right.  I'm glad of that, because this is much better:

Code: [Select]<table width=100% cellSpacing=8 cellPadding=0 border=0>
  <tr>
    <td valign='top'>
      <img src='http://www.geocities.com/onlinemarketeer/cd.jpg' border=0 width="413" height="450">
      <br /><br /><br />
      <font size='3'><b>(Retail Price= $37)</b></font><br />
      <font size='5' color='#000099'>INTRODUCTION </font><br />
      <br /><br />
    </td>
    <td valign='top'>
      <p style='text-align: justify;'>
          <u><b>Title</b></u><br /><br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
          This is the DESCRIPTION<br />
      </p>
    </td>
  </tr>
</table>
<br />
<hr /><br /><br />
22.

Solve : JPEG files?

Answer»

I am taking over my website shortly from my webmaster.  He has used many files and converted them to jpg format, and seems to be unwiiling to give up the original files.  Is there any way to edit jpg files???You should be able to save them to your hard drive by right clicking on them and selecting Save Picture As.  Then, you can edit them with any photo/image editor.  MS Paint, which is part of all WINDOWS computers, can be used for simple photo editing.  If you have no other photo editing programs, try a popular freeware program called IRFAN View.Most of the files are not specifically pictures, bute text, such as a menu..Is there any reason not to convert those menus to actual text?  Do you really want to have to modify or create a new image file to update a menu?  I just don't want to re-invent the wheel.  Some parts of the menu have changed, so you are saying to just enter it as text?Yes, that's generally the preferred way to create "text" menus.  The only reason for creating an image just to display text is to prevent someone from easily copying text.   Using an image also makes creating links to the menu more complex since it may require a technique called image mapping.  In other words, you must mark different parts of the image for different hyperlinks.  Make sense?  Also, why make your web page file unnecessarily large by using an image where text will SUFFICE?  The word, text, takes four bytes if coded as text.  If it's displayed within an image, it will take many more bytes.  

No offense, but the fact you're ASKING these questions indicates you have a lot to learn about developing web pages.  Have you given some thought to how you're going to learn what you need to know?yes, tutorials, books , trial and error, and asking questions.  I just thought there was a shortcut for doing this with the old jpegs.  I created my own menus for the store which are QUITE elaborate, via Illustrator.  I know there is a wealth of knowledge to know for web building, so lets consider this brain aerobics....I own dreamweaver and do not find it too difficult to use. But advice is always welcome..No shortcuts for "old jpegs".  Some helpful links here on image mapping, under More Examples.  If you own a scanner, you probably also own some optical character recognition software.  You can use this to extract the text from images, provided it is not too obscured and difficult to read.  If there is a LOT of text, then this is a worthwhile way of proceeding.  You also may want to reopen dialogue with the former wemaster.  If he's relinquishing the web site, it doesn't make sense for him to be precious about original files!

A major reason not to use the text-as-images method is that it makes the website utterly useless for blind/partially-sighted web users (who use screen readers).

23.

Solve : Proxy Servers and AIM?

Answer»

Hi this is my first TIME posting.  I was hoping for some help.  I am currently at my university that uses a proxy server that does not support AIM.  AIM is my only way to communicate with my family right now without spending alot of money.  If someone could help me by telling me a way to bypass the proxy or configure AIM properly that would help alot.  I have tryed to configure it but never successfully.  it also prevent me from starting any application except web browsers.  I am a member of the application orb and it no longer connects on my computer.  Also sightspeed does not work.  If there is a way around this i would be very happy.You have at least TWO options: AOLExpress and IMCourier.  They're slightly different in the way they work.  CHOOSE the ONE that suits you best.well yes that works fine and dandy except it solves only one problem.  AIM works with express however nothing except web browsers can CONNECT to the internet still.You may have to settle for webmail.  Why not talk to your university's I.T. department about this?  They may have some useful suggestions.

24.

Solve : Forum Entertainment Site?

Answer»

Hi

I am a WEB designer and am CURRENTLY working with a client who would like a community based forum where users can upload mp3's, SMALL video clips, images, etc.

All of the forums that I've seen is where u can only upload a picture.  Not FILES.  Does anyone have any idea of a company or SOFTWARE that I can use for this?>Simple Machines Forum< allows file attachments of any type.  If that's not enough for you, I expect there are some suitable mods available for it.  And it provides an interface that you can incorporate into other websites.Thanks for your help.

25.

Solve : Code for Audio Matrix?

Answer»

Hi Folks,
 
I would like to see if anyone has HTML code building an Audio matrix. ESSENTIALLY I want to be able to string together separate audio files to play consecutively. I understand you can set up a player and the files will play on after another ...but... there is too much lag time. I need the files to play seamlessly, as though it were a conversation.
  For an example: You can build a matrix with different SENTENCES. A person CHOOSES a different sentences and when you click "Done' they appear in a paragraph. The only difference is I want to do this with audio files.
   Any help would be greatly appreciated. Thanks

KensterI very much doubt you can do that with HTML code alone.I concur with Raptor.  Do you have any PHP experience?  If so, have a look at the OpenAL section of the manual.  You can do a lot with server-side power.Negative on the PHP experience....but apparently I need to get the Cliff notes. I'll let you know.

Kenster.The trouble is that HTML isn't for programming, and javascript is very limited.  If you want to do fancy stuff, PHP, Perl, Python or (shudder) ASP are the way to go.  You COULD also achieve this with a Flash app, but I can't help you there.

26.

Solve : Hypergurl?

Answer»

It has tons of COOL JAVASCRIPTS!! For newbs!I use MBHOSTING.
It has cPanel and plenty of web apps and much more.

I know where you live Caesar! I'm being STALKED!!!
Just kidding he's my friend.

27.

Solve : Bit of a problem here...?

Answer»

I have a Web App called, "PHP Form Generator" its the best way to make a form in my opinion. The one problem is this:
Security.
Its so major in this case, its not funny...
I am getting errors 350, and 550.
I am unable to change names of files, directories, and there PERMISSIONS, and quite frankly, ALMOST all the content within them.

I need to change a file name, and cannot. How do I do this?

(Rob: If your reading, this does have to do with the PM I sent you earlier)I SEEM to have accidentally DELETED that PM, sorry.  (Something weird happened in my Inbox.)

I have no idea how PHP Form Generator works I'm afraid so I'd need very specific details and error messages before I could comment.

28.

Solve : Questions on Servers and Server Sides "I think??"?

Answer»

I am not sure what they're called I no the Extensions are JSP, PHP, and ASP...
Now I talked to Gateway *Makers of my Computer*
I Can't Find what the scoop on this is and I don't want to talk to Gateway again...
Questions:
1.  All Server SIDES *php, asp, jsp* need a REAL server although I DON'T WANT TO BUY ONE!  I GOT 3 COMPUTERS!  Can I set up some place in my computer or hardrive that is deticated to this stuff.

2.  If Above isn't possible what should I do?  *If you haven't ALREADY answered*

3.  I am making a family website I DO NOT NEED A LOT OF SPACE but i do need SECURITY.  Does any of them have like an encyption database thing to make it safer?

4.  If I need to download stuff to do this i need the links *I prefer the ones i don't have to pay for*

5.  What is the cheapest way into this?The answer to all of your questions is Linux.  Get READY for a steep learning curve, but I promise that it will be free and very rewarding.  Uh more direct? like linux.com/blabla/download/download...
u no that one URL that i can't findYou know where Google is?  I suggest using it to find Ubuntu.  That's a good starting point.

29.

Solve : Background image moves?

Answer»

I designing a webpage for a friend at www.isaacjohnlewisart.com .  The problem I cannot resolve is that the background image and the text do not stay syncronized. I have tried putting the background image in a table and fiddled a lot with it to no avail.

I want the whole thing centered on the page.

Please be explicict as I am kind of new to Frontpage.

Thanks

JoeWhat text?

I am seeing one photo (of a very coold dude) and all the links, but not a lot else.  All of the links point to files on your computer - you perhaps haven't uploaded them to the web host yet.

You can make the photo a background image in a DIV container with specified height and width, and then place your text within that DIV.  That should pose no problem.  Using FrontPage however WILL pose a problem.  It does weird, inexplicable, non-standard things with HTML.  >NVu< is better, and free.  Alternatively, Dreamweaver is excellent (but costly).Hey,

Thanks for the input. I GUESS your on a amac which does not display the site properly. At least in windows it lets you NAVIGATE through all the pages. I have bought a book on Frontpage and think I have found a solution to the first problem but not the one your having.

Cheers.

LionelThe Home button appears below Contact in my browser (IE 6).  That's inconsistent with the idea of having your main image centered on the entire page.  By the way, the large image is a very nice one but the file size is huge (429,265 bytes).  Here's the same image in JPEG format; it's only 126,940 bytes: http://i7.photobucket.com/albums/y256/farmpond/forums/Merged-web-Image1.jpg.  Feel free to use it, but don't link to it on your site from my photobucket account.  Save it to your hard drive first, then upload it to your web server. Quote

I guess your on a amac
Nope.

Quote
At least in windows it lets you navigate through all the pages.
No.  Possibly you don't appreciate what I'm saying.  Your uploaded page is incorrect.  The first link for example, to Havana seen and heard: the section of HTML within your document SAYS this:

Code: [Select]<a
href="file:///C:\Documents%20and%20Settings\gabriella%20klein\My%20Documents\My%20Webs\My%20Webs\Havana%20Seen%20&amp;%20Heard.htm">You see that "file:///C:\Documents..." bit?  That is looking for the linked page on a hard drive.  And since the index page is loaded on my computer, when I click the link, it LOOKS on my hard drive.  Yes it will WORK for you - because it finds the page on your hard drive.  No use for anyone else.  You need to publish the entire site to the web.

FrontPage confuses this issue.  Yet another reason why budding web developers should seriously consider using a different design tool, plus a decent FTP program.I've used FrontPage in the past and I can't disagree with Rob's view of it, although I believe the FrontPage 2003 is better than older versions as far as not putting a lot of FrontPage specific code in the HTML files.  But, joeaverage, you're clearly doing something wrong.  FrontPage, if used properly, would not have put references to your hard drive in your final HTML files.  So, if you're going to use FrontPage, then it seems you do not a good reference book to help you learn more about it.  

I did not try to digest your entire home page HTML file, but it appears to have a lot of clutter, making it much larger than necessary.  I mean, really, your home page is not a complex page.  And, I know that FrontPage does not generate all of that if properly used.Thanks dude,

I am looking into it. It has been a while since I have used this program.

Lionel
30.

Solve : how to put photo show on web site?

Answer»

I have several pictures I would like to DISPLAY on my web site.  I'd like to do them in slide-show format, but I don't know how to accomplish this.  I'm USING Dreamweaver 4, on a Dell PC RUNNING Windows XP.    I have no idea what code is needed for this.  Any suggestions are appreciated!If you have some basic knowledge whit flash, you can use flash for a show. But, then you need something like Flash MX or something to make it.>Google "slideshow script"&LT;.

31.

Solve : My own exchange?

Answer»

I am adding an exchangeserver to my site right now.
To do so, I am using a simple form upload.
I would like to know how to block certain file types from being uploaded, and would like to know how I can limit file size...

How can I do this?

Information will be provided on request.What do you mean by "exchangeserver"?

Content checking is very important for uploads.  I think we have already discussed placement of uploads?  Certainly you must never let a user directly upload a file to an accessible  location within your web tree, since this could theoretically make it possible for them to upload malicious code and execute it remotely.

The content checking depends on what sort of file you expect to receive.  If you're expecting an image, you can use the GD library functions to see if the file really is an image, for example.

Bit more info please?Yes, this topic of uploads was discussed. But you never told me how.

I think I am going to make this exchange file thing from scratch.

What do I mean by "exchangeserver"? Just more of a folder in my site, set as a sub-domain, that allows a user to upload an audio or image file.
But I want to only ALLOW audio and image. I need to block .exe, .php, .php3, .HTML, and anything else that can execute on a web server.

Okay.  You know how to upload a file?

After the file is uploaded, you run a script that:

  • renames the file (use some sort of randomiser, and check for conflicts)
  • puts the original filename, plus any description into a database, along with the new name.
  • optionally runs a GD library function to test if the file really is an image, or you could use the ID3 funtions for limited testing of MP3s
You never tell the end user the actual name of the file, and you keep it out of the web tree.  It is retrieved using another script.

Alternatively hold all uploads in a "moderation queue" and only release them when the CONTENTS are approved.

You WON'T be able to do this satisfactorily and safely without a database.Hmm, well, I guess I will just hold this one off until I can think of something better.

...

You just need to learn the skills.  You'll find it very satisfying in the end, to make it all yourself.
32.

Solve : html and css?

Answer»

Try using CSS where it need. It calrify your code. Also for the IMAGE setting u MAY use html styles.



no SPAM, THANKS

33.

Solve : onRightClick??

Answer»

Is there a JavaScript for when a user right-clicks an image?There isn't a right-click event as such, because this is so OS-dependent.  But you will find >this< tutorial helpful.  Note that many browsers make it possible to disable any code that alters the context menu.  I have this function switched on, in my browser.This script will give an error if you USE right click. Works in IE, FIREFOX, but i don't know about opera or netscape.
You still need to put the JS tags, but i wasnt able to post it whit the tags

Code: [Select]<!--
var message="YOUR ERROR SCRIPT COMES HERE";

function clickIE4(){
if (event.button==2){
ALERT(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
 
i also have a script that blocks rightclick, but that doesnt give an error.
you just can't use your right click.

if you want it, YUST mail me  That works in everything but Opera. Cool I don't have opera or netscape, so if i make a script, i don't know if it works in netscape or opera, but thx for the info anyway. You can download both:

http://www.opera.com/

http://www.netscape.com/

34.

Solve : GreaseMonkey?

Answer»

Hi Guys I am trying to make a GREASEMONKEY script...this is the script: JAVA script:Code: [Select]java script:openUpNoScroll('AddVote','/addvoto.asp?id=USERNAME&voto=add', 155, 20);that it should autoclick every time i go to this webpage:   Code: [Select]http://www.bisiacaria.com/profile.asp?id=XXXX
and i have to find a WAY to make it find the USERNAME. but i dont know how.. anyone COULD help me? i think it should grab the link from the url:
Code: [Select]http://www.bisiacaria.com/profile.asp?id=USERNAMEis there anyway to do it??On the basis of that description, I have no idea what you're trying to do, so can't help.  More INFO please!  What excatly are you trying to achieve?

35.

Solve : Ananomizer?

Answer»

How do you make an Ananomizer? It would be NICE if I could create one...
Please help?Go to >this page< and learn.hmm.....looking at it....it looks like you need to download an application to make it work though. is it POSSIBLE to make it work in an html written document? kinda like http://www.stupidcensorship.com/All anonymizers RELY on programming; it is impossible to achieve the deisred effect just using plain HTML.  The link I provided is to a perl script which you can download and read in order to find out how it's done.

Incidentally, it looks to me like that page you've linked to is running exactly the same script.Can i download the requried script from the WEBSITE you gave me?Yes, that's the point.  Read that website!

You need to be able to RUN perl cgi scripts if you want to use it.  I recommend putting this kind of script behind some kind of authorisation system because they tend to get found and then hammered mercilessly if left open to all comers.Ah ok, thanks very much, ill be back if i need more help

36.

Solve : Questions answered?

Answer» http://webmonkey.wired.com/webmonkey/
37.

Solve : Help please! Login script error?

Answer»

Hay, first off al, I want to say that i'm back I haven't POSTED a big time because a was on a half-world JOURNEY So, here i'm back .

Now second, I have a problem with this script I programmed in PHP (i've translated it from dutch to english) but it gives an ERROR and I don't know what is my fault, i've searched a long time, but I really can't see what i'm doing wrong. this is the errror:


Warning: main(p?=welkom): failed to open stream: No such file or directory in /home/httpd/vhosts/*my host folders*/aanmelden.php on line 56

Warning: main(): Failed opening 'p?=welkom' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/*my host folders*/aanmelden.php on line 56

line 56 is:

include($_GET['p'].'p?=welkom');

welkom is my file name (in dutch) SO can anybody helps me please! :exclamation I start to be a bit desperated [smiley=shocked.gif]

here is my script (it should be used to create a login with COOKIES, that checks if you are loged in if you visit the link)

ob_start();
session_start();

$username = array();
$username[] = "username1";
$username[] = "username2";

$password = array();
$password[] = "password1";
$password[] = "password2";

if( !isset($_GET["action"])) {
$_GET["action"] = "";
}
if( !isset($_SESSION["Admin"])) {
$_SESSION["Admin"] = "";
}
function inArrayPlusKey($value,$array){
    if(in_array($value,$array)){
        for($i=0; $i            if($array[$i] == $value){
                return $i;
            }
        }
    }
    else{
        return false;
    }
}
function check_online() {
if($_SESSION["Admin"] != "") {
  return 1;
}
else {
  return 0;
}
}

if(isset($_POST["login"])){
    if($_POST["password"] == $password[inArrayPlusKey($_POST["username"],$username)]){  
        $_SESSION["Admin"] = $_POST["username"];
        echo 'continu[/url]';
    }
    else{
        echo 'error, no entry';
    }
}
else{
      
  if(check_online() == 1) {
                  include($_GET['p'].'p?=welkom');
    if($_GET["action"] == "log out") {
     session_destroy();
     echo '
you have been logged out,
click here to go back[/url]
';
    }
    }
    else {
                  include('index.php');
    }
}
?>At a guess, you've got your question mark in the wrong place, i.e. include($_GET['p'].'p?=welkom');  should be include($_GET['p'].'?p=welkom');

But this is not a great way of programming a safe script.  In what way are you checking that the GET variable 'p' is clean?  Also bear in mind that SESSION variables can be faked or stolen.  A much safer way of authenticating without resorting to SSL is described
>here<.   I recommend reading and re-reading that article until you understand it.

A little tip for POST/GET variables, which aids readability (I always use this):

// Prefix all form variables with p_
import_request_variables('p', 'p_');
import_request_variables('g', 'p_');

After that, $_POST["username"] or $_GET["username"] can simply be called $p_username.  Much easier when you're working with a lot of form data.Dude...... you're really great! Thank you so much for you good HELP, I used the excellent link from you, and now -I've translated it to dutch- I have my own -working!- login script. Thank you so much for helping   My pleasure; although I can't exactly take the credit.

Just another thought to add into the mix: I'm currently working on what will become a reasonably significant international database- & authentication-driven website.  I am avoiding the use of the javascript md5 library described in that article.  Instead, I'm using several different levels of logon.  Basic logon provides limited access to database features, and exposes no private information.  Administrative logon provides access to higher-level features and private resources, and each admin session is locked to an IP address, username, password, and shared key which is randomly generated at the start of the admin session.  (i.e. virtually impossible to hijack)  Finally there will be superuser level access which as well as having the above protection will also be IP locked at the IIS level to a few limited static IP addresses.

All of that is driven by php/MySQL without the use of javascript and therefore will achieve the desired effect on ALL browsers (provide they support session cookies).

38.

Solve : How to Put a "if" . help for javascript.?

Answer»

how can i add a "if" statement so that if the user is on a resolution of 800x600 , then a SPECIFIC background for the 800x600 will SHOW , and if a 1024x768 user is using the site, how can i PUT a specific background for it?

Please help. thanksqueCheck out this page for details:

http://www.zimmertech.com/tutorials/javascript/21/page-resolution-detector-tutorial.php?

Good luck.

39.

Solve : Unable to View .JPG .GIF Thumbnail Files?

Answer»

Hi, I am experiencing difficulties viewing thumbnail .jpg and .gif files on webpages. It SEEMS that the thumbnail jpg file and gif file appear as a red x. When I try to open the file to view the larger image, it says "this page cannot be displayed".  This is a recent problem that has happened.

Any assistance with this would be greatly appreciated.Which operating system are you using? How do you connect to the internet? Does this only happen on a CERTAIN website? Is your browser accepting cookies?

[glb]Flame[/glb]Windows XP, I have road runner service.  It only happens on some websites. But, it does not seem to be all jpg/gif picture files.  It seems to be SPECIFICALLY some thumbnail files for larger images, not thumbnail jpg/gif files that link to other web addresses.  Sorry if this is vague, but some sites I can view files okay and others I can not.Put up a sample website.Are you using Photoshop to modify these images? If so, be SURE that RGB is selected before SAVING them, I've had people have problems with this before.

Courtney appears to have gone AWOL. We will close the case.   Sin Bin for Hit and Run?

[glb]Flame[/glb]Somebody put her in there and close the lid!

40.

Solve : GOdaddy vs. 1and1?

Answer»

I am NOT a web designer, so I am looking at GoDaddy Website builder and 1and1.com for an e-z 'design in a nite' web presence. And, of course, I want to spend as little as possible. I was wondering if anyone has any comments, pro or con, about these places, or if anyone has another SUGGESTION. I don't need alot....BASICALLY just a website that points to my ebay shop....5 pages or less. Thanks in advance.I used godaddy at one time years ago and they were EASY to deal with.  I never used any tools though as I know html.  I think Ebay also has tools to make a site for a store but I can't say for sure.Go daddy has better service. I suggest them.  

[glb]FLAME[/glb]

41.

Solve : Web Replication?

Answer»

Is anybody familiar with a Web replication process?Is this a homework assignment? Google it.  

FlameThanks for your suggestion.
But is not homework.
Actually I did Google it, Yahoo it, etc it., and couldn't find the information I was looking for (I think).
They describe how to do a database replication, o how to have a replica of a web page on a personal computer for later retrieval.

Our business plan is as follows:
We create our web pages.
We have salespeople in many locations, they all make their money on commissions.
The web replica they will use, contains their personal information, but our web content.
At the same time, we can keep track who sales what, to pay the commissions.

I know we need a database, to keep track of salesperson developement,
We have no idea on how we can replicate our pages in sub-domains, and across the country, thru the internet.
I would like to have some pointers, ideas, and best approaches.
Something much more clear than those confusing results from search engines.
Thanks for your time.
LuisB
Yes, that's what I needed to know. I'm sorry, but I don't have the knowledge to help you. Please wait for another forum member to respond to your QUESTION.You don't need "web replication".  One database, one web server.  Several domains all pointing to the same physical machine/IP address.  The scripting on the web site can detect which domain has been used to access the site and respond appropriately.

You are looking at several thousand pounds/dollars worth of web design here, by the sounds of it, plus weeks/months of development.  Judging by your opening question this won't be a "do it yourself" job.  You may even be looking for a FULLY fledged eCommerce site.

Look around for a good web design team - preferably one that's recommended or WHOSE WORK you've seen and liked.  I can recommend an excellent firm here in the UK (no I don't work for them or get commission!).  Send me a PM/email me if you're interested.

42.

Solve : link and button alignment?

Answer»

So I'm working on a webpage and I'm using a map for my back button.  I have the same exact code on all of my PAGES but on one of the pages the link doesn't line up correctly with the image.  I was wondering if anyone had any suggestions.  Here is the code ...


[HIGHLIGHT]

 href="javascript:history.go(-1)">
[/highlight]

Like I said ... it's the same for every page and it lines up on all of the other pages.  Thanks!!Hi,

Could you please provide links to both kinds of page?  I'll have a look for you.this is the one with the problem

ozone.ri.cmu.edu/prototype2/index2.html


ozone.ri.cmu.edu/prototype2/projects.htmlYou link does not work
1. Have you just copy and paste the code or 2. Have click and DRAG and copy the object that is in you layout

1. That is a better way to do it
2. This will message up you code

What PROGRAM r u using to Edit you html?


The link worked for everyone else who TRIED.  I did copy and paste it that's why I know for a fact that the code is exactly the same for each page.  I'm not using a program.  I'm writing the code myself and saving it as a plain text document with an html ending and using USASCII encoding then ftping it onto our server.I must confess I'm a bit puzzled about why you're doing this the hard way.  How about <a href='javascript:history.go(-1)'>
  <img src='back.jpg' border='0' />
[/url]?I kind of wanted to avoid using it for several reasons but I ended up changing just that page.  Thankyou for your help. Quote

You link does not work
1. Have you just copy and paste the code or 2. Have click and drag and copy the object that is in you layout

1. That is a better way to do it
2. This will message up you code

What program r u using to Edit you html?


Elixir, do you know the difference between you and your?  
43.

Solve : help get my site on different search engines?

Answer»

does any one have a site i can put a link on so maybe the WEB crawls will find my website??What is your site are about?visual modeling have a LOOK www.vmodeling.comok i do sooner or lateri put a meta tag in my site yesterday WENT to some different site and emailed them asking if i COULD have a link some where on their site.

44.

Solve : Best, secure forum??

Answer»

I was using a phpbb which allowed someone to hack into my website and then into my server which cost me thousands of dollars. So I'm looking for a forum that's more secure and doesn't allow people to easily hack into it  :-/

Anyone have any suggestions?Try YaBB
http://www.yabbforum.com/

Its going to be even more secure as soon as YaBB 2.2 comes out

Of the free offerings, Simple Machines Forum is IMHO better.  But if you're looking for a secure forum, you would be best advised to search for one that is advertised on the basis of its security.  It is likely to be expensive, but in your case that is probably worthwhile.

But before you do that, could I just ask - why was it so expensive?  You weren't stored important data files on your web server were you?  A frontline webserver needs to be protected and separated from other mission-critical roles for this very reason (damage limitation).  You also need a bulletproof backup plan.

In short, get professional help.It cost me that much in fines from the server that hosted me. The hacker came after me through my forum and froze the entire server effecting over 300 other websites. I know the people involved with the hacking so I'm going to try and make them pay for the damages, but the case it still pending.

But meanwhile, I wanted to get a new forum sometime soon and I didn't want a repeat of what happened, so I'm looking for a forum that wouldn't allow easy hacking.Fines?  That's baloney.  The FACT is that your webhost is clearly running its webserver in an insecure manner, if a security hole in one CUSTOMER's website allows other customers' websites to be affected.  I'm sorry but I think they are pulling a fast one on you.  They are responsible for their own security and their own backup schedules.  Don't pay the fines; find yourself a decent web host.  In the meantime, my recommendation stands.whos your web hoster?WELL, there's a lot more to it than just that. I understand the fines and I think they need to be paid, just not by me.

Googling for secure forums mostly brings up sites where people are discussing secure forums, and it seems there's no real such thing as a fully secure forum. Forums with open source are easier to hack, but they all have security holes reguardless. I want a new forum, but I'm paranoid of the past repeating itself.

Phpbb seems the most looked down on and I see more votes for vBulletin, but I can't afford vB. I guess I'll try Simple Machines Forum. I'm still not sure though. Quote

Well, there's a lot more to it than just that.
Go on, we like stories.  

Quote
Forums with open source are easier to hack
Only from a certain point of view.  Code examination is just one tool for detecting weaknesses.  Open source software's major strength is that the source code is available - this means that MORE people examine the code, and the security holes are not only spotted, but plugged.  Certainly faster than the security holes in  - oh, say, Windows, plucking some other software out of the air entirely at random...

I'm not persuaded that the problem doesn't lie with your host. Quote
It cost me that much in fines from the server that hosted me. The hacker came after me through my forum and froze the entire server effecting over 300 other websites. I know the people involved with the hacking so I'm going to try and make them pay for the damages, but the case it still pending.

But meanwhile, I wanted to get a new forum sometime soon and I didn't want a repeat of what happened, so I'm looking for a forum that wouldn't allow easy hacking.
Did you attempt to verify the legal right of the hosting service to assess fines against you?  Does your agreement with them address such matters?  Did they provide the phpBB forum software for you to install?  Presumably, having a forum is clearly stated by them as one of the benefits of using their service.  Right?  So, doesn't this make you  wonder about their legal right to assess fines against you?  I would have guessed the impact of such a hacking occurrence would have been born by them, not any customer who is merely used the normal services provided their accountholders.I installed the phpbb, the hosting doesn't come with it. The hacker and his supporters made threats to hack the forum in posts on the forum. They weren't taken seriously until it was too late. So poof goes my forum along with all the sites on the server. Some were damaged to the point of having to be completely redone.

A lot of people suffered because a couple of immature kids couldn't get my admin, who I left in charge while I went away to school, to allow them to post a image I banned them from using like 6 months prior. There should be a fine. But they should pay for it.I still disagree.  The security of a web server is the responsibility of the company providing that service, NOT the people who USE that service.  I work for an ISP - we host thousands of websites.  If one of those websites caused an insecurity that wiped out all the other websites, our customers would be suing us (not the hacker and not the owner of the particular website), and quite FRANKLY they'd be right to.Well, I'm not really worrying about the fine. I'm more worried about not letting the hackers get away with what they did.

I'd be better off on a dedicated or virtual dedicated server, but I can't afford either right now. Even if there was no fine, I still feel bad because of all those other people who had to suffer and lose money because of something stupid that orienated from my forums. And I really wouldn't want to put those people through that again.

The hacker already returned to my site after I got it back up and running, bragging on my Cute News comments section about what he did. So I know he'll return to my forums once I make a new one. That's why finding a more secure forum is something important to me.report him to your web host

give them a link to what he said


and why is this hacker attacking youIf you have a broadband connection to the internet and your forum is not too busy (bandwidth), you could consider hosting the website from your own server...I don't have a computer that could stay on to be used as a server. Actually, right now, I don't have my own computer. I'm borrowing someone else's. My computer had a strange death the day before my site got hacked. This is just not my year...

Why I got hacked is still puzzling to me. It's a long story, but basically there were three members on my forum who didn't like the way it was run and didn't like the rules I put down and when they got in trouble for breaking those rules, they sought revenge. Apparently they think they can make people "conform" to their ways of thinking. At least that is what the hacker said on my site after I got it back up and running.For some more information, I asked some of the creators of YaBB and some of the COMMUNITY members of the YaBB forum the question of open source vs. closed source...
Here's what they had to say
http://www.yabbforum.com/community/YaBB.pl?num=1159560197/0

remind me NEVER to get a forum on any future website plans!
Go Rob, Go Rob !!lol forums are good its that you need a nice sercure server
45.

Solve : feedback page?

Answer» OK i want to make a page where people can fill out a form and that gets sent to my site email account. how would i do this??


TIA

unlovedwarriorIs your site running PHP?nay.. i dont know anything about PHPIt is difficult to handle mail in a spam-proof way uless you have the possibility of server-side scripting.  You don't have to know any PHP - the question is whether your web host provides it.  If not, we can use a FAIRLY simple form to fire up the end user's mail programs, but even with an obfuscated email address, it is still theoretically POSSIBLE for the spambots to pick your email address off your web page.  Personally, I could NEVER do this client-side, and ONLY server-side.

What say you?ummm.. i think they support php, cuz thats what my FORUMS are phpbbYou may want to first see if your ISP has something already setup that you can place on your web page to do this for you. Often many ISPs will have scripts already setup for their members to handle mail forums to help prevent issues that could arise if you created your own mail SCRIPT.

However, if not available you could do this with a PHP script or a Perl script. There are several mail scripts available both in PHP and Perl that are capable of doing this for you.
46.

Solve : Search Engine query?

Answer»

Back again. A QUICK question. My website begins with graphics at the top. I have PUT descriptors and keywords etc into the head HTML. Google has picked up pieces of the first stretch of text, which is not what I wanted. If I put 'alternate' text under the graphic at the top, would that register OK with the search? Thanks.....Google is a law unto itself.  You cannot determine what Google will index; their POLICIES can (and will) change without warning.  This is partly to defeat search engine spamming.  The best you can do it make a page LAYOUT that is logical for all users - inluding those who are vision impaired.  Think about it: blind FOLKS use screen readers, and these rely on alt tags, amongst other things (how else do they know what pictures are?).  Whether or not Google's cache will change as a result of what you do to your page, you should use alt tags anyway.

For search engine purposes, you could try using a hidden div containing the text you want indexed, at the top of your page.  e.g.:

Code: [Select]<div style='display: none;'>
  Whatever text you need.
</div>Google may however ignore hidden divs when indexing pages.  YMMV.Great advice. Will do all you advise. Thank you again!

47.

Solve : Texteditor problem? Two browsers, diff. resu?

Answer»

so, uh, how do I get my html in my MAC text editor to show up correctly in the Internet Explorer Browser??

EVERYTHING looks fine in my Safari browser.  

NOTE:  in text editor, i had to "make plain text" under the Format tab, and check "ignore rich text commands in html" in order for my html to show up correctly in Safari.

anyone got experience with getting html to show up correctly in both?  Do I need a better text editor?If you can upload the HTML somewhere, I'll tell you why it's not working.
Tugalo Arts





Welcome to Tugalo Arts!





Check out more...[/url]


Get artists' bios and personal information
here![/url]

Listen/view to recordings and pieces here![/url]

Learn more about our Philosophy and Message.[/url]





Fine - if you SAVE that as plain text with a file name ending in '.html' (or '.htm', if you must) that should display okay in IE.  There's nothing wrong with the code, but I suspect there might be something wrong with the way you're saving it.  A word processor for example is not the right tool for this job.  >NVu< would be the best thing for you, I suspect.  There's a Mac version.
48.

Solve : Dreamweaver 8?

Answer»

On page propertise in DW8, my propertise only has these option:

Apperance
Title/Encording
Tracing image

I wounder where is the rest i really need them pretty bad
It use to show up fine with all the list of option i wounder if i had done somthing wrong like changing its setting  :-?No idea - I have been out of USING DW for so long, that the only copy I have is version 3!  Can't you just EDIT the meta data in HTML view?  You have to get dirty with HTML sooner or later!True  
Thank you

49.

Solve : Dreamweaver 8 paragraph spacing??

Answer»

At the top of my home page I've put my website title, followed by a subtitle that I'd like to APPEAR directly beneath it.  Each has been assigned a different style (title is large, bold and in caps, while the subtitle is smaller and in italics).  At present I've got them in the same cell separated by a PARAGRAPH (return).

I've been unable to figure out how to reduce the spacing between them.  Can I do it as they are or must they be in different cells?  Or something else I'm missing?  I have no problem with paragraph spacing on text that's the same style.  

Any advice greatly appreciated!  Thanks in advance for your help!   --DennisIf you wish to insert a line break (one that just drops to the next line), I think the keyboard combination is shift+enter in Dreamweaver.  This corresponds to the HTML code,
.  (If *censored*+enter doesn't work, try ctrl+enter.)

Really, paragraph line spacing is best controlled by CSS, but if you're not comfortable coding in plain HTML, then CSS may be a little way off yet.Thank you.  I was aware of shift+enter, but wasn't sure if that would work.  I do have things set in external CSS VIA Dreamweaver--HTML code and I don't get along too well  :-/  but I can probably do one or two codes without too much trouble.Okay, well in CSS, you COULD style your paragraphs thus:

p
{
  margin: 0px;
  padding: 0px 0px 0px 10px;
  line-height: 110%;
}

Adjust as required.

And you could use class definitions to style specific paragraphs:

p.compactpara
{
  padding: 0px;
  line-height: 80%;
}

In your HTML, you'd then need the class attribute for the paragraph in question - can't remember how this is ACCESSED in Dreamweaver, other than using the code browser.


<p class='compactpara'>This is a compact paragraph [etc].</p>

50.

Solve : Downloading sound to SERVER.??

Answer»

Using Front Page 2002.  I have managed to get SOUND on my web with ON/OFF controls, using this tag, <p>
<embed width="128" HEIGHT="128" src="My%20Webs/myweb2/_Acti-Rudy_Ves-8657.wav"height="3" width="3" playcount="-1" loop="true" autostart="true"&gt; </p> BUT,.. and there's always a But,.. Other people can't here the music, because I was told the music file had to be downloaded to the server.!!
How do I do that please. ? step by step if POSSIBLE.. thanks.
                                           thanks in advance.. and thanks to J Caesar and Dilbert for gettin me this FAR.
[size=12]Tally[/size]How do you normally upload your pages/IMAGES to your web host?

See if there's an FTP connection option.  If so, you can use FTP Surfer (see the software FAQ), and things will start to make a lot more sense.I copy/paiste images into my web folder,.. even music wav files.. then publish my web,.. then when I update my web, I just edit it in front page and publish again.
I have an audio wav file on my home page.. also in my about me page.. which works on my pc. but I believe you won't hear it on your pc. http://talismanpr.netfirms.com
                                                               thanks rob.Yep.  As I said, you could really do with asking your host if they provide FTP uploads.  That then makes it a lot clearer to you what's going on.thanks f that rob.. will do that.not so sure about the ftp.. but I have looked at faq, and my host shows me how to publish to the web http://
 take a look rob
,.. http://support.netfirms.com/idx.php/62/173/article/FrontPage-Watch-a-demo-to-help-you-publish-your-website-on-Netfirms-using-FrontPage.htmlFront page isn't good at this, as you have already discovered.

>Here's< one of Netfirm's FTP tutorials. :-/ ummm very complicated to me.. grr. I just publish through f/p and it does the rest,.. well.. not ALL of the rest,. as you have just prooved.. thanks f that.