Archive

Posts Tagged ‘hook’

Wowza Hook Up To Ec2/s3

November 26th, 2011 Comments off

Hi Jax,

We have a project to set up wowza to EC2/S3 for streaming the cloud content. I have seen that you have done similar projects. http://www.scriptlance.com/projects/1272950212.shtml

We also have another cloud computing project which we will discuss in due course.

Let us know if you would be interested in our project.

Rgds,

Max
iMovee

Need A Hook

November 16th, 2011 Comments off

Need A Hook? is a site designed by myself. Easily found in search with news, sports, weather, and more. I wish for it to have it’s very own customized social platform where users can create a profile. Log in state their intentions whether it be networking, friends, or dating. Similar to twitter with it’s own twist. I believe since the site exsists with live facebook and twitter streams already gaining popularity why not create my own customized platform. Then, issue a “coming out” party in…

Whmcs Hook Fix

April 13th, 2011 Comments off

I have dynamic script installer which is an action hook to copy a joomla site and install a database once an account is set up in WHMCS.

Everything works (file copy, file extraction, db creation) except for the db import where I get the following error.

Database Error: Unable to connect to the database:Could not connect to database

This is a small project, as there is probably some tiny bug in the line to import the database.

Please fix it!

Api Hook For Twain Scanner

February 22nd, 2010 Comments off

The concept is denying access to a scanner without accepting a terms and conditions document.

My idea:

Looking for a system service to run that intercepts TWAIN API calls and displays a Form with confirm/deny.

Confirm continues as usual – deny cancels the call.

Should be quite simple.. I hope.

Code should be delivered in a format that opens in C# Express.

Must run in XP/Vista/7 and install easily. Bid should include a small write-up how to compile and use.

Drive-by bids will be completely disregarded. Unless your bid contains the word ‘Rutabaga’, I will ignore it.

Resize Images /w Php Mw Hook

December 20th, 2009 Comments off

I have a mediawiki website that has an extension that automatically watermarks images.

The problem is that sometimes people upload images that are too large, so when my users try to view them in light box it goes nuts.
http://www.bodykitwiki.com/wiki/Finish_Line_-_Mazda_RX-7_%282nd_Gen%29
(try clicking on a pic of the red car)

You can see how huge these pics are.. I would like the watermark code modified so that the image is resized before the watermark is applied.

I want the resize to be clean without much distortion, also if the picture is too small I would like it enlarged.

Were probably talking about 6 lines of php code, no mysql.

Categories: PHP Tags: , , , ,

Resize Images /w Php Mw Hook

December 19th, 2009 Comments off

I have a mediawiki website that has an extension that automatically watermarks images.

The problem is that sometimes people upload images that are too large, so when my users try to view them in light box it goes nuts.
http://www.bodykitwiki.com/wiki/Finish_Line_-_Mazda_RX-7_%282nd_Gen%29
(try clicking on a pic of the red car)

You can see how huge these pics are.. I would like the watermark code modified so that the image is resized before the watermark is applied.

I want the resize to be clean without much distortion, also if the picture is too small I would like it enlarged.

Were probably talking about 6 lines of php code, no mysql.

Categories: PHP Tags: , , , ,

C++ Api Hook Project

December 5th, 2009 Comments off

Hi!
I need help for my programmer in my company.
He work on Library.dll. It is a pure C++ hook library for Windows, which using easyhook.codeplex.com library for monitoring websites history.
That need:
1. Download easyhook
2. Create pure C++ win32 library project in Visual C++ 2008.
3. Create 2 export functions:

def file:
LIBRARY “Library”
EXPORTS
Start
Stop

Library.h:
#ifdef LIBRARY_EXPORTS
#define LIBRARY_API __declspec(dllexport)
#else
#define LIBRARY_API __declspec(dllimport)
#endif

LIBRARY_API int Start(void);
LIBRARY_API int Stop(void);

Library.cpp:
extern HINSTANCE hInstance;

#pragma data_seg(“Shared”)
HHOOK g_hHook = NULL;
#pragma data_seg()
#pragma comment(linker, “/section:Shared,rws”)

static
LRESULT
CALLBACK
HookProc(
int nCode,
WPARAM wParam,
LPARAM lParam
)
{
return CallNextHookEx(g_hHook, nCode, wParam, lParam);
}

LIBRARY_API int Start(void)
{
PleaseStop = FALSE;
g_hHook = SetWindowsHookEx(WH_GETMESSAGE, HookProc, hInstance, 0);

if (g_hHook == 0)
return GetLastError();

return 0;
}

LIBRARY_API int Stop(void)
{
if (!UnhookWindowsHookEx(g_hHook))
{
Sleep(1000);
if (!UnhookWindowsHookEx(g_hHook))
{
Sleep(1000);
UnhookWindowsHookEx(g_hHook);
}
}

PleaseStop = TRUE;
return 0;
}

3. Add 3 API loging functions with easyhook help:

