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.

801.

Solve : NEED HELP CREATING HTML?

Answer»

Off topic but what's GOING on here with the FORUM username puzzle game?  The starts with a member named eclipse255.  But that member closed their forum account, as indicated by "GUEST" below their username in the original POST and their second post.  Then later, they apparently renewed their forum membership using the same username again.  And finally, we see a member named Dewayne ron spliff who is apparently the same person as eclipse255.  This MAKES a very messy discussion thread.  Does this person not understand this?

802.

Solve : I want to copy the same post grid style to my another blog ??

Answer»

I am very confused and ashamed also that my FRIEND asked me to change the POST style in BLOGGER but after an hour i could not this is out of my mind and i don't know what to do so plz any body tell me that how to copy that similar grid style post design in any other blogger BLOG.

Grid style post design in blogger
  { nurfalah dot . com  }
{ gogreentheme dot blogspot dot com  }

The blog I want to be like this only post style

{  pengobatanherbalinfo dot blogspot dot com }I THINK you may have to change the template in your blogger settings.Blogger Documentation has moved to developers on Google.
https://developers.google.com/blogger/

803.

Solve : how to convert a script to windows.exe?

Answer»

How do you convert a script to a windows.exe file,
I have a website script and am trying to make a website with it, I was told to convert it to a windows.exe file to be able to work with it. Or how do I go about working and editing the script?We are going to NEED a lot of more information than this.I have a website template, and need to know how to work on it?? What information do you need??If the template is for server side STUFF, no local EXE file will help you.
So, yes, more detail is needed.
Is the template a form of HTML?You wouldn't compile any sort of website template to an .exe file.  If these templates are .html, .js or .css files you will edit them with a text editor such as Notepad, Sublime Text or Notepad++.

Do you have a link to the template you are talking about.Is there a software where you can edit the text and see your website, and what you are creating at the same time?

I am not sure why I was told windows.exe? Is Notepad++ compatible with php? Or what would be compatible with PHP?? Quote from: anthonyb5615 on January 10, 2014, 07:30:04 PM

Is there a software where you can edit the text and see your website, and what you are creating at the same time?

I am not sure why I was told windows.exe? Is Notepad++ compatible with php? Or what would be compatible with PHP??
Scripts that run on a remote server can not run on your local ,Windows machine. The conceptions are s when your local machine has some kind of server system. This is often  done with an emulation or a virtual machine.
The FORUM is written in PHP. But the serve translates  in into HTML for your browser.yes you can. scripts are just created by scripting languages. Putting aside the issue of whether you are local or at remote and whether its a web site script, there are tools developed to convert scripts to exe that you can run locally on your computer.
For example, if you have a PHP script, you can probably try out some of the tools mentioned here.

If you are using Python as a scripting language, py2exe , pyinstaller COMES to mind.

If you are using Ruby, things like ocra can do it

If you are using Perl, you can use PAR::Packager , or one of those commercial ones like pdk perl2exe

So, depends on what language you use, you might probably find something along that line.briandams, have you done it?
The tone of the first post would indicate the OP has no experience with running scripts either remotely on local. Now if you wish to help him step-by step, please do so. And he did not say which script language.
Quote from: Geek-9pm on January 10, 2014, 09:33:02 PM
briandams, have you done it?
of course. If not, i won't even suggest. DUE to work, i often have to distribute programs to clients who doesn't know programming and in order to reduce the hassle, i just convert scripts i wrote to stand alone executables.

Quote from: Geek-9pm on January 10, 2014, 09:33:02 PM
The tone of the first post would indicate the OP has no experience with running scripts either remotely on local. Now if you wish to help him step-by step, please do so. And he did not say which script language.
you and me and everyone else knows the info he gave is sufficient to really help him. I am just giving a best guess what his scripting language might be. helping him or not, well, we both know that that's not possible right now w.o further info. Quote from: Geek-9pm on January 10, 2014, 09:33:02 PM
And he did not say which script language.
They mentioned PHP.


anthonyb5615:

If it is a prepared Template, is it possibly some sort of CMS? Some templates come with back-end features that will allow you to make certain changes without editing any of the source, or by simply revising stylesheets.

Have you been able to deploy the Web site/templates anywhere? Or is deploying the website in a usable form what you are trying to do?I m trying to work with template, not sure of the file type? and I have a ready made website I bought that is made from php, with the ready made site I just want to add my add sense and upload it to server. Quote from: anthonyb5615 on January 14, 2014, 10:14:45 AM
I m trying to work with template, not sure of the file type? and I have a ready made website I bought that is made from PHP, with the ready made site I just want to add my add sense and upload it to server.
Hmm... When I need to put a script or something else on my website, I use an FTP client and have no need to convert it to an EXE file.

What I am saying is that if the remote machine is not a windows machine, using EXE written for Windows is not going to work. The remote might be Linux.

However, when I find a template in PHP, I test it on my local machine with suitable emulator. Then I have to convert the  thing into a ZIP file and upload lit to the server. The program non the service is WordPress, which is largely PHP and requires uploads in ZIP format. However, I believe I have did uploads using FTP. The issues is knowing where they have to go in the remote directory structure.

Does this apply to what you do?

Quote from: anthonyb5615 on January 14, 2014, 10:14:45 AM
I m trying to work with template, not sure of the file type? and I have a ready made website I bought that is made from php, with the ready made site I just want to add my add sense and upload it to server.

You are going to have to give a lot more information - Such as what your existing website is, what this exact template (i.e. a link to it) and what you are trying to do.
804.

Solve : Website for business?

Answer»

Hey! I need some advice about where to go to get a website as I've recently started my own little business (t-shirt printing) and the next step is to get a website set up for it. I've asked a few people about it and also done a search on google. Looks like there are some good free blog/website sites like WordPress and Blogger but then I was wondering if it was worth paying for a webhosting company like 1&1 for example...can anyone give me some tips or suggestions? Anyone own a website on a good site than you can suggest? Some of my friends have a blog on Blogger but I don't know if it's suitable for a business as they just have like personal blogs on there. For a business site you'd really want to pay for web hosting (free stuff is often unreliable and companies can disappear overnight taking your site with them) and get a domain name (e.g. cp39tshirtprinting.com).

Then when it comes to building your site you would PROBABLY be best to install a Content Management System (CMS) on your web hosting package.  Some examples would be DRUPAL, Wordpress or (if you like pain) Joomla.  You would then use this software to build your site.  While Drupal is a lot more powerful you may find Wordpress to be the best option as there are loads of premade themes that you can use to build your site with.Awesome, thank you for the info! I will definitely check out the sites you mentioned, I think I would go for something like WordPress just because of the pre-made themes. I have a limited knowledge of building websites and it is important that I get it right, and no, I don't like pain :p I use Wordpress for my blog and have a friend who uses it for his business, but he does not sale things online. I use Joomla for all my other websites. It has tons of themes and his really easy to use with thousands of extras available. Although as previously pointed out it can be a pain, but usually just during the setup and learning curve. If you wanted to save money you could host it easily yourself of an old XP machine. The price's for hosting are so cheap now that is the way I would go. I use 1and1.com and host roughly 35 websites with them. My sites have never once GONE down by their error. Translation: I screw my websites up from time to time. They have built online selling tools as well.

There are ways to test the water also. Wordpress for example, you can setup for completely free and then if you chose them you can by a domain name for $18 a year. I believe 1and1 is about $4 a month. I have a different type of a account so not sure what the 1 site hosting is.

You are certainly best to go for a proper web host.  Hosting from home can be a fun project but the power cost alone of an old computer will likely end up substantially more than a cheap hosting package.  Then you get into the issue of port forwarding/security and the fact that upload speeds on residential connections are fairly slow.

If the site is to just hold information then Wordpress is fine but if you are wanting to sell stuff you may want to look at something more powerful like Drupal or Joomla (Drupal is my preference here). Quote from: camerongray on November 20, 2013, 09:38:17 AM

You are certainly best to go for a proper web host.  Hosting from home can be a fun project but the power cost alone of an old computer will likely end up substantially more than a cheap hosting package.  Then you get into the issue of port forwarding/security and the fact that upload speeds on residential connections are fairly slow.

If the site is to just hold information then Wordpress is fine but if you are wanting to sell stuff you may want to look at something more powerful like Drupal or Joomla (Drupal is my preference here).
AgreedOne thing you could do if you are mostly only going to sell t shirts is to set up an e commerce site? Right now there are a lot of sites offering e commerce solutions for AROUND 10-20 a month and higher and usually comes with hosting. I was looking at one site that had a package that included 100 items a month for around $12.00.  Google cheap online e commerce solutions. Just like with anything on the internet there are a lot of e commerce building sites, so do your research and look around. If you have 
the ABILITY to code word press might be an option that could work you you as well. I think it is best to use Wordpress as CMS. and then you can choose paid or free theme... there are many.
and also check woothemes, they have woo commerce.
805.

Solve : Perl-Continue to Next Line?

Answer»

Thanks to another FORUM MEMBER I was able to get a script to work that executes a batch  script. My problem now is I need the Perl script to continue to the next line of code while the batch script is running.  The Perl script wants to stop and wait til the batch script is finished before it goes to the next line. The batch script creates a video file in real time, the next line of code uses "Location:" to direct the user to the location where the video file is LOCATED. Any help in getting the Perl script to continue would be much appreciated.
Sorry for not getting to this until 21 days later, but if your still out there looking for a solution try ADDING START before the batch file that is called to process, this should start the batch and skip to the next line of the perl script. This is assuming that your calling the batch by system ( ); call.

