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.

751.

Solve : WC3 validation problem?

Answer»

I'm using a XHTML table format for my sitemap and the file has just one error left to correct:
end tag for "table" which is not finished

Description:
Code: [Select]Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

ANOTHER possibility is that you used an element which requires a child element that you did not include. HENCE the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.
 
Code: [Select]<tr valign="top">
<td class="lbullet">&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td class="lpart" colspan="99"><div class="lhead">newsletter11/
</div>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
</table>
</td>
</tr>
If anyone know how to change this in order to validate I would appreciate it.
Any reason for having an empty table? I'm not sure, but that could be causing it.

To be honest, I wouldn't be too worried about validation ANYMORE, especially with XHTML. Most sites are now using HTML5, where validation doesn't really come into it.It seems as though the tags for the table are in the wrong order, shouldn't it be something more like this?

Code: [Select]<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td class="lbullet">&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td class="lpart" colspan="99"><div class="lhead">newsletter11/</div></td>
</table>

In the original code, you create a table row, add individual cells, add the table in one of the cells, then close the cell and row.  The new code opens the table, inside this adds a row and inside the row adds the two cells.Thanks for your attention to my html  problem I used your code suggestion unfortunately it added another 40 errors to the validation output. If you don't mind taking another  look at the code at

http://www.jkershaw.info/sitemap.html

you may see the structure of the table. The error "end tag for "table" which is not finished" occurs near lines 145, 338, and 506 in the rows where the newsletter year starts. With only three errors on the page there must be a very small change required. the same error ocurrs at these 3 locations but  the page LOOKS OK to me.
 much appreciated Quote from: kpac on April 18, 2013, 01:12:05 PM

Any reason for having an empty table? I'm not sure, but that could be causing it.
This is definitely it. I took the empty tables out of the code and it validated fine.
I can't see the changes you made. Is it possible to show me here? Really appreciate it. Quote from: springbud on April 21, 2013, 08:47:38 PM
I can't see the changes you made. Is it possible to show me here? Really appreciate it.

just remove these (there are a few of them):


That validates now. Many thanks

http://www.jkershaw.info/sitemap.html
752.

Solve : Need Word Press templates for Mobile Devices.?

Answer»

It sis for a new PROJECT, not my present blog.
My preference is to use Word Press.  Not just because I am lazy, but I do not have the time and skill too do it the hard way.

So I was won wondering if anybody here has had good results using a mobile theme s (templates) for the free version of Word Press. WP-Touch plugin.Another Plugin worth looking into is the "WordPress Mobile Pack"; from the plugin DESCRIPTION:

Quote

The WordPress Mobile Pack is a complete toolkit to help mobilize your WordPress site and blog. It includes a mobile switcher, filtered widgets, and content adaptation for mobile device characteristics. Activating this plugin will also install a selection of mobile themes by ribot, a top UK mobile design team, and Forum Nokia. These adapt to different families of devices, such as Nokia and WebKit browsers (including Android, iPhone and Palm). If enabled, your site will be listed on mpexo, a directory of mobile-friendly blogs. Also CHECK out the documentation and the forums. If you like the plugin, please rate us on the WordPress directory. And if you don't, let us know how we can improve it!
Another option is to look for a template that is described as "responsive".  Instead of having a separate template for a mobile site, you would have one template that adjusts to different screen sizes. for example if the resolution falls below a certain level, the navigation bar will change into a drop down menu triggered by a button.

A good example of responsive design is BOOTSTRAP from Twitter.  You can see how it works by viewing http://twitter.github.com/bootstrap in both a desktop browser and a mobile device (or by shrinking the browser window to a smaller size).Wow! Glad I asked. 
All of the above were helpful. Now I have enough stuff to keep me busy of awhile.
Thanks to hall.  Another way to find mobile themes is to log into your admin area in wordpress.  After logging in go to your DASHBOARD, then click on change theme completely.  At the top of the next page click on install themes, right next to manage themes.  After the next page comes up type in mobile, click on search and all of the themes that come up should be mobile themes.  Hope this helps also.
753.

Solve : putting link code in banner image?

Answer»

how do I put link code in banner??

So when someone clicks on it, it GOES t o site??

[recovering disk space, attachment deleted by admin]ASSUMING that you are inserting the banner as an image, you can simply wrap the "img" tags with a link.

