<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. https://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="https://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:webdev</id>
  <title>Web Developer</title>
  <subtitle>Web Developer</subtitle>
  <author>
    <name>Web Developer</name>
  </author>
  <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/"/>
  <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom"/>
  <updated>2015-08-18T00:07:56Z</updated>
  <lj:journal userid="736299" username="webdev" type="community"/>
  <link rel="service.feed" type="application/x.atom+xml" href="https://webdev.livejournal.com/data/atom" title="Web Developer"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:584857</id>
    <author>
      <name>WizardTutorial</name>
    </author>
    <lj:poster user="webdevtutorial" userid="76678008"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/584857.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=584857"/>
    <title>Basic HTML Document</title>
    <published>2015-08-18T00:07:56Z</published>
    <updated>2015-08-18T00:07:56Z</updated>
    <content type="html">&lt;lj-embed id="4" /&gt;&lt;br /&gt;In this HTML 5 Tutorial we will look at a very basic HTML document. &amp;nbsp;These three HTML tags are required in each HTML document.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:584322</id>
    <author>
      <name>artemis2020</name>
    </author>
    <lj:poster user="artemis2020" userid="6248544"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/584322.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=584322"/>
    <title>Google Analytics </title>
    <published>2014-07-22T20:23:48Z</published>
    <updated>2014-07-22T20:23:48Z</updated>
    <content type="html">At work we are having a discussion about Google Analytics referencing information by page titles and URL changes (where the node id turns into the permalink we specify). &lt;br /&gt;If you add a minor correction to the title of a Drupal page, GA will treat it as a new page and start the counter all over again.&lt;br /&gt;If the person in charge of doing the reports is not aware of the title changes, it will mess up her reports. &lt;br /&gt;&lt;br /&gt;Is it possible to track GA information by Drupal node id's? Most systems will track by ID by default, but maybe there are some configurations that need to be completed in GA or Drupal before you can do that? &lt;br /&gt;&lt;br /&gt;We are considering implementing a procedure where titles and URLs are finalized even before the page is published, but this seems like really poor practice in my opinion because clients will still come back with title changes, or will ask to re-use the same page year after year with new content on it. There must be some other solution!&lt;br /&gt;&lt;br /&gt;Any help you provide would be greatly appreciated.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:584098</id>
    <author>
      <name>artemis2020</name>
    </author>
    <lj:poster user="artemis2020" userid="6248544"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/584098.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=584098"/>
    <title>Drupal blocks, beans, etc. </title>
    <published>2014-05-12T14:07:29Z</published>
    <updated>2014-05-12T14:07:29Z</updated>
    <content type="html">Hi&lt;br /&gt;I need to create "hub pages" (pages with multiple blocks to different areas of a Drupal site) but I have limited access to what I can modify.&lt;br /&gt;&lt;br /&gt;Right now the pages that are supposed to be "hub pages" are just simple content pages with a series of divs and inline CSS as blocks, which IMO is a really bad way of coding pages when we can use Drupal to its full potential.  And we're also wasting a lot of time tweaking the inline CSS which is being overwritten by the Drupal css...&lt;br /&gt;&lt;br /&gt;I think what we should be doing for browser compatibility is to use the "Drupal Blocks" area of the site to create blocks that can easily be added to multiple pages but I don't fully understand how Drupal blocks work. &lt;br /&gt;&lt;br /&gt;I'm not really sure what I should be doing and with limited access to most of the block types (the only blocks I can create are "beans"), I need to understand this more before I can get the access I need from the other team who installed the site. &lt;br /&gt;&lt;br /&gt;There are several other types of blocks already created so I added some HTML content to it, but I don't know how to add that block to a bean page or if it should be added to a content page? &lt;br /&gt;&lt;br /&gt;Please help. &lt;br /&gt;&lt;br /&gt;Thanks.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:583728</id>
    <author>
      <name>artemis2020</name>
    </author>
    <lj:poster user="artemis2020" userid="6248544"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/583728.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=583728"/>
    <title>Wordpress migration from dev to production </title>
    <published>2013-09-02T19:57:25Z</published>
    <updated>2013-09-02T19:57:25Z</updated>
    <content type="html">Hi,&lt;br /&gt;&lt;br /&gt;I downloaded the Wordpress source files to my development environment, where I am playing around with new features and adding content. &lt;br /&gt;Now that I have a better comfort level with Wordpress, I'd like to migrate my blog content to my production server through FTP. &lt;br /&gt;&lt;br /&gt;I understand I also would have to migrate the database too, since that's where all my content is stored. &lt;br /&gt;&lt;br /&gt;Should I go through the installation process on my production server, and then copy the modified databases over to production? Or should I just paste all of my PHP source files from dev into a new folder on my server and assume that things will work (I guess that is kind of a silly question?) &lt;br /&gt;&lt;br /&gt;Is there anything I should be aware of when pasting the files in Production and logging into it? My biggest concern is while I am going through the installation again, someone else could be trying to go through the Wordpress files as I am configuring my blog environment for the first time. &lt;br /&gt;&lt;br /&gt;I can't change the database names on my server, since it is going through a web hosting company, so perhaps it is better to go through the installation again in production, and then migrate the content from the databases. &lt;br /&gt;&lt;br /&gt;Your help is greatly appreciated!&lt;br /&gt;&lt;br /&gt;Thanks!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:583006</id>
    <author>
      <name>kelsie_85</name>
    </author>
    <lj:poster user="kelsie_85" userid="59950460"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/583006.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=583006"/>
    <title>SQL injection .NET</title>
    <published>2013-03-13T15:14:22Z</published>
    <updated>2013-03-13T15:14:22Z</updated>
    <content type="html">The pentesters told use that the following code is vulnerable to SQL injection in our e-store:&lt;br /&gt;&lt;br /&gt;create procedure dbo.uspBeAfraidBeVeryAfraid ( @p1 varchar(64) ) &lt;br /&gt;AS&lt;br /&gt;    SET NOCOUNT ON&lt;br /&gt;    declare @sql varchar(512)&lt;br /&gt;    set @sql = 'select * from ' + @p1&lt;br /&gt;    exec(@sql)&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How I should fix the issue?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:582886</id>
    <author>
      <name>бредущий по жизни</name>
    </author>
    <lj:poster user="svoysredychuzih" userid="2047696"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/582886.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=582886"/>
    <title>Event on closing browser window </title>
    <published>2013-03-11T20:33:43Z</published>
    <updated>2013-03-11T20:37:33Z</updated>
    <content type="html">Hi,&lt;br /&gt;I am working on a web site (ASP.NET, FW4) which has a secure section (login required).&lt;br /&gt;I would like to clear the session variables when customer closes the browser.&lt;br /&gt;To achieve that I have placed a hidden button on the MasterPage (have tested, it works) and then trying to call the ASP method using JavaScript.&lt;br /&gt;&lt;pre&gt;
    &amp;lt;script type="text/javascript"&amp;gt;
      window.onbeforeunload = function()
      {
         CustomLogoff();
      }
      function CustomLogoff()
      {
         var button1 = document.getElementById('&amp;lt;%=hiddenLogoutButton.ClientID %&amp;gt;');
         button1.click();
      }
    &amp;lt;/script&amp;gt;
    &amp;lt;asp:Button runat="server" ID="hiddenLogoutButton" 
         Text="Invisible Logout Button" Visible="false" 
         onclick="hiddenLogoutButton_Click" /&amp;gt;