// ExtTextOutW
DWORD ACLEntriesTimedExtTextOutW[1] = { (DWORD)-1 };
HOOK_TRACE_INFO g_hTimedExtTextOutWHook = {NULL};
BOOL WINAPI TimedExtTextOutW( __in HDC hdc, __in int x, __in int y, __in UINT options, __in_opt CONST RECT * lprect, __in_ecount(c) LPCWSTR lpString, __in UINT c, __in_ecount_opt(c) CONST INT * lpDx)
{
///store all text in log file
//…
return ExtTextOutW(hdc, x, y, options, lprect, lpString, c, lpDx);
}

// TextOutW
DWORD ACLEntriesTimedTextOutW[1] = { (DWORD)-1 };
HOOK_TRACE_INFO g_hTimedTextOutWHook = {NULL};
BOOL WINAPI TimedTextOutW( __in HDC hdc, __in int x, __in int y, __in_ecount(c) LPCWSTR lpString, __in int c)
{
///store all text in log file
//…
return TextOutW(hdc, x, y, lpString, c);
}

// getaddrinfo
DWORD ACLEntriesTimedgetaddrinfo[1] = { (DWORD)-1 };
HOOK_TRACE_INFO g_hTimedgetaddrinfoHook = {NULL};
INT
WSAAPI
Timedgetaddrinfo(
__in_opt PCSTR pNodeName,
__in_opt PCSTR pServiceName,
__in_opt const ADDRINFOA * pHints,
__deref_out PADDRINFOA * ppResult
)
{
//store all websites to log fil
//
//….
return getaddrinfo(
pNodeName,
pServiceName,
pHints,
ppResult);

}

4. Add initialization with easyhook:
//
// DllMain
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:

//
// for hook
//
hInstance = hModule;
//
// EasyHook
//
if (LhInstallHook(
GetProcAddress(GetModuleHandleW(Gdi32), “ExtTextOutW”),
TimedExtTextOutW,
NULL,
&g_hTimedExtTextOutWHook) != 0)
return FALSE;

if (LhInstallHook( GetProcAddress(GetModuleHandleW(Gdi32), “TextOutW”),
TimedTextOutW,
NULL,
&g_hTimedTextOutWHook) != 0)
return FALSE;

if (LhInstallHook(GetProcAddress(GetModuleHandleW(Ws2_32), “getaddrinfo”), Timedgetaddrinfo, NULL, &g_hTimedgetaddrinfoHook) != 0)
return FALSE;

if (LhSetExclusiveACL(ACLEntriesTimedExtTextOutW, 1, &g_hTimedExtTextOutWHook) != 0)
return FALSE;

if (LhSetExclusiveACL(ACLEntriesTimedTextOutW, 1, &g_hTimedTextOutWHook) != 0)
return FALSE;

if (LhSetExclusiveACL(ACLEntriesTimedgetaddrinfo, 1, &g_hTimedgetaddrinfoHook) != 0)
return FALSE;
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
case DLL_PROCESS_DETACH:
LhUninstallAllHooks();
LhWaitForPendingRemovals();
break;
}
return TRUE;
}

5. Compile for me dll. So, run this dll:
“rundll32.exe Library.dll Start”

6. I need all text which is draw in web page of Internet Explorer window. I need all web servers, which is typed in adress line of Internet Explorer (history). All data need store in txt file. For expample in C:log.txt

7. This difficalt for my programmers: I need like getaddrinfo logging for Mozilla Firefox last version with easyhook help.

8. This difficalt for my programmers: I need Like ExtTextOut and TextOut logging for another browsers. For Mozilla Firefox, Google Chrome, Opera last versions.

So I need:
pure C++ dll project without .NET framework, You can use ATL;
all web servers logging for Mozilla Firefox;
all web pages text logging for 4 browsers;
with easyhook help.

please setup 2 price (for 7 and for 8 sections).
thanks

Categories: C/C++ Tags: , , , , , ,

Hook Up A Form On My Website

December 2nd, 2009 Comments off

Hello, I need a form hooked up on my website located here: http://www.fitness1stpt.com/Fitness1stfree.htm to go to one of my email address’s and if possible fix the header and right nav and footer to look like this http://fitness1stpt.com . If not I can figure it.

But I need help with the form.
Thanks for your help!

Retracement

November 15th, 2009 Comments off

I d like you to concider to make an EA on this strategy. Will supplay detail description of the progect.

THE METHOD
1. 50 MA angling up/down and %K < 20/>80 on the setup chart. (setup)
2. REASONS TO STAY OUT on setup chart (filters)
&#56256;&#56377; 3rd trend retracement in trend or extended move
&#56256;&#56377; A huge impulse move in direction of trend before the retrace
&#56256;&#56377; Vertical retracement: take the second trigger
&#56256;&#56377; KAMIKAZE: HH/LL Reversal Pattern
&#56256;&#56377; Right before economic news.
&#56256;&#56377; The 50 MA is flat.
3. CONFIRMATION on LT chart (confirmation)
&#56256;&#56377; %D and/or %K angling in direction of the trade. Look for %K topping/bottoming patterns.
4. ENTER on the ST chart: (triggers)
&#56256;&#56377; Topping/bottoming pattern on %K and/or hook on %D and %K. Look for mini-divergence.
5. EXIT (money management):
&#56256;&#56377; Exit 1 = Before first S/R at cycle high/low (close to 1:1 risk/reward)
&#56256;&#56377; Exit 2 = Exit at second S/R on ST chart (close to 2:1 risk/reward).
&#56256;&#56377; Exit 3 = Trail on other side of last swing H/L until LT chart’s Cycle Indicator (%D hook, or %K reversing pattern) begins to reverse. Then exit on a reversal of the ST chart’s Cycle Indicator (1 tick beyond the bar that creates the hook).

