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.

501.

Solve : PHP or ASP?

Answer»

Which LANGUAGE will be better PHP or ASP for web page design. I am planning to learn One of these . Which one should I choose and why and why not? Quote from: john963 on February 23, 2011, 12:31:43 AM

Which language will be better PHP or ASP for web page design. I am planning to learn One of these . Which one should I choose and why and why not?

You should REALLY START your own thread!
502.

Solve : How do I get a full image of my site?

Answer»

I have a SMALL problem , I NEED to take an Image of 3 websites to be put into COVER action pro for a project

So I need to be able to see all the sites for top to bottom...

Cheers

Dont KNOW much about Cover Action Pro.

Would a screen print work??

Here: http://www.webdesigntuts.net/website-administration-tutorials/take-a-full-size-screenshot-of-your-website.html

503.

Solve : PHP tool to generate code for consuming a web service based on its WSDL??

Answer»

Is there a tool for PHP which can generate code for consuming a web SERVICE BASED on its WSDL? Something comparable to clicking "ADD Web Reference" in Visual Studio or the Eclypse plugin which does the same thing for Java. Quote

generate code for consuming a web service


Consume? What are you refering to in the act of consuming? First thought of consuming a web service is flooding it with requests by which it acts like a DoS attack? Quote from: DaveLembke on January 19, 2011, 04:30:40 PM

Consume? What are you refering to in the act of consuming? First thought of consuming a web service is flooding it with requests by which it acts like a DoS attack?

Consume MEANS to USE when speaking of reusable components or services. For example, in C++ when you use a class you are it's consumer. (also called the "client").


to Original Poster:

http://www.phpclasses.org/package/3509-PHP-Generate-WSDL-from-PHP-classes-code.html

EDIT: woops, I think that might be backwards...
504.

Solve : HopeBot?

Answer»

how to MAKE Bot like hopebot ??LEARN PHP, Perl, ASP or another server-side programming LANGUAGE which has IRC capabilities.Hopebot is written in Perl but you can also make bots like hopebot using Eggdrop or Windrop.

Eggdrop (LINUX): http://www.eggheads.org/
Windrop (Windows): http://windrop.sourceforge.net/ (Use information and documentation from the eggdrop SITE!

505.

Solve : SEO (and it's personal)?

Answer»
  Hello CH forum, I've missed you. I'm back for more input from this great community.

My family fled Greece in 67 (long before I was born)- and started a restaurant chain who has DONE pretty well up here in Canada.  My father had a friend who put together nice little web 1.0 site back in 1997/98.  That friend passed away, years ago, and a squatter purchased the domain.

I have since BECOME a web developer myself and decided to put forth a newer more exciting site for the family business.  Facebook connect and CONTESTS, all of that. 

The squatter stays above me in Google. I am using webmaster tools and seeing a modest bit of traffic, but not enough to push me past the squatters rank. 

 I called him (whois lookup) and offered to purchase, he simply explained that he makes a few dollars a month on adwords and does not wish to sell.  That's life I suppose; but I would like to surpass this awful outdated site. The old content is embarrassing!

The only SEO TIPS I can find are
  • "get lots of legitimate links to your site" 
  • "Follow good design principals"
  • "keep up fresh content". 

I do all these things, he does none of them seriously NONE of them. How can a site which has not changed in a decade be accredited with freshness by The Spider? I can't imagine who is linking to his site, it has no valuable data... Unless you want to view and read about an old menu.

Any Input is greatly appreciated.

PS: the site resides at
http://www.venicehouse.ca



Quote
"get lots of legitimate links to your site" 
That is the main ONE which Google looks at. If the old site has a lot of links to it then it will be higher.

Other tips:
- good page titles
- use h1 tags with good titles
- use meta description in the head, Google now ignores the meta keywords

SEO is a never-ending business.Also make sure to get backlinks from high PageRank sites. That's the key!

Cheers,
Lucatony
506.

Solve : PHP Automatically submit a form?

Answer» IM trying to AUTOMATICALLY submit a html form with php is there a way to do this
here is my html form code
       
         

Look Up Winning Numbers by Draw Number
         

        
         
         


        The point of a form is to get INPUT from a user, what REASON would you need to submit a form automattically?

There would be no why to get PHP to submit the form but you could to it with some JavaScript.
You could use something like:
sounds a bit spammish?
507.

Solve : HTML Form Query?

Answer»

Code: [Select]<form name="contact" method="post" action="http://.../FormMail.cgi"><BR>First Name: <input type="text" name="First Name" size="18" onBlur="MM_validateForm('Email','','RisEmail');return document.MM_returnValue">

RATING (out of 5):<select name="querytype">
<option value="select">Please select...</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select><BR>
Your Review: <textarea name="Your Review" cols="40" rows="3"></textarea>
            <input type="submit" name="Submit" value="Submit">
               <input type="hidden" name="recipient" value="*MY EMAIL ADDRESS*">
      <input type="hidden" name="redirect" value="*REDIRECT SITE URL*">
      <input type="hidden" name="subject" value="*SUBJECT*">
    </form>


Hi all!

I am after some help with my HTML Form... I want to know if it is possible to either make the Email Subject the Meta Title or the URL of the PAGE the form is being submitted from or include the Title or URL in the email like a hidden field - as I will have the same (code) form on several pages via my website's "skin" and I want to avoid the (painful) manual task of putting the code on each page individually.

Thanks heaps Oh dear, oh my.

There are just so many things that bother me about this sample of code.
I'll get to them after I answer your question so that you can choose, if you like, to ignore them (*sigh*).

Code: [Select]<script language="javascript">
     document.contact.subject.value = document.title;
</script>

Very similarly:

Code: [Select]<script language="javascript">
     document.contact.subject.value = document.URL;
</script>

Now, to the things that need to be fixed:

You're using CGI to process your form, but you're hard-coding your email address, subject, and redirect URL into the form, where ANYONE can HIJACK them.
Why aren't you adding this information on the server where no one can mess with it and no one can see it?

It certainly doesn't appear that you're doing any validation other than through Javascript, which can be avoided by simply...wait for it.....turning Javascript off.  Again, you're processing the email form with a script, so why aren't you doing validation there?  (I'm assuming that you aren't, forgive me if I'm wrong.  There's no error cases hidden in the HTML, so I assumed.)

And the most important question: if you're using CGI to process the email, why can't you just pull the referring URL and add it to the subject?

-rockerest

508.

Solve : Forum set up help.?

Answer»

Hello,

Will someone please PM me? I created a new forum, and I need help setting it up, and getting it active by a mod. Could someone help me?

Fed told me to post in the forums.What forum software are you using?  Was it provided by your hosting service or did you get it from the developer and then install, or try to install, it?  Have you visited the support forum of the software developer to ask for help?  Exactly what have you done so far? Quote from: soybean on FEBRUARY 06, 2011, 08:59:01 AM

What forum software are you using?  Was it provided by your hosting service or did you get it from the developer and then install, or try to install, it?  Have you visited the support forum of the software developer to ask for help?  Exactly what have you done so far?

soybean,

I SENT you two PM's. Quote from: soybean on February 06, 2011, 08:59:01 AM
What forum software are you using?  Was it provided by your hosting service or did you get it from the developer and then install, or try to install, it?  Have you visited the support forum of the software developer to ask for help?  Exactly what have you done so far?

I have registered the forum. It is a invisionfree BOARD. I haven't asked for any help.They have a support forum at http://if.invisionfree.com/index/.  I really THINK you should post your question there, where other users of invisionfree can assist you.
509.

Solve : my php search engine won t show results?

Answer»

my php site search engine will not show the results i have mad it exactly the same as one i made for a diffrent website but this one just displays no results found.
do you think this is a problem with my mysql database ?Yes. It could be. It could be any number of things.

All you've told us is, "It doesn't work, could it be this."

Yes. Yes it could be, but without more details it's hard to give ANYTHING but a vague answer.

(more details generally on the SCALE of exactly what HAPPENS when you search (no results? an error? etc), the particular SQL queries you are using, and maybe EVEN some information on the layout of your database tables.)

I tried PHPKode.com there is much that I wanted

510.

Solve : Same browsers but different Screen View, Dreamweaver 8?

Answer»

Hello there,

I created my WEBSITE with Dreamweaver 8. It was my first experience with this SOFTWARE...

During a business meeting when I had to show my website to a client I faced a strange problem. My website on his screen looked like a monster. Huge letters. All I could see was only a small corner of the page I created and we had to scroll over the length and width of the whole screen to see the rest of the text on the page. On the screen of my PC this page fits PERFECT.

The client had the same screen size as I do on my PC and the same browser IE. Though I have IE7 and he might have a different version of Internet Explorer.

It was either this page: http://www.doveriesardo.com or this: http://www.doveriesardo.com/HTMLs/En/Index.html

I can't remember exactly which one.

I thought that it might be his PC screen settings but he has no problems seeing other websites.

What can it be?

Thanks for help in advance and sorry for my English. It's not my native language  I haven't looked at your HTML file but I viewed your site in IE8, FIREFOX, Opera, and Chrome browsers and it displayed fine.  So, I suspect something unusual with your client's computer or browser. 

Still, if you can test your web pages with different browsers, that might help prevent such embarrassing situations.  Also, this might be helpful: http://browsershots.org/; it's a way to test your website for many different browsers without having them installed on your computer. THANK you

511.

Solve : displaying/removing a certain text automatically?

Answer»

Hello Everyone,

Is it possible to display the email link on my website only at a certain time and remove it for the rest of the day automatically? Thanks a lot for any help..This is possible in two ways.

The best way would be to use a server-side programming language to determine whether you display the text or not.

Here's some dirty PHP you can drop right in an HTML file, assuming you have PHP on your server (only displays email between 2PM and 4PM, server time:

   if( date('Gi', time()) > 1400 && date('Gi', time()) < 1600 )
   {
         print "Your email address";
   }
?>

The other way would be to do something similar with Javascript, but you would just hide or show the "email" element based on what time it is.  The problem with the Javascript method is that you're only hiding/showing the element, or adding/removing the text.  If a person was savvy and wanted your address, they could get it at any time by looking at the source code.

The first method, using server-side scripting, is the "safest."

-rockthanks a lot! I'll try the first ONE and will let you know then. Hi rockerest,

I pasted direcly the code you provided and it gave me this on the webpage:

1400 && date('Gi', time()) < 1600 ) { print "Email me "; } ?>