The batch should run in a new window, and the perl will continue to run in its own shell window.

806.

Solve : help needed! Quotation marks not converting?

Answer»

I am new to web design, I am currently using textedit/safari on my mac, some of my QUOTATION makes in textedit don't convert over to my webpage, for example -
 
But when I view the source code on the webpage it comes out like this -


It happens when i write random peaces of code and i want to alter something. Hoping this is an easy fix as its driving me crazy!

Thanks

ALIGN=“CENTER�

Looks like some sort of FORMATTING is becoming embedded in it. I'd try using a basic text editor that wont add formatting to the content as for I think that is the problem. Unfortunately I am not a Apple user so I can only go on this formatting guess vs confirm. Oddly ENOUGH it has quotes elsewhere in the HTML so something strange is happening with just the CENTER portion.

On the IBM/PC side of computers using wordpad instead of notepad can cause similar ISSUES so notepad is best. I use Notepad++ for raw HTML and other coding, but Notepad++ hasnt been ported yet for Macs, however there is a similar alternative as shared here: http://decoding.wordpress.com/2010/03/20/textwrangler-best-alternative-to-notepad-for-mac-os-x/Is your PC set up for English?
What editor do you use for HTML?
I use the basic TextEdit that come with my mac, maybe I should use Wordpress?TextEdit isn't really an ideal editor for HTML as it supports stuff like fonts which you don't want for this.  For mac you may want to try something like TextWrangler.Thanks for you advise camerongray I am now using Text Wrangler and it's much better already :-)

807.

Solve : HTML Frames question??

Answer»

Hi,

I've got some CODE which has 3 frames on the screen:


 
 
 


the 3rd frame has a BUTTON called 'Submit', how can i get that submit button to then open up a PAGE which will take up the whole screen? Essentially opening a NEW page, however i want it to open on the same page.

thanks

808.

Solve : A description for this result is not available because of this site's robots.txt?

Answer»

I get this message when I find my website on google. I'm promoting a MarketHealth OFFER. I have a domain PURCHASED at GoDaddy and I used ( Forward With Masking), also I have private registration, if that helps any.

My question is how can I fix this as I can't edit the site as it's just an affiliate offer and I do not own the offer!.


DarrenThis may be useful

Quote

I am having all kinds of TROUBLE with my robots.txt file blocking google adsense as well as searches. I called Godaddy (my HOSTING provider)...

http://wordpress.org/support/topic/how-to-edit-my-robotstxt-file
809.

Solve : True type font with extended DOS charset?

Answer»

The title basically SAYS it all. Do you know if there is any font that has all the DOS characters in it?

If you don't know exactly what I mean, here: http://czyborra.com/charsets/cp437.gifWhat you call DOS font is one of the pagers used by windows for keyboards in other languages.
Look at the top of a web page source code,
  Code: [Select]<head>
    <META http-equiv="content-type" content="text/html;
      charset=windows-1252">
....
the windows-1252 is the page most often used for English Windows
Please read over this information and in the future sdo not use the term 'DOS font' because that is a very old idea.

Better term is 'DOS system font'
http://fontstruct.com/fontstructions/show/87372

Here is the standard English Windows char set.
http://en.wikipedia.org/wiki/Windows-1252
Please not that is is not just a font. It is a charset.
May Windows fonts have most, if not all, of chars in the charset.
It is more often called code page and one such is also called ANSI. The ANSI set is also the DOS system font, or can be declared to be the system font.

Of course, different languages will alter the code page. Example if the code page is Brazilian Portuguese, it does not look the same as English and can REALLY confuse you if you visit Brazil and want to use a fiends computer in DOS.
 Does this help any?




That is some good information, but the font you linked is not right. If you look at the font preview area on the site you linked, there is a tiny down arrow in the lower left. If you press that repeatedly, you will see that that font doesn't have the correct characters. It has the weird windows foreign language characters instead of the old ASCII dos ones. I NEED a font with all the chars like I linked in the OP. Found it!   

http://webdraft.hu/fonts/classic-console/

You can see it has the extended chars at the bottom if you look at the first and second images.In at least one of the links I gave, the control chars and not supposed to have visible forms. But you know,  that was done in old DOS versions.
Codes from 0 to 31 do not print. But TAB, CR and LF do something to cursor position. In web page design you can not use these directly. You have to have a tag that is sued for any special codes.

Quote

Code page 437 is the character set of the original IBM PC (personal computer), or MS-DOS. It is also known as CP43

Inte Quote
rpretation of code points 1–31 and 127

Code points 1–31 and 127 (00–1Fhex and 7Fhex) may be interpreted as either control or graphic characters, depending on the context. When used in a memory-mapped video display buffer, the code point is displayed as the graphic shown in the table of special graphic characters below. For printers the graphics context is established by a preceding control sequence in the data stream. In other situations, these code points are used as controls, as shown in the standard code page table.[5]

Most fonts for Microsoft Windows INCLUDE the special graphic characters at the Unicode indexes shown, as they are part of the WGL4 set that Microsoft encourages font designers to support. (The monospaced raster font family Terminal was an early font that replicated all code page 437 characters, at least at some resolutions.) To draw these characters directly from these code points, a Microsoft Windows font called MS Linedraw[6] replicates all of the code page 437 characters, thus providing one way to display DOS text on a contemporary Windows machine as it was shown in DOS, with limitations.[7]
http://en.wikipedia.org/wiki/Code_page_437#Interpretation_of_code_points_1.E2.80.9331_and_127

Historically, code 0 and code 127 where null and rub out used  in 7 bit teleprinters.

810.

Solve : [Tutorial] My 301 redirect experience?

Answer»

301 redirect is one of must-know feature for every PHP Programmer. Today i will show you my TRICKS to redirect 301.

How to redirect a single page
DO NOT delete the original file. Go to the old PHP file that needs to be redirected and remove all the code and replace it with this. And just to STATE the obvious, “http://www.new-url.com” needs to be replaced with the URL of the page you want it to redirect to. ;-)

