Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~14.7K People Reached

22 Posted Topics

Member Avatar for sushu1209

Funny enough I'm doing a very similar thing right now. I couldn't find a solution native to the language I originally used (VBScript) by googling so what I did was create a custom ghostscript script PDF2PDF and call it from the OS shell. I'm now porting the program to PHP …

Member Avatar for Dani
0
6K
Member Avatar for BenWard

Hi Guys, I'm after a user interface element for ionic that operates like a cross between a range slider http://ionicframework.com/docs/components/#range and spinner. Essentially the 'button' or tag that you would drag from side to side in a range needs to stay in the middle, but as you swipe, the scale …

Member Avatar for BenWard
0
563
Member Avatar for MikdadAli

Hi, If you want to learn about programming in PHP then we'll be happy to offer some guidance and help you learn but understand no-one here is going to write a solution for you - you simply won't learn anything that way. If you want to get the submitted firstname …

Member Avatar for BenWard
0
227
Member Avatar for BenWard

Hi Guys, I've been playing around with Angular and Ionic tutorials and I'm attempting to put together things I've learnt from different tutorials to build a simple NPR audio player. I have a really really anoying issue with ng-show/ng-hide... Basically, in the bottom left hand corner of my application I …

Member Avatar for BenWard
0
518
Member Avatar for Lau_1

Don't have time to read through your code properly but I'd probably do something like default tempValue to null, reset tempValue to null at the end of an operation and then check if tempValue is null before performing an operation. This would ensure that the operators only actually operate when …

Member Avatar for BenWard
0
426
Member Avatar for BenWard

Hello, I'm having some trouble with CURL. I'm trying to use a web service to get a customer's name and address but it fails to send my post data when I use NTLM proxy authentication. $xmlToSend = "<?xml version=\"1.0\" ?> <soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:dat=\"$this->service\"> <soapenv:Header /> <soapenv:Body> <dat:CustomerDataRequest> <dat:SystemAuthentication> <dat:username>$this->user</dat:username> <dat:password>$this->pass</dat:password> …

Member Avatar for BenWard
0
1K
Member Avatar for BenWard

Hello, I thread hijacked earlier today... probably shouldn't have, sorry if that annoyed anyone. Anyway I have an issue using LookupAccountSid in a visual studio 2013 project running on Windows 7 Pro x64. First of all, it works perfectly in debug, but doesn't work when built for release. What I …

Member Avatar for BenWard
0
1K
Member Avatar for koleanu

Holy thread revival batman! I am today having this exact same issue :( I have a loop that goes: get a directory for each subdirectory get DACL from subdirectory for each ace get the sid if allow or deny isValidSid() ? YES LPWSTR myTrusteeName = _T(""), myDomainName = _T(""); DWORD …

Member Avatar for BenWard
0
408
Member Avatar for thewalrus

To expand on the previous answer look at this line of code... Apologies if you're already familiar with this but given the question I got the impression you might not have had this explained to you. public static void main(String[] args) This method called main is the method/function that runs …

Member Avatar for TylerD75
0
370
Member Avatar for moaz.amin.37

You could make a list of invalid combinations of opertors eg /*, */, ++ etc and stick them in a static final array. Loop through them comparing them to your input with String.contains(). It wouldn't matter if you had +++ entered by the user because ++ will still get picked …

Member Avatar for BenWard
0
417
Member Avatar for davy_yg

What exactly is your issue? Is the table not giving you any rows or is your alternating background not working? I normally assign attributes to the cell not the row, but I do this with CSS not old-school attributes eg style="backgound-color: white;"

Member Avatar for mattster
0
225
Member Avatar for ankit1122
Member Avatar for ankit1122
0
102
Member Avatar for BenWard

Hello, I'm having some trouble with a £ sign, it's being displayed to the user as the <?> question-mark-in-a-black-diamond icon. I have an SQL Server database with a £ in a table. (Collation Latin_General_C1_AS which is analoguous to 8859-1) I have a PHP script which retreives this record without issue …

Member Avatar for BenWard
0
275
Member Avatar for mark103

Hi, I'm struggling to see exactly what you're after here. Is http://www.mysite.com/myscript.php?getime returning "10:00 AM" and you want to convert it to 20140424100000? If so I'd probably go with somthing like: $timeString = "10:00 AM"; $dayIncrement = 0; $myYear = 2014; $myMonth = 4; $myDay = 24; //separate the time …

Member Avatar for diafol
0
276
Member Avatar for Siberian

Hi, I'm not sure of any such applications out there, there may be one somewhere but your requirements are too specific to be likely to find an exact match amongst the opensource gallery projects out there. You might do best to build your own on top of an existing full-featured …

Member Avatar for Siberian
0
159
Member Avatar for rpv_sen
Member Avatar for rpv_sen
0
290
Member Avatar for BenWard

Hi, I've got a class in PHP with an array of objects in it. I need to loop through these objects and call 2 methods on them but I'm not sure of the best approach. When dealing with arrays, if you use foreach, you can't seem to update the actual …

Member Avatar for BenWard
0
234
Member Avatar for BenWard

I had to map a network drive with specific credentials in my PHP script and it kept falling over because I'd already navigated to the drive in windows explorer. This snippet will unmap a network drive using COM regardless of whether or not there is a drive letter associated with …

0
619
Member Avatar for jacob21

maybe try to alias the table in your join and don't use select *

Member Avatar for jacob21
0
163
Member Avatar for BenWard

Hello, Whilst writing this I actually fixed the issue but I thought I'd post anyway as this technique might be useful to others... I have a javascript class I wrote (alas I can't post the whole code as the IP technically belongs to the company I work for) which presents …

Member Avatar for BenWard
0
401
Member Avatar for BenWard

Hello you wonderful people you. I am getting most upset with a pathetically unimportant bit of code. I have an iFrame. This iFrame loads a php script, the php script is not however html, it is a pdf document generated on the fly with FPDF. I have a second iFrame, …

Member Avatar for LastMitch
0
207
Member Avatar for BenWard

Hello, I'm having some trouble with SQL CE. The below code *should* insert a record into the 'maps' table. (table adapters all set up) sometimes it says cannot insert as breaching primary key constraint, which is fine, but it otherwise fails with cannot insert NULL into iMapId. I have checked …

Member Avatar for BenWard
0
128

The End.