What's your thought on this? If you don't mind, can we also try the second one? It doesn't really matter if someone can see the email address by viewing the source code. As long as it's not seen on the webpage, that's good enough for me.

Thanks a lot!
BTW, the code I pasted was this:

   if( date('Gi', time()) > 1400 && date('Gi', time()) < 1600 )
   {
         print "Email me ";
   }
?>

and it showed this on the webpage:

1400 && date('Gi', time()) < 1600 ) { print "Email me "; } ?>

you either didn't paste it into a PHP file or your server doesn't support PHP. Quote from: BC_Programmer on January 20, 2011, 07:10:01 PM

you either didn't paste it into a PHP file or your server doesn't support PHP.

Yes, I misspoke earlier when I SAID you could drop it in HTML.  I always parse my HTML through a PHP framework, so I got lazy and didn't mention PHP.

You do need to make the page a .php file so that your server will interpret it through the PHP parser.  You don't have to do anything special except rename the file from ".html" to ".php"
If this still doesn't work, it's likely that your server doesn't support PHP, doesn't have it installed, or PHP is not running.

The javascript method would look something like this:

(HTML)
Prints email between midnight and 1AM.
Code: [Select]<script type="text/javascript">
var time = new Date();
var hour = time.GetHours();

alert(hour);
if( hour >= 0 && hour <= 1 )
{
      print "<span ID="email">[email protected]</span>";
}
else
{
      print "<span id="email">My email is unavailable.</span>";
}
</script>

Full disclosure, I didn't test that code.  But it, or something similar, should work.

-rockerest
hello,

I created the file with exacly what you provided and loaded it into a browser, it's giving me a BLANK page. Any thoughts on this?


Mucho Gracias! Quote from: rumejan on January 25, 2011, 01:11:02 PM
Mucho Gracias!

Muchas gracias
512.

Solve : can some1 send me a basic php codes.. and where can i get some installer?

Answer»

where can i get installer of php and can some1 give me basic php codes...


TNX  PHP install manual


you want the codes?

you can't handle the codes! Quote from: BC_Programmer on January 13, 2011, 10:56:49 AM

you want the codes?

you can't handle the codes!

An Officer and A Gentleman!  Nice!!y did say dat i can't handle d codes?...
i just only want to know the basic codes... or any SITES where can i learn php ... HTTP://www.w3schools.com/php/there's some pretty basic and simple tutorials out on the WEB......

http://blogs.sitepoint.com/2009/04/13/how-to-install-php-on-windows/ - how to install php, pretty basic, all you need to know
http://www.freewebmasterhelp.com/tutorials/php - php tutorials
http://www.onlinecomputersciencedegree.com/ - if you want to get more into computer science and learn more about web development
http://php.about.com/od/learnphp/ss/phpbasics.htm - about.com actually has some pretty good php basics

hope these help!
513.

Solve : HTML liquid design?

Answer»

Ok... I'm pretty new to this whole web design thing.  I'm using Frontpage 2003 to design a site for the company I work with.  I've read about a "liquid"? design which allows the page to be resized to fit all screen resolutions, and that it has to be done in percentages as opposed to pixels.  I'm very confused about what i have to change to make the page automatically adjust.  Wondering if I gave you the code for a page of the site, if someone could help!?






Turtle PROPERTIES





   


              
   TURTLE PROPERTIES, LLC



   <font face="Verdana" size="5" color="#003300">A Full Service Property
   Maintenance Business</font>

 


 


 


 


 



   
   [/url]


   

   


   

 


 


 


 



   

   

   © 2010 Turtle Properties, LLC.  All right
   reserved.  No part of this site may be reproduced, stored, or
   transmitted without the WRITTEN permission of the author.

 



   HamHed, LLC customers, click here[/url].

 


 



   
   [/url]


   
      Click the "Contact Us" link above for any questions
      or comments.  We would love to hear from you!
   



   

   
   [/url]


   
   [/url]


   
   [/url]


   
   [/url]


   
   [/url]






Page is designed at 1347 x 508.  Looks great at that res.  But when I try different ones, I have to scroll around and it's driving me nuts... HELP!!!Personally, I'd stick with a fixed width but I'd make the width MUCH less than 1347.  Why did you make the page that wide?  1347 is a very wide page size; many computer users are using monitors with smaller resolutions and/or they don't always keep their browser maximized to cover their whole screen. If you decrease the width down to about 800 - 900 pixels, many more visitors to your website will be able to view the pages without horizontally scrolling.

I appreciate your quick response.  I'm definitely an amateur regarding web design, and just designed the page to fit on my laptop, not really thinking about resolution issues until after I finished.  My laptop has a wide screen, so it looks great on there... but not too hot on other screens. LOL.You should probably stick to a fixed design of 950-970 pixels as most resolutions are set for 1024x768. That is pretty standard these days. This way everyone views your site the same way - Not many people are viewing with 800X600 anymore...Try browser shots to check different screen resolutions
http://browsershots.org/
It will test different resolutions and different browsers.
You can make several tests but keep the list to about 10
or it will take too long.
-
hope this helps
falconnavyfalcon, thanks for giving your advice but PLEASE don't post in topics more than about a month old. to give my advice, instead of using the "width:888px:" in the CSS you should instead use "width:65%;" It might cause a few proplems, but if you really want to use it, this is it.
514.

Solve : needs transparent background?

Answer»

Hi i have this script here that is a clock but when it runs the background is white??? can anyone help make it transparent please



  body
  {
    width:194;
    height:125;
    background:transparent;
  }


d1 = new Image();
D2 = new Image();
d3 = new Image();
d4 = new Image();
d5 = new Image();
d6 = new Image();
d7 = new Image();
D8 = new Image();
d9 = new Image();
d0 = new Image();
blank = new Image();
d1.src = "1.png";
d2.src = "2.png";
d3.src = "3.png";
d4.src = "4.png";
d5.src = "5.png";
d6.src = "6.png";
d7.src = "7.png";
d8.src = "8.png";
d9.src = "9.png";
d0.src = "0.png";
blank.src = "blank.png";

function REFRESH() {
    VAR t = new Date();
    var h = t.getHours();
    var m = t.getMinutes();
    var s = t.getSeconds();
    var ms = t.getMilliseconds()

    if (h <= 9) {
        document.images.d1.src = blank.src;
    }
    else {
        document.images.d1.src = eval("d" + Math.floor(h / 10) + ".src");
    }
    document.images.d2.src = eval("d" + (h % 10) + ".src");
    document.images.d3.src = eval("d" + Math.floor(m / 10) + ".src");
    document.images.d4.src = eval("d" + (m % 10) + ".src");
    document.images.d5.src = eval("d" + Math.floor(s / 10) + ".src");
    document.images.d6.src = eval("d" + (s % 10) + ".src");
    document.images.d7.src = eval("d" + Math.floor(ms / 100) + ".src");
    document.images.d8.src = eval("d" + (ms % 10) + ".src");
   
    setTimeout("refresh()", 10);
    }


   
   
   



thats the thing i am using its a gadget for windows 7 but it has a white rectangle on the background so any help would be nice ^^ok DONT worry now i have fixed it by doing this :


  body
  {
    margin: 0;
    width: 221;
    height: 125;
    background-image: url('trad.PNG');
  }
  #gadgetContainer{
    margin: 0;
    width: 221;
    height: 125;
    padding-top: 52px;
    padding-left: 54px;
  }


d1 = new Image();
d2 = new Image();
d3 = new Image();
d4 = new Image();
d5 = new Image();
d6 = new Image();
d7 = new Image();
d8 = new Image();
d9 = new Image();
d0 = new Image();
blank = new Image();
dot = new Image();
d1.src = "1.png";
d2.src = "2.png";
d3.src = "3.png";
d4.src = "4.png";
d5.src = "5.png";
d6.src = "6.png";
d7.src = "7.png";
d8.src = "8.png";
d9.src = "9.png";
d0.src = "0.png";
blank.src = "blank.png";
dot.src = "dot.png";

function refresh() {
    var t = new Date();
    var h = t.getHours();
    var m = t.getMinutes();
    var s = t.getSeconds();
    var ms = t.getMilliseconds()

        if (h <= 9) {
            document.images.d1.src = d0.src;
        }
        else {
            document.images.d1.src = eval("d" + Math.floor(h / 10) + ".src");
        }
        document.images.d2.src = eval("d" + (h % 10) + ".src");
        document.images.d3.src = eval("d" + Math.floor(m / 10) + ".src");
        document.images.d4.src = eval("d" + (m % 10) + ".src");
        document.images.d5.src = eval("d" + Math.floor(s / 10) + ".src");
        document.images.d6.src = eval("d" + (s % 10) + ".src");
        document.images.d7.src = eval("d" + Math.floor(ms / 100) + ".src");
        document.images.d8.src = eval("d" + (ms % 10) + ".src");
        document.images.d.src = dot.src;
        document.images.colon.src = colon.src;
   
    setTimeout("refresh()", 10);
    }


   
   
   



also is there a way of making it so if var m is lower than 1 the background color changes to red??? and if it is biggar than 1 it goes white?

515.

Solve : float image and text help?

Answer»

I was at this website
http://www.tizag.com/cssT/float.php

And it tells how to do image loating and this is just what I want to do. Ware the text WRAPS around the photo.

How can I do the same THIN g but with  Inline CSS???
There is a Inline CSS tutorial on the page of your link. Follow those instructions.

http://www.tizag.com/cssT/inline.phpI am sorry but I whent to the Link and it tells of Inline but for text color and text background color.
I did not see how to do Text Wrap with Inline CSS?

It may be my BAD eye site did I miss it on the page?

516.

Solve : time interval in marquess?

Answer»

how to PUT a time interval DIFFERENCE between 2 marquess in html ?
PLZ PROVIDE me code for this..Google

517.