For example:
Code: [Select]<a href="http://www.example.com"><img src="yourimage.jpg"></a>
If you WANT the banner to open in a new tab (which is what most BANNERS will do, you can set a target attribute like this:
Code: [Select]<a href="http://www.example.com" target="_blank"><img src="yourimage.jpg"></a>CHANGE img into Code: [Select]<img src="yourimage.jpg" border="0">, so you won't get a blue line

754.

Solve : temperature converter?

Answer»

My temperature converter converts Fahrenheit to Celsius fine but it wont convert Celsius to Fahrenheit please can someone help?

here is the code



  Temperature Conversion Page

   
   function Conversion()
{
    var tempInFahr = parseFloat(document.getElementById('fahrBox').value);
    tempInCelsius = (5/9) * (tempInFahr - 32);
    document.getElementById('celsiusBox').value= tempInCelsius;
}
 
   function Conversion()
{
    var tempInCelsius = parseFloat(document.getElementById('celsiusBox2').value);
    tempInFahr = (9/5) * (tempInCelsius 32);
    document.getElementById('fahrBox2').value= tempInCelsius;
}

     
         

   

Enter a temperature in degrees Fahrenheit:
      onclick="Conversion();" /&GT; equals
    degrees Celsius
   





   

Enter a temperature in degrees Celsius:
      onclick="Conversion();" /> equals
    degrees Fahrenheit
   


 I'm thinking two functions named Conversion are ambiguous. Try using two different names and fixup the references accordingly.

Not very knowledgeable of HTML but are duplicate div nodes VALID? (id="outputDiv")

 Your problem is that both functions are called Conversion - This will not work as you need to be able to identify the functions uniquely, you should change the name of them so you have one (for example) "convertCtoF" and another "convertFtoC" (It's generally ACCEPTED to start functions with a lower case character although it doesn't affect the actual functionality.

Also, you do not need to specify 'language="javascript"' since you use the type attribute, using language was the older WAY of doing things before the type attribute became standard.

The only other issue that doesn't affect the functionality is that you have 2 divs with an ID of "outputDiv" - An ID is designed to identify a single element so both of these IDs should be different.  Alternatively you can use a "class" attribute to identify multiple elements under the same name.

See updated code below - There appears to be a problem with the calculation to convert C to F but at least the function still works so it shouldn't be to hard to fix:
Code: [Select]<div style="text-align:CENTER">
  <h2>Temperature Conversion Page</h2>
<script type="text/javascript"> 
    function convertFtoC()
    {
        var tempInFahr = parseFloat(document.getElementById('fahrBox').value);
        tempInCelsius = (5/9) * (tempInFahr - 32);
        document.getElementById('celsiusBox').value= tempInCelsius;
    }
     
    function convertCtoF()
    {
        var tempInCelsius = parseFloat(document.getElementById('celsiusBox2').value);
        tempInFahr = (9/5) * (tempInCelsius + 32);
        document.getElementById('fahrBox2').value= tempInFahr;
    }
</script>
     
         
<div id="f-to-c" class="outputDiv">
   <p> Enter a temperature in degrees Fahrenheit:<input type="text" id="fahrBox"            size="10" value="" />
   <input type="button" value="Fahr -> Celsius"
   onclick="convertFtoC();" /> equals
   <input type="text" id="celsiusBox" size="10" value="" /> degrees Celsius
   </P>
</div>

<div id="c-to-f" class="outputDiv">
   <p> Enter a temperature in degrees Celsius:<input type="text" id="celsiusBox2"            size="10" value="" />
   <input type="button" value="Celsius -> Farhrenheit"
   onclick="convertCtoF();" /> equals
   <input type="text" id="fahrBox2" size="10" value="" /> degrees Fahrenheit
   </P>
 </div>
755.

Solve : Best software for working with PHP website I'm trying to use note++ but looking?

Answer»

If you have direct access to your Apache server I would just use shell to write the code. It will show you any SCRIPTING errors that you may have. But If I don't have shell access I would use Notepad++ and use Filezilla to FTP. Quote from: jormeno on May 22, 2013, 02:09:03 PM

If you have direct access to your Apache server I would just use shell to write the code. It will show you any scripting errors that you may have. But If I don't have shell access I would use Notepad++ and use Filezilla to FTP.

how would Nano show errors in the script? This sounds more like editing a live production environment by the seat of the PANTS.
Quote from: BC_Programmer on May 22, 2013, 06:25:49 PM
how would Nano show errors in the script? This sounds more like editing a live production environment by the seat of the pants.

sorry I forgot to add that I use VIM.  you can find that package you can use yum -y install VIM. VIM will color code it for you. Quote from: jormeno on May 23, 2013, 10:10:31 AM
sorry I forgot to add that I use VIM.  you can find that package you can use yum -y install VIM. VIM will color code it for you.

Ahh. well syntax highlighting and "error insight" type features are quite different.

whether you use yum or sudo (or whether either are available) depends on the environment of the server itself. Quote from: BC_Programmer on May 23, 2013, 10:22:50 AM
Ahh. well syntax highlighting and "error insight" type features are quite different.

whether you use yum or sudo (or whether either are available) depends on the environment of the server itself.

You are so right, I am at work so I was speed typing lol. With VIM it will color code the code you are using but if everything shows up in red in some SCRIPTS such as css or php it will DISPLAY in red. If it is correct it will display in green and white and red you will no when you see once you start coding in VIM. sorry for the confusing.Syntastic seems to be what you are REFERRING to (VIM plugin)
756.

Solve : ASP source code?

Answer»

Hi all . . . any HELP is GREATLY appreciated.

I need to edit a webpage created by someone else long ago. It is an ASP. I need to replace May.pdf with June.pdf.

When I visit the site in IE and view the page, I ALSO view the source code from there.  It appears to be REGULAR html. The page says that I am at srv1/mdnews/news.asp and I can see the May.pdf[/url] link I need to edit. So, I ftp my June.pdf to the server at srv1/mdnews where the May.pdf is located.

When I go to the server and open the .asp file with notepad, it is completely different. It is named news.asp but it has the ASP
SCRIPTING (ex: <% Language=VBScript %> ).  No where in that file does it have my hypertext reference.

I feel sure this is likely due to the way you work with ASP, but as of now, I am at a loss. Please help me out and tell me where/how I should be able to find the file I need to edit.

Thanks!   

757.

Solve : [PHP] Pulling information from the database to fill forms??

Answer»

Hey Hopers, what I'm trying to do is pull INFORMATION from my database and display it in html form fields, I'v already worked out how to do this for text but I'm unsure of how to do it with HTML Form Fields like Radio, Checkbox and Select.

What i'm trying to do currently is pull the result from the database and if the result=male it AUTOMATICALLY checks male as active and if result=female it automatically checks female as active, I'm assuming this would definitely be something to do with the IF statement, just not sure how to work it.

I have used includes to include other files which connect it to the database, fetches and sets up defined variables for $row's, If anyone believe they may be the issue please let me know and I'll post the code for those, I'm assuming they're correct since it's working to fill in all of the text fields but I'm happy to post it in case I'v missed something

I tried this below;
Code: [Select]<input type="radio" name="gender" id="gender" value="male"<?php
    if ($row['gender'] == 'male') echo "checked";
?>>
But for some reason it's not working, I'm using MySQLi fetch statements to ready the data for insertion and up until now it's worked well, inserting text into textfields brilliantly.

PrtScr example;


I haven't got to the birthdate fields yet but I'm sure i'll need some HELP putting the data from the DB into those as well if anyone cares to help, I'm thinking I'll store them with a string so when pulling them back out I'll likely have to decipher the string and split it back up and then once again I'd assume it'll be more IF statements, quite a lot i'd assume to tell the form what to do with it.

Any help with either/both THINGS would be greatly appreciated, Haven't done PHP like this for quite some time and to top it off I'm learning MySQLi and PDO as I go so my mind is somewhat scrambled.

Thank you in advance CH'ers

I imagine it's due to your code expanding to this:

Code: [Select]<input type="radio" name="gender" id="gender" value="male"checked>
Quote from: BC_Programmer on June 08, 2013, 07:53:52 AM

I imagine it's due to your code expanding to this:

Code: [Select]<input type="radio" name="gender" id="gender" value="male"checked>

When I do that on it's own it outputs a checked radio field, which is what I want but for some reason the field doesn't check with the PHP code, I Guess I'll have to look into my code a little more.

edit: Realised the issue was that I was pulling the data via sessionid but I had forgotten to include the file that handles sessions, sorry guys.Wont let me edit my post again, I guess there is a timer

For anyone who has this issue and finds this, I ended up changing my method for a more indepth 'failproof' method as the above was returning true if null for some reason.

 I ended up using an if statement and then calling the session information and then echoing the fields.;
Code: [Select]<?php
               if($session->userinfo["gender"] == "male")
               {
               echo '<input type="radio" name="gender" id="gender" value="male" checked>Male' ;
               }
               else
               {
               echo '<input type="radio" name="gender" id="gender" value="male">Male';
               }
               if($session->userinfo["gender"] == "female")
               {
               echo '<input type="radio" name="gender" id="gender" value="female" checked>Female' ;
               }
               else
               {
               echo '<input type="radio" name="gender" id="gender" value="female">Female';
               }
               ?>
Hopefully this can help someone else like me new to this type of PHP Coding

Now I'm up to the birthdate field, I could use the above method but It would take quite a few lines to get the correct results, what would be the best way for me to A. Store the Date of Birth and B. retrieve and display it for editing?

I'm assuming I'd CONVERT the results into a string for storage but how would I split it back up on retrieving it?
758.

Solve : Javascript problem in Safari for windows?

Answer»

I need to password protect a webpage so I use the following code, which works find in Explorer, CHROME and Firefox but returns password Incorrect in Safari.

Any Idea why or how to correct is desired.


function passWord() {
var testV = 1;
var pass1 = prompt('PLEASE Enter Your Password',' ');
while (testV < 3) {
if (!pass1)
history.go(-1);
if (pass1.toLowerCase() == "letmein") {
alert('You Got it Right!');
window.open('protectpage.html');
break;
}
testV+=1;
var pass1 =
prompt('Access DENIED - Password Incorrect, Please Try Again.','Password');
}
if (pass1.toLowerCase()!="password" & testV ==3)
history.go(-1);
return " ";
}






You do realise anyone who views the source of the webpage will be able to see the password?

759.

Solve : Wordpress Hosting Proglem?

Answer»

I need to move my WordPress Blog.
This is so embarrassing, I THOUGHT I was pretty smart. Now I need help from others.
My Geek9pm site is no longer visible from ny location. I don't know why. But I still have FTP into the site. I can not get into the site with HTTP
So I thought maybe I could just move my WordPress stuff. Not so easy. I have never tried to export  my blog with FTP. I have no  idea of what I am doing.
I did download the whole WP directory and all its contents. But now what can I do with it? Only a small part of it is really my posts.
So my question is: How does one export posts from WordPress site using only FTP?I can not get into the site with HTTP.
Anybody?
You WOULD also need access to the database so you can copy that over to a NEW server as well - The data that you download over FTP only contains the wordpress software and any uploaded files e.g. images.

Once you have the files over FTP and the database dump (probably a .sql file) You would need to upload the files to a new host, execute the .sql file on the new database server and then update your wordpress config file to point to the new database.You are right. Could not find any posts in the stuff I downloaded.
So I have to get the SQL files.
Thank you.
I should have the site back up on another server in a day.
Quote from: Geek-9pm on June 21, 2013, 08:18:46 AM

You are right. Could not find any posts in the stuff I downloaded.
So I have to get the SQL files.
Thank you.
I should have the site back up on another server in a day.

Actually, usually the database isn't stored in files that are accessible from your hosted account. Quote from: BC_Programmer on June 21, 2013, 06:32:32 PM
Actually, usually the database isn't stored in files that are accessible from your hosted account.

Yeah, you'll need to export them using a program - Most web hosts provide "PHPMyAdmin" through their control panels, this is what you would use to export and then probably also to import once you reach your new server.Thanks folks. Right, FTP does not go into all things. But I was able to get into the control panel via the server portal, not my web site.
But on a hunch, I tried getting HTTP  via a proxy. It worked! For some reason I was BLACKED from my web site! With HTTP, WordPress will export stuff as an XML file.

Problem solved!
760.

Solve : All the coding going into the title??

Answer»

I have been very tired here with this.
It is a HTML problem.
It HAPPENS all the time with an HTML.
I used even my HTML pack, guaranteed to work, it didn't work.
 
Coding:
Code: [Select]<html>
 <head>
<title>OSaction Thanks for Embedding Page<title/>
 <head/>
<body>
<b>Thanks for embedding OSaction!<b/>
 <body/>
<html/>As you see, all it has is some simple bold text. All it.
It is for the XDos PowerPoint OS, that I have been working HARD on.


[recovering disk space, attachment deleted by admin]TAGS are closed with not .For experts that do not remember HTNL, use and editor like Opera. Use the WYSIWYG mode to make something, then look at the HTML source to see how it was done.   
One time it kept opening Media Player on my dad's computer and it kept doing it even when I uninstalled it. It took 2 months for it to rid itself. I don't trust it anymore.Wrong:
Quote from: Geek-9pm on May 31, 2013, 11:09:10 PM

For experts that do not remember HTNL, use and editor like Opera. Use the WYSIWYG mode to make something, then look at the HTML source to see how it was done.   
RIGHT:
Quote from: Geek-9pm on May 31, 2013, 11:09:10 PM
For experts that do not remember HTML, use and editor like Opera. Use the WYSIWYG mode to make something, then look at the HTML source to see how it was done.   
761.

Solve : popup calendar control?

Answer»

Hai everyone

I need to put a popup date control for my html page.  THe year RANGE should be from 1950 to 2050.  PLEASE GUIDE me where can I GET such control.

762.

Solve : web designe?

Answer»

guyz I am making new website that is totally based on computer like "how to decrease your start up time" & other tricks . I am never make website ever . i WANT to know making website on these tricks is legal or not  Yep, as long as you don't cover stuff like pirating software, cracking passwords.etc you'll be fine!befor you stard designing the web page i recomend looking for a tutorial on html and css, so you have a rough idea on coding the web page after that down load a trail of dreamweaver and BUILD the web site I recommend that you learn the basics of web design. This will help you avoid web design mistakes along the process that makes the entire procedure long and time wasting. I learn't HTML in college, not really knowing exactly what was what haha. I just basically learned the STRUCTURE of an HTML file, adding text, making it bold etc. After getting a bit of knowledge in that, I started to work with CSS, making text bold etc.

There are software's out there which is basically an drag and drop, very easy to use and no web coding knowledge needed.

Here are some tricks I picked up to keep your web pages fast, simple and user friendly -
1. Choose a good web host - Having a poor web HOSTING will make your website not load, erroring every 2 minutes and just really useless.
2. Avoid big sized images - Try not to add big images to your web pages, this will decrease the loading speeds. If you need images, try and use a smaller file format like gif.
3. COLOUR scheme - Choose responsible colours. Do not put pinks onto of reds , purple onto of blues etc. Its hard for users to read and therefore closing your website on there browser.
4. Enjoy it - Don't stress out if you can't do something, just Google it. If you get to stressed out, you'r going to dislike creating websites and therefore you will have the 'cant be arsed attitude'
5. Keep away from doing stuff illegal - Basically, not create an piracy website, illegal movie watcher etc.

Hope this helps

763.

Solve : E-shop hosting advice??

Answer»

So it looks like I'll be involved in a small business project and long story short we'll need to MAKE a business website with a proper e-shop. I've been recommended to pick 1and1 as the hosting service since they have support for business sites and what's more important for me is that I'm not into coding from SCRATCH and they have support for building an e-shop.

The features look great to me, and those who have experience in using 1and1 said they're reliable, what do you guys think?

Anyone on here ever operated an e-shop? What are some basic dos and don'ts?The 1and1 COMPANY has a good reputation. And they are big.I've hosted with 1&1 before, had no problems but BEYOND that I can't really help, I've never tried any e-commerce packages so I can't comment on whether their built in tools are any good, or what ALTERNATIVES there are.

764.

Solve : HTML Email Help?

Answer» http://jsfiddle.net/4Gb9r/

See where it says "Current Annualized Distribution Rate 6.10%"  I am trying to make the top of the brown BOX, LEVEL to the BLUE box on the left with "Benefits for you"  This is an HTML email I received someone made in MS Word, which is why I am having ISSUES.  Again, I am trying to have these two boxes aligned on the top with some padding in-between.  I have been trying to get this done all day.  Any help would be much obliged.
765.

Solve : HTML, load picture with a next button.?

Answer»

So I just started to try and write a web page. With the help of w3schools I got the page working pretty GOOD, but I hit a roadblock 2 days ago that I can't fix.

I have a Python script that controls a webcam that take pictures and name them by the current date and time and save it to a folder. Now I'm TRYING to get the latest picture witch a next/prev/number button. I got the next/prev/number button but need a href to LOAD, and load latest image at the front.

So far I got
Code: [Select] <body class="left-sidebar">
<div id="wrapper">
<div id="content">
<div id="content-inner">
<div class="pager">
<div class="pages">
<a href="#" class="active">1</a>
<a href="#">2</a>
<a href="#">3</a>
<a href="#">4</a>
<span>&hellip;</span>
<a href="#">20</a>
</div>
<a href="#" class="button next">Next Page</a>
        </div>
<article class="is-post is-post-excerpt">
</article>
</div>
</div>

But need a way to load the latest image and get the next/prev/numbers button to WORK. Anyone know a way? Trying not to USE java or flash.

766.

Solve : Mobile Device Template of Wordpress?

Answer»

The idea sis for a new project, not really my own current website.
The choice is by using EXPRESSION PRESS. Not simply since My business is very lazy, nevertheless When i do not need the time in addition to expertise far too take action the particular difficult means.

Therefore i ended up being gained asking yourself in the event that any individual right here has brought accomplishment employing a cell phone design azines (templates) for that totally FREE MODEL regarding Expression MEDIA.

767.

Solve : html codes for making Google + search box?

Answer»

I want to create a a google + search BOX

I have already made search box many search box
you can see it click on the below link to open my website( i made all of them EXCEPT wikipedia,EBAY and filecrop)
 https://www.nationra.weebly.com


My basic html code is
      
    https://www.google.co.in/search?client=opera&q=" accept-charset="utf-8" onSubmit="if (document.all) document.charset='utf-8';" STYLE="margin:0;border:0;padding:0" target="_blank">
   
   http://www.google.com">
   
   
   

thanks in advance

See http://support.google.com/customsearch/bin/answer.py?hl=en&answer=1351747I want CODES for google +

the site is plus.google.com

768.

Solve : Checking compatibility across browsers?

Answer»

I'm using a trial version of dreamweaver. Whats a free way to check browser compatibility across IE and other browsers and mobile devicesBrowsershots.org is a pretty handy website for that.  You can get screenshots of your page in any browser, at any resolution, though it can take a little while as it's all done by volunteers.IETester is good for that (I use it all the time at work) - http://my-debugbar.com/wiki/IETester/HomePage

Works pretty well for testing but can be a bit clunky and crash occasionally.

Another option is the virtual machine images that MICROSOFT SUPPLY here: http://www.microsoft.com/en-gb/download/details.aspx?id=11575.  These are images of an installed version of Windows XP, Vista or 7 with the correct version of IE installed.  These will give the closest experience to the real browser (since you are using the real browser!), but it will use a lot more disk space than simply installing IETester or using browsershots.I believe this will solve your QUESTION - http://help.adobe.com/en_US/dreamweaver/cs/using/WSA994C0FE-60C8-456d-8EF9-EC09DF0FD914a.htmlThere are tons of cross brower (and cross DEVICE) checkers out there --- google it and you'll find a ton!

769.

Solve : I made an interesting discovery on my webhost?

Answer»

I discovered that my webhost account had been compromised in some fashion.

Originally, it started with my FTP not connecting; not because of an authentication failure, but because it simply timed out. I don't know why; it could be a hiccup on the webhost end, or perhaps some configuration chyanged I've not discovered yet.

So I ended up having to use the webhost Cpanel. Nothing strange so far.

Then I was scrolling through the folders and files, and I noticed a folder that had a strange name. "dimethylamine" and contained a single PHP file- "corisica.php". Looking inside, and it seemed clear it was some sort of backdoor to use the webhost as a bouncing off point for viewing other sites; it basically would act as a proxy. Naturally, I found this to be a CAUSE for concern.

After that initial websearch(I had to google the comments at the top, which made it appear as if it was a wordpress plugin) I decided to find out where it came from.

I looked through my FTP logs for each month. There should be only two IP Addresses Accessing FTP; my address and the address of a IRC chatbot that uploads channel logs. As I went backwards, I found a discrepancy, going back to May!



This Mystery IP was in France- definitely not me and Definitely not anybody who should be able to be logging into my Primary FTP Account. I continued my investigation by getting the raw FTP Access Logs. I'm only masking the IP because it could be some innocent third-party compromised in a similar fashion:

Code: [Select]Thu May 09 13:13:26 2013 0 99.999.99.999 45 /home/bcprogra/__check.html a _ i r bcprogra ftp 1 * c
Thu May 09 13:13:30 2013 0 99.999.99.999 45 /home/bcprogra/public_html/__check.html a _ i r bcprogra ftp 1 * c
Thu May 09 13:13:31 2013 0 99.999.99.999 21762 /home/bcprogra/public_html/index.php a _ o r bcprogra ftp 1 * c
Thu May 09 13:13:31 2013 0 99.999.99.999 20971 /home/bcprogra/public_html/index.php a _ i r bcprogra ftp 1 * c
Thu May 09 13:13:33 2013 0 99.999.99.999 20951 /home/bcprogra/public_html/index.php a _ i r bcprogra ftp 1 * c
Thu May 09 13:13:37 2013 0 99.999.99.999 2027 /home/bcprogra/public_html/dimethylamine/check.php a _ i r bcprogra ftp 1 * c
Thu May 09 13:13:37 2013 0 99.999.99.999 21977 /home/bcprogra/public_html/dimethylamine/corisica.php a _ i r bcprogra ftp 1 * c
Yep, it was definitely logging in with my main FTP password. I tried looking backwards to see if there was some other access that would manage to get that password, but I wasn't able to find any; so this was the first occurence. Just some guy in France waltzing right in, which means the password must have been discovered some other way; it was a strong password that is unlikely to be guessed. My investigations led me to first decide to INVESTIGATE some of the other raw logs for that time; It seems reasonable that if they had acquired the password, they couldn't wait to use it, so it's likely they accessed and somehow got the password through standard HTTP; it's possible it was an exploit in the blog software or even my own CMS.

As luck would have it, I did indeed find that same IP WITHIN the HTTP logs, on the very same day- in fact, only seconds before it was used, so I think it is fair to conclude that this was an automated tool of some sort. I surmised that perhaps the HTTP log would give insight over how it acquired the password:

There was quite a bit of visual noise, so I used the Command Prompt and find to filter the file and create a new one that contained only the target IP Address.

I then filtered the log by the suspect files. It seems reasonable to assume that the only person expecting these files would be the person trying to gain unauthorized access, so I filtered them; this got me another IP Address as well, though I didn't find much.

Thing is, once I filtered it, the earliest attempts were 404's trying to access a "__check.html" in the root of my server directory.  After a few tries, it succeeded; it then proceeded to run a "corisica.php" in the dimethyline folder, which appeared to widen the crack.

Now, my supposition based on this was to first see the same area in the plain, unfiltered logs, to see if some buddy IP was doing something. I didn't find anything. I was stumped for a few moments. How does a file magically appear on the server, with seemingly no outside intervention?

Then it hit me, when I saw some of the queries being made by the other, mystery IP.

WordPress Cron, "/blogs/wp-cron.php?doing_wp_cron was" being accessed by those IPs. I thought this was standard fare, but only that IP was accessing it. More importantly, as I learned, that particular PHP file should never be accessed. It would appear that in my ignorance I had left the site wide open! The attacker had used the AVAILABLE wp-cron.php file to schedule their own, custom event, which then fired on the server; this caused a cascade of activity that basically installed the backdoor; at which point the waiting bot was then able to successfully access the file.

I am not really certain what it did; It appeared to change .htaccess, which explains some really weird stuff I had to reset in .htaccess (looking back, it should have raised a red flag at the time, also). Apparently it also tried to change index.php; presumably, that would infect the site with some sort of  backdoor, though I don't know what. This was apparently not to be, as at the same time the hacker was busy doing this, I was evidently updating index.php; less than a minute after they made their changes, I uploaded mine- obliviously overwriting them.

I've been able to secure the site by learning about wp-cron; After messing around with it for a bit, I downloaded a Wordpress plugin that disables WP's cron, and changes it to require a "secret" parameter to run. Then I configured the cPanel and added a cron job that called it every 20 minutes, allowing for the cron task to execute, while preventing any and all unauthorized access to it.

770.

Solve : free software that shows divs?

Answer»

Hi, IM practicing HTML code and am getting CONFUSED where a div stops and anouther one starts what is some free software I can use to solve this?Bot sure if this is what you want. There are HTML editors thereat LET you alternate between the HTML and the visual mode. One is Sea Monkey.
http://www.seamonkey-project.org/
Look for the free download. It is a single package.
It is a:

  • BROWSER
  • Visual Editor
  • HTML Editor
  • E-mail client
Whenever I need a quick and easy  way to do some HTML, I use it in the visual mode. Them I click the tab for HTML and see how it was done. It is very close to the other browsers for basic things. It is kinda like the old Netscape browser.
Hope that helps.
and is there a text editor that will show what start div is connected to what end div?The SeaMonkey HTML visual editor will switch instantly to source, mode from tab.
Code example:
Code: [Select]<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<TITLE></title>
</head>
<body>
<div style="color:#0000FF">
<h3>This is a heading</h3>
<p>This is a paragraph.</p>
</div>
</body>
</html>
Does that help? The div tags made all inside blue, but did not stop other tags.
will display as:

This is a heading

This is a paragraph.


Try using Notepad++ .  It color codes and indents HTML tags.  I think this could be helpful to you with regard to the div tags.
771.

Solve : Creating a Football Pick Slip?

Answer»

This could be the  vaguest, most asinine question ever.

I manage my company's football pool - using a third party website (USED to be ESPN, last two seasons I've used www.maximumfantasysports.com)

Some folks have asked to ADD two or three college GAMES to each week's NFL entry.

So what I would need to do would be to create my own pool. I could email out a spreadsheet EVERY week and grade them manually. But that would be a lot of work and no fun for me.

How difficult would it be to create a webform? And what would be recommended software?

I think the objectives I would need would be:
- 'Personal' - that is, password-protected and registered users
- Automatically cut off (that is, not TAKE entries) past a certain time of day
- Be able to calculate w-l records automatically


Any thoughts?

772.

Solve : Urgent!!!!!! what is the html codes for the google+yahoo search bar??

Answer»

open this link http://onewebsearch.com/ and please tell me what is the html code of it

 This search bar has a specialty that it can find result within its page and CHANGE its search into yahoo search or google search

 Please Use it and tell me the codeYou can view the source of a web page in most browsers.  Under Chrome you can simply right click anywhere and select "View Page Source".

The code that changes their FORM is pretty simple, could be understood with BASIC Javascript knowledge.

You can also right click elements on the page USING Chrome and select "Inspect Element" - This may be more useful than viewing the source.

Steps above are for Google chrome but are very similar for other browsers.If the web page USES PHP coding, there is no way to gain the source code. It will only show the HTML view (which would be no help for you).

773.

Solve : Picture?

Answer»

I have a project for school and i CANT figure out why my pictures are'nt loading.
Code:


   Axton


    AXTON
   


        Axton, The Commando, is a good assault character. He can deploy an auto turret, CUSTOMIZABLE with his skill trees. Favored weapons, my opinion:
        Rocket Launchers and Assault Rifles.
   


    Click the LINK below to go the page with more info
   

http://borderlands.wikia.com/wiki/Axton" target="new">http://borderlands.wikia.com/wiki/Axton[/url]


   

   

   

   

    Home[/url]

Do you an "images" folder on your web server?  Is it in the home directory, where your home page resides?  The problem might be in how you have simply coded the path as "images/download.jpeg".  Take a look at http://stackoverflow.com/questions/5190769/html-img-and-asp-net-image-and-relative-paths and review your path CODING.  All images have to be absolute REFERENCE or relative reference.
Relative means relative to where the web page is located. When in soubt, luse absolute reference.

What program do you use? Some web editors take are to the details. But if you are hand coding, you have to FTP all the files to the right places on the web site.

Are you using Dreamweaver? It should do the work for you.

Thanks i guess my images folder was not present when i did this but i had it in my folder, but i made a new one and it was fine. Thanks though
774.

Solve : Creating a Similar Grid Style posts On Any other 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 }