&lt;/pre&gt;&lt;br /&gt;(Also tried to put this call into body tag: &amp;lt;body onbeforeunload='CustomLogoff()'&amp;gt;)&lt;br /&gt;&lt;br /&gt;CustomLogoff is not being called. Thought when calling it like this:&lt;br /&gt;&lt;br /&gt;&amp;lt;input type="buton" onClick="CustomLogoff()" value="logoff"&amp;gt;&lt;br /&gt;&lt;br /&gt;It works fine (on button click of course).&lt;br /&gt;&lt;br /&gt;Is there a way to make it work on browser closing too?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:581821</id>
    <author>
      <name>artemis2020</name>
    </author>
    <lj:poster user="artemis2020" userid="6248544"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/581821.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=581821"/>
    <title>web content accessibility and web forms </title>
    <published>2012-10-05T19:59:56Z</published>
    <updated>2012-10-05T20:07:59Z</updated>
    <content type="html">&lt;p&gt;I have to validate pages for web content accessibility standards, and I have to explain to the client why in certain cases having a radio button is more acceptable than a checkbox; but I can&amp;#39;t seem to find anything to back this up.&lt;/p&gt;&lt;p&gt;The website form uses labels, and is created by the client with some of the following options:&lt;/p&gt;&lt;p&gt;Gender: Female: [] Male: []&lt;/p&gt;&lt;p&gt;Languages spoken:  English: [] French: [] Both: []&lt;/p&gt;&lt;p&gt;The page does not validate server-side because the idea is you&amp;#39;re supposed to fill out the form and click the &amp;quot;Print&amp;quot; button at the bottom, then send. Why they didn&amp;#39;t create a fillable form in Adobe is beyond me, but that is the not the point right now...&lt;/p&gt;&lt;p&gt;I do not think there is anything in the WCAG standards about using checkboxes or radio buttons but it seems this is often overlooked by web publishers. But if someone helps me find some good information to bring forward to the client, then that should be enough evidence to change the form.&lt;/p&gt;&lt;p&gt;I tried doing a google search but I don&amp;#39;t think I am choosing the search words, or something...so please help me out&lt;/p&gt;Thanks!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:581007</id>
    <author>
      <name>victorgr</name>
    </author>
    <lj:poster user="victorgr" userid="3155065"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/581007.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=581007"/>
    <title>Catch undefined method calls in JS</title>
    <published>2012-07-20T21:51:47Z</published>
    <updated>2012-07-20T21:57:50Z</updated>
    <content type="html">Hi!&lt;br /&gt;&lt;br /&gt;There is an interesting task. I need to catch any undefined calls in my JS code. Is there a solution?&lt;br /&gt;&lt;br /&gt;Imagine:&lt;br /&gt;&lt;pre&gt;
    function a() {
        alert('Hi, I'm a function!');
    }

    a(); // works great

    a.b(); // call undefined function
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;So, are there any ways to catch calls a.b() in my function a()?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:579568</id>
    <author>
      <name>Mary-Alice Davies</name>
    </author>
    <lj:poster user="maryadavies" userid="2195171"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/579568.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=579568"/>
    <title>ARGH, any way I can find a anti spam guestbook?</title>
    <published>2012-02-23T19:19:31Z</published>
    <updated>2012-02-23T19:19:31Z</updated>
    <content type="html">Ok, if you didn't know, HTML Gear is closing. I'd used them for guestbooks on my personal pages for a long time.&lt;br /&gt;&lt;br /&gt;However they're closing, so I took them off. The service I switched to said they were anti spam but..&lt;br /&gt;&lt;br /&gt;First entry I get is spam. It's proly time to start hosting the guestbook on my own server since I can. Mind, I have access to recapatcha which seems to stop most spammers. Is there any scripts out there that'd allow that?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:577849</id>
    <author>
      <name> Not a capture, but a correction.</name>
    </author>
    <lj:poster user="lelandism" userid="11478284"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/577849.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=577849"/>
    <title>Coding book recs?</title>
    <published>2011-12-05T17:50:06Z</published>
    <updated>2011-12-05T17:50:06Z</updated>
    <content type="html">Hello everyone. I was wondering if anyone out there could give me some recommendations on current html 5.0 books? Or even sites. Many thanks in advance.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:577704</id>
    <author>
      <email>bierdestone@blanketsin.com</email>
      <name>Bierde's tone</name>
    </author>
    <lj:poster user="slavezombie" userid="2661370"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/577704.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=577704"/>
    <title>embedding fonts on livejournal</title>
    <published>2011-11-10T16:56:08Z</published>
    <updated>2011-11-10T16:56:08Z</updated>
    <content type="html">&lt;p&gt;&lt;br&gt; I've spent a lot of time knowing the ins and outs of my lj theme 'tranquility ii'. One of the things I have never been able to figure out is how to embed a font from my own personal font library so that that anybody viewing my blog will see my entries with my selected font, regardless whether they have a copy of it on their computer. &lt;p&gt;&amp;nbsp;&lt;/p&gt;The font in question here is called Chandler, a vintage typewriter style font. From what I understand, embedding requires that a true type font be used. Is there a quick and easy way to convert a bitmap font to the required format? If so, would I be pursuing this objective in vain seeing as I don't know where to begin to embed a font for my livejournal entries?&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:576675</id>
    <author>
      <name>decentdevill</name>
    </author>
    <lj:poster user="decentdevill" userid="29044881"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/576675.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=576675"/>
    <title>Writer's Block: International Skeptics Day</title>
    <published>2011-10-13T18:21:08Z</published>
    <updated>2011-10-13T18:21:08Z</updated>
    <content type="html">&lt;lj-template lang="en_LJ" name="qotd"&gt;About my Ex and friend.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:576507</id>
    <author>
      <name>decentdevill</name>
    </author>
    <lj:poster user="decentdevill" userid="29044881"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/576507.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=576507"/>
    <title>Xfbdev startup on customize Linux kernel</title>
    <published>2011-10-12T20:00:50Z</published>
    <updated>2011-10-12T20:00:50Z</updated>
    <content type="html">Hi All,&lt;br /&gt;I just finished working on Xserver startup on Linux machine along with configuring kernel for that. I hope this would be helpful to guys, who hold less experience in Linux world.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Before I begin, I just want to have some words with you guys that this blog is NOT a step by step guide to do things. It&amp;#39;s just a list of my experiments I have done with development board. So this will provide an insight to people who are facing same problems as I did. But they must know some basics of Linux.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Personally I never liked spoon feeding, some answers need to be dig up&lt;/b&gt;&lt;b&gt; by yourself.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;So let&amp;#39;s begin with Xservers. Xservers are most important thing for Linux GUI. In Linux environment, almost all Xclients (any GUI application) request to Xserver for Screen draw and other graphical operations(like Windows, button checkbox draw/movement on screen). The idea behind Xserver and Xclient is to run a light weight server which can process and send request to graphics hardware on Host machine. Now the Xclients can run on same machine or other and request to Xserver for graphical operations.&lt;br /&gt;&lt;br /&gt;One can find more details about X system on http://en.wikipedia.org/wiki/X_Window_System.&lt;br /&gt;&lt;br /&gt;So Xervers can be said of two types. One is Xorg, full featured Xserver.&lt;br /&gt;Second one is Xfbdev, which has some limited functionality as compared to Xorg. It is a generic Xserver, which does not know about the particular hardware and uses framebuffer provided by Linux framebuffer device.&lt;br /&gt;&lt;br /&gt;Now let&amp;#39;s move on to kernel configuration required for kernel.&lt;br /&gt;The linux kernel must have support for framebuffer device and VESA driver support for framebuffer.&lt;br /&gt;following options should be enabled in kernel config:&lt;br /&gt;CONFIG_FB&lt;br /&gt;CONFIG_FB_VESA&lt;br /&gt;For Sandy Bridge architecture based boards, enable CONFIG_ACPI option too, to avoid DSDT table error.&lt;br /&gt;&lt;br /&gt;After building the kernel, all you need to do is to copy the kernel image under /boot directory with name like &amp;#39;vmlinuz-&amp;lt;kernel-local-version&amp;gt;&amp;#39; and make relevant entries in grub configuration.&lt;br /&gt;In grub entry for the kernel, add &amp;#39;vga=0x318&amp;#39; (or any other suitable vga mode) in kernel boot option. [0x318 represents standard resolution of 1028x768x32]&lt;br /&gt;Now install the modules under /lib directory.&lt;br /&gt;&lt;br /&gt;Also u may need to build an initramfs/initrd, required for RHEL/ubuntu file systems.&lt;br /&gt;You can use dracut/mkinitramfs utility to build one.&lt;br /&gt;&lt;br /&gt;Place it under /boot directory and add it to grub entry.&lt;br /&gt;&lt;br /&gt;Under /boot/grub/grub.conf file, remove or comment out the line &amp;#39;hiddenmenu&amp;#39; and set some time out.&lt;br /&gt;Now reboot the system.&lt;br /&gt;&lt;br /&gt;Select your custom kernel, and press enter. Kernel should boot and give you log in prompt. I have tried it with custom file system which does not belong to redhat/ubuntu. so i got command prompt. In order to have the same, one can add &amp;#39;single&amp;#39; in boot option for custom kernel grub entry.&lt;br /&gt;Ensure the enumeration of framebuffer device nodes, like /dev/fb*&lt;br /&gt;Now execute &amp;#39;export DISPLAY=:0&amp;#39;.&lt;br /&gt;Run &amp;#39;Xfbdev&amp;#39;.&lt;br /&gt;Xserver should start and give you a graphical pattern with a X on it. X represents mouse pointer.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:575335</id>
    <author>
      <name>Warrior Tang</name>
    </author>
    <lj:poster user="tangaroa" userid="300139"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/575335.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=575335"/>
    <title>JS/CSS load order incoherency</title>
    <published>2011-07-11T06:15:00Z</published>
    <updated>2011-07-11T21:38:52Z</updated>
    <content type="html">&lt;p&gt;[Edit: fixed CSS syntax in these examples. The development code is fine in that regard.]&lt;/p&gt;

&lt;p&gt;Using Firefox 5 on Windows 7, I ran into two related problems that must be common enough for there to be standard workarounds. &lt;/p&gt;

&lt;p&gt;1. CSS is not applied until after Javascript runs. Given the CSS:&lt;/p&gt;

&lt;blockquote&gt;&lt;pre&gt;#id { width: 50px; }&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;tt&gt;document.getElementById("id").style.width&lt;/tt&gt; is undefined.
This is using jquery's &lt;tt&gt;$(document).ready()&lt;/tt&gt; which runs
after everything else is supposed to be loaded. The standard
&lt;tt&gt;body onload&lt;/tt&gt; will run even earlier, with less of a chance
that the CSS will be loaded if the problem is due to a race.
&lt;/p&gt;

&lt;p&gt;Javascript can see the CSS style if it is set in the contents of an HTML style=""
attribute, but you lose the benefits of CSS if you have multiple tags sharing
the same style.&lt;/p&gt;

&lt;p&gt;&lt;s&gt;2. Previously defined CSS does not apply to new nodes created by
Javascript. &lt;/s&gt; [Edit #2: This &lt;strong&gt;does&lt;/strong&gt; work. I had a typo in my code.]&lt;/p&gt;

&lt;blockquote&gt;&lt;pre&gt;div.myclass { width: 50px; }  /* CSS */&lt;/blockquote&gt;&lt;/pre&gt;

&lt;blockquote&gt;&lt;pre&gt;
var node = document.createElement("div"); // JS
node.setAttribute("class", myclass"); // CSS is not applied.
node.className = "myclass"; // CSS is not applied.
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;One solution to this one is to code every single CSS style change
in Javascript using the DOM, but I would prefer not to have to do that.&lt;/p&gt;

&lt;p&gt;What are the best practices in these situations?&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:574580</id>
    <author>
      <name>mixez</name>
    </author>
    <lj:poster user="mixez" userid="15387148"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/574580.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=574580"/>
    <title>RSS channel icon</title>
    <published>2011-03-06T01:37:59Z</published>
    <updated>2011-03-06T01:37:59Z</updated>
    <category term="design"/>
    <category term="xml"/>
    <content type="html">&lt;img width="178" hspace="15" height="130" border="1" align="left" alt="" src="https://pics.livejournal.com/mixez/pic/001496ez" fetchpriority="high" /&gt;Hi!&lt;br /&gt;&lt;br /&gt;Can somebody explain me how to change my RSS channel's&lt;br /&gt; default icon to personal logo (like those shown at the screenshot)?&lt;br /&gt;&lt;br /&gt;Thank you!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:574319</id>
    <author>
      <name>Mary-Alice Davies</name>
    </author>
    <lj:poster user="maryadavies" userid="2195171"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/574319.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=574319"/>
    <title>Spammer problem on Vbull. Anyone know how to program a challenge question?</title>
    <published>2011-02-28T18:44:53Z</published>
    <updated>2011-02-28T18:46:51Z</updated>
    <content type="html">Ok. This is a odd question guys but hopefully someone knows enough about Vbull so I can tell the admin. &lt;br /&gt; &lt;br /&gt;I'm a moderator (just a member moderator, mind you) on a gaming forum. The trouble is we've been hit very very hard by spammers. Which is annoying the mods and admins to distraction. &lt;br /&gt; &lt;br /&gt;We've added a mod called Spam-O-Matic that auto denies spammers from reging tho it's not perfect.  &lt;br /&gt; &lt;br /&gt;What I'd like to see done is (since the head admin does not like capatchas, she has trouble solving them) adding a challenge question on reging.(Like a game question that most should know, "Are you human?” or “Do you have a heartbeat above 0?”) The thing is we'd need to obscure the answer like a password. (We wouldn't want spambots to be able to figure it out easily!) The board itself is Vbull 4.03 if that helps..does anyone know a mod that could allow us to do that, and maybe randomize the question so it’d be more than one to further confuse spammers? Or could make one?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:574058</id>
    <author>
      <name>aeisor</name>
    </author>
    <lj:poster user="aeisor" userid="10826476"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/574058.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=574058"/>
    <title>Aesthetics vs Functionality</title>
    <published>2011-02-11T22:24:19Z</published>
    <updated>2011-02-11T22:24:19Z</updated>
    <content type="html">Where do you draw the line between looking good and working well? I feel  obligated to give my clients as much control over the content of their  website, but in doing so I think I subtract from what is visually  possible. &lt;br /&gt;&lt;br /&gt;How do you work around giving the client the freedom to update the content while still maintaining a visually pleasing site?&amp;nbsp;I sometimes struggle keeping the creative juice flowing when [almost] every aspect of the site can be editable.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:573896</id>
    <author>
      <name>ink_create</name>
    </author>
    <lj:poster user="ink_create" userid="34741028"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/573896.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=573896"/>
    <title>Inkwell Creative Hiring Web Developer</title>
    <published>2011-02-11T01:31:04Z</published>
    <updated>2011-02-11T01:31:04Z</updated>
    <content type="html">Inkwell Creative, a growing Portland, Oregon company focusing on web design, graphic design, interactive media, video and branding, is looking to hire a web developer. We are seeking a hard working team player and someone who is forward thinking when it comes to technology. You must be able to work with us in a collaborative team setting, know many coding and web programming languages and have a strong portfolio. &lt;br /&gt; &lt;br /&gt; Requirements:&lt;br /&gt; 5+ years of experience&lt;br /&gt; Strong portfolio&lt;br /&gt; Must be collaborative&lt;br /&gt; Knowledge of many coding/web development languages&lt;br /&gt; Knowledge of CSS and HTML 5, Content Management Systems, Flash, SEO programming, Integration into Databases&lt;br /&gt; Knowledge of iPhone apps a plus&lt;br /&gt; &lt;br /&gt; Compensation: &lt;br /&gt; DOE. Benefits and paid-for parking. This is a salary position.&lt;br /&gt; &lt;br /&gt; TO APPLY:&lt;br /&gt; Email a cover letter, resume and link to your online portfolio to hr@inkwellgroup.com. Please include in your cover letter any outside hobbies, passions and interests. We kindly request no phone calls and no employment agencies.&lt;br /&gt; &lt;br /&gt; APPLICANTS WITHOUT A COVER LETTER, RESUME AND PORTFOLIO WILL NOT BE CONSIDERED</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:573218</id>
    <author>
      <name>scribblingfemme</name>
    </author>
    <lj:poster user="scribblingfemme" userid="21064654"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/573218.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=573218"/>
    <title>Hide Things From Google?</title>
    <published>2011-01-04T02:03:47Z</published>
    <updated>2011-01-04T02:03:47Z</updated>
    <category term="dreamweaver"/>
    <content type="html">I'll be the first to admit I only know minimal HTML and use WYSIWYG feature of Dreamweaver to edit most of the website, I'm working on. Sadly I'm the only one in an organization I'm involved with that knows the most about HTML/web development. I didn't create this website, but I know it was made by another graphic designer that probably cared more about the looks than coding.&lt;br /&gt;&lt;br /&gt;Anyway, she made a portion only viewable if you log-in with a password and we host several documents like a phone tree up there. Someone found out about that you can access these without logging in if you searched for them on Google or other search engines. I'm wondering if there's anyway to hide these documents from Google/other search engines in Dreamweaver? Any information would be much appreciated, thanks!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:572544</id>
    <author>
      <name>246</name>
    </author>
    <lj:poster user="246_slc" userid="14685904"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/572544.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=572544"/>
    <title>Using Tags</title>
    <published>2010-12-28T19:10:12Z</published>
    <updated>2010-12-28T19:10:12Z</updated>
    <content type="html">I want to create a database of information, and I want to be able to support multiple tags to improve search capabilities.&lt;br /&gt;I'm not sure what is the best way to implement such a (tag) system.&lt;br /&gt;Wondering if anyone can point me in the right direction?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:571905</id>
    <author>
      <name>aeisor</name>
    </author>
    <lj:poster user="aeisor" userid="10826476"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/571905.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=571905"/>
    <title>PHP_Class_Code::pageList</title>
    <published>2010-12-24T20:08:45Z</published>
    <updated>2010-12-24T20:08:45Z</updated>
    <content type="html">One of a few things I've put together to help on some projects I've been working on. Hopefully you can make use of this, or tear it to pieces if you think it demonstrates poor coding practices. I've tried to keep the documentation as short and concise as possible.&lt;br /&gt;&lt;br /&gt;This started out as a jQuery plugin, but I prefer to use the PHP&amp;nbsp;one in normal operation rather than populating post-DOM&amp;nbsp;load. The jQuery one has been relegated to creating pages for AJAX&amp;nbsp;calls only.&lt;br /&gt;&lt;br /&gt;My normal output is &amp;lt;&amp;lt;&amp;nbsp;First &amp;lt;&amp;nbsp;Previous &amp;nbsp; 7 8 [9] 10 11 &amp;nbsp; Next &amp;gt;&amp;nbsp;Last &amp;gt;&amp;gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*&amp;nbsp;&amp;nbsp;&amp;nbsp; PHP Paginator&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Usage&amp;nbsp;&amp;nbsp;&amp;nbsp; : $var=new pageList(array('link'=&amp;gt;'http://linktouse.com/index.php?page=#' [,opt page=x [,opt perpage=x [,opt results=x [,opt display=x [,opt javascript=false [,opt regex='/pattern/']]]]]]));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : (or) $var=new pageList(array('link'=&amp;gt;'jsfunction(&amp;quot;page=#&amp;quot;)' [,opt page=x [,opt perpage=x [,opt results=x [,opt display=x [,opt javascript=true [,opt regex='/pattern/']]]]]]));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : The # in the link is the default regex for page numbers. If you include a |, for example, be sure to modify the optional regex variable in order for this to work&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Return&amp;nbsp;&amp;nbsp;&amp;nbsp; : $var-&amp;gt;firstPage = &amp;lt;a href=[link]&amp;gt;&amp;laquo;&amp;laquo; First&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : $var-&amp;gt;previousPage = &amp;lt;a href=[link]&amp;gt;&amp;laquo; Previous [current-1]&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : $var-&amp;gt;currentPresent = [&amp;lt;a href=[link]&amp;gt;[current]&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : $var-&amp;gt;nextPage = &amp;lt;a href=[link]&amp;gt;Next &amp;raquo;[current+1]&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : $var-&amp;gt;lastPage = &amp;lt;a href=[link]&amp;gt;Last &amp;raquo;&amp;raquo;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : $var-&amp;gt;previousPresent = &amp;lt;a href=[link]&amp;gt;[x]&amp;lt;/a&amp;gt; (number shown depends on the current page and 'display' variable)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : $var-&amp;gt;nextPresent = &amp;lt;a href=[link]&amp;gt;[x]&amp;lt;/a&amp;gt; (number shown depends on the current page vs total pages and 'display' variable)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : $var-&amp;gt;errorMessage = Returns which variable failed. Only present when an error occurs&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Notes&amp;nbsp;&amp;nbsp;&amp;nbsp; : The link variable is not escaped. Note that on output the link is enclosed in single quotes (').&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : If using javascript links, use double quotes (&amp;quot;) to contain your variables.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class pageList {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; public function __construct($arrayList) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;defaultConfig=array('page'=&amp;gt;'0','perpage'=&amp;gt;'15','results'=&amp;gt;'15','display'=&amp;gt;'5','link'=&amp;gt;'default','javascript'=&amp;gt;false,'regex'=&amp;gt;'/\#/i');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;numberVariables=array('page','perpage','results','display');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if($this-&amp;gt;verifyConfig($arrayList)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;firstPage='&amp;amp;laquo;&amp;amp;laquo; First'; $this-&amp;gt;previousPage='&amp;amp;laquo; Previous'; $this-&amp;gt;nextPage='Next &amp;amp;raquo;'; $this-&amp;gt;lastPage='Last &amp;amp;raquo;&amp;amp;raquo;';&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;lowerDisplay=(($this-&amp;gt;defaultConfig['display']-1)/2); $this-&amp;gt;higherDisplay=($this-&amp;gt;defaultConfig['display']-1);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;numberPages=ceil($this-&amp;gt;defaultConfig['results']/$this-&amp;gt;defaultConfig['perpage']);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;preCap=$this-&amp;gt;defaultConfig['page']; if($this-&amp;gt;preCap&amp;gt;$this-&amp;gt;lowerDisplay) { $this-&amp;gt;preCap=$this-&amp;gt;lowerDisplay; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;postOffset=($this-&amp;gt;higherDisplay-$this-&amp;gt;preCap); $this-&amp;gt;postOffset=$this-&amp;gt;postOffset&amp;gt;(($this-&amp;gt;numberPages-1)-$this-&amp;gt;defaultConfig['page'])?(($this-&amp;gt;numberPages-1)-$this-&amp;gt;defaultConfig['page']):$this-&amp;gt;postOffset;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;javascript=''; if($this-&amp;gt;defaultConfig['javascript']==true) { $this-&amp;gt;javascript='javascript:'; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;previousPresent=''; $this-&amp;gt;nextPresent=''; $this-&amp;gt;currentPresent=&amp;quot;[&amp;lt;a href='&amp;quot;.$this-&amp;gt;javascript.preg_replace($this-&amp;gt;defaultConfig[regex],$this-&amp;gt;defaultConfig['page'], $this-&amp;gt;defaultConfig['link']).&amp;quot;'&amp;gt;&amp;quot;.($this-&amp;gt;defaultConfig['page']+1).&amp;quot;&amp;lt;/a&amp;gt;]&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if($this-&amp;gt;defaultConfig['page']&amp;gt;0) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;firstPage=&amp;quot;&amp;lt;a href='&amp;quot;.$this-&amp;gt;javascript.preg_replace($this-&amp;gt;defaultConfig['regex'],&amp;quot;0&amp;quot;, $this-&amp;gt;defaultConfig['link']).&amp;quot;'&amp;gt;&amp;quot;.$this-&amp;gt;firstPage.&amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;previousPage=&amp;quot;&amp;lt;a href='&amp;quot;.$this-&amp;gt;javascript.preg_replace($this-&amp;gt;defaultConfig['regex'],($this-&amp;gt;defaultConfig['page']-1), $this-&amp;gt;defaultConfig['link']).&amp;quot;'&amp;gt;&amp;quot;.$this-&amp;gt;previousPage.&amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; for($i=(($this-&amp;gt;defaultConfig['page']-$this-&amp;gt;lowerDisplay)-($this-&amp;gt;lowerDisplay-$this-&amp;gt;postOffset)); $i&amp;lt;$this-&amp;gt;defaultConfig['page']; $i++) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if($i&amp;gt;=0) { $this-&amp;gt;previousPresent.=&amp;quot;&amp;lt;a href='&amp;quot;.$this-&amp;gt;javascript.preg_replace($this-&amp;gt;defaultConfig['regex'],$i,$this-&amp;gt;defaultConfig['link']).&amp;quot;'&amp;gt;&amp;quot;.($i+1).&amp;quot;&amp;lt;/a&amp;gt;&amp;amp;nbsp;&amp;quot;; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if(($this-&amp;gt;numberPages-1)&amp;gt;$this-&amp;gt;defaultConfig['page']) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;lastPage=&amp;quot;&amp;lt;a href='&amp;quot;.$this-&amp;gt;javascript.preg_replace($this-&amp;gt;defaultConfig['regex'],($this-&amp;gt;numberPages-1), $this-&amp;gt;defaultConfig['link']).&amp;quot;'&amp;gt;&amp;quot;.$this-&amp;gt;lastPage.&amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;nextPage=&amp;quot;&amp;lt;a href='&amp;quot;.$this-&amp;gt;javascript.preg_replace($this-&amp;gt;defaultConfig['regex'],($this-&amp;gt;defaultConfig['page']+1), $this-&amp;gt;defaultConfig['link']).&amp;quot;'&amp;gt;&amp;quot;.$this-&amp;gt;nextPage.&amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; for($i=($this-&amp;gt;defaultConfig['page']+1); $i&amp;lt;=($this-&amp;gt;defaultConfig['page']+$this-&amp;gt;postOffset); $i++) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if($i&amp;lt;$this-&amp;gt;numberPages) {&amp;nbsp; $this-&amp;gt;nextPresent.=&amp;quot;&amp;amp;nbsp;&amp;lt;a href='&amp;quot;.$this-&amp;gt;javascript.preg_replace($this-&amp;gt;defaultConfig['regex'],$i, $this-&amp;gt;defaultConfig['link']).&amp;quot;'&amp;gt;&amp;quot;.($i+1).&amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; public function verifyConfig($arrayList) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;defaultConfig=array_merge($this-&amp;gt;defaultConfig,$arrayList);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; foreach($this-&amp;gt;defaultConfig as $key =&amp;gt; $value) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if(in_array($key,$this-&amp;gt;numberVariables)) { $this-&amp;gt;defaultConfig[$key]=intval($this-&amp;gt;defaultConfig[$key]); if(is_nan($this-&amp;gt;defaultConfig[$key])) { $this-&amp;gt;errorMessage=$key.' failed.'; return false; } }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; else if($this-&amp;gt;defaultConfig[$key]=='default') { $this-&amp;gt;errorMessage=$key.' failed.'; return false; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;a name='cutid1-end'&gt;&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:571691</id>
    <author>
      <name>aeisor</name>
    </author>
    <lj:poster user="aeisor" userid="10826476"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/571691.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=571691"/>
    <title>WebDAV / Exchange 2003 OWA / PHP</title>
    <published>2010-12-19T17:37:57Z</published>
    <updated>2010-12-19T17:40:45Z</updated>
    <content type="html">There is very little reference for this anywhere on the internet that I can find. MSDN&amp;nbsp;has the properties listed with what data type the property is expected to be. &lt;br /&gt;&lt;br /&gt;I'm hoping someone here may be able to help? My head has been scratched. &lt;br /&gt;&lt;br /&gt;My three main points of reference are:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp;&amp;nbsp;&amp;nbsp; Content Classes&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; http://msdn.microsoft.com/en-us/library/aa486257%28v=EXCHG.65%29.aspx&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp;&amp;nbsp;&amp;nbsp; Content Classes:Message&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; http://msdn.microsoft.com/en-us/library/aa123730%28v=EXCHG.65%29.aspx&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp;&amp;nbsp;&amp;nbsp; Properties by Namespace&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; http://msdn.microsoft.com/en-us/library/aa486269%28v=EXCHG.65%29.aspx&lt;br /&gt;&lt;br /&gt;I have also looked at the MAPI references.&lt;br /&gt;&lt;br /&gt;Outgoing mail XML&lt;br /&gt;&amp;lt;?xml version=\&amp;quot;1.0\&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;a:propertyupdate&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:a=\&amp;quot;DAV:\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:b=\&amp;quot;urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:c=\&amp;quot;xml:\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:d=\&amp;quot;urn:schemas:mailheader:\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:e=\&amp;quot;urn:schemas:httpmail:\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:f=\&amp;quot;http://schemas.microsoft.com/mapi/proptag/\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:g=\&amp;quot;http://schemas.microsoft.com/mapi/\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:h=\&amp;quot;http://schemas.microsoft.com/exchange/\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:i=\&amp;quot;urn:schemas-microsoft-com:office:office\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:j=\&amp;quot;urn:schemas:calendar:\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:k=\&amp;quot;http://schemas.microsoft.com/repl/\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:l=\&amp;quot;urn:schemas-microsoft-com:exch-data:\&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a:set&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a:prop&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a:contentclass&amp;gt;urn:content-classes:message&amp;lt;/a:contentclass&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;d:content-base&amp;gt;http://localhost/exchange/&amp;lt;/d:content-base&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;d:content-disposition&amp;gt;attachment; filename=test.txt&amp;lt;/d:content-disposition&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:outlookmessageclass&amp;gt;IPM.Note&amp;lt;/h:outlookmessageclass&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:autoaddsignature&amp;gt;1&amp;lt;/h:autoaddsignature&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:signaturehtml&amp;gt;2&amp;lt;/h:signaturehtml&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:signaturetext&amp;gt;3&amp;lt;/h:signaturetext&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;d:to&amp;gt;&amp;quot;.$toEmail.&amp;quot;&amp;lt;/d:to&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;e:subject&amp;gt;&amp;quot;.$messageSubject.&amp;quot;&amp;lt;/e:subject&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;e:htmldescription&amp;gt;Test email&amp;lt;/e:htmldescription&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;e:attachmentfilename&amp;gt;test.txt&amp;lt;/e:attachmentfilename&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/a:prop&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/a:set&amp;gt;&lt;br /&gt;&amp;lt;/a:propertyupdate&amp;gt;&lt;a name='cutid1-end'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I cannot get the signature, nor the attachment to send. I have tried with/without content-base, content-disposition, attachmentfilename, signaturehtml, signaturetext and autoaddsignature in all combinations. &lt;br /&gt;&lt;br /&gt;1. Is it possible to add signatures to outgoing messages through WebDAV with PHP? If so, how? I &amp;lt;i&amp;gt;could&amp;lt;/i&amp;gt;] set the signatures up in my script, but I would like the user to be able to edit them via Outlook Web Access (OWA).&lt;br /&gt;&lt;br /&gt;2. Is it possible to add attachment to outgoing messages through WebDAV with PHP? If so, how? A report will be generated before the mail functions are called. The report will be saved locally (e.g., http://localhost/report/2010-12-19.pdf) and not on the Exchange server (http://server.com/Exchange) -- I assume this is what content-base is for. &lt;br /&gt;&lt;br /&gt;I know there are name spaces in the code that are unused. The emails send fine, but do not come with attachments or signatures.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:570938</id>
    <author>
      <name>246</name>
    </author>
    <lj:poster user="246_slc" userid="14685904"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/570938.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=570938"/>
    <title>Ecommerce integration</title>
    <published>2010-12-10T17:14:20Z</published>
    <updated>2010-12-10T17:22:10Z</updated>
    <content type="html">I&amp;rsquo;ve been asked to identify an Ecommerce solution for my office.&lt;br /&gt;&lt;br /&gt;Despite what the sales people think (an exaggerating bunch) we&amp;rsquo;ll likely be low volume, but product prices can range from $5 to $20,000.&lt;br /&gt;Like something scalable.&lt;br /&gt;&lt;br /&gt;Thought we might use some of the Free/Cheap Solutions (ZenCart PayQuake) offered with our hosting site, but I&amp;rsquo;m having reservations.&lt;br /&gt;&lt;br /&gt;Quickbooks integration a plus.&lt;br /&gt;Any and All thoughts on topic would be helpful.&amp;nbsp; Thanks!&lt;br /&gt;&lt;br /&gt;(A little more information might be helpful-- We only require one storefront, we'll put it on a sub-domain, and we would like reseller and discount/coupon options)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:570263</id>
    <author>
      <name>Zombie Puppet</name>
    </author>
    <lj:poster user="zombiepuppet" userid="1559452"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/570263.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=570263"/>
    <title>webdev @ 2010-11-29T22:22:00</title>
    <published>2010-11-30T04:22:05Z</published>
    <updated>2010-11-30T04:22:05Z</updated>
    <content type="html">Getting Zen Cart functioning with Yahoo's* hosting- can it happen? It's not allowing me to upload the .htaccess files.&lt;br /&gt;&lt;br /&gt;If no, is there another half decent free cart that &lt;i&gt;will&lt;/i&gt; work?&lt;br /&gt;&lt;br /&gt;&lt;font size="-3"&gt;(* Yes, I know. Not my site.)&lt;/font&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:webdev:570056</id>
    <author>
      <name>crazylikefox</name>
    </author>
    <lj:poster user="crazylikefox" userid="1674914"/>
    <link rel="alternate" type="text/html" href="https://webdev.livejournal.com/570056.html"/>
    <link rel="self" type="text/xml" href="https://webdev.livejournal.com/data/atom/?itemid=570056"/>
    <title>N00blet soup</title>
    <published>2010-11-29T18:43:23Z</published>
    <updated>2010-11-29T18:43:23Z</updated>
    <content type="html">Hello!&amp;nbsp; Long time lurker first time poster.&amp;nbsp; I am just beginning my adventures with web programming, and am trying to make an application within the Netbeans IDE that says &amp;quot;Hello World!&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://pics.livejournal.com/crazylikefox/pic/0006ypfg/" target="_blank"&gt;&lt;img height="240" width="320" border="0" src="https://pics.livejournal.com/crazylikefox/pic/0006ypfg/s320x240" alt="" fetchpriority="high" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My code is&lt;br /&gt;package bigjava;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;public class HelloPrinter&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void main(String[] args)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Display a greeting in the console window&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(&amp;quot;Hello, World!&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I just created a project called BigJava after the textbook Big Java 3rd edition.&amp;nbsp; Java is case sensitive and my subfolder is in all lower case.&amp;nbsp; When I run it the application doesn't have any errors, but it also doesn't print out the &amp;quot;Hello, World&amp;quot; that I desire.&lt;br /&gt;&lt;br /&gt;Any thoughts?&amp;nbsp; If this isn't appropriate for the community let me know.&amp;nbsp; Thanks for any advice or thoughts!&lt;br /&gt;&lt;br /&gt;</content>
  </entry>
</feed>