Solve : SEO Experts?

Answer»

hi guys , i do have an issue with my website INDEX. i use the tool grader dot com to see how many my website PAGES r indexed . the number goes up to 12 and few day goes down to 8 or 7 and again to 9 and up till 12 and so on. WOULD u plz tell me if it's normal or not coz some website keeps going up till hundreds . thnx
http://www.google.com/We're not interested in limos. But thanks.*censored* KPAC!

I AM interested in limos.

In fact, this is my homepage: http://en.wikipedia.org/wiki/Limos

And I regularly peruse this page to see if there are any new images: http://www.google.com/images?hl=en&expIds=25657&sugexp=ldymls&xhr=t&q=limousine&cp=6&um=1&ie=UTF-8&source=og&sa=N&tab=wi&biw=1680&bih=860

They're just so hot.

-rockput your website address in Google search (without the html://)
it should list the website. Look at more results, it should list the pages indexed.
-
hope this helps
falcon QUOTE from: dnvrguy02 on December 12, 2010, 12:40:58 PM

hi guys , i do have an issue with my website index. i use the tool grader dot com to see how many my website pages r indexed . the number goes up to 12 and few day goes down to 8 or 7 and again to 9 and up till 12 and so on. would u plz tell me if it's normal or not coz some website keeps going up till hundreds . thnx
http://www.google.com/

If you have google webmaster installed on your website it gives you a deeper dive into what pages are specifically indexed, that is a must for SEO..  If you don't have it installed, its very easy.  Just goto your google account, sign up for google webmaster, then load a little snippet onto your webpage.  Then viola -- it starts tracking.
518.

Solve : webs- html?

Answer»

as i said in chat, im making it through webs, taking SOURCE and PUTTING it into html and hosting through my domain
i need to create a html doc for every page(at least, i THNK i do) so instead of"
      
         
            


                   
  • http://aesl.webs.com/" &GT;Home[/url]

  • http://aesl.webs.com/apps/photos/" >pictures[/url]

  • http://aesl.webs.com/apps/faq/" >FAQ</a>
  • " i think it needs to be like a file path or directory.
    every single comment would be a massive help as the BUSINESS relys on advertising
    thank youPlease put any code inside the code tags like so:
    Code: [Select]insert code here...by clicking the button over the posting area:


    Anyway, as the chat and forum are not connected, you'll need to start the explanation again, unfortunately.
519.

Solve : swf flash?

Answer»

Hi friends
Is there a free SOFTWARE that can edit a .swf file ?
thanks in advanceYou cannot edit swf files - you need the original .fla file, as a swf file is simply a compiled, playable fla file.
There is software that can make the swf in to a fla file which can then be edited in Flash.
If you google -swf to fla converter it looks like there is probably a free one available but SOMETIMES they have restrictions unless you buy the full version of the software.an swf to fla converter is a WASTE of TIME. If you need a fla file then you CLEARLY have flash, so you could just "import" the swf for the same result.

And that result is all but useless.

520.

Solve : CGI backbone question?

Answer»

I am looking at a project that will require CGI scripts, and was wondering should I STICK with PERL or dive into PHP like a friend is suggesting. They state that PHP is far better than PERL for CGI Scripts. Is it better or just personal preference???personal preference. Also, PHP and CGI are different; I don't believe any INSTALL base for PHP installs it as a CGI binary by default. Generally you use a apache module to interpret  PHP scripts.

For example, with CGI, any and all errors give you a "500: Internal Server Error" whereas using an Apache/IIS mod/plugin, you'll get the actual error text.

if you can avoid using CGI, do so. Use a native module for the web server software in the required language.

Aside from that, it's more preference then anything. PHP is in many ways a "subset" of Perl.

And for the last  TIME, It's "Perl" not PERL, every time somebody spells it PERL Larry Wall loses some hair. lol on Perl vs PERL

Yah I saw the module for PHP commented out with the # in Apache config file, and I have "Perl" active. Yah I know the "500: Internal Server Error"...lol...pulled out some hair with it a couple times in the past..lol

I figured it would be preference! I think I will stick with "Perl" to get the project done quickly and correct, and then dive into PHP when I have some free time to make and learn from MISTAKES in PHP.More on the Perl v. PERL thing:

http://stackoverflow.com/questions/72312/how-should-i-capitalize-perl

Also, From "Learning Perl, 4th Edition":

Quote

1.2. What Does "Perl" Stand For?
Perl is sometimes called the "Practical Extraction and Report Language" though it has been called a "Pathologically Eclectic Rubbish Lister" among other expansions. It's a retronym, not an acronym since Larry Wall, Perl's creator, came up with the name first and the expansion LATER. That's why "Perl" isn't in all caps.
You may also see "perl" with a lowercase p in some writing. In general, "Perl" with a capital P refers to the language and "perl" with a lowercase p refers to the interpreter that compiles and runs your programs.


Personally I prefer PHP for my web programming.. although my web server seems to croak on Perl for some reason. (internal server error) I don't think the Apache mod is installed properly...
521.

Solve : flash and search engines?

Answer»

Hi
Is the content of full flash WEBSITE INACCESSIBLE to search engines? Simple answer: yes. The major search engines at the MOMENT cannot "SEE" flash sites.

522.

Solve : Is this server okay??

Answer»

Hi guys,

I have recently paid a web designer to make me a website. It is kind of a youtube-with-a-twist kind of website, where people submit their own videos.

It has not yet gone LIVE, but it is currently being hosted by the designer on one of his home machines. But now, he says that when it goes live, he might have trouble with all the people trying to view videos that are being hosted at his house - limited bandwidth I guess.

So he has been telling me about a server than he knows about that could handle the bandwidth of my website.

I would simply like to post the spec of the server here and have someone who knows more about this stuff than I do, let me know if this would be a reasonable price to pay:

SPEC:

Processor (CPU) : Quad Core XEON 2.5Ghz     
Hard Drive : 2x250 GB SATA (250 GB Usable Space)     
Memory (RAM) : 8 GB   
Hardware RAID: Yes - RAID 1 Mirroring   
Remote Reboot : Yes - One Click Reboot           
Bandwidth : Unlimited 10 Mbps Data Pipe           
Internet Connections : Multiple Tier 1 Carriers     
IP Addresses : 2 Free. Additional for Fee           
Bandwidth Graphs and Reporting : Yes   
Operating System Services : CentOS 5 
Operating System Choice : CentOS       
Web Based Administration : cPanel/WHM         
Webserver : Apache     
Mail Server : EXIM         
FTP Server : ProFTP     
Database : MySQL       
Programming Languages : PHP, Perl & Python   
Name Server (DNS): Bind or use ours     
Root/Administration Access : Yes         
Technical Support : Yes 24x7x365         
Personal System Admin : Yes - Chargeable

He is asking for around £170 ($260) per month. Is this reasonable? Is this spec roughly what I would need? I have no idea how many video / how much traffic - it depends on how many users and how successful the site. I would be happy if we got like 200 videos on there and 1000 people looking in one day for example - I wouldn't expect any more than that for the first few months at least.

Thank you for your help!!I have never ever paid that kind of money for a server. I rink you mean monthly rent. Is that right. Prices vary widely. For 10mpbs a Xenon  CPU and a RAID is typical.
But I do not have any experience. Out of my league.

Check around and see what the going prices are.
If you have the name of the principal domain of the company, look it up on WOT. Of course, WOT does not ate the quality of servers, but it may provide a clue as to the integrity of the vendor.  h
http://www.mywot.com/

Here are two more  suggestions.
1. Contact Dell by PHONE and ask them for a quote. They rent servers.
2. Search Google  "rent for 10 mbps server" (no quotes).

There was one who had a Mac as a server real cheap.
And some companies that claim they are going out of business and they want you to take over the server. Be careful!

The are people all over the world that want your business! Here are just two well known,
http://1and1.com
http://rankspace.com
Be aware many give rack space a poor rating.
Here is one you may seldom hear about (my commendation):
http://34sp.comthank you very much for the info.. I will follow it all up!

Since my post, I was wondering - what about just using a hosting website? Is this called shared hosting? If I paid for a good package, would they be able to accommodate my needs?

Thank you :-)Yes, shared hosteling works good when you need to scale your business. You start out with a small  amount of bandwidth and then increase it as needed. There are so many of thies, it is hard to make a specific recommendation.
The few time nI wanted ton put video on my web site, I did it indirectly. Sires such as You Tube and others let you post on their site. The you can link to their page as a "frame" that seems to be coming from your site. Of course, hour videos arena longer exclusive, But you visitors may not even realize it. Later, you can get your own video streaming, which takes bandwidth.
I use HostGator.com, which allows me unlimited storage and bandwidth for $5/month.

I'm not exactly sure of the bandwidth rate, or the server specs, but everything has been pretty great for all of my websites.
I would RECOMMEND checking it out.

In any case, I WOULD NOT pay that much until you get a LOT more info.  That sounds extremely unreasonable.

Hope it works out well for you,
-rockerestDecent server specs, however way over priced. Also, as you will be hosting videos you will soon start running out of storage space if the site picks up.

Seeing as you posted the price in £ then ($), im guessing your based in the UK? Then i would suggest http://www.rapidswitch.com/dedicatedservers.aspx (Their bronze package). As that will easily keep your site running until your getting about 10,000 users a day.
You need to research this.

A quick search bought up http://www.fasthosts.co.uk/dedicatedservers/compare/

523.

Solve : drop down list?

Answer»

Hi,

I am starting a site with XHTML, CSS and javascript and any other code that it requires, and am trying to create a side menu list (unordered) with a plus sign beside each list item that will expand to open a further list of items -underneath - that contain another nest of items which would be hyperlinked. Clicking a minus sign would then close each list.

I have searched on the DHTML Drive site and in general HTML online tutorials and some BOOKS but could not find code to do this. Maybe this can be done with CSS?

Any advise or links to tutorials on this specific issue would be appreciated.

Regards,

Jen11
This is a LINK to a CSS menu generator. It isnt exactly what you want, but you can create HORIZONTAL and vertical menus with it and then copy and paste the code to your page.

http://wonderwebware.com/

524.