775.

Solve : How to display records from MySQL on a new site using PHP??

Answer»

I want to fetch a news (record) from mysql and display in my site using PHP. Here is my code(PHP):

Code: (php) [Select]<?php
    include ("header.php");
    mysql_connect ("LOCALHOST", "root", "") or die (mysql_error());
    mysql_select_db ("geek-art") or die (mysql_error());
    $newsy = mysql_query ("SELECT * FROM newsy order by id desc");

    // With this WHILE loop, I want to display all of my news :)

    while ($rekord = mysql_fetch_array ($newsy)) {

        $id = $rekord['id'];
        $tytul = $rekord['tytul'];
        $tresc = $rekord['tresc'];
        $AUTOR = $rekord['autor'];
        $data = $rekord['data'];
        $obrazek = $rekord['obr-news'];

        echo '<div class="artykul"&GT;';
            echo "<h2><a href=\"index.php?news=$id\">".$tytul.'</a></h2>';
            echo '<span>Autor: '.$autor.' Data: '.$data.'</span>';
            echo '<p>'.nl2br($tresc).'</p>';
        echo '</div>';
    }

    // With this WHILE loop, I want to display my news :)

    $newsy_osobne = mysql_query("SELECT * FROM newsy where id='".$_GET['news']."');
    while($rekordy_osobne = mysql_fetch_array($newsy_osobne)){
        if(isset($_GET['news'])){
            $id = $rekordy_osobne['id'];        
            $tytul = $rekordy_osobne['tytul'];
            $tresc = $rekordy_osobne['tresc'];
            $autor = $rekordy_osobne['autor'];
            $data = $rekordy_osobne['data'];

            echo '<div class="artykul">';
                echo "<h2>".$tytul.'</a></h2>';
                echo '<span>Autor: '.$autor.' Data: '.$data.'</span>';
                echo '<p>'.nl2br($tresc).'</p>';
            echo '</div>';
        }else{
            echo 'Nie znaleziono takiego newsa.';
        }
    }
    include ("footer.php");
?>
And I have done a short VIDEO, where I show, what exactly is my problem

776.

Solve : trouble with date?

Answer»

Hi guys, would someone look over this and advise me what to do?
Below is error message.  I ain't figured out the date YET.
Quote

Parse error: syntax error, unexpected 'm' (T_STRING)
in C:\xampp\htdocs\invoice\apdue.php on line 8
Code: [Select]<?php
error_reporting(0);
mysql_connect('localhost','root',' ');
mysql_select_db('oodb') or die("Unable to select database");
$query=" SELECT * FROM oocust WHERE  payrec = 'P' &AMP;& pd = ' '
$result=mysql_query($query);
$num=mysql_numrows($result);
echo date("m/d/Y")"<br />";
echo "<FONT size=+2><b> Accounts Payable Report<br /><br />";
echo "<table cellspacing=1 cellpadding=0 border=0>
<tr>
<th colspan=3></th>
<th>due</th>
<th>days</th>
<th></th>
<th></th>
<tr>
<th>ACCT#</th>
<th>customer</th>
<th>description</th>
<th>date</th>
<th>late</th>
<th align=right>charges</th>
<th align=right>paid</th>
<th align=right>due</th>
<tr>
<TH colspan=9>==============</TH>
</tr>";
while($row = mysql_fetch_array($result))
{
$totcharges = $totcharges + $row['charges'];
$totdue = $totdue + $row['amtdue'];
$totpaid = $totpaid + $row['paidamt'];
echo "<tr>";
echo "<td>" . $row['acctno'] . "</td>";
echo "<td>" . $row['bname'] . "</td>";
echo "<td>" . $row['descr'] . "</td>";
echo "<td>" . $row['duedate'] . "</td>";
echo "<td align=right>" . $row['dayslate'] . "</td>";
echo "<td align=right>" . $row['charges'] . "</td>";
echo "<td align=right>" . $row['paidamt'] . "</td>";
echo "<td align=right>" . $row['amtdue'] . "</td>";
}
echo "<tr>";
echo "<th colspan=9>========/TH>";
echo "<tr>";
echo "<td>Gtotals</td>";
echo "<td colspan=4></td>";

echo "<td align=right>" . sprintf("%.2F",$totcharges) .
"</td>";
echo "<td align=right>" . sprintf("%.2f",$totpaid) .
"</td>";
echo "<td align=right>" . sprintf("%.2f",$totdue) .
"</td>";
echo "</tr>";
echo "</table>";
mysql_close();
?>
777.

Solve : test creator??

Answer»

I to know how to go about CODING an ONLINE test CREATOR. Could somebody HELP me out with that?

778.

Solve : need advice re php access?

Answer»

Hi guys, help me with my little coding problem. please.<BR>I key in "localhost/invoice/apdue.php" and get desired
apdue.php results below:
Quote

9/28/13 Accounts payable Report
;
   due    days       
acct#    customer    description    date    late    charges    paid    due
===================================================================
0   Caromont Medical Group.    remove, EAR WAX   2013-02-08   0   259.52   259.52   0.00
0   Homesteaders Life Co.   funeral arrangment   2013-01-13   0   72.99   0.00   72.99
0   OrthoCarolina   shoulder repair   2013-02-08   0   468.47   100.00   368.47
0   Presbyterian Hospital      2013-02-08   0   568.57   100.00   468.47
0   Time Warner Cable   intetrnet service   2013-02-03   0   108.54   108.54   0.00
0   Boost Mobile   phone bill   2013-01-26   0   40.00   0.00   40.00
0   Boost Mobile   phone bill   2013-01-17   0   50.00   0.00   50.00
=====================================================================
Gtotals      1568.09   568.06   999.93


but when trying to open apdue.php via the below (invoicenav.html), that should open
the apdue.php:,

Code: [Select]<html><body bgcolor="#ccffff"><p>
<table bgcolor=pink width="180" border=0>
<tr>
<td><a href="http://localhost/apdue.php">Payables Due</a><br></td>
<tr>
<td><a href="http://localhost/appaid.php">Payables Paid</a><br></td>
<tr>
<td><a href="http://localhost/ardue.php">Receivables Due</a><br></td>
<tr>
 <td><a href="http://localhost/arpaid.php">Receivables paid</a><br></td>
</tr></table>
</center></body</html>
  I get the below:
Quote
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.16
 
Below is the aforementioned apdue.php:
[/quote]
Code: [Select]<?php
error_reporting(0);
mysql_connect('localhost','root','');
mysql_select_db('oodb') or DIE("Unable to select database");
$query=" SELECT * FROM oocust WHERE payrec = 'P' && pd = ' '";
$result=mysql_query($query);
$num=mysql_numrows($result);
echo date('m/d/y');
echo "<font size=+2><b> Accounts payable Report</font></b></b><br />";
echo "<table cellspacing=1 cellpadding=1 border=0>
<tr>
<th colspan=3></th>
<th>due</th>
<th>days</th>
<th></th>
<th></th>
<tr>
<th>acct#</th>
<th>customer</th>
<th>description</th>
<th>date</th>
<th>late</th>
<th align=right>charges</th>
<th align=right>paid</th>
<th align=right>due</th>
<tr>
<TH colspan=9>===================================================================</TH>;
</tr>";
while($row = mysql_fetch_array($result))
{
$totcharges = $totcharges + $row['charges'];
$totdue = $totdue + $row['amtdue'];
$totpaid = $totpaid + $row['paidamt'];
echo "<tr>";
echo "<td>" . $row['acctno'] . "</td>";
echo "<td>" . $row['bname'] . "</td>";
echo "<td>" . $row['descr'] . "</td>";
echo "<td>" . $row['duedate'] . "</td>";
echo "<td align=right>" . $row['dayslate'] . "</td>";
echo "<td align=right>" . $row['charges'] . "</td>";
echo "<td align=right>" . $row['paidamt'] . "</td>";
echo "<td align=right>" . $row['amtdue'] . "</td>";
}
echo "<tr>";
echo "<th colspan=9>=====================================================================</TH>";
echo "<tr>";
echo "<td>Gtotals</td>";
echo "<td colspan=4></td>";

echo "<td align=right>" . sprintf("%.2f",$totcharges) .
"</td>";
echo "<td align=right>" . sprintf("%.2f",$totpaid) .
"</td>";
echo "<td align=right>" . sprintf("%.2f",$totdue) .
"</td>";
echo "</tr>";
echo "</table>";
mysql_close();
?>





Pardon my questions.
Have you had much experience running PHP locally?
Why is not the whole thing done in PHP?
Did you already test this code elsewhere?
Do you have other PHP programs that run OK?
Which PHP do you have?


You're going to kick yourself over this!

You said:
Quote
I key in "localhost/invoice/apdue.php"

But the link in 'invoicenav.html' goes to:
Quote
http://localhost/apdue.php

You're missing the '/invoice/' in the link to apdue.php
779.

Solve : auto refresh? or page reset, jquery perhaps??

Answer»

This is my first time on this site or asking QUESTIONS in any forum so excuse me if I am not addressing my issue well.  I will try to explain the best I can and also THANK any of you that take time to read this.   I have a theme site for a well known karaoke site,  I make hundreds of themes to offer to members for their profiles and personal SONG pages. 
I use my web site (non-profit) to display all my themes in an iframe concept.  A simple MENU to select themes from various categories.  When you enter the site,  you will see I have a  "Select Themes Here" arrow,  which transitions the html web page  and shows a Menu on the left side .   You select a category  and click on it.   This target's the iframe  and the themes will appear with images to scroll.  They appear on the right in the iframe of course.
The issue I am trying to fix?... is the fact the images  are visible over in the iframe?... but the member may not know  they are appearing and they are being left on the menu..  you simply  mouse over to the right and the web page transitions back to normal but i am trying to think of a way to have the page refresh automatically so  there is no confusion after the iframe is loaded?....

I am basically all self taught and i love CSS design and HTML,,  with minor jquery experience.  I do this for fun and totally non profit.  I thought I would find a forum to ask ONE you knowledgeable people if you could simply guide me to some kind of method i could use or insight?.. or if this is even possible.

Basically  refresh the page ( so the menu disappears)  but still load the iframe ?

my link to my site is here....  thank you for your time.

http://dennisdillinger.com/test/testmeny.html

780.

Solve : Parallax.js won't load all images on iPhone (iOS7)?

Answer»

Hey! I'm currently developing a portfolio for a course I'm TAKING.

Decided to add parallax and it has been working FINE up until recently (didn't notice because I didn't check through my phone.)

What happens is the page loads but only one of the 5 parallax-backgrounds is rendered in at all! It works fine on SAMSUNG, but won't work iOS with Chrome nor Safari.



the ADDRESS to my website is www.sebastianpierre.se/bioshock




[recovering disk SPACE, attachment deleted by admin]

781.

Solve : How do I get a URL address for My photos?

Answer»

I want to work for a Media company but they want me to provide a URL address to view a portfolio.  I am a newbie to this type of thing and I am trying to get work.   do I have to have a web site i need alot of direction here.  Thank you in advance for your time.  MattYou could buy private web space. Better yet, find a friend who has a web site and he can provide you with a page on the site.

But lei's say that is not RIGHT  for you.  You have media SKILLS, not HTML skills. There are places that let people have free space for artists  to SHOW their stuff.

Facebook
Flicker       <-- this might be best for you.
WordPress
Photo bucket
...to name a few. Other:
Zooomr
Picasa Web Albums
Photoshop Express

There are more, just can't remember. And yes, you can use Facebook for photo sharing. Depends on your skill level. But photo bucket is very simple.My RECOMMENDATION would be to use wordpress.org

Its free to setup and they have themed TEMPLATES for photography portfolios, both free and premiums.

Then you could go one step further and purchase a domain name to look even more professional. So you would go from mpkkphotographyvision.wordpress.org to mpkkphotographyvision.com; or whatever you pick that is available. That would cost you$18 buckaroos.

782.

Solve : Photoshop or Illustrator??

Answer»

Hello,
I have been managing for many YEARS to create graphics for my websites and email newsletters using Photoshop Elements 2. I know that it is not really the right programme but when I started it was all I could afford and I have been reasonably happy with the results. 
I am not a web designer but I look after the content on our websites and would like to become a bit more sophisticated in my graphics and images.
Can anyone suggest the right programme for me to INVEST in? I am THINKING of photoshop because I imagine it will feel familiar and I'll be ABLE to use the SKILLS I have learnt in the elements version but it seems that lots of professionals use illustrator.
Does anyone have any advice as to which programme and version of it might be useful for me?
Hope you can help, thanksBelieve it or not i use .NET Paintshop lol, but it works for me. I would dl the trials and test them out. I know adobe gives out 30 day trials.I normally use Photoshop but its up to the user which works for them.Illustrator is for vector design (lines, shapes, etc), Photoshop is for raster design (bitmaps, photos, etc.).  Use the right tool for the job.

If cost is an issue, [http://www.gimp.org/]GIMP[/url] is a good, free alternative to Photoshop and Inkscape is a free replacement for Illustrator.For me its photoshop do all the job for web purposes. Quote from: ShaneTFletcher on July 11, 2013, 03:39:28 AM

I normally use Photoshop but its up to the user which works for them.
Not a bad choice.

The OP might mention what features he is missing? Some things are just novelties that  create 'artistic' effects and are not the main stream of good photo and graphics skills.

Here is a brief list of programs somebody thinks are cool.
Best Graphic Design and Image Editing Software

Judge for yourself, Here is one of the images the represents a program.

And here is another...

This is not a recommendation, rather the point is that now there are so many choices s available that it is hard to say just one is better or ideal.

When I tell people how old my favorite is, they roll on the floor laughing.
 

Quote from: Rob Pomeroy on July 12, 2013, 03:48:56 AM
Illustrator is for vector design (lines, shapes, etc), Photoshop is for raster design (bitmaps, photos, etc.).  Use the right tool for the job.

If cost is an issue, [http://www.gimp.org/]GIMP[/url] is a good, free alternative to Photoshop and Inkscape is a free replacement for Illustrator.
Best answer. 
Use a tool you understand. Vector design is for fine mechanical detail, like doing a blueprint for a tall building. Great for the workers.
But Photoshop would show what the building will look like to the  visitors after it is finished.
Most web sites use some kind of photographs for expressive presentations.
783.

Solve : How can I update my Web Site from my iPhone??

Answer»

Yes, I would like to update my web site from my cell phone.  I do not of a way to do nit, but nit is sheer overkill. I am not ready to go that far,. Not YET. It is now a very, very plain HTML site with just none PAGE.

Is thee some simple way I can have a area in the page e that I can update e by just sending an e-mail to a private address?

AS s far as i know, there is not iPhone app that can do FTP. Am I wrong? if there is, then there is not point is going further with this. If not, I would try a server side script that could read and e-mail, verify it and put in test into a frame Like maybe a side bar.

I have not done this before (in plain HTML)  and am hoping somebody can tell me thee er is a simple way to do nit. I am the administrator of the site, so I can have scripts on the server.
Any suggestions welcome.A server-side script to read email would be your best bet. Wordpress has it built-in.

Alternatively just install an FTP app and use a text editor to edit the page and save it, then upload it again using FTP.I was LISTENING in to the latest Hak5 episode last night when multitasking other stuff and heard of a way to do something like this through untangle with openvpn. Check out their website at www.hak5.org for this Untangled OpenVPN episode. I'd share direct link here, but gov computer blacklists it. Darren and Shannon usually have pretty good stuff to share. I have donated money to them a few times since 2005 and have chatted a few times with Darren via e-mail. Great Guy, but busy! I am amazed that he is able to pull it off to get an informative show weekly.

I downloaded the 32-bit ISO of Untangled and will be playing with this when I get an hour or so to check it out. It looks like this software is free to run on your own hardware, and they promote offering this service on their own hardware, and WELL as charge for certain modules such as the Web Cache Module, in which Squid is the free alternative that I used in the past.

With a VPN connection, you could send web page updates to a web server through this through iPhone possibly.Or simply install an CMS to your website and when you want to edit text etc, login into the back end of your website and do edits on your phone.

The type of CMS is up to you. People recommend Wordpress, others will say Joomla. I personally use GetSimple XML based CMS. Quote from: ShaneTFletcher on July 12, 2013, 02:03:24 AM

Or simply install an CMS to your website... People recommend Wordpress...

This.  I use WordPress on a couple of sites and there are some great mobile apps that make it easy to write/edit posts etc.It really depends on your website.

Mine is a blog using Wordpress. Wordpress has apps for everyphone so you can update your site. Check them out at http://wordpress.org/mobile or via email like you asked, check out http://codex.wordpress.org/Post_to_your_blog_using_email

Untangle and OpenDNS are fantastic together if you are hosting your own site. If your website is cloud hosted then you have no need for either. Plus you would spend some time trying to figure out the email paths and routing.

Joomla is a fantastic CMS and there are extension you can add on for that granular editing from a phone and the email/text to blog feature.

The one other thing I would say/ask, is why would you want to update form your phone!? Anything more than a hundred words would start to feel tiring on a phone or even a tablet. But thats just my opnion.

setup your website using wordpress and update it using the wordpress app. Its a pain to setup if you're a n00b but will be the easiest thing for you to manage long term.Thanks to all. I will go with WordPress.
784.

Solve : How make search field for clickable list?

Answer»

I am looking for something like this:

Visitors to my site should be able to search within a clickable list of locations (for local weather report).

Ideally, there should be a match mechanism:

as the visitor begins entering the name of the location, that name should be suggested automatically in the search field.

Is there any code like that?
There are feeds out there that you can tie into your site for weather info and have it fit the formatting of your pages. Auto populating text fields can be achieved a few ways where you start typing and as you type info it is CONSTANTLY suggesting the next best match, however its a pretty involved project. The easiest method would be a simple onsubmit that TAKES say a zip code or city and state or city and country to match to for weather without the autopopulating next suggested location to run with without having to type in all the info.

The closest I have worked on such a project was with C# which fetched information off of live feeds to populate a custom browser. I haven't gone the route that you are going yet with a web server and webpage to perform all the advanced actions to help much. But maybe someone else here has to suggest some code examples which LIKELY use PHP, however it could also be done in Javascript although it would be a large script to account for all locations and have the IF this location THEN use this URL path to that feed etc and while PHP can be dynamic to change on the fly, I am unsure as to if Javascript can perform a dynamic onsubmit where it suggests the next best location based on what is typed on the fly. All the work I have done with Javascript used submit buttons to PASS form data etc or perform mouse over routines etc or read in local user info such as date, time, etc, and had some sort of spiffy effect that DIDNT involve any user intervention to process.

785.

Solve : Having issues getting images to display.?

Answer»

Just starting out with HTML and I'm having an issue getting the images to display in either notepad or the html editor on the site I'm using to LEARN html.
The instructions are really straight forward and simple but it seems it's the easy things that are giving me all kinds of problems. The instructions basically say if you want to use an image from a folder use
Easy stuff if im understanding this right. Have a folder with an image in it, use the folder name then image name then the rest of the code, viola, it should work. In this case I made a new folder, named it, put a picture in it, put the code in and then nothing.. I know there's code for subdirectories, but it's just a folder stored on the desktop.

Are the instructions over simplified or am I just a big idiot because for the life of me, I just can't get it to work.
This should be incredibly easy and I should have moved on from this hours ago. I just want to see it work once, right down the code, and apply it at a later time.
Is there more to it than what I'm doing? will display an image if the HTML source and image reside on the same folder location and picture1.jpg exists.

will display the image no matter the html source file location on the local computer because it knows specifically the direct path to the image.

For a website that is online through a webhost, I would try to keep your images local to your HTML source file so that you can create your website offline locally on your computer and then upload it to the web server and not have to deal with mapping issues to the images that you want to display. Later on if you want to keep images in their own folder you can go that route after first verifying that it works in the root folder of that of the HTML source, or once you grasp the HTML better you can go the route of placing images in folders that are other than the location of the HTML source file.

Once you get an image to display with an instruction as simple as you can add to this instruction for sizing and other features.

There is also an issue with your instruction of: Quote

<img src="foldername/imagename.jpg alt="" width"" height"">

It is missing values for alt, width, and height as well as most importantly a closing " after the image file location. So I think you would get better results with:

Quote
<img src="foldername/imagename.jpg" alt="ImageDescriptionHere" width"120" height"120">

As far as this:
Quote
Just starting out with HTML and I'm having an issue getting the images to display in either notepad or the html editor on the site I'm using to learn html.


Notepad can not display images, it is just a text editor. If you want to view your webpage, I would locate it through a browser and have the browser handle the HTML to show you how it all operates. As far as HTML editor, unless it has a WYSIWYG feature or a HTML Page Viewer, it is likely bound to inability to show the page as it would display on a browser. I pretty much use a text editor and a browser for HTML development or a WYSIWYG tool like Dreamweaver. I have also taken the route of using PowerPoint to get everything laid out the way I want it and then save as HTML and post that online, as well as used a tool called MapEdit that allows you to map out x/y coordinates of an image to make embedded hyperlinks in images such as when you want to make a navigation bar using an image for the button layout and then you used MapEdit to SELECT regions of the image and assign hyperlinks to the regions so that instead of using many many tables etc, you can have source file that calls an image for the user interface, and it has hyperlink declarations that make the image interactive. I also used this MapEdit tool to make HTML games before I learned how to make Flash Games which are better. As far as text editor goes, I have been using Crimson Editor which is free and color codes your source file no matter if you are working with HTML, C, C++, Perl, etc and so your source takes on colors that make the text stand out from the functions in the source. Way better than looking at black and white for long periods of time and way easier to FIND typos in your source because a typo can stand out as a function that is black and white that should be a color, and then you realize the typo and fix it and it takes on the color assigned for that feature function.

If your website you are working on was LOCATED at say C:\mywebsite\   and your home page is index.html   you can enter C:\mywebsite\index.html into the URL window of your browser and your webpage will display just as it would online.
786.

Solve : Needs falling snow js scipt lizzy?

Answer»

div.footer {
  position: absolute/fixed;
  BOTTOM: 0;
  RIGHT: 0;
}

______

HTML, body {
    margin:0px;
    padding:0px;
} ########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
########################################################################################################################################################################################################
##############################################################################################################################<span style="co

787.

Solve : Automatic login into second site with button/link?

Answer»

Hello!
After login in to my website, can the user automatically login to a second website just by pushing button/link with their stored login?
Is there a way to do this?

Thanks

Urclix   It creates a security problem.While it is possible (assuming the site you are trying to log into doesn't offer protection against it) - This is really not something you want to be doing - You would likely end up storing passwords in PLAINTEXT (Which you should NEVER do) and if your site was compromised, then people COULD ACCESS the second site as well.

If you MANAGE both websites you would really need to look into using something like CoSign.

788.

Solve : Need a quick html code for a video player with repeat?

Answer»

I tried to design and embed a youtube into html but cant get it to repeat. I WOULD post what I have tried, but its all crap.

Use: It is for an ipad counter display 124x768
Just need it to repeat or EVEN scroll through images inside a directory. the website is hosted internally for internal use only.

Any help is much appreciated.You can use a javascript within HTML on a timer that plays and repeats and SIMILAR to how javascript can change pictures it can also launch links to videos instead of just jpg's. However hosted internally you wont be calling out to youtube to play a video but instead you will be calling to the local video file or the video file at the local file share instead.

HTML5 has added FEATURES for this KIND of content.  http://www.videoplayerhtml5.com/

* I havent played much with HTML5, but I read into the features. I am not a web designer but familiar with HTML and JS.

789.

Solve : Help for Website development?

Answer»

Hi guys,
You might feel little bit boring and awkward after reading my post. But don't blame my English  , TRY to understand  .
Anyway,
I got a plan to develop a website (not too simple, but a dynamic one). But i am not sure what to do and which language to choose.
I have average knowledge of C, C++, Java, HTML, SQL.
Also i have little knowledge of CSS, JavaScript, Swings, Applet, etc.

I have programmed several small applications in C, C++, Java (mostly in C++). I have developed very small static and dynamic web pages with HTML, JavaScript, Swings and Applets.

Since last 4 months i was developing a website with ASP.NET USING C# (I used a book to develop it). But UNFORTUNATELY i am not to proficient with ASP.NET and felling difficulties in remembering its code behind functions and JavaScripts.   

I searched internet and found that their are sites to develop websites (but those sites are not enough to develop sites which i like to develop). Also i checked Dreamweaver (currently reading books to use it).

I have prepared designs and plans for my website but not having enough technical skills to develop it . And also i am not wealthy enough to higher web developers to get it DONE. Also having a fear of idea and plan stilling stuff (i haven't SHARED it with my friends).

By now you might have got enough understanding of my situation. Please give me few suggestions which will help me to fulfill my dream.   
Should i go and read PHP also cause lots of websites are in PHP ?

Thanks and appreciation for your support.

790.

Solve : Help with HTML and CSS script.?

Answer»

Hey im makeing a WEBSITE and i have the Basic Index.html correct:






     
         
                        
         
               
               
               
         
         
               home[/url]
               
about[/url]
               
sing up[/url]
               
log in[/url]
         

     




But im struggling on The Menu i have it has:
}
}
media screen and (min-width:1280px) {
#menu {
 background-image:url(../menu_bg.jbg);
 position: absolute; top: 0px; right: 0px;
 height: 37px;
 padding-top: 19px;
CSS}
}
#menu a {
color: #FF0000;
text-decoration: none;
font-size: 14px;
background-image:url(../img/menu_bg.jpg)
background-repeat: no-repeat;
padding-top: 19px;
padding-bottom: 22px
padding-left: 10px
padding-right: 10px
}
#menu a:hover {
color: #FF0000;
text-decoration: none;
font-size: 18px;
background-image:url(../img/menu_bg_hover.jpg)
background-repeat: no-repeat;
padding-top: 19px;
padding-bottom: 22px
padding-left: 10px

but it comes up WRONG:

where am i going wrong? if anyone could help it would be grate  
 

[recovering DISK SPACE, attachment deleted by admin]

791.

Solve : Javascript treated as text - Don't know why?

Answer»

This happens in IE 11, Firefox 26.5, and SAFARI. Neither BROWSER recognizes my javascript other then the Alert command.

Here's the code that works:


"HTTP://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">



Untitled Document








The Alert box comes up properly.

=========================================

When I run the FOLLOWING code;

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


Displaying Times and DATES





Current Date and Time



alert("alert-aliens attacking");
document.write("alert-aliens attacking");

Now1 = New Date();
localtime1 = now1.Tostring();
utctime1 = now1.toGMTString();
document.write("Local Time: '
+ Localtime1 + '
");
document.write("UTC Time: " + utctime1);






"Only the H1 displays. Nothing else works. Not even the Alert.  Am I missing something?

Any assistance would be greatly appreciated.

Barry

792.

Solve : Why doesn't this very simplistic function work??

Answer»

This code displays the button then nothing happens when I click on it. Can someone please tell me why?  Thank you in advance for your reply.
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">


   Displaying Times and Dates

 
     
     
   Function getData()  {
   
    var   now = ""
     var   localtime1 = ""
     var   utctime1 = ""
     var    myButton = document.getElementById("myButton");
   
      now = new Date();

      localtime1 = now.Tostring();
      utctime1 = now.toGMTString();
      alert("Local Time: '
      + Localtime1 + '
");
      alert("UTC Time: " + utctime1);
    }     

   Function test() {
   
   alert("Testing to see if this executed");

   }





Current Date and Time






You are missing SEMICOLONS from these lines:
Code: [Select] var   now = ""
     var   localtime1 = ""
     var   utctime1 = ""
That said, there are other errors after that caused by strange capitalisation on things, Javascript is case sensitive so you need to take care to use the correct case.  Javascript uses "lowerCamelCase" so the first letter is always lowercase and the first letter of each word after this is a capital, you should ADHERE to this in your program to keep it neat.   You should also take care with your indentation as it's currently pretty messy and heard to read.  Finally, you no longer need the "language" attribute in the script tag as that is out of date, the 'type="text/javascript"' is all you should need nowadays.Just a little language note here... 'simplistic' is used about points raised in DEBATE or argument and means "MISLEADINGLY over-simplified' - I think the word you need is 'simple'.

793.

Solve : A pattern that i can use in every site in my project?

Answer» hi, i am freash MAN at comp. eng but i want to create a fan-based web site. i am learning dreamweaver from internet but there is i question i couldn't handle, hope you help. let's suppose that i've created the site and i want to make changing in bar on the top of the site that have "home page, reffrences, forum... etc" buttons. Am i going to change this bar with new bar in every single page. How can i solve that ?If you are building a site where you have a bunch of separate HTML files then yes, you will have to change the navigation bar on every page.

This is one of the reasons why websites nowadays are rarely built in pure HTML and instead incorporate some SORT of scripting such as PHP/Perl/Python where the content of pages is STORED somewhere (like a file or, more commonly a database) and the script will assemble the page from a template (Written in HTML/CSS) and the stored content.

If you want to build a big site you WOULD really be best to look into using a Content Management System (CMS) (Such as Drupal or Wordpress). This is a piece of software which will handle the changing of content saving a lot of time in the long run (Especially for things like navigation bars).  You would then login to the CMS through your web browser and use it to edit the content, this is a lot easier than dealing with files and Dreamweaver.

Building a site with just HTML files and nothing else may work fine at the start, but it gets to be a real pain when the site grows and needs more content or more advanced features, using a CMS avoids this. Quote from: tremuska on December 09, 2013, 06:45:20 PM
... i am fresh man at comp. neg but i want to create a fan-based web site. i am learning Dreamweaver from internet but there is ...
What are you goals? This is the 21 st century Learning HTML now is apropos for only a handful of computer engineers. Today  is  time to let the computer do the hard work. If you are more into creativity, set aside what you have and start into fully automated web designs.
Example: This site sis written in PHP, but looks like HTML to your browser. And it is all in a package called SMF. Look at the bottom of the page:
Quote
SMF 2.0.5 | SMF © 2013, Simple Machines
By using such a package, you skip the code and  GET into doing content. It will save six months or even a year of your time.

Simple Machines Forum - Official Site
 http://www.simplemachines.org/

Of course, if learning how to code is more important that success, don't let  my rash comments deter you.

794.

Solve : Help needed with web coding?

Answer»

I can't seem to get my website to fit into different monitors without it moving things around. This is urgent so any help is greatly appreciated!!!

MY HTML:

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


Kjærulf Praksti






   
       
          KJÆRULF PRAKSTI              
     

   
       


   
       
       
         
       
       
       
       

A Neo-traditional approach


       
       
   
     
   

© MMXIV KJÆRULF PRAKSTI


   
   
       
   





MY CSS:

html, body {
   margin:0;
   padding:0;
   WIDTH:100%;
   height:100%;
   background-color:#FFF;
   font-family:"Helvetica Neue";
   font-size:11px;
   text-transform:uppercase;
}


h1 {
   font-family:"Helvetica Neue";
   font-size:27px;
   font-weight:bold;
}

p {
   text-align:center;
}

#note {
   font-size:10px;
   margin-top:-5px;
   font-style:ITALIC;
}

#wrapper {
   min-height:100%;
   position:relative;
}


#header {
   padding:10px;
   background:#FFF;
   text-align:center;   
}