Code: [Select]<?
Header( “HTTP/1.1 301 MOVED Permanently” );
Header( “Location: http://www.new-url.com” );
exit();
?>

READ the rest here: http://www.howto301redirect.com/php-301-redirect/You need to stop copying information from other websites without crediting those sites.

811.

Solve : VOIP Question?

Answer»

Is it possible to build a button application into a web page that when pushed it runs a softphone app. on our SERVER(Java or ActiveX) and allows the person browsing to be added to our support query that is controlled by our VOIP PBX.  But it would have to WORK even if the user didn't have any softphone software.

Ie: "Press Here to be connected to a support AGENT NOW"I imagine that it is possible but it would really depend on the VoIP system you are using.  You would really need to use Java for this (ActiveX is Windows only) so even then it's not a great idea as Java in the browser is very TRICKY to get WORKING and has loads of security issues.

If you want something like this you would really be best just to use something like embedding a skype link into the page as this would be a lot easier.  Not only that but users would be much happier using something like that than running a completely unknown Java applet which is severely warned against.

812.

Solve : what is this "NTc1Nw==" ? plz help me :(?

Answer»

in a site are some images with names of
NTc2NQ==.jpg
NTc2OQ==.jpg
NTc3OQ==.jpg
NTc1Nw==.jpg
and ...
i want to know how this encoded?
Modify message
Almost certainly they are just random strings. POSSIBLY the seemingly contant 'NTc' PART has some significance to the site operator, but the REMAINDER was probably GENERATED randomly and has no intrinsic meaning.
I don't know if this may help but it SEEMS to be something to do with images on facebook from news chanels or rss feeds.


edited by AllanI deleted the link in your post.

813.

Solve : Should I edit the .htaccess on my site.?

Answer»

Recently my web site was down. I got another host. But the new host does not let VISITORS to directly view my pictures in the subtler /images but it USED to be so.
Does the  .htaccess  control this? May I edit it?
Or do I need to go into the file manage and set permissions or folders I want others to get into?
Years of  GETTING sites from HOSTS, I NEVER countered this. Is this something new?


You can edit it safely. http://www.branded3.com/blogs/htaccess-mod_rewrite-ultimate-guide/Thanks. I will read nit.

814.

Solve : keep and save calender?

Answer»

Does anyone know if I can automatically transfer the unticked CONTENTS of my calendar each day into the NEXT. If not poss is there another calendar that I can embed into a web site that will.

Thanks for all that help If one were to have PHP with a Database such as MySQL backing it, you could create a calender that you authenticate to gain access to, and then whatever is not completed the prior day can carry to the FOLLOWING if that is your question. If you want to do this through a different method other than HTML / Web Based, it can be DONE in a variety of programming languages locally.Thanks so much. Is there any ready made programs out there I can Just embed in to weebly. I am trying to build a prototype before handing to a developer as I am not one. Thanks again

815.

Solve : How can i use joomla to build a web sit and how it works??

Answer»

Please help i just meet the basic understanding of joomla 3 ...... how it works can anyone clarify to me everything about joomla please?It depends on your need. At my advise Joomla is half-way  between a blog like Wordpress (text, journalistic site ) and Altervista PAGES (more GRAPHIC). You can easily WRITE article-text and organize some Webdesign throug the Html editor with images LINK videos ecc. To go further you have to spend more time like EVERYWHERE else.

816.

Solve : How to set background image in web page?

Answer»

hey friends, i am trying set a small image in my web site. But that image is small[size: 280 x 177 px] but i want to set that small image in my background. it will be set at WHOLE bg...can you help  me how to set??? waiting.... Use


//your content



In that case image will DISPLAY in repeated x and y format not in whole bg
  If you have an image that small, you really shouldn't be stretching it to fill the entire page, just image how horrible a 280x177 image will look on an average laptop at 1366x768 or EVEN on some machines at 2560x1440 -You'll be able to see the individual pixels!

If you really want to do this bearing in mind how bad it will look, you can use the CSS3 background-size property: http://www.w3schools.com/cssref/tryit.asp?filename=trycss3_background-size2.

Nowadays you should be using CSS for all of your styling, using inline tags like '', '' and '

' is very old fashioned and considered old practice, not to mention the very limited control it gives you over your styling.Yes using CSS is the way to go

817.

Solve : Search Engine Optimization?

Answer»

Why after having a web site for five years and over 25000 hits can you not type the address in a search box and bring it up? If you type in the words associated with the web site it is on top in search results?

JohnI will assume you mean a site that is now out of service.
I had some sites I closed down, but a swatch engine may find some material still in the chge of the search company computers.
Does that sound like what you mean?
QUOTE from: John1397 on February 23, 2014, 09:43:55 AM

Why after having a web site for five years and over 25000 hits can you not type the address in a search box and bring it up?

Because you're meant to to type the address in the address box. Search engines such as Google index page contents, not page addresses.

May be it is to small if you type in a search box  www.ebay.com or www.amazon.com it will bring those up.Yes, do not try to locate a site by the IPv4 numbers. Use of the domain name is REQUIRED. Only some servers will respond using the four dotted decimals.


Quote from: Geek-9pm on February 23, 2014, 02:45:33 PM
Yes, do not try to locate a site by the IPv4 numbers. Use of the domain name is required. Only some servers will respond using the four dotted decimals.

I think you missed the point, my old chum. He is asking "why can't I type my site's address as a search term into a search engine and have it come in the FIRST 5 results, like I can if I search using words associated with the web site?"

(I wonder if his site is about *SPAM*?)
You are right. He got me confused.
How high you stand  in a search engine depends on a lot of things. Advertised sites get top ratings. In some areas. If you are in Miami, and you look for taxi companies, you will get the ones in Miami , not  New York.

Yeah, maybe he is a spam pusher. If you want to be top dog in a search, go talk to Google and offer them money. Works for me. No, not my blog, butrout family business site GETS close to the top in the city where we do business. The price is less than  using the local NEWSPAPER. Quote from: John1397 on February 23, 2014, 09:43:55 AM
Why after having a web site for five years and over 25000 hits can you not type the address in a search box and bring it up? If you type in the words associated with the web site it is on top in search results?

John
Do you use Google Webmaster Tool? Setup an Google Webmaster Tool for your website and you can check your website status such as backlinks to your website, search queries to find your website...It's one of the must-use tool for Webmaster,
818.

Solve : Creating HTML5 Slideshows from Picasa - and More?

Answer»

Rightly or wrongly, I've been using Picasa for years to store and edit travel photos.

I've occasionally used Picasa (Picasa Web?) to create slideshows and put on Blogger pages to share with friends and family.

Now, all friends and family seem to be on iPads, and Picasa slideshows are in Flash.

I've used "Slidemypics.com" to easily convert the slideshows, but it loses the captions that were created in Picasa.

I tried HTML Five Slideshow maker, and it's not easy to use (and seems to lose the captions as well).

Any suggestions?

I'm also open to eventually creating a website to house all this, so I'll be asking about that next.

And also eventually asking "What's a cool way to post those cool panoramic photos that looks so cool?"


I know this isn't the kind of stuff folks usually address here at CH, so if there's a better website for me to go to, I'll take that advice as well.

Thanks Here's an idea that might work for you. Unless you just enjoy doing a lot of work, it's best to use the easy and quick method with stuff that's already available.
Assuming the slideshow runs quite well on your personal computer, there is a practical way to to make a copy of it and provided to your friends and relatives who use tablets for cell phones.
You can ACQUIRE the entire hardware or software programs that will capture live video. The good ones will capture very high resolution video and audio. It will be stored in a format that can be LATER converted to a suitable file The most common video files used for, tablets, and cell phones is either MP4 or AVI. Both of which can be reduced in size and frame rate and bit to suit smaller devices.

You might start out by trying some of the free software programs that are available. To use these programs, you'll need to have a high-performance desktop computer and no tasks running in the background. Here are links  that identifies some of the popular free video capture software programs available.
Free trial from Adobe.

http://www.nchsoftware.com/capture/

http://www.ezvid.com/top_5_free_video_capture_software_for_windows

I have no recent experience. But I am sure it is easier now than it used to be.
Disclaimer: These tools are for use only on material you own and are not for copyright abuse.
So if I understand your suggestions, it's basically - Create a video of the slideshow, and post the video.

Hm. That's interesting.

You'd have to "rewind" instead of clicking back and forth, but that is an interesting solution!

rjbAnother way is to Google this:
Adapting a Slide Show to Mobile device.
I think there are apps for mobile that do this.
Or else it is embedded into a web site using some kind of SCRIPT. They do that in some WordPress blogs.


Thanks, Geek.

My Googling led to the two aforementioned software solutions; Googling your exact phrasing only leads to WordPress solutions. Everything I have, INCLUDING links that have been SHARED, already points to Blogger not WordPress, so I'm hesitant to move everything if I don't have to.

That's not a Must (I could always just post re-direct links), but what is a Must is being able to use photos as edited already in Picasa (including captions)...

So if anyone else has other suggestions, I'd love to hear them.

(Also, thoughts on making cool panoramic pictures look cool online?)

819.

Solve : Having trouble making my bulleted list colored?

Answer»

I have looked it up on line and everything is how to make the actual bullets different COLORS. I am wanting my whole list to be one color. The text and all. I have my css file and clueless as to what to add and where to add it. One person said li {text-color: #111111111;} but this doesn't work. I am so confused. Please some kind SOUL I need a bit of help.No IDEA who gave you that code - Pretty sure they just made it up  (text-color is not a CSS property and #111111111 is not a valid colour code.)

Instead you would USE the 'color' attribute with a valid colour code.  For example, with this HTML:
Code: [Select]<UL>
    <li>Item 1</li>
    <li>Item 2</li>
    <li>Item 3</li>
</ul>You would use this CSS to make them all red:
Code: [Select]li {
    color: red;
}
Of course you would probably want to replace "red" with the colour of your choosing or use a hexadecimal colour code: http://www.w3schools.com/tags/ref_colorpicker.asp.

You can view and play about with the example I gave above here: http://jsfiddle.net/xs2r3/

820.

Solve : Free Stock Images for My Website??

Answer»

Where or how can I GET
Free STOCK Images for My Website?

I see lots of stuff, but I have no idea how to select one. I can not pay for them because my wimpy website does not earn any money at all. But if it every did, would I then have to pay for all or any images I use?
Thanks for any help. 
There are many sites out there that offer free images. Those that i use to get from these sites i'd document and save the documentation just in CASE later on someone claimed that I was using their image illegally, I'd be able to show the source of where it was offered for free. I never had to deal with such a claim although in my HTML source I had comments on where the images were used from as well to state that these aren't mine as well.

What kinds of images do you need?http://sxc.huHere is a list of stock photos sites.  In the list it mentions some sites that have free photos.  It ALSO mentions sites that have royalty-free photos.  Royalty-free photos aren't the same thing as free photos.  Royalty-free photos are photos with a one-off cost (as opposed to paying on-going ROYALTIES (rights-managed photos)).

You may have some luck if you were to search for the term 'public domain' while searching for stock images.BiTBoB, Thanks. Nice find.

821.

Solve : WEB DESIGNING (HTML, CSS, FLASH,)?

Answer»

Hi there,

I want to become a good web designer so will u please provide me the above mentioned subjectline software, tutorials, videos and tips also,  so i can learn easily.

Hope for an affirmative reply on my mail id...

Mukesh

What do you already know? What to you really want to do.,
Many Web based presentations are actually created by programs that go beyhound just HTML and CSS.
Microsoft has a suite of programming tools called "Visual Studio". You can get a free copy that will allow you to learn web design using a high-level method that focus on getting results aether that learning how to code.

Leaning  HTML is for people who  do not have the imagination to produce content, so they just learn to code. If you go that route, you will be a savant that can code and nothing more.
Here is a quick search:
visual studio for web design
Which includes this video:
http://www.youtube.com/watch?v=GIRmPB0xshw
I recommend this for anybody who is starting from zero. 
Please look at the video. It reallly depends how far you want to get into it - Web design can just refer to BUILDING templates in something like Photoshop and getting someone else to implement it or it can mean the ACTUAL implementation of the website.

For actually building the website - Focus on learning HTML5 and CSS and then Javascript for more interactive elements on the page - You WOULD then just write this in whatever text editor you prefer such as Notepad++ or SublimeText.  There are WYSIWYG tools like Dreamweaver but these are becoming more and more irrelevant NOWADAYS as they are so inflexible compared to the raw code - You would also still need to understand the raw code if you are going to build anything significant which sort of defeats the point of using something like Dreamweaver - Not to mention how expensive it is.

If you are going as far as to actually put the website on the internet you would be best to build it using a Content Managment program (CMS) such as Drupal or Wordpress.  With this you would build a template for the design of the site putting in placeholders for content and then use the CMS to acually add and edit content on the site.

Also get used to using the Developer Tools in Firefox and Google Chrome (This is where you right click a page and press "Inspect Element") - This will let you edit the HTML and CSS of a page on the fly to see how your changes will look - This is great for small adjustments.

Twitter's Bootstrap framework is also extremely useful as it gives a common structure to websites, you would then write your own CSS to restyle the Bootstrap CSS to your PREFERENCES: http://getbootstrap.com/

As for Flash - It's pretty old fashoned nowdays.  Only use flash for stuff that absolutely has to be done in it - If you can do it in HTML5/CSS/Javascipt - use that instead and NEVER use Flash for anything critical to the functionality of the site as lots of people no longer have flash enabled.

Quote from: Geek-9pm on May 23, 2014, 12:25:31 AM

Many Web based presentations are actually created by programs that go beyhound just HTML and CSS.
Microsoft has a suite of programming tools called "Visual Studio". You can get a free copy that will allow you to learn web design using a high-level method that focus on getting results aether that learning how to code.
They use Javascript and HTML5, not really WYSIWYG tools - All those tools do is write the code anyway so anything they can do can be done manually with greater flexibility.  Visual Studio is not made specifically for web design - It's a general IDE for developing Windows applications - They have a web part of it but that is built for building web applications in ASP.NET - It's pretty horrible as a tool for designing wesites, especially without an existing design built elsewhere. Quote from: muk.tha on May 23, 2014, 12:01:48 AM
Hi there,

I want to become a good web designer so will u please provide me the above mentioned subjectline software, tutorials, videos and tips also,  so i can learn easily.

Hope for an affirmative reply on my mail id...

Mukesh
I'm also learning PHP and here is my favourite online learning resources.
1. Pratical PHP
Code: [Select]http://www.tuxradar.com/practicalphp2. Object Oriented PHP
Code: [Select]http://www.killerphp.com/tutorials/object-oriented-php/Hope this helps Quote from: muk.tha on May 23, 2014, 12:01:48 AM
Hi there,

I want to become a good web designer so will u please provide me the above mentioned subjectline software, tutorials, videos and tips also,  so i can learn easily.

Hope for an affirmative reply on my mail id...

Mukesh
Just go to
w3c.org
822.

Solve : Nameservers?

Answer»

Hello

I have needed to upgrade my Webhosting service to accommodate ASP.NET but I have KEPT the domain name. I have kept my FileZilla FTP software and in the Control Panel of my server I have set my FTP username, host, and password. I am able to log-in to my server using the FTP software. However, I am not able to transfer files from my PC to the server - I get a critical error - whatever I try to upload (files, images, folders). I cannot even create a new directory on the server. My FTP software gives me a critical transfer error message.

Is that likely to be because I have not set the nameservers?

I am not sure where, when I go through the server's Control Panel, I have to do that: I can't see it anywhere! This is what I see in the Control Panel (screenshot1) and if I click on Domains I see this (screenshot2). There is no obvious place to set the nameservers in File Manager (screenshot3), either.

Thanks!

[recovering disk space, attachment deleted by admin] Quote

Is that likely to be because I have not set the nameservers?
Your domain name is on file with a domain registrar. The registrar service is different from the web host service. Even if both are with the DAME company, it is still two different services.
Only the registrar can point your domain to name-servers.
The name-servers, ion TURN , point to the web host directory where your site is hosted.

So you have to log into the registrar and  set name-servers.
Example:
You have bought  a domain called High1.ca from a company called host-canada.ca and they set the name-servers to ns1 and ns2.host--canada.ca
but you buy web space from a company called web-united.us and the nameservers are ns1 and ns2.web-united.us respectively
You have to log into web-united.us.ca and set the domain to point to the new nameservers. It may take 72 hours for the nameservers to propagate.

You can not set the nameservers in the control panel of the we host.
You set the nameservers in the control panel of the we registrar.
To add to the confusion, it is not always clear if you are in a domain control panel or a web space control panel.
Sites like 1and1 and go-daddy offer both services.  If you like that, fine.  If that is the case, ask them for help.
After a bad experience, I now keep my registrar and host  service separate. A flaky domain company STOLE my domains over a dispute I had with my web service.






Hello

Sorry to hear of your bad experience.

Yes, now that you have explained it, it's coming back to me: it's just been so long since I registered the name that I forgot the name of the company I registered it with and had to go to Whois Lookup, hehehehe. In my case, they are two different companies on two different continents so I can kind of put them in different boxes in my mind.

Thanks again for your reply.

High1 Glad to help.
823.

Solve : Link to PDF file works and doesn't work!?

Answer»

(1) I created a document in Open Office Writer.  By the way, I use Windows 7.
(2) In Open Office Writer, I converted the document to a PDF file.
(3) I double-clicked on the PDF file and automatically opened the PDF file with Abobe READER.
(4) However, when I opened a webpage in my computer -using Firefox- and I retrieved the PDF file from a link in the webpage, the PDF file was displayed garbled.  ADOBE Reader was NOT automatically used to open the PDF file!
(5) As a test, I uploaded the webpage and the PDF file to an external server and, again, I used Firefox to retrieve the webpage and to open the PDF file (from the link in the webpage).  It works fine!  Adobe Reader was automatically used to open the file.
(6) As another test,  I opened the webpage in my computer -but using Internet Explorer- and I retrieved the PDF file (from the link in the webpage).  It works fine!  Adobe Reader was automatically used to open the file.

What the heck is wrong?

Thank you!

Dr. TI WOULD wager it was SOMETHING SIMPLE but easily missed like you uploaded the file with a misspelled filename or extension.  The same potentially goes with the link itself.  Check again to make sure it is trying to open a .pdf and not something like a filepdf.txt, or file.pdf' or some other miscellaneous typo.

-Mal

824.

Solve : Page acts differently after being uploaded [Basic question]?

Answer»

I made a simple quiz with quizbox.com and it gave me the html output. When I run the html file from my COMPUTER, take the quiz and click Grade Me it takes me to a scoring page. But I upload it to my website and when I click Grade Me it brings me to an error page. What can I do to have it work the same on my website as on my computer? The html is the same on both.

Website link: http://adamdekroon.com/example-test.html

This is the html I'm working with:
Code: [Select]<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></head><body style="">

<H3>CP Worldviews</h3>

<form action="http://www.quizbox.com/builder/result.aspx?max=2&q=2" method="post">
<input type="hidden" NAME="QuizTitle" value="Test Quiz">
<input type="hidden" name="QuizReturnLink" value="http://google.com/">
<ol>
<li>What colors are the US flag?</li><br>
<input type="radio" name="ans1" value="1">Red, WHITE, Blue<br>
<input type="radio" name="ans1" value="0">Yellow and Red<br>
<input type="radio" name="ans1" value="0">Black and white<br><br>

<li>Google is</li><br>
<input type="radio" name="ans2" value="1">Beauty products company<br>
<input type="radio" name="ans2" value="0">A virtual STOCK market<br>
<input type="radio" name="ans2" value="0">A poor outlook on life<br><br>

</ol>

<p><input type="submit" value="Grade Me" onclick="this.value=&#39;Please wait...&#39;"></p>
</form>
<!-------- Quiz Ends Here -------->
</body></html>Go to this website it will test it and tell you what's wrong
http://html5.validator.nu
That's all I have got
It works for me!Perhaps there are restrictions about running external links, or scripts on your hosting site?
What is the specific error?

-Mal

825.

Solve : Run a PHP script within Perl?

Answer»

Hi,

I'm  trying to run a php script WITHIN perl or if there is a better way to do this, i'm open to ideas.

I have an html form, when submitted, runs a perl script. I would also like it to run a PHP script.

Since i couldn't find a way to do two ACTIONS for one button, i am going down this path.

i tried playing around  with the exec() & system() command without any progress.

How can i run the script within perl?

If it matters, my APACHE Server is hosted by hosmonster.

Thanks

Aynone?

826.

Solve : JavaScript Problem?

Answer»

Can anyone give me the solution of below PROBLEM.....
i have created FOLLOWING html web-page..
the problem is that when i CLICK transfer button it copy data from box 1 to box 2.Thats fine....
but when i click clear button it does not empty the value of box 1.
Why, if there is an error in my coding please WRITE the solution soon, please write the easiest methods to do it, i have my first try on javascript.

<html>
<head>
<script>
document.writeln(hifi())
function hifi()
   {
         var time = new Date
         var avinash = "The current Time is " +  time.getHours() + ":" + time.getMinutes() 
         return(avinash)
    }
</script>
<script>
function fool()
   {
      var access
      
      access = document.form1.Text.value ;
      document.form1.Text2.value = access ;
   }

function clearthis()
        {
               clear(document.form1.Text.value);
         }
</script>
</head>
<body>
<h2 align="center">
!!!!Content Mover!!!!
</h2>
<h3>Instructions to use the application:-</h3>
<p>Firstly you have to enter data in BOX1 then, Click the Transfer button to transfer data from Box1 to Box2.</p>
<p>Use Clear button to clear text from box 1</p>
<BUTTON onclick="fool()">Transfer</BUTTON>
<BUTTON onclick="clearthis()">Clear</BUTTON>
<form name="form1">
Box1:<input maxlength="100" type="text" name="Text" value="" >
Box2:<input maxlength="100" type="text" name="Text2" value="" >
</form>
</body>
</html>

please run this script in your own browser and give solution immediately Here is the fix. It assigns the value of null space of '' to Box 1 by this method below, so the Clear function clears Box 1's contents through replacement with null space. You can even pass this null space to the box 2 with the transfer:

function clearthis()
        {
               clear(document.form1.Text.value ='');
               
         }


Code: [Select]<html>
<head>
<script>
document.writeln(hifi())
function hifi()
   {
         var time = new Date
         var avinash = "The current Time is " +  time.getHours() + ":" + time.getMinutes() 
         return(avinash)
    }
</script>
<script>
function fool()
   {
      var access
     
      access = document.form1.Text.value ;
      document.form1.Text2.value = access ;
   }

function clearthis()
        {
               clear(document.form1.Text.value ='');
               
         }
</script>
</head>
<body>
<h2 align="center">
!!!!Content Mover!!!!
</h2>
<h3>Instructions to use the application:-</h3>
<p>Firstly you have to enter data in Box1 then, Click the Transfer button to transfer data from Box1 to Box2.</p>
<p>Use Clear button to clear text from box 1</p>
<BUTTON onclick="fool()">Transfer</BUTTON>
<BUTTON onclick="clearthis()">Clear</BUTTON>
<form name="form1">
Box1:<input maxlength="100" type="text" name="Text" value="" >
Box2:<input maxlength="100" type="text" name="Text2" value="" >
</form>
</body>
</html>

827.

Solve : HTML code working with survey creation software?

Answer»

I am on a mac (OS 10.8.5), working in Firefox, within Verint, a survey creation software.

I am CREATING a question in Verint (web-based software) and adding a list of workshop speakers along with their photos. I want the order to be checkbox (which is automatically generated by the software), photo (centered next to checkbox), text (wrapping AROUND the photo). Adding in the photo makes everything go wonky. The checkbox that is automatically entered by the software goes to the top right of the photo and the text to the bottom right. There is no option in the software to fix photo or text ALIGNMENT. Is there anyway to fix this problem?

Here are the different codes I've tried adding and what happens. I've attached a screenshot of the outcome for each of these three options.

1. Adding a table with photo and text inside: The table “wraps” the text around the photo correctly, but puts the whole table (photo and text) below the checkmark box:

Overview of BJU Press Early Childhood Philosophy and Tour of BJA Preschool Classroom | Melodye Snyder


2. Table after photo: This leaves the photo centered next to the checkmark box, but puts the text on the next line:
K3 Program—Preparing Pathways for Preschool  K3 Program—Preparing Pathways for Preschool | Melodye Snyder


3. No table, just inserting aligned photo: This puts everything on one line centered, but if the text goes to 2 lines the second line goes below the image instead of wrapping:
  K4 Program—Featuring Footsteps for Fours  | Melodye Snyder


[recovering disk space, attachment deleted by admin]Is verint a what you see is what you get (wysiwyg) editor and is interal css or exteral css?
828.

Solve : Grid Computing ideas?

Answer»

What are your view of the likely success of Grid COMPUTING?  What type of demands will this PLACE on CURRENT WAN networks? What type of APPLICATIONS are likely to be deployed through the Grid systems?
Sorry, we won't help with homework.

829.

Solve : XML and Mobile Development?

Answer»
What are the problems with COBRA and OLE/Active X in DISTRIBUTED object ORIENTED processing? Why is J2EE proposed as a REMEDY to FIX these problems?
Sorry, we won't help with homework.
830.

Solve : Simplifying repetitive HTML by some form of 'id' templating. Is this possible??

Answer»

Hi everyone,

I've recently wrote some HTML code which works for what I wanted it to do, but because of its length, I find it a little cumbersome to repeat its contents every time I want to add the same type of thing in one of my HTML pages. Here is an example of the HTML code I've written.

Code: [Select]&LT;a  title="Custom Statement - a statement not easily extractable from sources. Experience may be embedded within the statement." id="statement"><img src="images/customstatement.png" width:="32px" height:="32px"></a><a href="http://www.avfacts.com.au/sample/perinst1.pdf" target="_child" title="Linked Source" id="sourcetype"><img src="images/sourcelinked.png" width="32px" height="32px"></a>
This is what I want to do. I hope you understand it and if not, please send me a reply so that I may be able to explain myself better.

Code: [Select]<!-- Current html code -->
<a id="statement type: Custom, Modified or Original"  title="hover text to describe the statement type" ><img src="associated image with the type of statement" width="image width fixed" height="image height fixed"></a><a id="source type: Linked or ReferenceOnly" title="Here, it will either state 'Link Available' if a href exists else if I don't provide a href i.e. only a reference, then the reference will be stated here instead" href="url if source exists" target="_child" ><img src="associated image with type of source" width="image width fixed" height="image height fixed"></a>

<!-- What I want it SIMPLIFIED to if possible-->
<a id="statement type"></a><a id="source type" title="to be written if only a reference exists" href="to be written only if a source is linked"></a>

<!--
The statement type will have a predefined title, img src, width and height for that img scr.
When the source type id is "Linked", the title shall be prefined as "Link Available"  and the href shall be written by the CODER. The target shall be predefined as "_child" and the associated image along with its dimensions will be predefined.
When the source type id is "ReferenceOnly", the title shall be written by the coder and the href shall be predefined as "#". The target shall be predefined as "_child" and the associated image along with its dimensions will be predefined.
-->
I understand that this likely will require more than just html if it is possible of course 
Please help me if you have a solution or any constructive feedback as soon as time permits.

Kind Regards
brainyantIf you dont want to type this every time... save a text file with this info in it and simply open the text file and copy paste it to your html file.

If you want this to be dynamic as in, redundant info you dont have to type, you would want to look into like PHP or Perl with Dynamic HTML.Thanks DaveLembke for the suggestion . I'll take it onboard and use 'php include' in my html.

Kind Regards,
Anthony

831.

Solve : shopping cart?

Answer»

Hi,
my shopping cart has problem, it cannot retain the input QUANTITY and the product's name from DB.
the display cannot show neither the quantity nor the product's name from DB, do someone can help me please !

product.php
try {
    $conn = new PDO("mysql:host=$host;dbname=$dbname", $username, $password, array( PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
   
             $sql = 'SELECT name,                   
               price

            FROM MUSHROOM';
 
    $q = $conn->query($sql);
    $q->setFetchMode(PDO::FETCH_ASSOC);
     
} catch (PDOException $pe) {
    die("Could not connect to the database $dbname :" . $pe->getMessage());
}
?>
   
            fetch()): ?>
             
           
           



addcart.php
   session_start();
   if(isset($_SESSION['panier'])){
      $panier=$_SESSION['panier'];
   }
   else{
      $panier=array();
      
   }
   $index=count($panier);
   $panier[$index]['name']=$_POST['name'];
   $panier[$index]['price']=$_POST['price'];
   $panier[$index]['quantity']=$_POST['quantity'];
   $_SESSION['panier']=$panier;
   header("LOCATION:index.php?")
   
?>


panier.php
    $panier=$_SESSION['panier'];
   
?>

PRODUITPRICEQUANTITY
cancel[/url]
Total:
   
To get any help you are going to need to give a lot more information including how the database is structured, any errors you are get.etc.  Remember, we have no idea how your APPLICATION is built or how it works.my data base:
name: varchar 100 non null
price: float 10  non nullThat is still not nearly enough information...  We still have no idea how the rest of your system is built, what errors you are getting.etc.the rest script:

  index.php   
     
     
     
   
     
   
                 if(isset($_GET['panier']))                    
         require_once('panier.php');
         
         else
          require_once('product.php');    
     ?>
       
   
832.

Solve : Easy web building software??

Answer»

I used MS Frontpage 15 years ago successfully and with ease to do my simple sites. I now want to start doing some simple web sites again, but found MS Expression Web 4 USER-unfriendly for a stupid person like me. There are hundreds of others available like WIX, Simplesite, Joomla, Wordpress, Dreamweaver ….. but I would like to use FP again if possible. That way I can design the site off-line without knowing any codes and file on my hard drive and RETRIEVE whenever I need upgrading or to use it as starting template for more sites. If MS Frontpage is now unobtainable, what is the closest to that - measured in simplicity? I prefer to pay and not get something for free - just sceptical about free stuff :-(
My laptop is Windows 7 driven with Office 2010.
Thanx
The closest thing I can think of to Frontpage would be Kompozer: http://kompozer.net/ although Expression Web can do a lot more.

That said, building websites in desktop software like this is an extremely OLD fashioned way of doing things as the sites are very inflexible if you wanted to add in any sort of fancy features.  Nowdays using a content management system (CMS) such as Drupal, Wordpress or Joomla is a much more common and flexible way to build a website, for example, if you wanted to add a photo gallery or user comment system, you can just get a plugin for the CMS you are using.

Of course you would still need a template that could still be built with software like Kompozer or Frontpage if this is what you prefer to do over the more common method of just writing the HTML and CSS code by hand.Thanx Camerongray for your response. I follow half of what you are saying  since my BACKGROUND knowledge of web building is practically zero. I started working with WIX now and getting along somehow. I hope this was what you meant by the more modern way?
Will keep you posted
Take CARE and thanx again

833.

Solve : what is the best technologies to create a crowd funding service??

Answer»

e're going to invest on a crowd funding website in our country. Currently, there's not any native service.

  • Which one is better: programming an application from scratch or creating a plugin for current CMS's such as Wordpress, Joomla, etc?
    Which programming language is the best to make it from scratch for these days?
    Is there any CMS or addon-for-a-cms to found this service?
Well, it totally depends on what you are doing.  A crowd funding site is very custom so I would be inclined to write that from scratch rather than using a CMS.  A CMS would be better if you had a site with lots of pages and just a few interactive elements.

Programming language REALLY comes down to what you know and are comforable with.  PHP is fairly easy to get started in but it is also very easy to write very bad PHP code. If you are using PHP I would strongly recommend you use a framework such as Codeigniter or Laravel over starting from nothing.

Alternatively languages like Python and Ruby can be used with very good frameworks (Django for Python and Ruby on Rails for Ruby).  These frameworks do a lot of stuff for you and perform extremely well although the learning curve is potentially steeper when compared to the likes of PHP.I was on an IRC and people suggested node.js for modern front end experiences, with this working example:  http://community.nodebb.org, a forum-creator based on node.js and javascript.
we are not programmer. we just want to invest: we will hire/employ geeks to code it for us. we want to know exactly which language, to know which programmer!Node.js is okay but not as widely used as the likes of Python/PHP.  In the end the language isn't that important.

Be very careful with a lot of those freelancer websites for hiring developers as a lot of the people on there are not good developers at all, they can knock a site out quickly and cheaply but they can be extremely badly built which can cause security issues and high costs down the line.

On that subject I would then potentially lean towards looking for freelancers to built it in something such as Python with the Django framework or with Ruby on Rails.  My logic behind this is that it is extremely easy to learn PHP but much more difficult to be good at it - The danger here is that you hire a freelancer who knows how to write stuff in PHP but does not understand how to build a good quality application so you can end up with a mess.

A framework like the two I just mentioned will FORCE the developer into a very predefined structure which makes it a lot harder to mess up and means that down the line if you were to hire another developer, as long as they know the framework they will be able to understand how it is all laid out.  On the other hand, a PHP developer could easily write absolutely everything from scratch in their own custom way which can then become an absolute nightmare for another developer to come in and fix. Quote from: Onrea on August 05, 2014, 03:25:38 AM
e're going to invest on a crowd funding website in our country. Currently, there's not any native service.
  • Which one is better: programming an application from scratch or creating a plugin for current CMS's such as Wordpress, Joomla, etc?
    Which programming language is the best to make it from scratch for these days?
    Is there any CMS or addon-for-a-cms to found this service?

The theme 'crowd funding' is not unique or have issues that have never been  solved. It is not rocket science.
Do not do it from scratch.
Millions of websites a re built on high-level tools, like joomla.
http://www.joomla.org/
Same is true of WordPress.
Quote from: Geek-9pm on August 05, 2014, 12:29:01 PM
The theme 'crowd funding' is not unique or have issues that have never been  solved. It is not rocket science.
Do not do it from scratch.
Millions of websites a re built on high-level tools, like joomla.
http://www.joomla.org/
Same is true of WordPress.

So now you tell the OP to use a premade CMS which is not the most appropriate PLATFORM for their application and introduce a load of confusion...

CMSs have modules for lots of things but crowdfunding is an extremely custom application, there is no real benefit to building this on top of an existing CMS other than using a tool for a purpose other than it was intended.  A crowdfunding site is not a normal website with pages of information, it is a completely custom web application.  Looking around online I can't find a single decent crowdfunding module for CMSs.  You would end up with the majority of your site sitting in a module and a FRACTION of the CMS actually being used.

I build a lot of sites - The ones that have pages of information with maybe a few interactive elements such as those for small businesses are built using CMSs but a lot of them are completely custom web applications, building this on a CMS is not the right approach.  Look at all the other popular crowdfunding sites, they are not built on top of off-the-shelf CMSs.

Geek - Look into web development frameworks like Django or Ruby on Rails - They are designed to let you build web applications rapidly and do a lot of stuff for the developer, yet they do not force them to have to develop plugins for some sort of premade CMS.  This is how modern web applications are built.
834.

Solve : I need some help with FrontPage?

Answer»

My problem involves my web page (MADE with FrontPage 2003). Please look at my web page http://mama1010.servequake.com/reble . My friend (the host) set up the basic page and he copied all my info from my old Tripod web page. I went in with FrontPage and updated the info on the web page. I updated the "About Me" page, the "My Radio Equipment" page and the "My Hobby's" page. Somehow I screwed up the back ground for the navigation buttons for the "My Radio Equipment" and "My Hobby's" pages. My friend (the host) is a very busy man. The server is in the back of his office. He doesn't have a lot of time to get on and fix what I screw up. Also I don't squawk about not been able to reach him for help because the service is free. So I have to look else ware to figure it out on my own. The next 2 Dropbox links are screen captures from FrontPage on my laptop. The 1st is of the file "my radio equipment.HTM" file https://www.dropbox.com/s/c7tq7gs3xi411ae/my%20radio%20list%20in%20fp.jpg . And the 2nd is of "my radio equipment(2).htm" file https://www.dropbox.com/s/pb94cukqmcqj10w/my%20radio%20list%20in%20fp2.jpg . 1st off why is there 2 files with the same name throughout FrontPage (an index and index(2), my radio equipment and my radio equipment(2)) ? I don't understand that the files have the same name but it is ALMOST like a ghost file.  Also I don't KNOW how or what I changed in the 2 files "My Radio Equipment" and "My Hobby's" that controls the background for those 2 navigation buttons. The background for the navigation buttons looks fine on FrontPage in my laptop when I run preview.   But I have no idea why the background is screwed up after I post it to the server. I can post the code if need be for the "my radio equipment" page.  I would very MUCH appreciate any help given.


Steve

835.

Solve : Is there a weatherbot that I can use with a middit chat??

Answer»

I use middit to get a starchat and I was wondering where I can find one that works on it. Just make sure I get one that works for my chat.
Pam-Doggirl3I have no idea what you need.
http://en.wikipedia.org/wiki/Mibbit
Quote

Mibbit is a web-based client for modern web browsers[2] that supports INTERNET Relay Chat (IRC),[3] Yahoo! Messenger,[4] and Twitter.[5][6] It is developed by Jimmy Moore[7] and is designed around the AJAX model[8] with a user interface written in JavaScript.[2]
...Unlike typical web-based IRC clients, Mibbit makes use of a client–server design model.[7] The user interface is written in HTML and JavaScript using Ajax programming techniques. The client's backend is written completely in Java[7] and operates independently of the web server in a standalone fashion on the Mibbit server.[2]...
Way over my head...

EDIT: Di you already read this?
https://nwschat.weather.gov/FAQ.php
Quote
Q1. What is NWSChat?

A.The NWS based Instant Messaging service, NWSChat, is used for sharing critical warning decision expertise and other TYPES of significant weather information between the NWS and partners in all levels of government, emergency managers, and the media. NWSChat allows multiple users to send messages to each other in forums known as “chat rooms.”

You will need to explain your question about what you want in a lot more detail.

Are you talking about "Mibbit"?  If so, mibbit is not a chat protocol, it is IRC chat where Mibbit is simply a web based IRC client.  And yes, there are loads of IRC bots available or libraries to create your own.Its a weather bot that I need.
That really doesn't clear things up...
836.

Solve : shopping cart calculate the amount?

Answer» HI,
I have a shopping cart (first script)below is OK, but when I want to make the calculate(second script) the AMOUNT,
it indicate the under last line (

Home[/url]I wish SOMEONE can help me to modifiy it.

first script (it is OK)
session_start();
require_once 'panier.php';
$panier = new Panier('produits');
$listproduit = $panier->getPanier();
?>

       

votre panier EST vide


      
      
      
        
      
      
         
      

   
      
      
            
      
   
NamePriceQuantityAmount


 

Home[/url]



second script:
session_start();
require_once 'panier.php';
$panier = new Panier('produits');
$listproduit = $panier->getPanier();
?>

       

votre panier est vide


      
      
NamePriceQuantityAmount


 

Accueil[/url]

Looks like the Code: [Select]</a> end tags are SHOWING up as , is this also this way in your code in which the a href hyperlink end tags should be Code: [Select]</a>

837.

Solve : PHP Find Diffrence from 2 Arrays?

Answer»

C'Mon MAN - Just learn PHP properly, from a book or online guide - Randomly COBBLING TOGETHER bits of other people's code will not teach you anything and your code will END up a mess.  Besides, PHP is a pretty easy language to GET started in compared to a lot of others.

838.

Solve : how can get a variable from another page ??

Answer»

Hi
 how my page (header.php) can get a variable from the page index.php, and dispaly the variable ?
 can anyone help me ?

 the variable $qty cannot dusplay here:
 header.php
 

mushroom

 
Counter?php echo "$qty=qty";?>
 


 index.php
  $qty=0;
 $totalprice=0;
 foreach($listproduit as $produit) {
 $subqty=$produit['quantity'];
 $subtotal=$produit['quantity']*$produit['price'];
 $totalprice+=$subtotal;
 $qty+=$subqty;
 ?>
 I want to make output $qty in the page header.php A Transactional Database such as MySQL that takes the data passed to it from a dynamic html form, is one method. On the next page it populates the dynamic HTML with the information that was written from the first page to the database.

You would need to have it create a user account or give a user identity to associate the point of sale info to the correct customer connected, this acts as a primary key so that the correct customer gets the correct data at the 2nd page and all ADDITIONAL pages.

I'd avoid trying to do this through just a variable as for if you had more than a single customer connected at the same time, the customer who accessed it last would alter the variable data for the other. Sure it would work ok if only 1 person interfaced with it at a time. Additionally passing directly to a variable without testing the data that is passed to it can allow for hackers to send an overflow to it and sometimes assume admin control of a server etc. So a form that takes in information and tests the data before its passed to the server is best to avoid intentional buffer overflows. Such a test would be an IF statement that verifies that the item prices NEVER exceed say $5000.00, quantities never exceed 50,000, etc so that someone couldnt just send a huge number to it and overflow it to either crash it or gain access through an exploit.do you think it is a secure way here:

header.php
  session_start();
 // store session data
 $_SESSION[$qty]=1;
 ?>

 index.php
  session_start();
 // read session data
 $qty=$_SESSION['views'] ;
 ?>When it comes to php, I am not a data security specialist... Maybe someone else here works with data security and php to answer this better than I can.

Generally I set limits so that the value passed has to be between say 0 and 10,000 and this way negative numbers for quantity are disallowed as well as any numbers greater than 10,000 are disallowed.

My php experience is mainly with internal applications that are web BASED on ( internal network ) Intranet where the only threats are if you have a rogue employee. As well as playing around with php turn based games etc.

Setting up data conditions are important so that only realistic ( allowed ) values are entered as well as string data never exceeds a specific character length limit etc. So all data passed across should be tested. Some OVERHEAD can be taken off of the server by using local client side scripts in javascript that test values before they are passed to the server. Then at the server the values should be tested again ( especially if web based where you are subject to hackers etc) to make sure that the data to be passed to the SYSTEM conforms to allowed data type values and character string lengths.

839.

Solve : css floadting effect project?

Answer»

Any CSS master here?
i just download this css project and run it in my server.

Download This Project SCRIPT:-http://mastertalk.net/forum/make-a-special-floating-effect-using-css-with-source-code-and-demo_365_p1.html

Its WORKING but i want to make another floating project like this.

840.

Solve : Wanting to make a store website using Google Sites?

Answer»

I've already got most of the site layout done. All I NEED to know is how to SET up the site for purchases.Buy a domain name from a site like go-daddy or an other site  Why would you use Google sites for ECOMMERCE, it is totally not built for it.  You will need to BUILD the site using PROPER ecommerce software like Magneto.

841.

Solve : Interactive leaderboard application?

Answer» HI there,

I'm trying to make an interactive leaderboard, so far the code i've written is:



<center>Leaderboard</h1>



  User 1:

  User 2:

 


Total for User 1
Total for User2


-----------------------------

As you can see i'm a fairly novice programmer... and so I need some advice on where to go to next:
I basically want to put a number in one of the user boxes, and then it would add to that users total.
Also, will the program be able to remember the values i've put in UPON exiting the application?

Any advice is great,

CheersYou are going to need a web server such as apache with a Perl or PHP module active, and then write code in PHP or Perl to generate dynamic html that gives the input form function, and then pass the values of that to the program. Most will also have a DATABASE such as MySQL that the values write to. This way when the server reboots or you ever have a power outage that causes the server to go down, the info is saved to disk and so you can pick up where you left off. ( * The scripts could be written to pass values to a local file to be stored, but its best to pass the values to a transactional database such as MySQL to avoid data corruption with multiple users connected to the same interface. )

You will need to know more than just HTML to pull this off... I suggest PHP or Perl as a language to use with this which would CREATE dynamic web pages and allow for passing the data to a database such as MySQL which is free. Apache is also free and I have used that before for private web servers and testing server side scripts locally.

If you havent already already gotten this.... WAMP is a useful tool that is free that works great for coding and testing your code, but never used WAMP to host your website online as for its a gaping hole with SECURITY settings.

http://www.wampserver.com/en/
842.

Solve : Unfinished graphic displays in compiled HTM/HTML file?

Answer»

Hi,

Please take a look at the Ebook EXE (COMPILED) file I ATTACH here, that has been ZIPPED (1 MBytes, download at www.msfmaker08.com/msfmakerSM.zip).

Do click table on contents (TOC) 05. and 6.01.  Can you explain the problem with the unfinished graphic displays? And how to solve it?

I create my htm and html files using WORD 2003. I have jpg and gif files in a folder for EVERY htm/html file.

Thanks.

raziI would like to add an attachment/file to show what I mean by unfinished graphic displays.


Thanks.

Razi

[recovering DISK space, attachment deleted by admin]Solved this problems some time ago by following advice at link below. The "Possible solutions" worked.

http://stackoverflow.com/questions/3400075/strange-problem-while-compiling-chm-file

Possible solutions:
•   In Word: Deselect the option 'Rely on VML for displaying graphics in browsers' (Tools > Options > General > WEB Options)
•   In Word: Save as 'filtered HTML'.


Regards,

Razi

843.

Solve : web site image display?

Answer»

Hi,
I have a PICTURE FILE (photos) which has some pictures, for ex. (cham1, cham2....).
now, I want to DISPLAY these pictures in my WEB SITE,
could anyone tell me how I make the link in my database (the column is "image") ?
because I have aleady put in my DB : photos/cham1.JPG
but it doesn't work.
thanks!

844.

Solve : CSS footer question?

Answer»

Hello

I have a footer here (screenshot) and I can't SEEM to bring the height down on that purple box around the text. The space between the top and bottom margins should be uniform, but it doesn't work if I simple try to reduce the height. This is the CSS I am using:

Code: [Select]footer{
    bottom: 0;
    POSITION: fixed;
    width: 100%;
}

.footer {
   
    height: 30px;
    margin: auto;
    width: 100%;
    text-align:center;
    padding:15px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom:15px;
    width: 8%;
    border: solid 1px;
    border-color: #BD2CBB;



And this is the HTML:

Code: [Select]footer>
    <div class="footer">
     <p><a runat="server" class="centerhere" href="http://www.mysite.com">My Site</a></p>
    </div>
</footer>
Glad for any advice!

Thanks.

[ATTACHMENT deleted by admin to conserve space]I could not find any other problems by quick glance, Sorry if this does not fix it

1: The "margin: auto;" may be messing with the height
Or:

footer {
    bottom: 0;
    position: fixed; <- that might be you problem
    width: 100%;
}Hello shiverbob

If I change that to relative, it keeps the shape of the box as it is, but moves it right up the page.

But thanks for your reply.

It may be that as this is an ASP.NET project, that the source of the 'misshapen' box lies higher up the HIERARCHY (which I was hoping to avoid!).

Thanks again.In the footer style what is the

"Bottom: 0;"

As that could interfere with it.
That positions the box in relation to the bottom of the screen. So if I replace that 0 with, say 100, the box rises further upwards. But it is not related to the how the text is positioned inside the box. That does not change; so at 100px (instead of it's CURRENT 0), the text position inside the box looks the same.

845.

Solve : PHP contact form won't work with Yahoo mail?

Answer»

I'm setting up a web site contact form for a friend who uses Yahoo email. When I set up the form to send MESSAGES to my own email (not Yahoo) it works just fine. But when I set it up with my friend's Yahoo email address the message doesn't show up in the inbox. We tried another Yahoo account, and it still didn't work. There don't appear to be any spam filters or blocklists affecting it.Did you check the spam box to see if yahoo flagged it as spam? I can see a Mail To Form getting flagged easily as spam!I looked... it warn't there Are you using the OLD HTML ( Mailto ) instruction to e-mail the form data? If you are there then has to be a local mail client set up in the browser such as Outlook Express, Outlook, or another client active that can handle this on the workstation or computer by which the php is executing dynamic html.

Last I knew, the old HTML mailto instruction was still available for legacy use, but it COMES with problems because some block it due to its use in spam etc.

Last time I used it was for a script that WOULD notify me by e-mail about server room conditions from a monitoring system setup via e-mail, and that was almost 9 years ago when it was even then a legacy HTML instruction.

https://www.campaignmonitor.com/blog/post/4003/tip-avoid-using-mailto-links-in-html-email
No, there's no mailto. It's just a script that I downloaded and integrated into my html. See attached.

[attachment deleted by admin to conserve space]The friend switched to Gmail, and now it works. Go figure.Interesting that the only difference is that gmail allows this and Yahoo blocks. My thoughts are that its an antispam POLICY on yahoo's mail servers.

846.

Solve : Re: php mysql issues?

Answer»

We are going to need a lot more information than that including how the site is built, exactly what goes wrong and any relevant code snippets.I agree with camerongray.


What type of webserver are you using.

what type of data is required to be entered in to the form.  Have you checked to make sure that the fields in the database are correctly formatted.  I mean by this if it's numerical and character data then have you set it to be varchar.

If you have set any fields to be unique and are trying to enter the same data for test purposes this won't allow you to enter the same entry twice.

What is the error message you are getting.


If you have an example of what has worked and what hasn't can you post them here.  Also as camerongray has said could you post your code here.  So, that would be what you have in the html and the php page please.okay cam and base10... these are the codes... the data that is being filled by the user is not reflecting in the dbase on submission... i use xampp...


if(
   isset($_GET['surname'])
   && isset($_GET['firstname'])
   && isset($_GET['Date_of_birth'])
   && isset($_GET['department'])
   && isset($_GET['username'])
   && isset($_GET['password'])
   && isset($_GET['Confirm_Password'])
   )
   {
      echo "all is set";
      $sname=$_GET['surname'];
      $fname=$_GET['firstname'];
      $dob=$_GET['Date_of_birth'];
      $department=$_GET['department'];
      $username=$_GET['username'];
      //$password=$_GET['password'];
      $pass2=$_GET['Confirm_Password'];
      echo "all is set";
   }
   else {
      echo "some fields are not filled";
   }
   //db conxn
require_once 'login.php';
$db_server= new mysqli($db_hostname, $db_username, $db_password, $db_name);
if ($db_server->connect_error)die($db_server->connect_error);
echo "DB connection successful";

//$sql= "INSERT INTO user VALUES ('null','$sname','$fname','$dob','$department','$username','$pass2')";
$sql = "INSERT INTO user VALUES('null','$sname','$fname','$dob','$department','$username','$pass2')";
$result= $db_server-> query($sql);
if (!$result)die($db_server->error);
?>



   Register to login
   
   h2 {background-color:#90ccd4;
      width: 100%;
      height: 40px;
       color: #000;
       font-size: 100%;
       font-family: arial, tahoma;
       line-height: 2.0;
       text-align: center;
       margin-top: 4px;
   }

form{
   width: 50%;
   height: 100%;
   clear: both;
   line-height:80px;
   color: #000;
   margin: 2% 0 0 20%;
}

.form{
 BORDER: 1px solid;
 border-width:80%;
 padding-left: 5%;
 padding-bottom: 10%;
 background-color:#90ccd4;
 text-align: center;
 clear: both;

}
   


Registration Form


   
   Surname:
   

   First name:
   

   Date of Birth:
   

   Department:
   

   Username:
   

   Password:
   

   Confirm Password:
   


   
   



   


First things first, you really need to read up on this sort of thing before you start implementing it.  The code you have listed has four serious issues that must be resolved:


  • You are not escaping the user provided data that you are using in your SQL queries leaving the site totally open to an SQL injection attack.
  • You are storing passwords in plain text which is a massive issue, passwords stored in a database should be salted and hashed
  • You aren't validating any inputs, as it is currently I could submit a totally blank form and it would work fine.
  • Data for such a form should be sent as POST data, not GET.

And finally:
Code: [Select]<form>
<div class="form" action='form.php'>The action attribute should be on the tag, not the Is this website for work, school/college/uni, or just your own interest in putting together a website.

Firstly looking at your code you haven't closed your php off with "?>" (don't use the inverted commas please).

The site below gives you information on Salted password hashing.  This is a function you can add so that data written to your db will be encrypted first before being written to the hard disk drive (hdd).

https://crackstation.net/hashing-security.htm#phpsourcecode

If this is for a school or college project you're lecturer may NOT require you to do the hashing as they might want to see the data reaching the database.  But for commercial use this is better to do for security purposes.  Reason being if the db is compromised then it will take a long long time before anyone can crack the HASH code... unless they are a Dalek lol

As camerongray has said there is also no validation here and you will have to change your code to use POST instead of GET.


To validate your site you can use something like below, although you will have to tailor it to name of your form.

Code: [Select]<script type="text/JavaScript">

function validate()
{
  if(document.formOne.Email.value == "" || document.formOne.Password.value == "")
  {
    alert("Please fill in the boxes provided and try again ");
    return false;
  }
      else
       {
    parent.location="Login.php";
       }
}
</script>
Quote from: Base10 on October 25, 2014, 06:47:08 PM
To validate your site you can use something like below, although you will have to tailor it to name of your form.

While using Javascript is certainly a good idea to validate user input as it will minimize server calls but it's important to note that the user can do whatever they want with the Javascript therefore you cannot rely on it as total input validation.  The backend in PHP will still have to validate all the inputs in the same way before it will finally allow the insert to take place.As camerongray has stated, quite rightly too as this is an important part to remember, that the PHP end will have to validate the inputs also before the insert takes place.  Don't know why I never mentioned it lol.  Thanks for pointing that out camerongray, much appreciated. 

This code is just an example and depending on the sql database you are using the syntax, again, will have to be tailored to suit... especially because my example is using MySQL.


The code below should be on the .php page and not on the .html page.

Code: [Select]
// to check for the users details.

mysql_select_db("the_name_of_your_database", $con);
$Usercheck = $_POST['Email'];
$Passcheck = $_POST['Password'];


 $checkUser = mysql_query("SELECT Email FROM yourtable WHERE Email = '$Usercheck'")
 or die(mysql_error());
$Check2 = mysql_num_rows($checkUser);


//If the user isn't in your database this inserts the new user

if ($Check2 == 0)
  mysql_query("INSERT INTO airusers (Email, Password) Values ('$Email','$Password')");

If the registered user is already registered and tries again you will need to code an alert to throw up; this is to tell them that they are using details that are already registered and a link to get them to a password page to reset their password for login. Quote
i use xampp

Are you going to be using Xampp on a live server that is on the web which could be targeted by hackers etc?   


Xampp is only really intended for testing of code on a staged sandbox of a server, and not really intended for a live server environment.

If this is for school and just as a backbone to demonstrate your code etc its fine as long as offline mode of use, or used in a private network among trusted users etc, but if a system with xampp is placed out onto the DMZ or even a port forward to it from a private server environment, dont be surprised if a hacker gets in there and makes a mess of it all. 

There is info on the web on how to harden xampp installs for a live server connection, but its best to build it all up as secure as possible with the components that you will be using only ACTIVE etc, and each one manually installed and custom configured for security, vs using xampp with all features possible active to work no matter what someone is going to use xampp for and many points of entry or points of attack for hackers that would find it pretty quickly with probes and the first PLAN of attack would probably be to use the default authentication of xampp tested against it before moving on to other methods of attack.
847.

Solve : Looking to implement a math palette for equation editing on webpage?

Answer»

I've been looking to implement a web platform to simplify the process of writing up/storing my textbook homework solutions.

I'm sure there are plenty of desktop applications that WOULD work, but I'd really prefer a website.
I'm envisioning something similar in appearance to a forum platform where I could page back through to look at old entries.

The hardest part of the whole implementation is how to incorporate equation editing onto the actual page.
Writing the software to ACTUALLY organize and structure all the symbols, operators, etc for displaying mathematical equations would be a much taller order than anything of the scope I'm hoping to COMPLETE.

I know that there already exist other proprietary implementations that I've had use to complete coursework on websites LIKE MasteringPhysics/Webassign, but of course I need something that I could be free to use.

I've used MathJax to print MathML results on a webpage before, so a product that could export/produce results that are encoded in MathML or similar for presenting completed entries on the page would be great.

I'm not looking for a CAS, etc that would actually evaluate results, I'm only hoping to add some equation editing functionality and a math palette to make the process of writing down solutions less complicated than creating an actual typeset document ala LaTeX.

I'm continuing to google around but at this point, all I've FOUND are a lot of irrelevant results. One thing I've been looking at is at the software at http://mathdox.org/formulaeditor/, but the download links appear to be dead.

I've attached an image to give you some idea of what I'm referring to...



848.

Solve : Tweets on a Web page??

Answer»

Hello

Is it possible to send Tweeter messages to your own Web site and for everyone to VIEW those messages on your own Web site as they are sent?

What are the first steps towards achieving that, please? Is it that your own site has a link to a Twitter page that is made to look as if it's part of your site but it isn't really?

Thanks!You can just create a Twitter WIDGET that you can embed on your site here: https://twitter.com/settings/widgetsHello camerongray

Thanks for your reply.

That SOUNDS SIMPLE enough!

Thanks again.

High1

849.

Solve : Turnkey Sites that Support MIDI Files?

Answer»

You folks may not believe this but I'm simply trying to find a turnkey site (Tried Wix, Weebly, etc.) that I can sell MIDI files off of.  What you won't believe is NONE, NOT ONE of these "conventional" sites support the MIDI format.  Apparently, they have never heard of the term.  What's even more amazing, and frustrating is the fact that MIDI's are only 1/10 the SIZE of MP3, and other comparable files.  Another very unfortunate fact is neither Soundcloud, Spotify, or ITUNES SUPPORTS MIDI either.  GEE, I thought SoundCloud was originally created to aide musicians.  I mean, I'm thinking that if you have a team of musicians that want to collaborate wouldn't the support of MIDI files be KIND OF A GOOD IDEA?

So, enough of my WHINING.  Does anyone know of a turnkey site that offers support for storage, and download of MIDI files?

Thanks,

850.

Solve : Download all files by name prefix?

Answer»

A website has like 180 files that have the same file STARTING string. Say 'File001_x_xxxxxxx ... The x PARTS change. I want to download all files that have that File001 as the starting of their NAME. Do you KNOW a way? I asked this in webdesign cause you guys could know some this stuff.

The files are FREELY available.. Just not hotlinked. I have to go through 3 links to get to the actual file. Unless I know xxxx part of the name and can just put that in the URL.