Solve : my upload file wont give the link after uploaded?

Answer»

i want it to show the link to the uploaded file can anyone help? heres the code:

Code: [Select]<?php

####################################################################
# File Upload Form 1.1
####################################################################
# For updates visit http://www.zubrag.com/scripts/
####################################################################

####################################################################
#  SETTINGS START
####################################################################

// Folder to upload files to. Must end with slash /
define('DESTINATION_FOLDER','Uploads/');

// Maximum allowed file size, Kb
// Set to zero to allow any size
define('MAX_FILE_SIZE', 0);

// Upload success URL. User will be redirected to this page after upload.
define('SUCCESS_URL','http://rscanarchy.net/index.php?action=ezportal;sa=page;p=5');

// Allowed file extensions. Will only allow these extensions if not empty.
// Example: $exts = array('avi','mov','doc');
$exts = array();

// rename file after upload? false - leave original, true - rename to some unique filename
define('RENAME_FILE', true);

// put a string to append to the uploaded file name (after extension);
// this will reduce the risk of being hacked by uploading potentially unsafe files;
// sample strings: aaa, my, etc.
define('APPEND_STRING', 'aab212');

// Need uploads log? Logs would be saved in the MySql database.
define('DO_LOG', false);

// MySql data (in case you want to save uploads log)
//define('DB_HOST','localhost'); // host, usually localhost
//define('DB_DATABASE','mydb'); // database name
//define('DB_USERNAME','myusername'); // username
//define('DB_PASSWORD','password-here'); // password

/* NOTE: when using log, you have to create mysql table first for this script.
Copy paste following into your mysql admin tool (like PhpMyAdmin) to create table
If you are on cPanel, then prefix _uploads_log on line 205 with your username, so it would be like myusername_uploads_log

CREATE TABLE _uploads_log (
  log_id int(11) unsigned NOT NULL auto_increment,
  log_filename varchar(128) default '',
  log_size int(10) default 0,
  log_ip varchar(24) default '',
  log_date timestamp,
  PRIMARY KEY  (log_id),
  KEY (log_filename)
);

*/

####################################################################
###  END OF SETTINGS.   DO NOT CHANGE BELOW
####################################################################

// Allow script to work long enough to upload big files (in seconds, 2 days by default)
set_time_limit(172800);

// following may need to be uncommented in case of problems
// ini_set("session.gc_maxlifetime","10800");

function showUploadForm($message='') {
  $max_file_size_tag = '';
  if (MAX_FILE_SIZE > 0) {
    // convert to bytes
    $max_file_size_tag = "<input name='MAX_FILE_SIZE' value='".(MAX_FILE_SIZE*1024)."' type='hidden' >\n";
  }

  // Load form template
  include ('file-upload.html');
}

// errors list
$errors = array();

$message = '';

// we should not exceed php.ini max file size
$ini_maxsize = ini_get('upload_max_filesize');
if (!is_numeric($ini_maxsize)) {
  if (strpos($ini_maxsize, 'M') !== false)
    $ini_maxsize = intval($ini_maxsize)*1024*1024;
  elseif (strpos($ini_maxsize, 'K') !== false)
    $ini_maxsize = intval($ini_maxsize)*1024;
  elseif (strpos($ini_maxsize, 'G') !== false)
    $ini_maxsize = intval($ini_maxsize)*1024*1024*1024;
}
if ($ini_maxsize < MAX_FILE_SIZE*1024) {
  $errors[] = "Alert! Maximum upload file size in php.ini (upload_max_filesize) is less than script's MAX_FILE_SIZE";
}

// show upload form
if (!isset($_POST['submit'])) {
  showUploadForm(join('',$errors));
}

// process file upload
else {
  
  while(true) {

    // make sure destination folder exists
    if ([email protected]file_exists(DESTINATION_FOLDER)) {
      $errors[] = "Destination folder does not exist or no permissions to SEE it.";
      break;
    }

    // check for upload errors
    $error_code = $_FILES['filename']['error'];
    if ($error_code != UPLOAD_ERR_OK) {
      switch($error_code) {
        case UPLOAD_ERR_INI_SIZE: 
          // uploaded file EXCEEDS the upload_max_filesize directive in php.ini
          $errors[] = "File is too big (1).";
          break;
        case UPLOAD_ERR_FORM_SIZE: 
          // uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form
          $errors[] = "File is too big (2).";
          break;
        case UPLOAD_ERR_PARTIAL:
          // uploaded file was only partially uploaded.
          $errors[] = "Could not upload file (1).";
          break;
        case UPLOAD_ERR_NO_FILE:
          // No file was uploaded
          $errors[] = "Could not upload file (2).";
          break;
        case UPLOAD_ERR_NO_TMP_DIR:
          // Missing a temporary folder
          $errors[] = "Could not upload file (3).";
          break;
        case UPLOAD_ERR_CANT_WRITE:
          // Failed to write file to disk
          $errors[] = "Could not upload file (4).";
          break;
        case 8:
          // File upload stopped by extension
          $errors[] = "Could not upload file (5).";
          break;
      } // switch

      // leave the while loop
      break;
    }

    // GET file name (not including path)
    $filename = basename($_FILES['filename']['name']);

    // filename of temp uploaded file
    $tmp_filename = $_FILES['filename']['tmp_name'];

    $file_ext = strtolower(strrchr($filename,"."));
    if (strpos($file_ext,'.') === false) { // no dot? strange
      $errors[] = "Suspicious file name or could not determine file extension.";
      break;
    }
    $file_ext = substr($file_ext, 1); // remove dot

    // check file type if needed
    if (count($exts)) {   /// some day maybe check also $_FILES['user_file']['type']
      if ([email protected]in_array($file_ext, $exts)) {
        $errors[] = "Files of this type are not allowed for upload.";
        break;
      }
    }

    // destination filename, rename if set to
    $dest_filename = $filename;
    if (RENAME_FILE) {
      $dest_filename = md5(uniqid(rand(), true)) . '.' . $file_ext;
    }
    // append predefined string for safety
    $dest_filename = $dest_filename . APPEND_STRING;

    // get size
    $filesize = intval($_FILES["filename"]["size"]); // filesize($tmp_filename);

    // make sure file size is ok
    if (MAX_FILE_SIZE > 0 && MAX_FILE_SIZE*1024 < $filesize) {
      $errors[] = "File is too big (3).";
      break;
    }

    if ([email protected]move_uploaded_file($tmp_filename , DESTINATION_FOLDER . $dest_filename)) {
      $errors[] = "Could not upload file (6).";
      break;
    }

    if (DO_LOG) {
      // Establish DB connection
      $link = mysql_connect(DB_HOST, DB_USERNAME, DB_PASSWORD);
      if (!$link) {
        $errors[] = "Could not connect to mysql.";
        break;
      }
      $res = mysql_select_db(DB_DATABASE, $link);
      if (!$res) {
        $errors[] = "Could not select database.";
        break;
      }
      $m_ip = mysql_real_escape_string($_SERVER['REMOTE_ADDR']);
      $m_size = $filesize;
      $m_fname = mysql_real_escape_string($dest_filename);
      $sql = "insert into _uploads_log (log_filename,log_size,log_ip) values ('$m_fname','$m_size','$m_ip')";
      $res = mysql_query($sql);
      if (!$res) {
        $errors[] = "Could not run query.";
        break;
      }
      mysql_free_result($res);
      mysql_close($link);
    } // if (DO_LOG)


    // redirect to upload success url
    header('Location: ' . SUCCESS_URL);
    die();

    break;

  } // while(true)

  // Errors. Show upload form.
  $message = join('',$errors);
  showUploadForm($message);

}

?>

525.

Solve : Urgent help needed with php form please!?

Answer»

Hi guys.. I have a website that has a box where people can submit their email addresses on there.

I got the form working fine using php and the email addresses were coming into my email address as they should.

Now people are visiting the site, but I have realised that the form is not working anymore! When they submit is says "FAILURE". I'm not sure that I have CHANGED anything so I don't know what is wrong.

Here is the code:

"if ($_POST["email"]<>'') {
$email_from = '[email protected]';
$ToEmail = '[email protected]';
$EmailSubject = 'NEW Investor';
$mailheader = "From: ".$_POST["email"]."\r\n";


$MESSAGE_BODY .= $_POST["email"];

mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("Failure");
?>
<font face="arial" size="2">Your have registered successfully - thank you! We'll be in touch when the bar on the right reaches the top.<p></font>
} else {
?>

<font face="arial" size="2">I'm interested and would potentially like to be INVOLVED. Here's my email address:</font>






};
?>
"

If anyone could tell me why it's not working that would be amazing!! Thank you!!

(only think I can think of that I changed is that I got an email address with the host and they had a box when you set up your email that said:
"Check this box to set the new email as default "From" address for emails sent from scripts in your hosting account" which I did. Could this be the problem? I deleted the mail box but the form still says "failure".)I can recommend to use php forms software for easy and quick form creation
526.

Solve : Picture X?

Answer»

My web site is not showing pictures I recently put on it. There in Jpg format and have RED x's over them but they display fine offline any reason for this?Did you develop your web pages on your computer or online via a web browser interface?  Are you sure you uploaded the pictures to the right folder on the web server?  How did you code the links to the images in your HTML files?  Can you post the exact coding here?I did it on my computer I'm sure the photos uploaded I tried renameing them. I didnt think that would work I was just running out of ideas. I'm sure the pictures uploaded into the right folder I only have one folder on the website I uploaded them to. All my other pictures turned out well on the web page. I warn you I am not the greatest web designer I'm sloppy ,but I have the ORIGINAL design on my desktop in a folder and everything looks fine.

this is the uploaded page as you can see my car pictures arent showing all 3 of them
http://smithdetailing.atspace.com/packages.html
So, if you logon on to your web server, you see the jpg files there along with your web page files, right?

As a test, try removing the / from .  Did that make any difference?
the files aren't in the same directory as the HTML file.

trying to navigate to http://smithdetailing.atspace.com/car.jpg redirects to a obvious SPAM page...


hmmm....I only have 1 folder that everything is in. Also I did try taking out the / with no luck. It must be glitchy I took out the images competely earlier and was still getting the x's with the alt TAG showing.