#button {
   width:100%;
   
}

#CONTENT {
   padding:10px;
   padding-bottom:50px;   /* Height of the footer element */
}

#image {
   display:block;
   text-align:center;
   margin-top:25px;
}

#menu, ul li {
   text-decoration:none;
}


#footer {
   position:absolute;
   bottom:0;
   width:100%;
   text-align:center;
   height:40px;
   margin-top:50px;
   font-size:9px;
   
}

/*Initialize*/
ul#menu, ul#menu ul.submenu {
    padding:0;
    margin-top:-10px;
   text-align:center;
}
ul#menu li, ul#menu ul.submenu li {
    list-style-type: none;
    display: inline-block;
}
/*LINK Appearance*/
ul#menu li a, ul#menu li ul.submenu li a {
    text-decoration: none;
    color: #000;
    background: #FFF;
    padding: 5px;
    display:inline-block;
}
/*Make the parent of sub-menu relative*/
ul#menu li {
    position: relative;
}
/*sub menu*/
ul#menu li ul.submenu {
    display:none;
    position: absolute;
    top: 30px;
    left: 0;
    width: 100px;
}
ul#menu li:hover ul.submenu {
    display:block;
}





/* Links
-------------------------------------------*/

a:link {
   color:#000;
   text-decoration:underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
   color: #000;
   text-decoration:underline;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover EXPERIENCE as the person using a mouse. */
   text-decoration:underline;
}