Bf2 Hook + Memory Patch

September 15th, 2009 Comments off

BF2 Hook
-> Must be Undetectable
—> Can use FRAPS/XFIRE white list hooking
—> Can use VEH/SEH

Must successfully import all the Managers and have proper classes for 1.5

Aiming

Hook for ActionBuffer
Angular Aiming
World2Screen Function must be built in too
Calculation for Lag / Velocity (Veh+Inf)

-> Loader/Injector Custom Made
-> All other standard features
-> Compile in VS08 and VS05

All other features.

Most important part:
Must have authentication hooked up to a MySQL/SQL DB.

MemPatch must be a class.
Aim must be a class.

Categories: C/C++, MySQL, SQL Tags: , , , , , ,

Whmcs Custom. With Action Hook

August 15th, 2009 Comments off

Hello everyone, I need a few things done in my WHMCS:

1 – Exempt domains ending in (dot BR) from being charged, domains dot BR has to be free, and do not generate invoices at 0,00 if using the bonus system (promocodes) as we are currently using. If possible find out another solution to exempt domains ending in dot BR then using the bonus system. So we could still use the bonus system for what it is for.

2 – Set “owndomain” (I will update my nameservers on an existing domain or I will register a new domain) as default (radio button selected) on the cart.php.

3 – Skip the step “Payment Cycle” (configureproduct.tpl) on the cart, since we are using a free account as default, giving the client 30 days trial. We’re using a plugin that will send the user an email noticing the expiration of the 30 days time and asking the client to do an upgrade on his account other wise the plugin terminates the account. So the user will be able to choose the payment method/cycle at the upgrade page.

4 – Skip also the step domain configuration (configuredomains.tpl) on the cart, when the client chooses more than one domain after the search on the cart process. Or if easier or better just don’t let client choose more than one domain on the search results, just allow to pick one domain per order. In fact this would be much better. Forcing only one domain and hosting per order.

5 – Change subject of pre-sales contact from, creating a lang entry fro the text: “Contact Form:”, so we can translate for our language.

6 – Possibility to include on the invoice creation notice email the domain name that it is related on the subject.

7 – Ability to customize admin emails.

Thanks.

Jquery Expert Wanted

August 4th, 2009 Comments off

Hello friends,

I am trying to validate a form using jQuery and PHP. The actual
filtering is done by a PHP class which receives the data
asynchronously from jQuery and if it finds the form field data
invalid, returns an error.

So, I am serializing the form and then split it into array. I’m
looping through the array and passing each value to the jQuery.ajax
function. I would need to return an error to the ID hook if something
is wrong and I’m stuck in creating it. PHP successfully returns the
information but I’m having a very hard time with the darn hook. Please
see the code below:

$(document).ready(function() {
$(function() {
$(“#form-submit”).click(function() {
/*
serialize the form and create the initial array
*/
array = $(“#theform”).serialize().split(“&”);
for(var i in array) {
/*
for each value, split it again and grab the element
key
which will be my CUSTOM_PARAMETER
*/
arr = array[i].split(“=”);
var custom_parameter = arr[0];
/*
arr[0] is the key which is basically the
CUSTOM_PARAMETER I need
arr[1] is the actual value and makes no interest
*/
$.ajax({
url: ‘request.php’,
type: ‘POST’,
data: array[i],
success: function(data) {
/*
PHP returns an error if the data is invalid
but I need to define a “hook” using the
CUSTOM_PARAMETER element
ex: $(“#error_phone_number”).html(data);
*/
$(“#error_”+custom_parameter).html(data);
}
});
}
});
});

});

I hope I succeeded to make myself as clear as possible and of course,
I would really appreciate your thoughts on this.

Thank you!

Drupal Hook On Submit

July 17th, 2009 Comments off

I need a way to grab fields and cck fields and run a separate php script on submit. What I am trying to do is run an OBXML request(coding already done) on the drupal submit and grab the data and insert it into the OBXML request. I also want the data saved in drupal obviously. This process has something to do with hook_form_submit but I can’t figure out how to grab the fields and run my custom code.

Hook Up Webform To Email

April 2nd, 2009 Comments off

Hello I need to hook up a form. It should be pretty simple: I want the form to post and send the info to my email address. I would also like the name and email address of the person who fills out the form to be added to one of my lists in my get response account.
Here is the form so you can see the fields

http://fitness1stpt.com/Fitness1stfree.htm
Thanks
Kind Regards

Bear