527.

Solve : website build help content area?

Answer»

Hello,

I NEED some help with building my website with the contant. I have made 3 slices in Photoshop to MAKE the CONTENT area and i would want the CONTEND are to start in the middle one and i need it to stretch so if fits in with the content.

Anyone know what coding i need for it??

attached is the layout.

[recovering disk SPACE - old attachment deleted by admin]what program are you using to make the web site?I'm using Adobe Dreamwever CS5

528.

Solve : Heading and footer problem?

Answer»

Hello,
On my website when view on a different screens the header and footer SHRINKS and then I can’t see the writing on it.
Here is the CSS:

CODE: [Select]#topheader{
        margin:0 auto;
        width:auto;
        height:16px;
        background:URL(images/topheader.jpg) repeat-x;
}

#menu_bar {

 margin:0 auto;
 width:100%;
 height:40px;
 background:url(images/Menu_bar.jpg)repeat-x;
 padding-top:10px;
}

#footer {
        margin:0 auto;
        width:auto;
        height:100px;
        background:url(images/footer.jpg)repeat-x;     
}When you have the left and RIGHT margins set to auto you NEED to specify a width.If you use a fluid layout (use % instead of pix) it will adjust to the screensize)
-
hope this helps
falcon

529.

Solve : Problem when hosting?

Answer»
When hosting my site using free a free hosting site, the site inserts some code at the end of each document. When i run validation through w3school it show only the inserted code as errors.

Any ideas.What hosting are you using?Well, you could TRY another free service. Just to see if that would make a difference. For example, GOOGLE has some free space available.
Sorry guys, i've SORTED it. I mailed the site and they sent me a link that is not available until you ask for it, that disables the code that they put in.

The code they put in was some that analizes the site, but its all OK now

Quote from: Geek-9pm on January 01, 2011, 07:04:32 PM
Google has some free space available.

530.

Solve : Need help to get started :3?

Answer»

I've been wondering. I see people design site templates in Photoshop, is it possible to actually transfer these designs to actual website with as least coding as possible? Im ok at designing on Photoshop and have rough knowledge on slices, rough but useful I know it's a pretty noob-ish question but w/e.

If so, can anyone point out a good tutorial for it? I've look but haven't found anything useful.

Thankssss!

E: Move to webdesign please!Yes, but not REAL easy. just sorta kinda medium
http://www.youtube.com/watch?v=otk9Lgvbykg
And there are other such videos, which means :
1 .other people are doing it themselves,
OR
2. they want to tell you to do it.Umm, well ( I know I didn't make it clear, my bad) I understand things like Nav bars, make the image then slice em' up. But, what I really wanted to know was that, when people make website designs, I mean the WHOLE things, how do they turn that in to a website? I watched this video >> http://designinstruct.com/web-design/create-a-clean-and-modern-web-design-in-photoshop/ which shows you how to design a website. How would you make it into website though? Would you actually have to code everything? Or is their a easier way around it? Like with the Nav bars.I never used Photostat to do a web site. So i don't know. Sorry.
I used Adobe Dream weaver,  still among the best. It uses templates. Quote from: Geek-9pm on December 23, 2010, 06:58:32 PM

I never used Photostat to do a web site. So i don't know. Sorry.
I used Adobe Dream weaver,  still among the best. It uses templates.
Spell check not working? I think you mean Photoshop and Dreamweaver.


Quote
Would you actually have to code everything? Or is their a easier way around it? Like with the Nav bars.
Redcaa, there are two ways of doing it. You can code it with something like Notepad or TextEdit or you can use a WYSIWYG (what you see is what you get) editor.
Do you have Dreamweaver?
Yea I do have Dreamweaver. I use it know and then but I face lots of PROBLEMS with it for instance, some codes which work fine in Dreamweaver but then don't work when it saves it as websites (htm etc...).  I would give an example but I am unable to at the moment Quote
some codes which work fine in Dreamweaver but then don't work when it saves it as websites (htm etc...).
Not sure what you mean by this...

See these two tutorials (both connected)
http://www.tutorials007.com/modern-web-layout/
http://www.tutorials007.com/from-photoshop-to-dreamweaver/
Thanks! Those tutorials were great. I've just looked over it but it seems great, lol

Thanks a lot, I won't mark this as solve just yet because I'm pretty sure I'm going to bump in to some problems later
Gimp is very similar to photoshop (poor mans photoshop or free image manipulation program). Some of the tutorials can be used for photoshop WITHOUT change.
Gimp is here:
http://www.gimp.org/
the webpage tutorial is here:
http://gimp-tutorials.net/taxonomy/term/5
to upload them to a server you should use an FTP client (many free on the internet)
I use core ftp lite (free)
http://www.coreftp.com/
You may want an HTML Editor
I use Alleycode HTML Editor (free)
http://www.alleycode.com/
it has a good help file and tutorial
-
hope this helps
falcon
531.

Solve : Drop down menus in Expression web?

Answer»
I  want to create a drop down menu that will link to 3 pages. I've created a jump down menu but i dont think it looked very good because i could not manipulate it in the way i want to and it was not in line with my other buttons. I've got a row of horizontal buttons and i want the third one along to be a drop-down menu, one that appears when you hover over the link. like at the top of the page when you hover over 'profile'

Does anyone know of any other way to make a drop down menu or point me in the direction of any good tutorials.http://www.threestyles.com/tutorials/css-drop-down-navigation-tutorial/

BOOM!

Also:
http://www.google.com/search?source=ig&hl=en&rlz=&=&q=drop-down%20menu%20tutorial&btnG=Google+Search#sclient=psy&hl=en&source=hp&q=drop-down+navigation+tutorial&aq=f&aqi=&aql=&oq=&gs_rfai=&pbx=1&fp=83f87efc6f926f13

Tada!

-rocktry wonderware css menu
http://wonderwebware.com/
it is free
they have technical help
-
hope this helps
falcon
Thanks for your replies.

I found and used the 'wonderwebware' to create the menu, but once a put it in my site it throws up validation errors. But, i think i can COMPARE it to the CSS on the 'threestyles tutorials' and see what i can change.

Have you got any ideas, it just keeps telling me 'the property value is marked invalid because it is not supported by the current schema', yet when i change the CODE in question it just GOES bananas. I have not got the RELEVENT experience, me thinks!I USE wonderware on my website
as for validation errors use HTML Tidy or
CSE HTML Validator Lite. Both have a firefox
version and both are free. Reason to use is they give
suggestions on corrections. Also the wonderware
has help info and FAQs.
-
hope this helps
falcon
Thanks again for the reply.

The problem is that the errors are in the css sheet that corresponds with the drop down menu. So the HTML Tidy and CSE HTML Validator Lite dont work for finding errors.

When i try and remove the errors the whole drop down menu becomes fully visible. Stumped!!

Visited the Wonderware site, cant find a FAQs section!http://wonderwebware.com/css-menu/faq.html
-
also contact us
http://wonderwebware.com/contact.php
-
also try
http://www.cleancss.com/
also check
http://www.dedoimedo.com/computers/html-tidy.html
-
hope this helps
falcon
532.

Solve : shop script help please?

Answer»

Hey there, am pulling my hair out at the moment as I have been set the task of creating an online shop using "shop script" however am completely stuck it's just not working it's error after error and it's rea;y stating the bug the *censored* out of me.

now am not to sure where to start so here goes.

I have easyPHP installed, IIS, Apache 2.2 and PHP5
Now as far as settings go most were default however I WOULD LOVE to just wipe my computer and start again (but don't real have the time for that)

going to web browser and typing localhost/install.php displays a page of code which is no GOOD. This leads me to think there is some setting in EasyPHP that I have to change but what !!!

Any help would be great as this is my first time jumping on to the web creating proccess I am mainly on the hardware side.
Thank youYour symptoms are extremely vague, making real help difficult to provide.

The errors you are encountering would help, as they would point to the PROBLEM PHP is having.

I have zero experience with the product you mentioned, and next to no experience with my own PHP installs (I let Apache handle those THINGS when I hosted my own, and now I let my hosting provider handle it).  However, my gut instinct says that, since you're using IIS, it's a directory permission problem.

Either IIS isn't set up properly, or PHP doesn't have permissions to certain directories, or some effed up combination of those and a billion other things that could go wrong on a Windows install.

tl;dr: What are the errors you're getting?

-rock

533.

Solve : help with website?

Answer»

Does anyone know if  there is a way when you  make a website  and lets say you wanted to change the header instead of going to every page what would you do it avoid the CHANGING manually is they a way to do it in one page then it does it to the others.You can use server side includes or a server PROGRAMMING language to include a template file.

BTW, sorry I can't get to your other topics, I just don't have a lot of "online-time" at the moment.yeah OK thanks,

Thats ok maybe cms software will asist as well?Yes there is
use CSS (cascading style sheets)
Styles are normally saved in external .css FILES. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!
-
see http://www.w3schools.com/css/css_intro.asp
-
hope this helps
falcon

534.

Solve : Need help altering Phatfusion's Image Menu!?

Answer»

I've been working with the image menu i download the css from the website and looked through it to see what i understand and what i don't and have made and resized some pictures to replace the ONES in the preview menu but I'm confused on whether or not the image size should be 200x500 or not. And basically, i wanted everything in the preview menu to the look the same except for the pictures that i will change out later.
Can someone tell me what to do?
I got the files from here --> http://phatfusion.net/imagemenu/
I really need help so it would be very appreciated if anyone COULD explain this and tell me what PARTS of the CSS or script or WHATEVER to take out that I obviously don't need because ALL i want is the menu section and I everything is CONFUSING.

535.

Solve : align html with php?

Answer»

i have a google ad i want to ADD to my website and i want to align it to the right of my index page (which is writtin COMPLETELY in php) i can get it to align to the right above my header and below my footer. I was wondering how i would go about PLACING it to align under my header and beside my body?

THANKS for ADVANCE for any help

536.

Solve : allow form to be sent to me using an email address submitted by guest?

Answer»

I have my form set up to submit to my email ADDRESS.  When sumbit is clicked outlook express, or whatever default software the guest would have, opens.  I want the form to be able to be sent to me from a an email address that the guest would enter into the form. 

This is the code I have so far.
Code: [Select]<form align= "left" action= "mailto:[email protected]">
Your Name:
<br>
<INPUT type="text" name="Name" value="Not your real name" size="20" maxlength= "50" onfocus=value=''">
<br><br>
Your Email:
<br>
<input type="text" size= "20" maxlength= "50">
<br><br>
Business Name
<br>
<input type="text" size= "20" maxlength= "50">
<br><br>
Business Address:
<br>
<textarea wrap= "virtual" name= "address" rows= 3 cols= 20 maxlength= 100>
</textarea><br><br>
Business Phone #:
<br>
<input type="text" size= "20" maxlength= "12">
<br><br>
Rate Your Experience:
<br>
<select size= "1">
<option> 1
<option> 2
<option> 3
<option> 4
<option> 5
<option> 6
<option> 7
<option> 8
<option> 9
<option> 10
</select>
<br><br>
Describe your experience. <br>
<textarea wrap= "virtual" name= "review" rows= 10 cols= 50 maxlength= 500>
</textarea><br><br>
<input type= "submit" value= "Submit Review">
<input type= "reset" value= "Start Over">
</form>

I want the process of submitting a consumer review to be as simple as possible. I want to be able to receive the review without the guest having to write an email.  Also, I want it to be able to work in desktop and mobile browsers.  I would really appreciate any help or ADVICE I can get.  Thanks.So you want the user to be able to specify the email address the form data is sent to?Sorry for the big bump here, but what I *think* the question is, is:
"How do I have an email form on my website that sends an email to me, without using the user's email client, but still allows me to "REPLY" to the message and have them receive it?"

Well, it's not TOO complicated, but the short answer is:

"mailto:" will always try to open the user's email client.
What you're trying to do requires server-side scripting.

Quick run-through:

User submits form-
Server processes form and email address-
Server emails you "pretending" to be the user's email address-
-
Profit-

Basically, you need PHP or (SHUDDER) ASP.

-rock Code: [Select]<html>
<body>
<?php
if (isset($_REQUEST['email']))
//if "email" is filled out, send email
  {
  //send email
  $email = $_REQUEST['email'] ; 
  $subject = $_REQUEST['subject'] ;
  $message = $_REQUEST['message'] ;
  mail( "[email protected]", "Subject: $subject",
  $message, "From: $email" );
  echo "Thank you for using our mail form";
  }
else
//if "email" is not filled out, display the form
  {
  echo "<form method='post' action='" . $_SERVER['PHP SELF'] . "'>
  Email: <input name='email' type='text' /><br />
  Subject: <input name='subject' type='text' /><br />
  Message:<br />
  <textarea name='message' rows='15' cols='40'>
  </textarea><br />
  <input type='submit' />
  </form>";
  }
?>
</body>
</html>

537.

Solve : Center a website problem?

Answer»

I have made a website and i have made it center for every browser but it nevers gets center for IE anyone know a way to get around it Code?CSS and HTMLArghhhhh.....

What code are you using at the minute? I assume you're using etc.?

Here's the proper way: http://www.webdesigntuts.net/css-tutorials/how-to-center-a-website-with-css.html
Quote from: kpac on November 12, 2010, 12:32:36 PM

Code?
Quote from: Typhoon on November 12, 2010, 02:39:15 PM
CSS and HTML

Sorry, but had to laughDon't worry, I had that same urge.yeah im useing the proper way   haha didn't know what i was thinking oh i know i was eating food lolOkay....so post the code you're using now.This may be wrong lol im new to this website that im doing plus im a beginner to website design lol
but here it is

body{
   font-family: Arial,sans-serif;
   color: #333333;
   line-height: 1.166;   
   margin: 0px;
   padding: 0px;
   background: #ffffff url(bg_grad.jpg) fixed;
}



a:link, a:visited{
   color: #005FA9;
   text-decoration: none;
}

a:hover{
   text-decoration: underline;
}



h1{
 font: bold 120% Arial,sans-serif;
 color: #334d55;
 margin: 0px;
 padding: 0px;
}

h2{
 font: bold 114% Arial,sans-serif;
 color: #006699;
 margin: 0px;
 padding: 0px;
}

h3{
 font: bold 100% Arial,sans-serif;
 color: #334d55;
 margin: 0px;
 padding: 0px;
}

h4{
 font: 100% Arial,sans-serif;
 color: #333333;
 margin: 0px;
 padding: 0px;
}

h5{
 font: 100% Arial,sans-serif;
 color: #334d55;
 margin: 0px;
 padding: 0px;
}



ul{
 list-style-type: square;
}

ul ul{
 list-style-type: disc;
}

ul ul ul{
 list-style-type: none;
}



form {
   margin: 0;
   padding: 0;
}

label{
 font: bold 1em Arial,sans-serif;
 color: #334d55;
}
            
input{
font-family: Arial,sans-serif;
}


#pagecell1{
   margin:0 AUTO;
   top: 197px;
   left: 99px;
   right: 99px;
   width:822px;
   background-color: #ffffff;
}

#tl {
   margin:0 auto;
   top: -1px;
   left: -1px;
   margin: 0px;
   padding: 0px;
   z-index: 100;
}