THANK YOU SO MUCH!!!Honestly, this is a guess but I think it's worth trying.  Instead of using width of 100% in your CSS code for body, try a fixed width.
795.

Solve : Cache problems?

Answer»

Hello,
I manage a small website for a little book store. I use the EARTHLINK center to upload NEW images for the pages. I've NOTICED some computers store the old pages still even after I update them. Is there HTML code that empties/refreshes the viewer's cache? Or does anyone have a good SUGGESTION for insuring that the viewer is looking at the most current WEB pages?

I would hate to have to put "please refresh" on the main page.http://stackoverflow.com/questions/11804750/images-not-updating-without-flushing-cache

Maybe this will help.

796.

Solve : CGI SCRIPT?

Answer»

Hello everybody,
I know very little about writing a cgi script but really need one. I need to write a cgi script that will execute a bat file on my local server when a request is made.  I have no idea how to do this or where to start. I no nothing about perl or c, which I have discovered is used to write a lot of cgi scripts. Any help in doing this will be greatly appreciated.
ThanksWhat is your batch going to do?

Explain in great detail exactly what it will process, paths and all.

Maybe one of us can supply you with the perl script translation of the batch you provide here that achieves the same goal. You are going to run into problems trying to integrate CGI and Batch as for the server has to have a module that handles the script. If using Apache server for example to host the website/webpage there is a httpd.conf file that gets altered and you remove a # to enable the scripting module for perl or php, etc. There are none for batch!

