<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Webmasters and Developers forum - dslreports.com community</title>
<link>http://www.dslreports.com/forum/webmonk</link>
<description>Webmasters and Developers forum current topics</description>
<language>en</language>
<copyright>Copyright 2007, dslreports.com</copyright>
<pubDate>Mon, 09 Nov 2009 16:23:21 EDT</pubDate>
<lastBuildDate>Mon, 09 Nov 2009 16:23:21 EDT</lastBuildDate>

<image>
<title>dslreports.com</title>
<url>http://i.dslr.net/bbrdisc1.gif</url>
<link>http://www.dslreports.com</link>
<width>19</width>
<height>18</height>
<description>bbr disc</description>
</image>

<item>
<title>Reporting Server Software - LAMP</title>
<link>http://www.dslreports.com/forum/remark,23312343</link>
<description><![CDATA[I am looking for reporting software to use on a LAMP server.

1) Report creating must be similar to crystal report X and MUST operate on Linux and win for report developers

2) Reports must be able to be exported to:

a) pdf
b) CSV
c) ODS
d) XLS

3) Reports must be able to link to a file on the server when run in a live mode as part of the detail row

4) Reporting server must operate on a LAMP server. win any thing is not available for the server side.

5) This must be able to be "connected" to interact with a web site v. hand hard coded php based reports.

Comments, suggestions?

Thanks.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,23312343</guid>
<pubDate>2009-11-08 22:24:08</pubDate>
</item>