#tr {
   margin:0 auto;
   top: -1px;
   right: -1px;
   margin: 0px;
   padding: 0px;
   z-index: 100;
}

#masthead{
   margin:0 auto;
   padding:15px 0 0 0;
   top: 25px;
   height:172px;
   left: 99px;
   right: 99px;
   width:822px;
      
}

#pageNav{
   margin:0 auto;
   float: left;
   width:178px;
   padding: 0px;
   background-color: #F5f7f7;
   border-right: 1px SOLID #cccccc;
   border-bottom: 1px solid #cccccc;
   font: small Verdana,sans-serif;
}

#content{
   margin:0 auto;
   padding: 0px 10px 0px 0px;
   margin:0px 0px 0px 178px;
   border-left: 1px solid #ccd2d2;
}
And...

the HTML?

(the CSS has nothing in it that would indicate CENTERING...)










 


 

   







What are you using to create your site?dreamweverOkay. Your CSS styles are using what's called absolute positioning. You are telling them exactly where to be on the page, i.e. "top: 55px; left: 195px" etc. etc. This is a very bad way of doing it, because 1) not everyone has the same size screen as you, 2) not everyone uses the same browser as you, 3) toolbars and the height of the browser window affect it.

Are you manually typing the code into DW or are you letting the software do it? yes im manually, ok do you know any tuts that would help me
538.

Solve : Scroll Over help?

Answer» http://www.playdota.com/heroes
http://www.playdota.com/items

I'm TRYING to make a section on my site for a game I'm working on.
No the links at the top aren't mine but I'm trying for a page like that so people can scroll over a Icon for a hero/item and it shows the BASIC info on the side. Like it does on the two links that I posted at the top of the thread.

Even grabbed all the sources for the site and still don't work.

Making a site using notepad than uploading and changing the files to the CORRECT file type.
If you want to see the Raw code of the page LET me know and I'll post a link to the Raw code for the page.How familiar are you with Javascript and AJAX?

That script is done entirely through AJAX and Javascript.

Since you looked at the code, you probably SAW all the lines that looked like this:

Code: [Select]<li><a id="it99" href="#" onclick="return showItem(99, 1, this);" onmouseover="return showItem(99, 0, this);"><img src="http://media.playdota.com/items/99/thumb.jpg" border="0"/></a></li>
In the
539.

Solve : jQuery menu bar problem?

Answer»

Hello,

Im wondering if anyone would be able to help me. I've got a  jQuery menu bar and its coded in. but as my computer screen is BIG i need to find a way to make it good for an normal small screen.

Here is the CSS: hope it helps

/* menu::base */
#menu_container{
   
   margin:0 auto;
   width:auto;
   height:50px;   
}

#menu {
   left: 388px; top: 8px; width: 915px;
   width: 1140px;
    position:relative;
    z-index:100;
    height:32px;
}
#menu .menu {
   margin:auto;
   position:absolute;
   width: 1140px;
}
#menu * {
   margin:auto;
    list-style:none;
    border:0;
    padding:0;
    margin:0;
}
#menu a {
   margin:auto;
    display:block;
    padding:7px 14px 7px 14px;
    white-space:nowrap;
}
#menu li {
   margin:auto;
    float:left;
    background:#fff;
}
#menu li li {
   margin:auto;
    float:none;
    _border:1px solid #494949; /** fix for ie6 */
}
#menu div {
   margin:auto;
    visibility:hidden;
    position:absolute;
    background:url(images/pix.gif);
}
#menu div div {
    margin:-24px 0 0 -1px;
    left:100%;
}
#menu li:hover>div { visibility:visible; }

/* menu::special styles */
/* menu::level 1 */
#menu a {
    text-decoration:none;
    color:#fff;
    position:relative;
    z-index:77;
}
#menu a:hover {
    background:url(images/back.png);
    color:#6bb90d;
}
#menu a:hover span { color:#6bb90d; }
#menu>ul>li:hover>a {
    background:url(images/back.png);
    color:#6bb90d;
}
#menu>ul>li:hover>a span { color:#6bb90d; }
#menu span {
    text-transform:uppercase;
    font:14px 'Trebuchet MS', Arial, Helvetica, Sans-serif;
    color:#fff;
}
#menu li { background:none; }
/* menu::level >= 2 */
#menu li li a {
    padding:0;
    position:static;
}
#menu li li a:hover { background:#57ac3c; }
#menu li li a span { color:#fff; }
#menu li li a:hover span { color:#ffffff; }
#menu li li a.parent span { background:url(images/pointer.gif) no-repeat right 9px; _background-position:right 10px; }
*+html #menu li li a.parent span { background-position:right 10px; }
#menu li li span {
    display:block;
    text-transform:none;
    line-height:16px;
    padding:4px 25px 4px 14px;
    font-size:14px;
}
#menu li div { background:url(images/back.png); }
/** */
#menu div div {
    _margin-top:-25px;
    _background:#393939;
}
#menu li li li { _border:1px solid #393939; }
#menu div div div { _background:#292929; }
#menu li li li li { _border:1px solid #292929; }
/** */
Well, here's a big problem:

