Web Languages and Standards





Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.

Share tech news, updates, or what's on your mind.

Sign up to Post

    How do I exclude www. from the following rewrite rule?

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(.*)\.domain\.com
RewriteRule ^(.*)$ http://domain.com/forum/t/%1$1 [L,NC,QSA]

I have a PHP script file that was written by some one else who no longer is around to ask how to fix the issue. I do not have a lot of experience, practical, or otherwise in decoding this type of scripting.

The basic process as I understand it, is to take data from a generated tide table, figure out the time to the next tide, either high or low, and display that on a web page with an appropriate graphic. The script has not worked correctly for me. Either it fails totally, or instead of accurately telling the time to the next tide, it will tell the time to the next tide 24 hours away.

I do know that the script does work on other websites, but I can't seem to be able to troubleshoot it in my instance.
Here is the code....(no private data is in this code snip)
the Variable $S3C2 is set in the configuration page, the value of 2 tells the displaying page to use the tide script.

<?php if (($S3C2 == 2) or ($S3C2 == 5)) {  //  Show Tide, Lightning will over-ride ?>
                        $tide = tide_data(0);
                        $tide1 = tide_data(1);
                        $next_tides = array();
                        if (is_array($next_t1 = next_tide_info($tide[1], 0)))
                            $next_tides = $next_tides + $next_t1;
                        if (is_array($next_t2 = next_tide_info($tide[2], 0)))
After upgrading to Windows 10, my local Development Copy of the code using my local IIS Express Version 10 is unable to get the current HttpContext.  The same code
works on our Development and Live Server that are running IIS 8.5.    I need help updating the code since it appears I can't use HttpContext.Current anymore.  

/// <summary>
        /// Returns the URL for this link
        /// </summary> 
        public string trueUrl
                if (url != null)
                    return url;

                if (HttpContext.Current != null)
                    var urlhelper = new UrlHelper(HttpContext.Current.Request.RequestContext);
                    return urlhelper.Action(action, controller, new { area = area });

                return "ERROR";

Open in new window

I'm looking for a way to determine if my web pages are being loaded via a web browser, web view in mobile apps. or iframe in the Touch Browser app. I'm hoping there is some way but not sure? I need this functionality due to the issue of having to load specific JS files based on a user using a browser to view our web pages or an application. Any ideas? I'm assuming that the "window.navigator" object is my best bet?

I have a WordPress site using avada theme

I need to create a support Section on the site that can be easily updated by non programmers

Ideally I need a tree. View. On left, with expandable nodes, and when you click on a tree item/node, it would load content on right panel
The content may contain text, images and pictures

I would also like a search facility for.This support section of the website

Are there any plug ins etc that can do this?
What causes certain characters to be "unsafe"?

What is it about the spaces and quotes here
var example = "\"Quoted Value with spaces and &\"";

which makes them unsafe?

After encoding the encoded that string, it becomes: %22Quoted%20Value%20with%20spaces%20and%20%26%22.

What does this <img> tag do below?

And is the / simply in place of a space between img and id?

For example:


and what about this?


Is there any way to remove adverts from embedded youtube videos on a webpage? I am imagining the answer is no, but I am just asking in case anyone knows of any way to do this. I assume the only way is to get the owner of the video to remove monetisation from the settings for the video, thereby removing the adverts.

Here is an example of a Justin Bieber embedded video (I just went with something I knew would have adverts) and right enough, there is an advert, right over the top.


So if anyone knows of a way to stop adverts from playing, I would be grateful to know. Thanks.
I am a software engineer and my personal Linked In page has hundreds of links, mostly to recruiters. They send me requests and I accept them sometimes.

But I have a couple of new topics where the power of Linked In may come in handy.

I have a business that has services which save merchants many thousands of dollars, and for which I intend to create a "sales funnel."

Can this be a distinct Linked-In page? How is it linked to my personal? The less, the better, I think.

Also, I have a book to launch, and hope to use whatever experience I gain on building a "sales funnel" for my business, would also apply for my launching my book.

It seems like I need two new Linked-In Pages. Or Profile?

How do they connect?

I have no problem with a large division, since I prefer that my book does not get in the way of business.


I know this is a question is already mentioned but i wanted to know with the code below, can i upload the row on that day. Ie 9/12/17 it displays the info from that row (not the date).

PHP Code
$fulltext = file_get_contents("data/test1.txt"); 
$linearray = explode("\n", $fulltext); 
foreach($linearray as $line => $text){ 
    $fullarray[] = explode("\t", $text); 
echo "<table>"; 
foreach($fullarray as $key => $value){ 
    echo "<tr>"; 
    foreach($value as $which => $text){ 
        echo "<td>{$text}</td>"; 
    echo "</tr>"; 
echo "</table>"; 

Open in new window

Text File
			Morning		Afternoon		Evening
8/12/17			10am		12pm		6am
9/12/17			9am		1pm		7am
10/12/17			8am		2pm		6am

Open in new window

A test output is here: click here. However the real output i would like is attached, in a html table format.
I am trying to get XML validation working for a SOAP server but I've run into a couple of issues.

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://p2p.thalesgroup.com/wsdl/status/xsd"
  <xsd:element name="Alive">
          - Alive is sent periodically to verify the connection status

Open in new window

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:soap-enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

Open in new window

First Issue:
SOAP elements are not being recognized.
Validator Output: Cannot Find The Declaration Of Element 'soap:Envelope'., Line '1', Column '225'.
I found a Stack Overflow thread describing the same issue but the described solutions do not work for me.

Second Issue:
Even if I remove the SOAP elements, I still have a namespace issue.
Validator Output: Cannot Find The Declaration Of Element 'Event'., Line '1', Column '8'.
I did check the current .php file but I cannot find out how highlighted message would be trigger, within the Web page.

On this page, I'm trying to center the text for the order steps vertically so that it looks better in relation to the images, It just will not cooperate. https://www.stadriemblems.com/order_process/

I'm using this CSS:

.process-text {
		display: table;
		height: 100%;

	.process-text-elements {
		display: table-cell;
    	vertical-align: middle;
		height: 100%;

Open in new window

And this HTML:

 <div class="row">
       <div class="col-md-4 col-xs-12">
       <div class="process-text">
      <div class="process-text-elements">
      <div class="process-number">1</div><div class="clear-div"></div>
      <h2>Request a Quote</h2>
       <p>The first step is to let us know the basic details of your order.
We need to know the quantity, size, backing, and the date you need your order by to give you an accurate price quote. </p></div></div></div>
       <div class="col-md-8 col-xs-12">
       <img src="{% static 'images/orderprocess-uploadartwork.jpg' %}" class="img-responsive">

Open in new window

I assume it's not working because it's not obeying the width:100% that I have defined, but I'm not entirely sure why. Perhaps when elements are displayed as a table you can't put % height values on them? I don't know.

Is there a better way to do this?

At the top of this page, I am working on some code that will allow me to use a different background image for different media queries. That part is working, but I can't figure out whether or not there's a way to make the height of the div match whatever the height of the background image is at any given time. Right now I'm using min-height, which really doesn't work, because the height will be constantly changing as the image resizes.

CSS is in enamelpins.css

Also, why is there space on the left and right on the image? How to I make it touch the sides?
We have a page that loads a bunch of 3rd party pixels in an iFrame. A member of the IT team complained that one of these pixels is taking a very long time to load, which it is. He said it is slowing down our website. The pixels all run in an iframe container, so this shouldn't impact the speed of the parent page at all, should it? I've been looking for documentation on the web to prove this but haven't found any yet. Am I correct and if so any URLs to supporting data would be appreciated.

In my navbar I have 4 buttons. "Home" "About" "Contact" "Products". How do I take these 4 buttons and have them spread out evenly across the line?navbar
Hello ~  Can anyone identify the web site format / editing application associated with:  http://begnbark.com/?

How is it possible to ID this?

Going offline, will check back within 24 hours.

Many Thanks! ~:~ Jacob
Have a well-written article.  Lots of good content.  

On top of the page is a detailed set of in-house text ads.  

First thing spiders see when arriving at the page is this word salad of ads.  Ranging from services to products, these words can be far removed from the actual content of the page.  

The page is appropriate for the advertiser.  But, the text in their ads can be far afield from the content of what we'd like the page to be indexed for.

Have heard in the past that there is a way to write HTML so one could have specific elements up at the top of the code of the page, even though those elements may themselves be physically lower on the page itself, when rendered.

So that the code of the page would look something like this

<h1s h2s and well-written content>
<batch of text ads>

While the page itself would RENDER as

Batch of Text Ads
H1s H2s and Well-Written Content

I'd seen the code for doing this in the past.  Need examples of how it could be done today.

Many thanks,

Hi, we just moved from Godaddy to Bluehost(which was a nosebleed), and I thought everything was finally ok. But a user today got the attached error. I asked her what browser she was on, but she won't be back in until tomorrow morning.

I checked it here: https://www.ssllabs.com/ssltest/analyze.html?d=techgardens.com  and it shows that the second certificate, the one on Bluehost, has a mismatching name and is not trusted.

Bluehost said this was a known issue that was fixed long ago. Then they said, "it is a known issue and will take some time to update and show the right details." So,, which is it, Bluehost?

I called in and talked to another tech, showed him that link. He said that my user had a caching issue, she should clear her cache and it will go away. That sounds incorrect to me, if SSL labs is showing a mismatch, then the error my user got is real.

It looks like our SSL is good, bit the Bluehost one has an issue? I am really not that up on SSL, can anyone explain this to me and advise what I can do?   Thanks!!
I program in C# but need to write a Java app that can be downloaded and run on many platforms. The application will "scrub" confidential information from a merchant's credit card report (PDF).

It will remove the merchant's name, address, merchant ID (xxxx-xxxx-xxxx-xxxx) account number, etc.

It will do this by scanning the entire PDF and exporting non-confidential data to a CSV file.

I need this to be easy for non-techies to download and run.

What basic considerations should I have about what I should and should not consider before I start planning the design?

What frameworks help? Hurt?

What kind of installation program/script is needed?

I would host this download from my website...

When I write a program in Perl 6, is it visible to the user, like JavaScript? Or is it compiled into an interim format that is not accessible to the user?

I am considering using Perl for a public facing web page but also for downloadable tool they would run locally.

I hear there is a bin folder, but what exactly goes into this? Is it the .pl file?

I have version 5 currently...

My-MBP-2:~ newbieweb$ perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2013, Larry Wall

and I run El Capitan

I need to instal Perl 6 but be sure in no way that it impacts the current installation of Perl 5, which is used by my system.

Years ago, I learned Sed and Awk to complete a project in telecom. Today, I do not recall any aspect of those languages. But am about to learn Perl and have been told that Perl is based on Sed and Awk.

Is that true?

And how are they similar?

Once I start hearing these details, I suspect I will recall a few things about how and why I used Sed and Awk.

I need to find and fix the following CSS errors on my site...


but am not sure where to begin.

I do have an Admin log-in and am curious how and where to make these fixes. I will do a push to BitBucket before I do any experimentation...

I was told it would take 6-8 hours to complete, and suspect that removing things flagged as unnecessary may not be as simple as it sounds.
I am considering making a site that can auto-analyze a certain type of uploaded report, and instantly display the results as a PDF. There are various steps involved in the creation of the PDF and I want a feeling for the effort and technology needed for each step.

There are three different steps I will discuss here to see where I can use WordPress plugins and where I need to customize the functionality.

The uploaded report would be a merchant's monthly credit card statement, like the following snippet..

Statement Example
1) So, for the first of three steps, I need a WordPress OCR plug-in. Are there many options for that? Is the angle of the text a problem? I can not guarantee neatness. (I added the underlining to make it easier for me to read)

I imagine allowing an authorized user to upload a report. And i need this plug-in to convert images to some form of digital data, like a PDF or a CSV file.

2) I need a way to analyze that data, and wonder if there is a configurable WordPress plugin for this? It will query the items by the Description, then use the numeric values in the Number, Amount and Total columns for mathematical computations. There will be some mathematical steps performed on some of the data as it generates the output for the report.

The results should go into some format, like a CSV file

3) I need a report tool which can import the data results from Step #2 and apply them to various pre-designed fields in the final pre-designed …

Web Languages and Standards





Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.