Perl is the better language for batch like system functionality server side from a web interface. Perl is also very easy to learn, so even if you are new to programming its not too hard to figure out with the determination to learn it.

With a Perl version of what you want to achieve in Batch, you will then just need to MAKE the CGI of this implementing the Perl script to it.

*Note: Please do not disclose any user/password info in this batch... you can simply enter USER and PASSWORD where confidential info would reside. You can then later edit that to be your credentials.Sorry for the delay in replying.
The batch script is a single line that executes a video conversion thru rtmp and ffmpeg.  There is no web page involved in doing this. I have a roku player where I have developed a channel that will play a live stream from the internet. Unfortunately Roku only recognizes a limited number of video files, hls being one. Roku channels are created with BrightScript which as I have discovered has little complete documentation other than a reference guide. In the script for channel there resides an xml file which contain the url information. Now, in a normal world where a video player would recognize multiple file types, the roku would just go to the url, grab the requested stream and play it. Since it doesn't recognize flv, I first have to call the batch script which in turn downloads the stream, converts it and saves it on my local server. Once the stream starts to save, the roku can start streaming the hls (m3u8)file. I know this works since I can manually start the batch script, go to the player and select the channel and it play the stream that is being saved on my server. It will continue to play until I stop it and then manually stop the batch file. I know there are several server  providing companies like Amazon and Wazoz(?) that provide transcode on the fly (of course for money) , but I am not looking to provide a channel for the public. I did come up with a slight alternative type of work around by setting up a listener on the port, when it detects activity it will trigger the script. Not ideal since I had to setup a reverse proxy since only one application can access a port at a time. This is where the gci would come into play. Instead pointing to the url on the net, the roku channel would point to my server and cgi. The cgi would execute the batch file. I can either hard code the particular ur into the batch file or ideally pass a variable representing the url to the cgi all depending on which channel selected. Sorry to be so long with this, but thought a complete explanation might lend to somebody else preventing me from reinventing the wheel. 
Thanks for any advice or help.What is the single line that the batch is processing?