Trying to imagine what HTML looks like BASED on CSS is insane.  Especially when it has stuff like "#menu .menu".  Huh?
Posting the pertinent HTML would be excellent.

In lieu of HTML, it looks like the only thing explicitly defining the size of your menu is
Code: [Select]#menu {
   left: 388px; top: 8px; width: 915px;
   width: 1140px;
    position:relative;
    z-index:100;
    height:32px;
}
#menu .menu {
   margin:auto;
   position:absolute;
   width: 1140px;
}
(width: 1140px)

Make that a bit smaller and it should work fine.  If it wraps, or does something funky, then I would imagine either: A) you have too many menu options or B) your font is set way too LARGE.  However:
Code: [Select]#menu span {
    text-transform:uppercase;
    font:14px 'Trebuchet MS', Arial, Helvetica, Sans-serif;
    color:#fff;
}
Makes it seem like you've got a fairly reasonable font size.

One last note for thought:
Using pixels is *typically* poor practice.  It locks a user into a look that you deem acceptable.  If they have their size set larger (for vision impaired, etc.), the changes won't take affect.  Using "ems" is a better idea.  It's not too hard to pick up on, and I highly recommend it.

Just google "design with em not px" to get some info.

Hope this helps,
-rockerest

p.s.
Pixels do have their place in many parts of web design, but for things like a nav bar, or other general SIZES, ems are the way to go (even for absolute positioning! [which is not good practice either]).

540.

Solve : need inline css for older table?

Answer»

see real example at www.needto.net   LOTTO SITE,     see upper left hand corner<BR>
Code: [Select]<br />
<TABLE align=left cellspacing=1 cellpadding=1 bgcolor="#FFFFFF" WIDTH="20%" border=6 ><TR><TD align="center" ><A HREF="http://www.needto.net/mega-millions-lottery-results.htm" title="Mega millions lotto results lottery winning numbers"><IMG SRC="http://www.needto.net/images/megamill1.gif" border="0" width="129" height="60" ALT="Mega millions lottery results winning lotto numbers" ></A></TD></TR><TR><TH BGCOLOR="#FF0033"><FONT color="#FFFF00">Hottest Numbers</FONT></TH></TR>
<TR><TD bgcolor="#FF0033" align="CENTER"><FONT size=3 color="#FFFF33">12,48,53,46,02</FONT></TD></TR>
<TR><TD bgcolor="#FF0033" align="CENTER"><FONT size=3 color="#FFFF33">52,27,39,13,14</FONT></TD></TR>
<TR><TD BGCOLOR="#0000FF" align="CENTER"><FONT color="white">Cold</FONT></TD></TR>
<TR><TD BGCOLOR="#0000FF" align="CENTER"><FONT size=3 color="#FFFFFF">49,06,47,41,23</FONT></TD></TR>
<TR><TD BGCOLOR="#0000FF" align="CENTER"><FONT size=3 color="#FFFFFF">55,08,01,37,32</FONT></TD></TR>
<TR><TH><FONT size=1 COLOR="black">as of&nbsp;&nbsp;12/18/10</FONT></TH></TR></TABLE>
<br />

No direct links to lottery sites, please.
-- kpac
Ummm, I don't understand the question.

-rock

541.

Solve : Paypal?

Answer»

On Pay pal do you have to have a credit card or bank account hooked up to it to be able to use it. For example: If I was sent $30 to my NEW pay pal account but did not have a bank account or credit card hooked up with it would i still be able to purchase something online if it cost less than $30?No.I could be wrong but I'd bet you can do that.  I see no reason why you can't do that, as long as the purchase does not exceed $30 and the seller accepts Paypal payments.How did you set up paypal WITHOUT a bank account?  I don't like having mine linked but didn't realize you could opt out of that part. Quote from: Wilczek on December 03, 2010, 11:20:29 AM

How did you set up paypal without a bank account?  I don't like having mine linked but didn't realize you could opt out of that part.
Depends on what you want to do with PayPal. Since most PayPal want to use PayPal to buy things and/or sell things, they need to either fund their PayPal account by linking a bank account to it, or, for sellers, they will want to link to a bank account so that they can withdraw funds from PayPal.  So, in other words, opting out is usually not an option. Why connect Paypal with bank ac, does it work fine with credir cards for paypal sellers or buyers? Quote from: jrwlam on December 10, 2010, 01:57:45 AM
Why connect Paypal with bank ac, does it work fine with credir cards for paypal sellers or buyers?
Yes, the last time I LOOKED, PayPal accounts can be linked to either bank accounts or credit cards or, I believe, both with one SOURCE selected as primary or default.  Be careful with Paypal. I have heard horror stories of them holding large amounts of money for months for no reason at all. Quote from: sincitykid on December 27, 2010, 12:41:12 PM
Be careful with Paypal. I have heard horror stories of them holding large amounts of money for months for no reason at all.

I've heard horror stories about banks doing the same thing.

Point is there are going to be detractors for everything.
542.

Solve : Web design not working on internet explorer?

Answer»

I am designing a site using a template with Expression web & Dreamweaver. It is working on all browsers but Internet Explorer. I don't know anything about code. Can anyone help me with this problem. Here is the code.

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">





Welcome















#column1_wrapper   {width:100%;       border:0px;}
#left1col         {width:250px;      float:left;  padding:90px 0px 0px 20px;}
#left1pad         {width:0px;         float:left;}
#right1col         {width:0px;         float:right;}
#right1pad         {width:0px;         float:right;}
#center1col         {margin-left:280px; margin-right:0px; padding:0px 20px 0px 0px;}

#header_bg         {background:url('Site/themed_images/primary_themed_bg.jpg') no-repeat center 40px; height:360px;}







// if this page is in:
//   the root folder, then set this variable to ./
//   a sub folder one level deep, then set this variable to ../
//   a sub folder two levels deep, then set this variable to ../../
var flashRootLocation = "./";
var flashConfigLocation = "config";
var flashConfigType = "xml"; // either xml or php