<item>
<title>Gallery: Changed Host Issues</title>
<link>http://www.dslreports.com/forum/remark,23304913</link>
<description><![CDATA[I moved a gallery from DreamHost to HostGator and everything appears to be working, I can see the thumbnails, all user ID's work and whatnot.... but when I click on a picture to enlarge it.. I get this screen. It works fine on the old host, but does not work on the new host. 

Any Suggestions?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,23304913</guid>
<pubDate>2009-11-07 00:14:00</pubDate>
</item>

<item>
<title>Advanced, real-time graphics on a webpage (2d, possibly 3d)</title>
<link>http://www.dslreports.com/forum/remark,23301585</link>
<description><![CDATA[Title says it all. I'm looking for some kind of web-enabled language or interface that would allow me the ability to display 100,000 or more pixels/shapes at 25-30 frames per second, minimum. 

My preference would be to be able to create an OpenGL context in a browser window, as I've worked with it a decent amount in C/C++ and it's obviously very well capable of the above. I'm aware Java applets have JOGL ability (though not a trivial-to-set-up implementation), but I'm looking for alternatives before making a final decision. 

Flash, Air, and related would seem like worthy contenders, but their graphics are vector- and object-based - every aforedescribed shape or pixel would be its own object - clearly unfavorable for a real-time app if their numbers are in the 6-digit area.

Either way, appreciate any insight in advance.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,23301585</guid>
<pubDate>2009-11-06 11:49:19</pubDate>
</item>

<item>
<title>[PHP] Checking for Valid/Authenticated User...</title>
<link>http://www.dslreports.com/forum/remark,23308654</link>
<description><![CDATA[I've been doing a bit of tweaking and re-coding of one of my projects to make things a little easier to maintain...

My current site, when a user edits an entry of their own, it does a check to see if the user editing is either A, the creator of the entry, or B has Admin Access (Checks the User Level, 4+ being Admin)  Otherwise it denies access to viewing and/or editing...

Currently on every edit/update/delete function I have this basic code:
phpif ($action == "edit" &amp;&amp; ($_SESSION&#91;'username'&#93; == $row&#91;'submitted_by'&#93; || $_SESSION&#91;'user_type'&#93; == "4")){ &#012; &#012;     // Edit/display code here&#012; &#012;} else {&#012;     if(!$_SESSION&#91;'user_type'&#93; == "4"){&#012;          die ("I'm sorry, Invalid request.&lt;br /&gt;You may not be authorized to access this function.&lt;br /&gt;Please try again, or contact an Admin for help.");&#012;     }&#012;}&#012;
So on my manage_file script, It basically contains the above in 3 seperate instances,  Edit, Delete, and Confirm Delete...

I'm just wondering if it might be more ideal to do something like this at the top of the script after it pulls the information on submission instead:

phpif ($_SESSION&#91;'username'&#93; == $row&#91;'submitted_by'&#93; || $_SESSION&#91;'user_type'&#93; == "4"){&#012; &#012;     $authenticated = true;&#012; &#012;}&#012;
then throughout the rest of the code
phpif ($action == "edit" &amp;&amp; $authenticated = true){ &#012; &#012;     // Edit/display code here&#012; &#012;}&#012; &#012;if ($action == "delete" &amp;&amp; $authenticated = true){ &#012; &#012;     // Delete code here&#012; &#012;}&#012;
Sorry if there are any mistakes, I'm a bit tired, and writing this out before I head off to sleep.  It's mainly just a general question if the new method would be more or less efficient than what I'm currently doing (copy/pasting the verifying code about 20 times throughout my whole script across about 15 files), or what might be the best way to do all this authenticating to make sure one user can't view another users entries, and/or delete/modify them (other than admins.)

To load up an entry, the ID variable is passed via URL,  view?id=35    or   edit?id=35  as an example.
Sessions are used to store username, user ID, user Type, and most other user preferences.  No Valid Session = No access, brings up the login window no matter where you are on the script.

:) Thanks in advance for any suggestions!

--
~There is no Normal or Abnormal... Just Diversity.Member of Team Helix - Join Us?
]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,23308654</guid>
<pubDate>2009-11-08 00:07:58</pubDate>
</item>

<item>
<title>php site</title>
<link>http://www.dslreports.com/forum/remark,23304390</link>
<description><![CDATA[is there a folder that a php file has to be in to work....
for asp it was www. but i tried www and it did not work.....
ok well im tryin it off my computer i tried that same code and 
getting words to echo but nothing shows.....]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,23304390</guid>
<pubDate>2009-11-06 21:20:33</pubDate>
</item>

<item>
<title>Job: Develop a Simple Drupal (PHP) Module</title>
<link>http://www.dslreports.com/forum/remark,23304254</link>
<description><![CDATA[Hello Folks,

I have my feelers out with a guy from Adaptive Themes to find me a Drupal developer to work on this but he says all the really talented folks are tied up, so I'm going to have to wait. I'm fine with that, but I thought I'd ask here too as I'd much rather throw my benjamins at a DSLR member.

I'm looking for someone to develop a Drupal Module that can accomplish the following:

- When a user is added to role Role-1, call the PHP SSH2 library, connect to a remote server and execute a script.
- When the user is removed from role Role-1, call the PHP SSH2 library, connect to that same remote server and execute a different script.

In researching it, a competent Drupal/PHP developer should be able to knock it out in 8-10 hours, as all that needs to be done is to call the hook_user function, then execute a small block of PHP code to make an SSH2 connection as noted here: http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/

I'm not looking for free work (nor cheap work) and I pay well for talent. So if you think you can do this, shoot me a note. If you can demonstrate that you have done this sort of work in the past or you have an established company, I'll send you 50% of your estimate as a deposit. If not, we'll unfortunately need to put the deposit in escrow if you require one.
--
trafficcloak.com - pptp/sstp vpn services]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,23304254</guid>
<pubDate>2009-11-06 20:46:49</pubDate>
</item>

<item>
<title>Bad TCP checksum generated by LKM</title>
<link>http://www.dslreports.com/forum/remark,23298514</link>
<description><![CDATA[I have been working on a Linux Kernel Module that will accelerate network traffic.  Its been a slow go as I am learning both C, and kernel development.

I have a nearly finished prototype now, but ran into a wall.  The module processes network packets using the function in packetprocessor.h.  It inserts custom TCP options into the network packets so other devices running the module can detect each other.  Its similar to what commercial WAN accelerators do.

I found that the module starts creating bad TCP checksum at line #112 of packetprocessor.h .  This makes me think there is something wrong with __set_tcp_option() in tcpoptions.h.

Whats confusing is that the same function worked fine at line #62, 63, 94, and 95 without any problems.  Maybe someone can look though __set_tcp_option() in tcpoptions.h, and possibly at the code in packetprocessor.h around line #112.

I have been looking at this for a while, and cannot figure out where its getting mucked up.
--
sk_buff what?

Open Source WAN Accelerator
http://trafficsqueezer.sourceforge.net/

]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,23298514</guid>
<pubDate>2009-11-05 19:44:29</pubDate>
</item>

<item>
<title>please tell me why my c++ app doesnt work?</title>
<link>http://www.dslreports.com/forum/remark,23300000</link>
<description><![CDATA[#include 
using namespace std;
int main(){
&#9;

&#9;int number;
&#9;int factor;
    int remainder;
&#9;int test;

&#9;for (number=4;;number++)

&#9;{
&#9;&#9;for (factor=2;factornumber;factor++)
&#9;&#9;{   
&#9;&#9;&#9;int remainder=number/factor;
&#9;&#9;&#9;if (int remainder=0){int test=0;}
&#9;&#9;&#9;for(;test=0;number++){}
&#9;&#9;&#9;&#9;
&#9;&#9;}

&#9;&#9;if(test!=0){cout number;}
&#9;
&#9;}

&#9;return 0;
}

I want it to display prime numbers from 4 and above.By tweaking it I can either get it to display all numbers or none at all.I cant seem to get it right. :uhh:]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,23300000</guid>
<pubDate>2009-11-06 02:27:43</pubDate>
</item>

<item>
<title>[Javascript] Submit button not working.</title>
<link>http://www.dslreports.com/forum/remark,23300771</link>
<description><![CDATA[I created a generic page for school that isn't functioning. The assignment has already been turned in, so I'm not asking for anyone to do my homework. I'm just trying to figure out where I went wrong, since apparently I've got a fundamental knowledge gap somewhere in here that I haven't been able to resolve.

The page is at:

http://academic1.bellevue.edu/users/BSWT032/week3/pay.html

I'm having a hard time getting the function to display the text properly. It's saying the results are NaN. I can't tell if I converted it to a string incorrectly or what. It's kicking it back with:

Employee #1 earned: $NaNEmployee #2 earned: $NaNEmployee #3 earned: $NaN

Here's the JS:

// pay.js&#012;// Calculating and displaying the pay for employees&#012; &#012;function computePay() {&#012;    var empHours1 = document.getElementById("emp1Hours");&#012;    var empRate1 = document.getElementById("emp1Rate");&#012;    var empOver1 = (empHours1 - 40);&#012;    var empHours2 = document.getElementById("emp2Hours");&#012;    var empRate2 = document.getElementById("emp2Rate");&#012;    var empOver2 = (empHours2 - 40);&#012;    var empHours3 = document.getElementById("emp3Hours");&#012;    var empRate3 = document.getElementById("emp3Rate");&#012;    var empOver3 = (empHours3 - 40);&#012; &#012;    // Calculate and display pay information&#012; &#012;    if (empHours1 &gt; 40) {&#012;        //document.write("Employee #1 earned: $" ((empHours1 - 40) * empRate1 + ((empRate1 * 1.5) * empOver1))&#012;        document.write("Employee #1 earned: $" + (empHours1 - empOver1) * empRate1 + ((empRate1 * 1.5) * empOver1).toString())&#012;      } else&#012;          document.write("Employee #1 earned: $" + empHours1 * empRate1)&#012; &#012;    if (empHours2 &gt; 40) {&#012;          document.write("Employee #2 earned: $" + (empHours2 - empOver2) * empRate2 + ((empRate2 * 1.5) * empOver2).toString())&#012;      } else&#012;          document.write("Employee #2 earned: $" + empHours2 * empRate2)&#012; &#012;    if (empHours3 &gt; 40) {&#012;          document.write("Employee #3 earned: $" + (empHours3 - empOver3) * empRate3 + ((empRate3 * 1.5) * empOver3).toString())&#012;      } else&#012;          document.write("Employee #3 earned: $" + empHours3 * empRate3)&#012;}&#012;
Can someone give me at least a hint at where I should have taken that left turn at Albuquerque?

--
Blogsaus  "The same crowd that cheers at your triumphant entry will be the ones that crucify you in the end. Consider this: the very thing that is worth dying for will be the very thing they hate you for - Andrew Schwab]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,23300771</guid>
<pubDate>2009-11-06 09:21:45</pubDate>
</item>

<item>
<title>[Need Info] Open Source Document Management system</title>
<link>http://www.dslreports.com/forum/remark,23115689</link>
<description><![CDATA[Looking for some input from anyone who may have some insight into some of the open source DMS solutions available now days. I'm trying to put one together for viewing blueprints and customer related data. Just started installing Alfresco but not thinking this is going to do well. It as many require many 3rd party applications as well to operate properly.

So far I have installed:
MySQL
Tomcat
Apache
PHP

If you have experience in this and can offer some insight please let me know. 
Thanks,
Bob]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,23115689</guid>
<pubDate>2009-10-01 17:27:23</pubDate>
</item>

</channel>
</rss>