This should be able to be executed from perl which works will with CGI's. I can show you the perl version of it if you provide the single line instruction.This is an example of the line.

rtmpdump -v -r rtmp://nyk.premiumcdnlive.com/edge -y xoaaohmeuajfeyf -W http://player.ilive.to/secure_player_ilive_z.swf --token "I8772LDKksadhGHGagf#" --live -P "http://www.ilive.to/view/48501/watch-live-SIC_Noticias-streaming-channel-for-free" -| ffmpeg -report -i pipe:0 -c:v libx264 -c:a aac -ac 1 -strict -2 -crf 18 -profile:v baseline -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 tv/espn.m3u8


The  url following the rtmp can change depending on what is being streamed. The "xoaaohmeuaifey" is the actual flv file from the website. The line following the token can also be changed depending on what is being streamed. The above line basically uses rtmp to download the stream and pushes it into the ffmpeg to convert it to an hls segment. I have this in line in a single bat file called conversion. I can double CLICK the file and it runs as expected. I need to have it activate when the channel is selected so the m3u8 file can be created for the roku to read. Of course the cgi script must pass the url to the roku once the conversion has started. I guess what I see is my Brightscript code will have the url point to the cgi something like http://localhost:port/cgi-bin/conversionstarter.pl  or something similar. Once the conversion is started, the script should pass the m3u8 url to the roku which would be something like http://localhost:port/tv/mystream.m3u8.
Thanks againHere is a perl script that I put together quickly. It has not been tested yet. I dont have access to perl interpreter to pass a different instruction between my $status = system("..."); to test as I am posting this. But basically anything that is passed within the " " of the system call will execute just as if it was executed from command shell as a batch would process or as manually entered... however you have to take into consideration the use of escape characters so that the perl interpreter knows which " to ignore, and so I copy pasted what you shared with me and I placed a \ escape character prior to each " that is required for this lengthy instruction to execute properly.