/***********************************************
* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/




















   
   



                   





            
            
                   
            
            
            
            
            
            
            
            
            
                   
            
            
            
            
            
            
            
            
            
            
            
            
            
            
                 
            

            
            
               Sports Photography by Brent Guidry     
            
            
            
            
            
            
                   
            
            ddsmoothmenu.init({mainmenuid: "smoothmenu1", orientation: 'h', classname: 'ddsmoothmenu', contentsource: "markup" })
            
            

            

            
            
            
               
            
            
                   
            
            
            


   
   













   
            
            
      
            
         
         



Page Title goes here



            



short description



         
            
            
            
            
            
               
                  

         
               
                  
                     
                     ddsmoothmenu.init({mainmenuid: "smoothmenu2", orientation: 'v', classname: 'ddsmoothmenu-v', contentsource: "markup" })
                         
                     
                     

                     
                  
               


            
               
                  
                     
                        
                     
                  
               
            
               
                  
                     
                        
                     
                  
                           
            
               
                  
                     
                     
                     
                  
               
            
            
         
            
      
            
         
            
            
         
            
         
            
            
            


                   
            



New!!! Alternate 'LANDING PAGE' ..[/url]
[/url]

The new alternate landing page included with your template package uses our 'NEW' Split Rotator[/url], GREAT for "advertising[/url]" or "product displays[/url]"! You choose!



Designed for

       
  • Microsofts Expression Web (1/2/3 +), FrontPage 2003 and
       Sharepoint
       Designer 2007

  •    
  • Adobe Dreamweaver (8/CS3/CS4 +)



LM Tutorials

Instructor lead video tutorials .. LEARN the basics of building a website
with your Gen9 web template. Learn time saving tips and tricks to
building your first website, directly from the lead designer. Spend a little one
on one with the template creators, learn the inns and outs of working with your
new template, and most importantly how to prevent trouble so you can have 'fun'
and ENJOY the creative side of building a website.



LM Components

LM LOGO: a text to graphic conversion component.
Change the 'website name' text to suit your needs, no need for flash!


LM INFINITE MENUS: Horizontal and vertical CSS
menu's with infinite sub menu's.


LM Image Rotator: Theme your web pages with single
or multiple themed images .. great for displaying product 'cutouts' or cutout
objects.


LM AD-vanced [IR] Portfolio: Our most advanced
image rotation component. Multi function image display can be used for banner
add rotation, or share the highlights of your last family vacation.


LMp3 Player: Play mp3 music or audio files on your
web pages. Special scripting will remember your web site visitors preferences.


Advanced Features:

Google site search: add your URL to the Google
search network and display search results for just your website


Search Engine Optimization: Valid W3 XHTML coding,
CSS styled navigation, and page components that allowing for effective SEO


HTML catalog page: with sample PayPal buy now
buttons.

http://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/singleitem-intro-outside">
**Click here to learn more about PayPal buy now buttons[/url]


Contact form: pre-designed form page, just edit and
connect to your web server form handler


<strong>Editable Source Files</strong>: Web developers can change
the colors of the template with the downloadable source files using Fireworks
CS3 and Flash CS3



Template Package
    ...what you see in this demo, is what you receive in the
template package

 



            

Template Features



Dynamic images:  replace the
images in the template with your own images captured on your digital
camera.


Shared (Library) Pages:&nbsp; update the COMMON web components in your template by editing a single file or
page.


Flexible (Liquid) CSS:  set
your web pages to a specific page width, or allow the page to grow to the full
width of the web browser.


Multi Column:  all pages in
your template are capable of displaying a single, double or triple column
layout.


SEO Prep:&nbsp; your web pages
have been prepped for your SEO efforts. H1, H2 and H3 tags located in specific
locations to help you improve your search engine optimization.


SPRY Photo GALLERY:&nbsp; a simple no non-sense
photo gallery brought to you by the folks from Adobe Systems.


CSS Tableless design: 
flexible page widths, multiple columns and it's a done via valid CSS. No tables
were used in the dynamic build of your web pages. ** (note - standard compliant
tables are used in the catalog.htm page to display the product information)







Google site search: add your URL to the Google
search network and display search results for just your website


Search Engine Optimization: Valid W3 XHTML coding,
CSS styled navigation, and page components that allowing for effective SEO


HTML catalog page: with sample PayPal buy now
buttons.

http://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/singleitem-intro-outside">
**Click here to learn more about PayPal buy now buttons[/url]


Contact form: pre-designed form page, just edit and
connect to your web server form handler


<strong>Editable Source Files</strong>: Web developers can change
the colors of the template with the downloadable source files using Fireworks
CS3 and Flash CS3


 



Secondary Info h3
   
Secondary Info h4

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed est lorem,
ullamcorper sit amet, fringilla porttitor, convallis eget, dolor. Nulla ENIM
enim, fringilla eget, semper eget, pulvinar ut, libero. Suspendisse id velit.
Morbi sit amet tortor. Vivamus pharetra sollicitudin enim. Donec eget urna sit
amet metus dapibus placerat. Cras luctus lorem in diam. Praesent urna diam,
condimentum quis, interdum a, posuere at, lectus. Maecenas nec nisl. Suspendisse
risus neque, convallis et, pellentesque eu, vulputate in, tellus. Cras non mi
sagittis mauris congue imperdiet.



Secondary Info h4

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed est lorem,
ullamcorper sit amet, fringilla porttitor, convallis eget, dolor. Nulla enim
enim, fringilla eget, semper eget, pulvinar ut, libero. Suspendisse id velit.
Morbi sit amet tortor. Vivamus pharetra sollicitudin enim. Donec eget urna sit
amet metus dapibus placerat. Cras luctus lorem in diam. Praesent urna diam,
condimentum quis, interdum a, posuere at, lectus. Maecenas nec nisl. Suspendisse
risus neque, convallis et, pellentesque eu, vulputate in, tellus. Cras non mi
sagittis mauris congue imperdiet.




 


            


            
            
            
         
         
         
   
   
 
   








   



            





          

         


















      

 


            




      

 


            






I know this is a long shot (being 20 days later, and all), but:

Looks identical to me.  I tried it in IE9 and Firefox 4.

What's the problem on your end?

-rockerestFirst you said it is work on another browser.For web design you need a fix for IE as IE displays differently than other web browsers.
There are what is called work arounds or conditional statements (such as "if IE then ..). You need to do a Google search for: "if IE then". It will give several solutions. Choose the one that works best for you.
 Don't feel frustrated, this is a common problem for web designers.
-
hope this helps
falcon
543.

Solve : Facebook tab code?

Answer»

I ADD a new FBML TAB about product list on my Facebook, I tried to write new code for it, but everything failed. NOTHING showed on it. I checked the code, and found nothing wrong.
Is there any rule that NEEDS to follow.A LOOK at the code you have would be nice.

544.

Solve : Adding Applets to website?

Answer»

Ive made a simple applet I want to put on a website. Im using free web hosting services such as spruz.com and a few OTHERS trying to find a way to upload and display my java applet ive made on a website. the applet works correctly on my own computer.

Ive used this code on the website to

http://aplusreview.webs.com/compreview.class" width=400 height=400>


I uploaded my class and put its path in the HTML code but I get a error during RUNTIME saying the class can not be found, but the link works as far as I know. Is there a way I can get this work?In general, you end to have a place to TEST it on a LOCAL machine.Yhen create a link that goes to you local web. If the thing works locally, but not on the internet, there maybe a reference that needs to be made an areference relative to the web site, not you local folder.
Look to see if there is a code base thing.
See here:
http://www.htmlcodetutorial.com/applets/_APPLET_CODEBASE.html

545.

Solve : Please help for opening Ecommerce?

Answer»

Hi guys , I want to start Ecommerce business ,in which there would be a WEBSITE  and a shopping cart ,user can buy any items in this ,  I want to ask that Wether I have to take any licence for opening this business or just register the website with a hosting plane and a shopping facility .

How should I start ?

  If I have to take any license , whome should I contact ?

any help would be higly appreciated .
As far as I know, all you'd need to do, if you want to do it officially, would be to register your business name. You don't need a license to set up an ecomm site. You just need to PURCHASE a domain and web hosting, and then of course get the site designed. Ecommerce web design is probably the most expensive to get done but if you have something people will buy, that shouldn't matter.Hi

Yes I Kpac is right you dont need a license, but you will need to pay taxes on all the money you collect, more if you USE a credit card merchan. I recomend prestashop.

If you have any questions you can contact me Thank you JAM , Thank you JAM1978 , this was a crucial info

Quote from: jam1978 on November 12, 2010, 05:43:27 PM

Hi

Yes I Kpac is right you dont need a license, but you will need to pay taxes on all the money you collect, more if you use a credit card merchan. I recomend prestashop.

If you have any questions you can contact me
Yes Prestashop is a great SOLUTION. It's will respond to your needs.
Well if you're serious about growing your business (and its not just a hobby) you should definitely start out with a license.  I'm not sure where you're from, but in the U.S. you need a license to be ABLE to operate under any name other than your own personal name. 

Especially if you're going to accept credit cards.

If you accept only Paypal, you might be able to get around this, as you can pretty much select any business name to operate under with Paypal. (but your paypal account still as to be associated with a bank account, which ideally would be a business bank account).  Mingling your business funds with your personal funds can get complicated!

If you're just experimenting with a business, then maybe you can just start out without any type of licensing.  But what if you've already started operating under a name and you finally go to register it (when you get serious about your business) and you find out that that name is already taken/registered? 

Best register it now.


546.

Solve : Flash CS5 Tuts?

Answer»

Does anyone KNOW any GOOD ADOBE FLASH Professional CS5 tuts.
http://www.lynda.com/home/displaycourse.aspx?lpk2=59964

http://www.adobe.com/devnet/flash/getting_started.htmlThanks

547.

Solve : Paypal and Frontpage?

Answer»

Hi:  I was wondering if someone may be willing to help me with a Paypal - Click to View code for my website.  I am not overly FAMILIAR with much other than Frontpage and a bit of HTML.

Thanks in advance....much appreciated.

RobWhat's the problem?Hi kpac:

I have been trying to put a 'click to view' code on my website using Paypal but the code doesn't work for some reason, or I am doing something WRONG which is more the case I believe.  Basically what I am trying to accomplish is to use the Paypal feature so that once Paypal verifys payment the video or document will become available.

Thanks in advance for you help.

Rob
https://www.paypal.com/cgi-bin/webscr?cmd=_merchant-get-started-outsideThank you.  I will see if I can get the proper codes WORKING from there.  Much appreciated.  Have a great day.

Rob

548.

Solve : image on top of image?

Answer»

Design is allways personal, I use tables and I-frame in a design I am making


In on of the tables I have an image

       
         
         
         This is a spacer next to the image!
       

Now I want a 2nd image that sits on top of the one used in the table above sort of layering i guess.


the first picture is a landscape the 2nd image is a pointer that i can move around on the landscape pointing at different spots.


I could use the background option for the first image but that limits me in my design, (if the table gets bigger than the image i get a repeat of that image or part of it ANYWAYS)


So I would like to have 2 images in 1 table overlaying eachother.


can this be done?USING tables is not a very good way to design a website. You should use css to control the design of the page. Html should only contain the content.

But to answer your question.
You can use css to prevent the image from repeating and force the image to match the size of the table.

Just out of curiosity why do you want an image layered on top of the table. Won't that cover up the content in the table?

AHHH  a question carefull I might start feeling important lol, hey but I have no clue on CSS I have seen it I have read about it but I want to get The HTML under control before i jump in the next stage.

I am trying to get a grip on the html and the tables, I have heard pro's and cons about them so i guess personal pref.

The css I will start learning that because I understand it MAKES a lot of things quicker since you dont have to repeat yourself over and over, just write the css part and call it again later or something.

But for now ill stay with my learning the html.

as FAR as your question about the image, it will not cover up the content of the table since the only content of that table is an image

the first image is as wide and high as the table the 2nd is a small animated gif file with transparent background ( a pointer) this will point at a certain section of the 1st image

hope this makes my idea clear.

better yet I hope this can be done.Thanks for this information.

549.

Solve : Problem content area?

Answer»

Hi i have a problem with a website  I'm making I'm using Dreamwever. I have a content area that i have made it has cerved corners so i have splited in to three. i cant explain well.

does any one KNOW a chat support which could help etc.Offhand I'm not FAMILIAR with a Dreamweaver only chat support. However, for PROGRAMMING related questions chat is not your best solution honestly because you or the person HELPING you will often need to post large SECTIONS of code. Can you post a link to the page you're trying to create or post the code of what you're trying to do?

550.

Solve : php - mysql script?

Answer» HEJ All

I am rather new to PHP and MySQL. I got task I do not know how to accomplish, therefore I hope you can help

I was asked to prepare few "chosing" fields which will be taking data from MySQL database with button add records.

Actually I have no clue how to start so I really hope you can help.

Here is what fields are needed:

Country
Town
School

from school new windog have to be open and class name should be listed.

In this sence, first we have to choose Country.
Country will be related for example when choosing USA, we will have LIST wit towns: NY, Chicago.....
town will be connected to school, unfortunatelly we have to remember that some schools are named:
school nr.1
school nr.2
that same names in different towns.

We also need buttom Add in that sence is easy to add records as countries, towns,schools, students


Please help to accomplish that task. I am new to PHP and MySQl, but I have to accomplish that task. If possible please DESCRIBE code in ..."more simple way"... so it make it easier to understand for beginners

Please help.

Many thanks in advance.

BR
Michal


First you need to create the database...

IN MYSQL:
Code: [Select]CREATE DATABASE db_name
Then Create the table...

IN MYSQL:
Code: [Select]CREATE TABLE table_name
(
School varchar(255),
Town varchar(255),
Country varchar(255),
)
Then you would use PHP to connect to the database.

IN PHP:
Code: [Select]<?php
$con = mysql_connect("localhost","username","password");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
?&GT;
I would need more detailed info to take this further... Also, after re-reading your question it looks like you might need to make three tables (Country, Town, School) and use the options for those as fields.