Archive

Posts Tagged ‘String’

Http Referer String Processing Test 2 (30 Minutes)

January 27th, 2012 Comments off

The Purpose of This Test Project
===============================

A prgrammer has been asked to use php to implement http referer string detection and processing for http://www.technologyonsale.com. Everytime the webserver receives an http request for a page it checks the http referer string sent by the user’s browser. If the server detects that the user is coming from Google, Yahoo or Bing search engine, it is supposed to extract the search query string from the referer string and should pre…

Http Referer String Processing Test 1 (30 Minutes)

January 27th, 2012 Comments off

The Purpose of This Test Project
===============================

A prgrammer has been asked to use php to implement http referer string detection and processing for http://www.technologyonsale.com. Everytime the webserver receives an http request for a page it checks the http referer string sent by the user’s browser. If the server detects that the user is coming from Google, Yahoo or Bing search engine, it is supposed to extract the search query string from the referer string and should pre…

Stringprog.cpp

January 26th, 2012 Comments off

The file must be called stringProg.cpp
Main Method
1. Declare a string called myString.
2. Use Call-by-reference pass your string to a method called inputData(); (Hint: uses the & )
3. Use Call-by-value and pass your string to a method called outputData(); (Hint: does not use the & )
inputData Method (Receives string)
1. Get input using cin >> into the string variable you received into this method. (I will be entering my full name in the format of: Last, First Middle.
2. Using the …

Http Referer String Processing Test 1

January 21st, 2012 Comments off

The Purpose of This Test Project
===============================

A prgrammer has been asked to use php to implement http referer string detection and processing for http://www.technologyonsale.com. Everytime the webserver receives an http request for a page it checks the http referer string sent by the user’s browser. If the server detects that the user is coming from Google, Yahoo or Bing search engine, it is supposed to extract the search query string from the referer string and should p…

Pull # From Url String

January 20th, 2012 Comments off

I have a url http://www.asdf.com/#444 and I want to know whether the bookmark is 444 when someone visits this URL from another website. Note that the visitor is not coming to this URL from a place within my website.

I need a way to find the 444 value and get that value into my php. I need a snippit of php (and whatever other supporting code that it takes to get the 444 value that will be passed to my php code) that only shows a div if the 444 exists. “Show” the div if it exists. The div s…

Categories: div, HTML, PHP, URL Tags: , , , , , ,

Plesk Login Error And Website Issues

January 1st, 2012 Comments off

Hi, having some issues with the server.

0: /usr/local/psa/admin/plib/cmd_loginup.php:212
createSessionCommon(integer ’1′, string ‘admin’, boolean true, string ”, NULL null)
1: /usr/local/psa/admin/plib/cmd_loginup.php:345
createSessionAdmin(string ‘admin’, string ‘***********’, string ‘***************************’, boolean false)
2: /usr/local/psa/admin/plib/cmd_loginup.php:142
createSession(string ‘admin’, string ‘***********’)
3: /usr/local/psa/admin/htdocs/login_up.php3:…

Categories: Login, PHP, Plesk Tags: , , , , , ,

Translation Of String Table In Excel From English To Arabic

November 30th, 2011 Comments off

A string table in excel contains english keywords used for operating a electronic tv operated device – like play, rewind etc

These words and phrases have to be translated to arabic for the OSD menu when user changes language from english to arabic

Excel sheet is attached

Perl Script

November 26th, 2011 Comments off

Write a webpage called palindrome.html which will test strings (which may or may not include numbers) to see if they are palindromes. The user can input a string, and then a script will check to see if the string is a palindrome or not, displaying the result to the user on another page (include the original string that they input in the displayed output). You should disregard the case of letters, as well as spaces and any punctuation symbols in the sentence (use Perl string routines to deal with…

Htaccess Query String Rewrite Redirect – Need Today

November 15th, 2011 Comments off

DO NOT BID UNLESS YOU CAN DO THIS TODAY, RIGHT NOW.

I need to rewrite a group of strings
Here is what it is

http://www.domain.com/something1& Category_Code=something2.html

to go to (redirect 301)

http://www.domain.com/something1.html

it needs to drop anything after the & ampersand, up to the .html
But this file has many many other things going on in it so you need to really know your stuff.

C# String Parser Routine And T-sql Bulk Upload Script

November 15th, 2011 Comments off

Introduction
—————
I’m in need of two scripts that parse and mine raw data logs into a Microsoft SQL Server.

Scenario
———–
A marketing company has a web service where their customers which are Canadian Universities access on a daily bases. The traffic generated at the web service produces raw logs in the following tabbed delimited format:

Category Name (String)
Entry Point (String)
Traffic Date (Date)
Customer ID (String)
Traffic Count (Integer)
Interface (String…

Programing In Assembly Language

October 29th, 2011 Comments off

I need help with my HW please. If possible i need it done with in a days. Here is the question on the book.
Q.Write a program that uses a dialog box to input a sting of characters into charStr, recalling that the input macro terminates a string with a
null byte(00). Process this string as an array of characters, replacing each uppercase letter in charStr by its lowercase equivalent, leaving every other character unchanged. Use a message box to display the modified string.
The code should be in assembly language using any editor but prefer visual studio.

Dynamic Php Calendar

October 26th, 2011 Comments off

I need a php based calendar that does the following things:

1. Allows the user to click on dates in a calendar and toggle the date as open, closed, open mornings, open evenings.
2. Each time the user clicks and sets a specific day in the calendar a string variable is updated with the day selected and it’s status, e.g.g closed, open etc.
3. Anytime a date is selected, I want a master/details view of the day where the master is the day in the calendar, and the details view is all the hours in that day.

I need three levels of configuration:

1. Admin : they set the over all functionality of the calendar
2. Client: they set their availability in the calendar and manage the appointments, etc.
3. client’s customer: They select from available days and times and request appointments.

All data has to be stored in string variables, no database. The string data is built on each page load from another source.

More Detail:

The master display is a grid of seven cells per row, one for each day of the week. There should be as many rows as necessary to show all days for the given month.

There shall be a header row to display the days of the week. The calendar should be able to be configured to specify which day of the week is represented by the left most cell in each row. The following days should be in the standard order: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.

Each box in the calendar that corresponds to a date in the given month should be clickable/selectable. When selected the detail screen for the corresponding date should be displayed below the calendar. Boxes that are empty because they do not represent days with the given month should have a style that indicates they are not selectable.

The day detail is a list of 96 (potentially) selectable rows each representing 15 minutes, starting at 12:00 AM on the given day with the last row representing a start time of 11:45 PM.

The detail view should be configurable so that rows representing times earlier than a given start time are not selectable, and times beginning at a specified end time are not selectable.

Rows in the detail that are not selectable should be greyed out.

Each time slot in the detail view represents a unit of time that can be part of an appointment. Rows that represent a
time with an existing appointment should be displayed in red or something else.

The application should allow configurable integer number of 15 minute units that comprise an appointment in the range [1..n].

An individual appointment is represented by a string in the form YYMMDDnn, where:

YY is the two digit year
MM is the two digit month
DD is the two digit date
nn is the start time of the appointment which is the number of 15 minute units from midnight of that day starting (offset)

so for example:
12071435 would be an appointment starting at 8:45 AM on July 14th 2012.

The data store will allow storage and retrieval of an arbitrarily long string of appointment substrings as above, separated by semicolons.

This string shall be parsed to find existing appointments on for the date selected. Newly added appointments will just return the string for that appointment. So from the example above the return would be 12071435.

The user shall not be allowed to select a row that represents an existing appointment.

Basic Java Programming

September 16th, 2011 Comments off

Part 1

Main Method

Implement a program that reads in a user password and verifies it meets the following criteria:

Is at least 7 characters long
Contains at least 1 lower letter character
Contains at least 1 upper letter character
Contains at least 1 numeric digit
Contains at least 1 special character from the set: !#$%^&*
Does not contain the String �pass� or the String �word�

Output a string that prompts the user for a password and include the requirements above in your output.

Output a string that states valid or invalid. If invalid, state which rule above has not been met.

Utilize the following functionality:

� indexOf

Looping structure

� charAt()

� isDigit()

� isUpperCase()

� isLowerCase()

� and any additional functionality needed.

Comments are REQUIRED; flow charts and Pseudocode are NOT REQUIRED.
Proper coding style is REQUIRED.

This is a Sample of what it should look like:

Password Verifier

Enter a password that meets the following rules:
<list rules from above>
Password1

Invalid
Contains the string �word�
Missing a special character

—————————————————————–

Password Verifier

Enter a password that meets the following rules:
<list rules from above>
passWord123$

Invalid
Contains the string �pass�

—————————————————————–

Password Verifier

Enter a password that meets the following rules:
<list rules from above>
Hi

Invalid
Must be at least 7 characters long
Must contain a numeric digit
Must contain a special character

—————————————————————–

Password Verifier

Enter a password that meets the following rules:
<list rules from above>
Pa$$Word1

Valid

Part 2

Present an ORIGINAL example of the correct use of the printf method. This example must show how integers, doubles and Strings are properly formatted for display. At least one integer, one double, and one String must be printed using printf.

Show syntactically correct Java code that requests at least one number from the user. The program will store all the numbers the user provides into separate String variables, and it will use the appropriate methods from the wrapper classes to convert these Strings into numerical values. Afterwards, the program should use these numerical values to compute any mathematical formula that uses at least one method from the Math class and display the outcome with appropriate titles.

Dynamic Php Calendar

September 8th, 2011 Comments off

I need a php based calendar that does the following things:

1. Allows the user to click on dates in a calendar and toggle the date as open, closed, open mornings, open evenings.
2. Each time the user clicks and sets a specific day in the calendar a string variable is updated with the day selected and it’s status, e.g.g closed, open etc.
3. Anytime a date is selected, I want a master/details view of the day where the master is the day in the calendar, and the details view is all the hours in that day.

I need three levels of configuration:

1. Admin : they set the over all functionality of the calendar
2. Client: they set their availability in the calendar and manage the appointments, etc.
3. client’s customer: They select from available days and times and request appointments.

All data has to be stored in string variables, no database. The string data is built on each page load from another source.

Remove Plural Suffix From String (php)

September 2nd, 2011 Comments off

Let’s suppose I have a list of plural suffixes. Example: ‘

Categories: PHP Tags: , , , , , ,

Fixing A Php Script That Works With Joomla.

August 17th, 2011 Comments off

There are two things needed.

1. A php script, containing a number of string variables is being used to generate one large string. I can’t seem to follow the logic myself as to how the particular final string is ending up as it is and not what I want it to be. I think this should be a pretty easy fix for anyone who knows PHP well.

2. I need a little subfunction written that checks to see if an item is in the database before executing a particular command. Again this should be a piece of cake for anyone that knows PHP and SQL.

Joomla 1.6 Extension Joomla Plug-in (php Php) 3

July 22nd, 2011 Comments off

I am looking for a Joomla v1.6 Extension Plug-In That will add features described below to our site. The exact semantics of the project will be provided after awarding but details below summarize the functionality of the plug-in.

It will be an easily installable Joomla 1.6 plug-in where:

1. Registered users can create dynamic URLs, to specific articles www.example.com/article_alias/tracking_string. Tracking string is either random or customizable e.g.
www.example.com/article_alias/random_tracking_string or www.example.com/article_alias/custom_tracking_string where only the tracking string (part after the last slash) is user editable with specific set of characters (e.g. a-z 0-9 – _). Prohibited terms on admin side cannot be used.

The string will be checked in the database for uniqueness with onkeyup after 2 second pause via Ajax or a button if JS is disabled. This feature is available to specific articles and/or categories set on the admin side.

2. Purpose of the tracking string is to redirect a visitor to an external URL server side. If the tracking string is not present in the URL (e.g. if the URL is just http://www.example.com/article_alias/), the article is displayed (no forwarding), but a visitor has option to enter tracking string in a text box provided. Upon submitting, this tracking string input is taken, logged in the database for reporting and server side redirects the page to corresponding external URL.

3. The destination URL is a specific link “assembled” at the user account level or set at admin level.
E.g. when user is creating a URL in step (1) user is able to also specify the destination link to a redirecting URL. Here is a draft HTML representation of how this assembly will work:
www.example.com/article_alias/tracking_string
is linked by user to:
<select>
<option>Select Site</option>
<option selected>Site1.com</option>
<option selected>Site2.com</option>
</select>
<input type=”text” name=”textfield” id=”textfield” value=”referral string” />

This relation of tracking string to external URL and its referral string is stored in database, so when a visitor is visiting: www.example.com/article_alias/tracking_string the server will redirect user to e.g. Site1.com site with the user’s tracking code translated to the referral code.

The referral link is set on the admin site on a global level (e.g. for Site1.com), or with an override at an article level.

If the tracking code is not provided by a visitor either through URL or by typing (see step 2), or if the tracking code is not in the database, then the referral code set at admin side (global for site or article level) is used to redirect the visitor. In addition, every N-th redirect is replaced by that admin referral code. the N variable is set at admin side either globally or at an article level.

4. Users will be able to view limited analytics of all their URL click-throughs on the reports page. These reports will be based on specific timeframes that we will provide.

5. Admin will be able to view full report on the back end, either by user, or other criteria (including timeframe)

6. Users will be able to access special page linked from each article where PDF files with their tracking code will be located. The PDFs will be designed by ourselves with a variable field. When the PDF link is clicked and opened, the tracking code is passed to it as a variable and it will populate (print) the variable field inside the PDF document.

7. Each article will have a link to “Reviews” section (e.g. www.example.com/article_alias/reviews/) where users can submit their articles for approval. At the time user submits a new article, they will be able to specify redirect link as described in step (3). These review pages will function similarly to the main article pages except that they will not have their own sub pages for reviews.

8. Visitors will be able to rate the articles but first they will be asked to register.

9. The extension will work seamlessly over standard or SSL encrypted connection.

10. the above is a relatively broad outline of this project and there might be minor changes or more specifics that will be revealed after the job is awarded.

Text String In Mail And Graphic Banner

July 6th, 2011 Comments off

I need a string to call the value from the database

I also need this banner code to be called as a graphic and standard
link.

Joomla 1.6 Extension Joomla Plug-in (php Php) 2

July 1st, 2011 Comments off

I am looking for a Joomla v1.6 Extension Plug-In That will add features described below to our site. The exact semantics of the project will be provided after awarding but details below summarize the functionality of the plug-in.

It will be an easily installable Joomla 1.6 plug-in where:

1. Registered users can create dynamic URLs, to specific articles www.example.com/article_alias/tracking_string. Tracking string is either random or customizable e.g.
www.example.com/article_alias/random_tracking_string or www.example.com/article_alias/custom_tracking_string where only the tracking string (part after the last slash) is user editable with specific set of characters (e.g. a-z 0-9 – _). Prohibited terms on admin side cannot be used.

The string will be checked in the database for uniqueness with onkeyup after 2 second pause via Ajax or a button if JS is disabled. This feature is available to specific articles and/or categories set on the admin side.

2. Purpose of the tracking string is to redirect a visitor to an external URL server side. If the tracking string is not present in the URL (e.g. if the URL is just http://www.example.com/article_alias/), the article is displayed (no forwarding), but a visitor has option to enter tracking string in a text box provided. Upon submitting, this tracking string input is taken, logged in the database for reporting and server side redirects the page to corresponding external URL.

3. The destination URL is a specific link “assembled” at the user account level or set at admin level.
E.g. when user is creating a URL in step (1) user is able to also specify the destination link to a redirecting URL. Here is a draft HTML representation of how this assembly will work:
www.example.com/article_alias/tracking_string
is linked by user to:
<select>
<option>Select Site</option>
<option selected>Site1.com</option>
<option selected>Site2.com</option>
</select>
<input type=”text” name=”textfield” id=”textfield” value=”referral string” />

This relation of tracking string to external URL and its referral string is stored in database, so when a visitor is visiting: www.example.com/article_alias/tracking_string the server will redirect user to e.g. Site1.com site with the user’s tracking code translated to the referral code.

The referral link is set on the admin site on a global level (e.g. for Site1.com), or with an override at an article level.

If the tracking code is not provided by a visitor either through URL or by typing (see step 2), or if the tracking code is not in the database, then the referral code set at admin side (global for site or article level) is used to redirect the visitor. In addition, every N-th redirect is replaced by that admin referral code. the N variable is set at admin side either globally or at an article level.

4. Users will be able to view limited analytics of all their URL click-throughs on the reports page. These reports will be based on specific timeframes that we will provide.

5. Admin will be able to view full report on the back end, either by user, or other criteria (including timeframe)

6. Users will be able to access special page linked from each article where PDF files with their tracking code will be located. The PDFs will be designed by ourselves with a variable field. When the PDF link is clicked and opened, the tracking code is passed to it as a variable and it will populate (print) the variable field inside the PDF document.

7. Each article will have a link to “Reviews” section (e.g. www.example.com/article_alias/reviews/) where users can submit their articles for approval. At the time user submits a new article, they will be able to specify redirect link as described in step (3). These review pages will function similarly to the main article pages except that they will not have their own sub pages for reviews.

8. Visitors will be able to rate the articles but first they will be asked to register.

9. The extension will work seamlessly over standard or SSL encrypted connection.

10. the above is a relatively broad outline of this project and there might be minor changes or more specifics that will be revealed after the job is awarded.

Websitepanel Exper – Awstat Secure Login Error – Windows

June 29th, 2011 Comments off

Hello,

I need a WebSitePanel Expert who can fix this within a few minute or hours..

I just install a AWStats with secure login tool but on a login page I get a error:

Also some minor problem in Local Security Problem.

Login Error: Advanced statistics is not enabled for the specified domain. Login to control panel, open ‘My Resources -> Advanced Statistics’ page and add a new statistics site.

Error:
Code:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://dotnetpark.com/dotnetpanel/enterpriseserver/AuthenticateUser. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at DotNetPark.DotNetPanel.EnterpriseServer.esAuthentication.AuthenticateUser(String username, String password, String ip) at DotNetPark.AWStats.Viewer.DotNetPanelAuthenticationProvider.AuthenticateUser(String domain, String username, String password)

Moneybookers Expert

June 24th, 2011 Comments off

I have moneybookers integrated on my site at http://www.gofarmer.com and it worked initially then all of a sudden I stopped receiving notifications of payments and the new member would not be added to my database. Moneybookers help and support have been worse than useless and first told me that there was no status url, but there is, then said it was something else, then said it was because our return url is too long but it is not long at all and is the same as when it worked. Moneybookers are meant to have gone through all my code and I am getting nowhere. The original programmer who integrated it can find no problem and says issue is with moneybookers. The test account works fine and is exactly the same as live account. I need this sorting once and for all as soon as possible.

Do NOT apply if no experience with moneybookers payment system.

The issue has been identified (I think) as the return status url being too long, specifically:

The problem lies in the following lines:

Simple Php Code

June 15th, 2011 Comments off

Write some php code that can be run from root directory, if possible, that:-

1. Reads from $wpdb and stores post id and one field of data from each post.

2. Create a string with delimiter from the data upto a maximum of 4500 characters.

2a. echo result so I can see what this string looks like

and once modified ( I will try to do this part)

3. Resolve delimited data string back to correct post id
3a.echo result so I can see what this new string looks like

4. If result is ok, re-writes the modified data back to the $wpdb.

5. Print how many post were modified (so I know where to start again from)

Hope this is easy money for someone.

Thanks

Joomla V1.6 Extension / Plug-in

June 3rd, 2011 Comments off

I am looking for a Joomla v1.6 Extension Plug-In That will add features described below to our site. The exact semantics of the project will be provided after awarding but details below summarize the functionality of the plug-in.

It will be an easily installable Joomla 1.6 plug-in where:

1. Registered users can create dynamic URLs, to specific articles www.example.com/article_alias/tracking_string. Tracking string is either random or customizable e.g.
www.example.com/article_alias/random_tracking_string or www.example.com/article_alias/custom_tracking_string where only the tracking string (part after the last slash) is user editable with specific set of characters (e.g. a-z 0-9 – _). Prohibited terms on admin side cannot be used.

The string will be checked in the database for uniqueness with onkeyup after 2 second pause via Ajax or a button if JS is disabled. This feature is available to specific articles and/or categories set on the admin side.

2. Purpose of the tracking string is to redirect a visitor to an external URL server side. If the tracking string is not present in the URL (e.g. if the URL is just http://www.example.com/article_alias/), the article is displayed (no forwarding), but a visitor has option to enter tracking string in a text box provided. Upon submitting, this tracking string input is taken, logged in the database for reporting and server side redirects the page to corresponding external URL.

3. The destination URL is a specific link “assembled” at the user account level or set at admin level.
E.g. when user is creating a URL in step (1) user is able to also specify the destination link to a redirecting URL. Here is a draft HTML representation of how this assembly will work:
www.example.com/article_alias/tracking_string
is linked by user to:
<select>
<option>Select Site</option>
<option selected>Site1.com</option>
<option selected>Site2.com</option>
</select>
<input type=”text” name=”textfield” id=”textfield” value=”referral string” />

This relation of tracking string to external URL and its referral string is stored in database, so when a visitor is visiting: www.example.com/article_alias/tracking_string the server will redirect user to e.g. Site1.com site with the user’s tracking code translated to the referral code.

The referral link is set on the admin site on a global level (e.g. for Site1.com), or with an override at an article level.

If the tracking code is not provided by a visitor either through URL or by typing (see step 2), or if the tracking code is not in the database, then the referral code set at admin side (global for site or article level) is used to redirect the visitor. In addition, every N-th redirect is replaced by that admin referral code. the N variable is set at admin side either globally or at an article level.

4. Users will be able to view limited analytics of all their URL click-throughs on the reports page. These reports will be based on specific timeframes that we will provide.

5. Admin will be able to view full report on the back end, either by user, or other criteria (including timeframe)

6. Users will be able to access special page linked from each article where PDF files with their tracking code will be located. The PDFs will be designed by ourselves with a variable field. When the PDF link is clicked and opened, the tracking code is passed to it as a variable and it will populate (print) the variable field inside the PDF document.

7. Each article will have a link to “Reviews” section (e.g. www.example.com/article_alias/reviews/) where users can submit their articles for approval. At the time user submits a new article, they will be able to specify redirect link as described in step (3). These review pages will function similarly to the main article pages except that they will not have their own sub pages for reviews.

8. Visitors will be able to rate the articles but first they will be asked to register.

9. The extension will work seamlessly over standard or SSL encrypted connection.

10. the above is a relatively broad outline of this project and there might be minor changes or more specifics that will be revealed after the job is awarded.

Making A String Linkable

May 23rd, 2011 Comments off

Hello everyone,

Needing to find someone who can take a long string of letters and numbers such as: 1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt

and make it “linkable” so when someone clicks on the “link” it automatically opens/calls up the software program that is installed on their computer. I’ve seen it where if you change the http:// part to something else it calls up the program.

Anyone know how to do this? Please ask questions thank you!

I should have mentioned the above string should automatically populate a field in the software!

String Manipulation Using Ocr Pen Scanner

May 18th, 2011 Comments off

Hello,

We’re looking to use a Pen scanner collect data from tax documents to be processed in a tax manager software.

The strings we’re working with are made of 46 characters. Each string has 4 parts. We use the C-Pen www.cpen.com to scan the text and have it sent to the computer.

The thing is not all of the characters in the string is necessary in the software. There’s a 3 step process we need to do:

1- Scan with C-Pen OCR scanner
2- Have specific characters validated to make sure data is correct
3- Extract the needed data and have it inserted in the TAX MANAGER SOFTWARE.

CPen usually scans anywhere the mouse is pointing. I wish this would be possible by going through the verification process.

Please see attached file for explanation and screencast:

http://screencast.com/t/1iWQtrd80

SERIOUS BIDDERS ONLY. If you’re not sure you’re able to deliver on time, don’t bid.

Knowledge of C# is necessary.

Have a great day

Michael

Categories: OCR Tags: , , , , , ,

Learning Java String Through Interactive Powerpoint

May 18th, 2011 Comments off

I need a learning resource where people can learn JAVA String completely. It should have step by step chapters, tutorials, examples & some sets of quizzes at the end. It has to be done in Interactive Power Point. There has to be links, buttons, pictures, hyper-links, graphics. Overall it has to be a highly qualified learning method. Those who are experts in JAVA and JAVA String are welcome to give me a quote.

Wrapper (.net) For Tesseract 3

May 17th, 2011 Comments off

I need a .NET (c#) wrapper for tesseract (Google open source ocr) latest version ( not sure, I think it is 3.00.1)
http://code.google.com/p/tesseract-ocr/

The methods in the wrapper should return the text as String.
There are different result types in tesseract. One is text, another is hocr (it’s a not commented parameter in version 3 (it looks like html)).
The result type should be passed as parameter in the method.
There should be 1 method with fullfilename of the image for ocr, and another for a stream, bitmap or byte array so tesseract should work without saving the image if it is given as parameter.
Like this:
String public Method1(String fullFileName,Enum language, Enum resultType)
And
String public Method2(Stream stream, Enum language, Enum resultType)
Or/And
String public Method3(System.Drawing.Bitmap
bitmap, Enum language, Enum resultType)
Or/And
String public Methode4(Byte[] byteArray, Enum language, Enum resultType)

Tesseract must be a Visual Studio 2010 project. Output must be a dll.
The Wrapper must be a Visual Studio 2010 c# project. Also a dll as output.

Find Text String Script

May 16th, 2011 Comments off

I would like a small script that reads a list of URLs from a text file, scans each URL to find one or more text strings in the HTML source, and when the text string is found, stores each URL in a text file.

The text string it should find is:
google_ad_client
or
ca-pub

Add Days Of The Week

May 15th, 2011 Comments off

I have an assignment due today and I’m so rusty at programming and had a week from hell, that i havent even had time to read the new chapter and get started on my lab. I need help asap. here’s what i need:

Write a program that contains a class that implements the days of the week. The program should be able to perform the following on an object of the class.

1. Set the day.
2. Print the day.
3. Return the day.
4. Return the next day.
5. Return the previous day.
6. Calculate and return the day by adding a certain amount of days to the current day. For example, if you add five days to Saturday, the day to be returned is Thursday. Likewise, if we add 12 days to Wednesday, the day returned will be Monday.

1. Expand the member functions of iLab 1 to allow for the additional operations outlined in the lab summary above.
2. Call the additional functions, plusOneDay(), minusOneDay(), and addDays().

Function plusOneDay() returns the next day.
Function minusOneDay() returns the previous day.
Function addDays() will take the number of additional days as a parameter and calculate and return a new day name by adding a certain amount of days to the current day.

This is what i have from my previous assignment:

#include <iostream>
#include <string>

using namespace std;

class DayOfTheWeek
{
public:
void setDay(string );
// setDay(string) takes a string parameter
// and stores the value in the day attribute.
void printDay() const;
// printDay() prints the value of the day attribute
// on console output (cout).
string getDay() const;
// returns the value of the day attribute.
void plusOneDay();

void minusOneDay();

void addDays();

private:
string day; // This is where the value of the day attribute is stored.
};

string DayOfTheWeek::getDay() const
{
return day;
}
void DayOfTheWeek::setDay(string newDay)
{
day = newDay;
}
void DayOfTheWeek::printDay() const
{
cout << day;
}
void DayOfTheWeek::plusOneDay()
{

}
int main()
{

DayOfTheWeek monday;
DayOfTheWeek tuesday;

// Set the values of the objects
monday.setDay(“Monday”);
tuesday.setDay(“Tuesday”);

// Get the monday object and print it out
string currentDay = monday.getDay();
cout << “The value of the object is ” << currentDay << “. This object wishes it was Sunday!” << endl;

// Print the tuesday object
cout << “The value of the object is “;
tuesday.printDay();
cout << “. This object is just glad it’s not Monday!” << endl;

return 0;
}

Categories: Programming Tags: , , , , , ,

Simple Asp.net C# Code Fix

May 12th, 2011 Comments off

Hi,

I’m using a repeater to list news article titles on a page. Once a title is clicked, the page reloads with the news details.

What I want to achieve is to compare the query string with the current news ID. If they are equal, then I want to give a different class name for the anchor tag to make the link highlighted with a different color.

It seems the repeater has some limitations. I want a fix for this, or an alternative for the repeater.

I need C# code sample please.

Here is my code:

—————————————-
ASPX Page:
—————————————-
<asp:Repeater runat=”server” ID=”rpNews”>
<ItemTemplate>
<a href=’news.aspx?pid=<%#Eval(“pubid”) %>’ class=”news_header”>
<%#Eval(“title”) %>
</a>
</ItemTemplate>
</asp:Repeater>
—————————————-
Code Behind:
—————————————-
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;

public partial class news : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
// Get the MySQL connection string stored in the Web.config
string cnnString = ConfigurationManager.ConnectionStrings["SqlConnStr"].ConnectionString;

// Create a connection object and data adapter
SqlConnection conn = new SqlConnection(cnnString);
SqlConnection conn2 = new SqlConnection(cnnString);

// Create a SQL command object
string cmdText = “SELECT * FROM news ORDER BY dt DESC”;
string cmdText2 = “”;
if(Request.QueryString["pid"] == null)
cmdText2 = “SELECT TOP 1 * FROM news ORDER BY dt DESC”;
else
cmdText2 = “SELECT * FROM news WHERE pubid = ‘” + Request.QueryString["pid"].ToString() + “‘”;

SqlCommand cmd = new SqlCommand(cmdText, conn);
SqlCommand cmd2 = new SqlCommand(cmdText2, conn2);

conn.Open();

SqlDataReader reader = cmd.ExecuteReader();

rpNews.DataSource = reader;
rpNews.DataBind();

reader.Close();
conn.Close();

SqlDataAdapter adapter = new SqlDataAdapter();
cmd2.CommandType = CommandType.Text;

DataSet ds = new DataSet();
adapter.SelectCommand = cmd2;
adapter.Fill(ds);
string d = “”;
string m = “”;
string y = “”;
foreach (DataRow dr in ds.Tables[0].Rows)
{
latestNewsTitle.Text = dr["title"].ToString();
y = dr["dt"].ToString().Substring(0,2);
m = dr["dt"].ToString().Substring(3,2);
d = dr["dt"].ToString().Substring(6,2);
latestNewsDate.Text = d + “/” + m + “/” + y;
latestNewsContent.Text = dr["content"].ToString().Replace(“rn”, “<br />”);
latestNewsPic.Attributes.Add(“src”, “be/data/” + dr["pic"].ToString());
if (dr["pic"].ToString() == “”)
latestNewsImageTr.Visible = false;
}
conn2.Close();

}
}

Convert 2 Actionscript Functions To Php

May 3rd, 2011 Comments off

I want these 2 AS3 function converted into PHP. It must have exactly the same results (same signature and nonce). The signature function uses AS3Crypto with SHA1.

for information:
param1 = the data to encrypt
param2 = secret key
param3 = token key

public function signature(param1:String, param2:String, param3:String = “”) : String
{
var token:* = param2 + “&” + param3;
var _loc_5:* = Crypto.getHMAC(“sha1″);
var _loc_6:* = Hex.toArray(Hex.fromString(token));
var _loc_7:* = Hex.toArray(Hex.fromString(param1));
var _loc_8:* = _loc_5.compute(_loc_6, _loc_7);
var _loc_9:* = Base64.encodeByteArray(_loc_8);
return Base64.encodeByteArray(_loc_8);
}

public static function OAuthNonce() : String
{
var _loc_1:* = new Date();
var _loc_2:* = new Date(_loc_1.getUTCFullYear() + 1970, _loc_1.getUTCMonth(), _loc_1.getUTCDate(), _loc_1.getUTCHours(), _loc_1.getUTCMinutes(), _loc_1.getUTCSeconds(), _loc_1.getUTCMilliseconds());
return (_loc_2.getTime() * 10000).toString();
}

Database Connection String Need Help

April 21st, 2011 Comments off

I need help adding the database connection string to my HTML, connecting to go daddy hosting.

HTML attached, please provide updated HTML with String I will add password.

Database connection details.

MySQL Database Information

Host Name:currsoft.db.7234992.hostedresource.com

Database Name:currsoft

Description:Registeration_Page

User Name:currsoft

Lastnamefirstnamedatedriver.java

April 18th, 2011 Comments off

Program 6
Grading Information: This Program is due on Sunday of Week 6.
Comments are REQUIRED; flow charts and Pseudocode are NOT REQUIRED.
Directions Weight
The files must be named as follows: <LastNameFirstNameDateDriver.java>.
Example: DeweyKenDateDriver.java (driver program)
Date.java (Date class file)
Ensure you include ALL files required to make your program compile and run.
I would like to see your .java files only.
Proper coding conventions required the first letter of the class start with a capital letter and the first letter of each additional word start with a capital letter. 5%
Overall Requirements
Create a class named Date that stores date values and prints out the date in either a pure numeric format or a name and number format (see sample session for format details).
Date.java class file

Categories: Java, Programming Tags: , , , , , ,

Error Notification Via E-mail

April 15th, 2011 Comments off

When you try to log in, if your user name is not Mickey, Minnie, or another user you added (that is, if the user name is not found in tblUserLogin), then an e-mail should be sent to the address recipient(at sign)recipientdomain.com. If the user attempts to bypass the login page by typing a page name in the URL, your web application should redirect the user back to the login page. Once you have verified that it works, save your project, zip up all files, and submit in the Dropbox.

NOTE: E-mails may be blocked due to firewalls, antivirus software, or even Internet service providers that turned off SMTP because of some known security issues. If the code works (does not produce an error when submitting), you will get full credit for this project even if no e-mail message is actually transmitted. Consult with your instructor before submitting if an error occurs or if no e-mail is generated, to be sure.

i L A B S T E P S
STEP 1: Business Layer Functionality (10 points)

1.Open Microsoft Visual Studio.NET 2008.

2.Click the ASP.NET website named PayrollSystem to open it.

3.Create a new class called clsBusinessLayer.

Add the following code in the clsBusinessLayer class:
// **** Add the following at the top of the class file,
// Add your comments here
using System.Net.Mail;

//**** Add the following code inside the body of public class clsBusinessLayer ****

public static bool SendEmail(string Sender, string Recipient, string bcc, string cc,
string Subject, string Body)
{
try {

// Add your comments here
MailMessage MyMailMessage = new MailMessage();

// Add your comments here
MyMailMessage.From = new MailAddress(Sender);

// Add your comments here
MyMailMessage.To.Add(new MailAddress(Recipient));

// Add your comments here
if (bcc != null

Non-crash Navigate Function For Delphi – Webbrowser Vcl

April 11th, 2011 Comments off

1. Job:
I search a function/procedure written in delphi 2010 (or worked on this) that allowed me to navigate to every url without crashing anytimes.
ex: webbrowser1.navigate(everyurl-with-no-crash) So it need to
so the function interception the error that no crash comes.
SurfToUrl(Site : string);

2. Job:
I search a function/procedure written in delphi 2010 (or worked on this) that allowed me to fill field (edit).
ex: SetTextToEdit(fieldname : string, Text : string);

3. Job:
A function/procedure that allowed me to click on buttons. I would like to fill forms and send it.
ex: ClickOnButton(buttonname : string);

4. Job:
When possible search every field (edit), checkbox, radiobutton and take the typed information to a vcl-delphi-memo field. (contact me in the message board).

5. Job:
Show/not show function that allowed to show the field name, checkbox name, radiobutton names on the right site of there. So when I click on a button it show on right the name of the radiobutton in text and so on.
ex: ShowFieldInformation(On : Boolean);

Contact me in the message board of this project, please.

Patch/change Volumeid In An Iso Image File

April 4th, 2011 Comments off

We search a function or procedure in delphi (2006) that change or patch the volumeid number in an iso image file. With volumeid we mean the 4 bytes long number that given a drive after install.
When you use the “dir” command in the dos prompt then you got it in the second line. example: F3H2-A123 or A384-FF23 and so one.

Is this possible to patch this in an iso image file? So when this iso is burning then exact the patched number must on the cd too.

We need to support follow iso images:
with and without Joilet
with and without UDF-Format
for CD
for DVD
for BD (when possible)

So all(most) iso image files must supported. When the code is to long then it must create in an own unit to inlcude it easy.
Example function: PatchISOID(‘c:thefile.iso’, VolumeID);
c:thefile.iso = string for a filename
VolumeID = string
So the string must support all 256 x 4 ways.

The next function that we search is a random procedure that can create per random 256 x 4 ways in a string that can use in PatchISOID.
Example: string := MakeRandomID;
string is now a random “F5A11289″ volume id number.

Patch for an example my attached example.iso with VolumeID FFFF-FFFF.

Programming Project 1269140642

March 21st, 2010 Comments off

Comments are REQUIRED

Directions

The file must be called <YourNameProg1.java> (driver program)
IpAddress.java (IP Address class file)

Example: JohnDoeProg1.java (driver program)
IpAddress.java (stores IP address as an array of four octet int’s.

Ensure you include ALL files required to make your program compile and run.I would like to see your .java files only.

Proper coding conventions required the first letter of the class start with a capital letter and the first letter of each additional word start with a capital letter.

Overall Requirements

Every computer on the Internet has a unique identifying number, called an Internet protocol (IP) address. To contact a computer on the Internet, you send a message to the computer’s IP address. Here are some typical IP addresses:

216.27.6.136
224.0.118.62

There are different formats for displaying IP addresses, but the most common format is the dotted decimal format. The above two IP addresses use the dotted-decimal format. It’s called

Categories: Java Tags: , , , , , ,

English Text String To Spanish

February 22nd, 2010 Comments off

I have file of about 3100 strings in english that I need translated to spanish. More translation is in the pipes.

Each line may contain 1 word, or 2-3 words or even a sentence. On average I would say there is 5 words in each translation string.

This needs to be translated in excel format, line by line. Text between lines has no connections.

Please state your translation experience, and education, and work experience to help us choose correct person for translation.

Fast turnaround and most of all professional work is extremely important.

Lastnamefirstnamedatedriver.ja

February 17th, 2010 Comments off

Directions

The files must be named as follows: <LastNameFirstNameDateDriver.java>.

Example: DeweyKenDateDriver.java (driver program)
Date.java (Date class file)

Ensure you include ALL files required to make your program compile and run.
I would like to see your .java files only.

Proper coding conventions required the first letter of the class start with a capital letter and the first letter of each additional word start with a capital letter.

Overall Requirements

Create a class named Date that stores date values and prints out the date in either a pure numeric format or a name and number format (see sample session for format details).

Date.java class file

Date objects should store the date in two int instance variables

Categories: Programming Tags: , , , , , ,

Date

February 15th, 2010 Comments off

Overall Requirements

Create a class named Date that stores date values and prints out the date in either a pure numeric format or a name and number format (see sample session for format details).

Date.java file

Categories: Java Tags: , , , , , ,
Bear