In addition to this looking at what you have, what is shown below is static, that is that it should work for this specific path and specifications, however you will want this to probably be dynamic, and so you would want to have a dynamic fields for your URL's so that other URL's can be plugged into this and then executed.

For testing purposes before using this perl instruction within CGI, you can install the Perl interpreter to a system that you want to test this with, and run it locally to make sure it behaves in static form before moving forward with adding dynamic URL instructions to this and then containing in then within a CGI with user interface to pass the URL's to to process.

Here is a link to the Perl Interpreter that I use, which is the free community edition: http://www.activestate.com/activeperl/downloads

Here is how to run Perl scripts in Windows:
http://editrocket.com/articles/perl_windows.html

Code: [Select] #!/usr/bin/perl
 use strict;
 use warnings;
 my $status = system("rtmpdump -v -r rtmp://nyk.premiumcdnlive.com/edge -y xoaaohmeuajfeyf -W http://player.ilive.to/secure_player_ilive_z.swf --token \"I8772LDKksadhGHGagf#\" --live -p \"http://www.ilive.to/view/48501/watch-live-SIC_Noticias-streaming-channel-for-free\" -| ffmpeg -report -i pipe:0 -c:v libx264 -c:a aac -ac 1 -strict -2 -crf 18 -profile:v baseline -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 tv/espn.m3u8");
More info here on examples: http://perlmeme.org/faqs/system/system.html

Lastly... Perl is an easy to learn scripting language, .... so with a little research into Perl and as long as you know HTML and how to create a CGI, and then have a web server to host this, this should be PRETTY easy to accomplish.

*** SECURITY NOTICE *** If this is run locally you wont run into any security issues, however I wouldnt host this on the web for others as for there are security concerns with using system(); calls in all languages to where there is the potential for buffer overflow hacks and for a hacker to gain remote admin access to the web server beyond the functionality that is INITIALLY exposed. Even if you are not going to run into this situation, I just wanted to specify this in case anyone else later stumbles upon this on a google search hit and decided to use the system(); call instruction on a live web server. The danger comes into play mainly when there is a dynamic input and if the length of the input is not controlled a overflow condition can be passed to the input of the system(); call and gain unauthorized admin access to the web server.Once again I wish to extend my thanks to you. I had previously download perl and was dabbling in it, I just didn't know where to go. To be honest I have programmed several projects in VB but nothing really dealing with server or internet, mostly stand alone app for specific work related task. You are correct in the static, I was planning on getting it to to work then dive into making the url dynamic.  Thanks again, I will let you know how it turns out.

797.

Solve : Nginx 2.1.2 server, permission denied when accessing index.html?

Answer»

Nginx web server, permission denied when accessing index.html

Hi everyone. I'm having a problem with Nginx. When I type in the internal IP address for my web server (which is 192.168.0.100), it says "500 Internal Server Error."

The first site is literally called 'localhost' and is accessible from localhost. Its root is '/server/localhost/public_html'. The second site is called 'gregcoleman' and its root is '/server/gregcoleman/public_html'. The server has nginx 1.2.1 on Debian.

I'm not REALLY experienced with Linux, and it seems I've somehow messed up the permissions. When I set the root of the site to '/usr/share/nginx/www', it works perfectly and I get "Welcome to nginx!" but when I set the root to '/server/localhost/public_html', that's when I get the 500 internal server error. According to the log, nginx is getting access denied.

I've posted the logs in code tags below. If someone could help me FIND out what's wrong, that would be great.

Edit: I've taken the logs out because code tags aren't PARSING, and I don't want to flood the post.

[recovering DISK space, attachment deleted by admin]

798.

Solve : Continuous loop videos?

Answer» HI,

sometimes I will CLICK on a website and I will SEE a short video that will play once, and then continue to play as if in a loop. How can I get that continuous loop EFFECT on my short videos?

Thanks! 

-cinqueu8
799.

Solve : Need Help with HTML to reduce the size of a custom Template for Ebay?

Answer»

I have limited HTML experience but have managed to design a custom template for my ebay business. I have listed an auction with it, only to discover that it displays wider than the auction page without a scroll bar along the bottom from left to right and it is only about 80% visable. I have SEARCHED and searched on how to reduce the width on it without any real good answers but I truly believe that there is a simple fix that I am OVERLOOKING if only I could find someone with a similar situation. I have attached a docX with the code and am open to suggestions. Thanks much for taking the time to review my plea for HELP!

[recovering disk space, attachment deleted by admin]Try wrapping everything in a DIV and SETTING a width on it like so:

Code: [Select]<div style="width: 500px;">
    <!-- Your code here -->
</div>
CHANGING the width value from 500px to whatever seems to look best to you.

Hope this helps.Oh you are so amazing I can make that work perfect! I knew it must be simple but because of my lack of experience I must have kept asking GOOGLE the wrong question! Thanks for the help! I truly appreciate it! Quote from: jjsangelnjan on January 06, 2014, 09:26:32 AM

Oh you are so amazing I can make that work perfect! I knew it must be simple but because of my lack of experience I must have kept asking GOOGLE the wrong question! Thanks for the help! I truly appreciate it!

No problem!
800.

Solve : FRONT PAGE 2000 and W3C validator??

Answer»

Hello: I'm using FP2000 & Windows 8.
I have been checking my site with a Bing SEO validator and now have all my pages up to Bing standards but when I have W3C validate my site, [http://validator.w3.org/check?uri=http%3A%2F%2Fwww.rainbowsedgefineart.com%2F&CHARSET=%28detect+automatically%29&doctype=Inline&group=0&No200=1&st=1&user-agent=W3C_Validator%2F1.3] it shows all kinds of errors and warnings - none of which I understand at this point.  Then, I copied off the W3C suggested code and made up a "fake" page in my FrontPage site and it was declared PERFECT by the W3C validator--- BUT - the Bing validator found my new page (using the W3C code) FULL OF ERRORS AND MISTAKES! 
Both versions look good and work on the web, so my question is:
Which of these codes is best (the W3C code uses CSS) to use and which version will satisfy GOOGLE and other browsers?  Is there a way to completely examine a site for: errors, bad SEO, and any other thing that is wrong with a site? 
thanks,
jim & irene  Is there any reason you are tied to Frontpage 2000?  The issue is that web standards are constantly CHANGING, along with what is the "best" way to do something.  Frontpage 2000 is extremely old by these standards and will produce very "old fashioned" HTML code.

For example this LINE of code from your site:
Code: [Select]<body background="_themes/clearday/cdbkgnd.jpg" bgcolor="#FFFFFF" text="#000000" link="#0033CC" vlink="#6699FF" alink="#00CC33">
Nowadays (and in the last few years) it is discouraged to use styles like this in your HTML.  Instead you would use what is called a "CSS Stylesheet" which is a SEPARATE file that contains all the styles used on your site.

You would really be best moving away from Frontpage 2000 to either a new WYSIWYG editor, a content management system (CMS, most popular option nowadays) or to write the HTML/CSS code directly in a text editor.