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

88 Posted Topics

Member Avatar for LastMitch

'Legend of Drunken Master' - Jackie Chan of course. Awesome. Made me wonder what will happen to the martial-arts genre once JC packs it all in. It's all wires and whatnot these days. Who is there to pick up the mantle?

Member Avatar for LoanHensley
6
6K
Member Avatar for Tinnin

Hi everyone, I'm trying to upload an mp4 file on my localhost. The page continuously loads until giving me a Request Timeout. The file is 17Mb. I've tested an image file which is 95Kb and that uploads fine. I've changed various settings in my php.ini which I can see have …

Member Avatar for cereal
0
325
Member Avatar for Tinnin

Hi All, I'm trying to implement an experian bank account checking facility on the systems at work. I'm trying to do this using php and Soap. This is my first time using Soap so I'm not entirely sure if I'm doing it correct. Here is my code: <?php $options = …

Member Avatar for Nicolás
0
7K
Member Avatar for Tinnin

Hi everyone, I have about 20 simple queries running seperately on loading a php page with mysql querying. On my localhost the page takes about 3 seconds to load but on the live server this is over 30 seconds. I'm trying to shave some time off but I'm having trouble …

Member Avatar for Taywin
0
307
Member Avatar for Tinnin

Hi All, I'm trying to set up an application cache for offline viewing. I'm using a custom built mvc framework. I'm having trouble getting anything to work regarding the application cache. It's as though the .appcache file isn't even being picked up. My set up is as follows: referencing the …

0
197
Member Avatar for Tinnin

Hi All, I'm trying to setup ssh key authentication on a git server and remove the password authentication. The server and any clients are all local at the moment. The clients are running Windows 7. I've got the ssh key part set up but I'm having trouble preventing the password …

Member Avatar for Tinnin
0
465
Member Avatar for Tinnin

Hi All, I'm trying to unlink a file. I start with a form and submit it using javascript's submit() (out of necessity). Eventually the php code arrives at a function and unlinks the file (or rather doesn't). Now, the files unlinks when I use die() to exit out of script …

Member Avatar for Tinnin
0
1K
Member Avatar for Tinnin

Hi All, I'm trying to convert a .p12 file to a .pem using php (because, as I understand it, soap needs to take a .pem format certificate) Am I going about it the right way? $certificate = array(); $pkcs12 = file_get_contents('certificate.p12'); if (openssl_pkcs12_read($pkcs12, $certificate, 'pass')) { if (isset($certificate['pkey'])) { $pem …

Member Avatar for gulshanmaurya
0
2K
Member Avatar for Tinnin

Hi All, I'm trying to remove the <head> tag and contents from some html but I'm having no luck. The <head> portion of the html is: <head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style><![endif]--><title>Resume (Origin design)</title><style><!-- /* Font Definitions …

Member Avatar for diafol
0
265
Member Avatar for Tinnin

Hi All, I'm having trouble understanding how the spl_autload (and namespaces) should be implemented. I have the following: namespace A\Core; class Controller { } extended by: class SiteController extends \A\Core\Controller { public function __construct() { echo 'Created SiteController!'; } } * I'm not sure if this is the correct/best way …

Member Avatar for Tinnin
0
282
Member Avatar for Tinnin

Hi All, I have a server that I'm using as a Git repository. I'm trying to clone from this repository to a GoDaddy server. I am getting the error "ssh: connect to host <my git server ip and port>: connection refused. I have checked the ssh_configs, sshd running, rsa keys, …

Member Avatar for Tinnin
0
830
Member Avatar for Tinnin

Hi All, I'm not sure if this is a technical issue, preference or a question about best form. I have a 'users' table and a 'contacts' table. 'users' and 'contacts' have no direct relation. Both contain an email address for each record in their own table. I want to send …

Member Avatar for Tinnin
0
352
Member Avatar for Tinnin

Hi All, I'm trying to display a postal area on Google Maps API within it's boundaries. I want to do this dynamically so that everytime someone changes the text in a text field (entering a postcode or part of), it checks the postcode and calculates the boundaries then displays them. …

Member Avatar for Tinnin
0
9K
Member Avatar for Tinnin

Hi All, I'm very new to Objective-C and I'm developing a "simple" app that just takes user input from a form. There are multiple forms; each is selected from a list, UITableView let's say. The forms have a lot of similar fields but some are different. My question is, do …

Member Avatar for hericles
0
174
Member Avatar for Tinnin

Hi All, I'm trying to setup a scroll for a UIView within a UIScrollView. My view hierarchy is: UIView (Controller) > UIScrollView > UIView (I'll call this subView from this point on) I have used the IB to set the layout. I set the top of the subView to be …

Member Avatar for hericles
0
204
Member Avatar for Tinnin

Hi All, I have a problem with my web page. I'm floating some content to the left so the image below can move up to the right. The content and image are contained in a div with a height set to 100%. When I remove the height or decrease it, …

Member Avatar for Taywin
0
178
Member Avatar for Tinnin

Hi All, I'm running through "Head First Java" and I'm hitting a snag with an exercise involving RMI. My Classes ---- package myremoteimpl; import java.rmi.*; import java.rmi.server.*; /** * * @author Michael */ public class MyRemoteImpl extends UnicastRemoteObject implements MyRemote { public String sayHello() { return "Server says, 'Hey'"; } …

Member Avatar for Tinnin
0
4K
Member Avatar for Tinnin

Hi All, I'm trying to connect to a mysql database using the MySQL Connector from Oracle. I'm hitting my first issue of linking the libraries and was hoping that someone could nudge me in the right direction. What I have done so far: Downloaded mysql-connector-c-6.1.3-osx10.7-x86_64.dmg from http://dev.mysql.com/downloads/connector/c/ In XCode, in …

Member Avatar for Daemon_CC
0
395
Member Avatar for Tinnin

I am running this on my local: <script> $(document).ready(function() { $("#validateButton").click(function() { var forename = $("#Name").val(); var surname = $("#Surname").val(); var dob = $("#DOB").val(); var flatNumber = $("#FlatNumber").val(); var houseName = $("#HouseName").val(); var houseNumber = $("#HouseNumber").val(); var street = $("#Street").val(); var townCity = $("#TownCity").val(); var county = $("#County").val(); var postcode …

Member Avatar for Tinnin
0
364
Member Avatar for Tinnin

Hi All, I'm trying to call data from a php script using getJSON. my php script, php/Validate.php: echo "Hello, World!"; die(); My getJSON bit: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script> $(document).ready(function(){ $("#ValidateButton").click(function(){ $.getJSON("php/Validate.php",function(result){ alert(result); }); }); }) </script> <input type="button" value="Validate" id="ValidateButton"/> I'm not having any luck getting anything output though. Could someone …

Member Avatar for Tinnin
0
3K
Member Avatar for Tinnin

Hi All, Similar problem to my previous post. I've made some progress and managed to get it working on my localhost but on the host server it still flops. I have been told to save the wsdl to file and access it from the file. However, I am not familiar …

Member Avatar for Tinnin
0
497
Member Avatar for Maideen

I think it would be intersting for Maideen to have a look at the regex for email. It doesn't have to be complicated if all you look for is the basic structure. And besides, doesn't js use the same format?

Member Avatar for diafol
0
407
Member Avatar for Tinnin

Hi All, I'm trying to put together a "fade in", "fade out" segment for user comments on a website. The array of comments with key=>value (memberName=>comment) comes from php. I'm looping through using jQuery like so; $(document).ready(function(){ function swap() { <?php foreach ($memberTestimonials as $member=>$testimonial) : ?> $('#testimonialMessage').fadeIn(5000); $('#testimonialMessage').html("<p><?php echo …

Member Avatar for Tinnin
0
366
Member Avatar for Maideen

I would take a look at the way your setting out the variables in the SQL string. Do you need the additional quotations? name={$variable}

Member Avatar for Maideen
0
158
Member Avatar for Tinnin

Hi All, I have this code in my tableView; - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { YFRFormViewController *formViewController = [[YFRFormViewController alloc] init]; NSArray *campaigns = [[YFRCampaigns currentCampaigns] allCampaigns]; YFRCampaignForm *selectedCampaign = campaigns[indexPath.row]; // Give formViewController a pointer to the item object in row formViewController.campaignForm = selectedCampaign; // Push it onto the …

0
108
Member Avatar for Tinnin
Member Avatar for Tinnin

Hi all, I've bought the book "Objective-C Programming - The Big Nerd Ranch Guide" and I'm running through the beginning chapters which just regard C. I'm doing this on my laptop running linux as I don't have a Mac (yet). I'm having trouble with this code: #import <stdio.h> #include <readline/readline.h> …

Member Avatar for Tinnin
0
2K
Member Avatar for Tinnin

Hi all, I'm trying to use the following code to see if a method exists and then use it if it does: $method_exists = method_exists('myclass', 'mymethod'); if ($method_exists && isset(myclass::mymethod('blah')) { but I am getting the following error: Fatal error: Can't use function return value in write context I've looked …

Member Avatar for Tinnin
0
301
Member Avatar for Tinnin

Hi all, I'm running through the book "The C Programming Language" by *Kernighan & Ritchie* and I'm having some trouble with one of the exercises. "Write a program to determine the ranges of char, int, short and long variables, both signed and unsigned, by printing appropriate values from standard headers …

Member Avatar for Ancient Dragon
0
195
Member Avatar for Tinnin

Hi All, I've just started to learn C from "The C Programming Language" (Kernighan). One of the exercises asks you to write function that folds a line of text into newlines after x number of characters without splitting a word. This is my attempt so far: // fold: folds the …

Member Avatar for Tinnin
0
189
Member Avatar for Tinnin

Just a curiosity really. I can't find a reason for it anywhere. Why doesn't php mail() mailto allow you to use a semicolon to separate the email addresses?

Member Avatar for cereal
0
925
Member Avatar for Tinnin

I know this has been asked on almost every forum but I've been at this for two evenings now and I'm stumped. PHP 5.4.6-1ubuntu1.2 Server version: 5.5.31-0ubuntu0.12.10.1 (Ubuntu) Initially I had no access to mysql functions either but that hurdle has been overcome. I've placed the extension modules (.so files) …

Member Avatar for Tinnin
0
3K
Member Avatar for edensigauke

Not mine. I'm afraid I forgot who it belongs to. Check my previous posts, I'm sure it's in there somewhere. Anyway... // Function to send emails with multiple attachments: function multi_attach_mail($to, $files, $sendermail, $message_details = "", $cc = "", $attachment_subject = ""){ // email fields: to, from, subject, and so …

Member Avatar for Tinnin
0
517
Member Avatar for Tinnin

Hi all, I am running the following command: time wc filename >wc.out 2>time.out in order to place the `wc` output into wc.out and the output from `time` into time.out. wc.out is fine but time.out is empty. I can't see where I am going wrong. Thanks for any help offered.

Member Avatar for Tinnin
0
142
Member Avatar for Tinnin

Hi all, I am running through the book "PHP Advanced and Object Oriented Programming" by Larry Ullman and I am currently trying to use a mod_rewrite to change my GETs to look like standard URLs. I am running the site on my localhost. My .htaccess file is being read (tested …

Member Avatar for Tinnin
0
228
Member Avatar for Tinnin

Hi All, I am running the following query: UPDATE YFR_Master_Fundraisers SET FRActive=0 WHERE FRNameCode IN ( SELECT FundRaiser FROM YFR_Master GROUP BY FundRaiser HAVING MAX(CollectionDate) < DATE_SUB(CURDATE(),INTERVAL 2 MONTH) ) It is giving the error described in the subject line. The query seems to be taking too long and timing …

Member Avatar for Tinnin
0
647
Member Avatar for Tinnin

I've been using Linux for about half a year now but I'm definitely not taking full advantage of it as my knowledge regarding it is weak. I've seen some recommendations for the book "Unix Programming Environment by PIKE ROB KERNIGHAN BRIAN W. (1984)" but I can't help wondering if such …

Member Avatar for rubberman
0
171
Member Avatar for php.coder
Member Avatar for Tinnin

Hi all, I'm trying to run a stored procedure: BEGIN SELECT YFR_Master_Fundraisers.FRName, YFR_Master_Fundraisers.FRActive FROM YFR_Master INNER JOIN YFR_Master_Fundraisers ON YFR_Master.FundRaiser = YFR_Master_Fundraisers.FRNameCode GROUP BY YFR_Master.FundRaiser HAVING MAX(YFR_Master.CollectionDate) < DATE_SUB(CURDATE(),INTERVAL 2 MONTH) AND YFR_Master_Fundraisers.FRActive = 1; END But I'm getting the following error: Procedure execution failed 1312 - PROCEDURE db355379982.Deactivate can't …

Member Avatar for Tinnin
0
181
Member Avatar for Tinnin

Hi all, I have the following query: SELECT A.Name, MAX(B.VisitDate) AS 'Last Visit Date', A.Active FROM B INNER JOIN A ON B.NameCodeB = A.NameCodeA GROUP BY B.NameCodeB HAVING MAX(B.VisitDate) < DATE_SUB(CURDATE(),INTERVAL 2 MONTH) AND A.Active = 1 This selects a list of all people in the database who last visited …

Member Avatar for Tinnin
0
199
Member Avatar for Tinnin

Hi all, I'm trying to run an update query using the following code: <?php require_once('myConnect/connect.php'); $email = mysqli_real_escape_string($dbc, $_GET['e']); $ac = mysqli_real_escape_string($dbc, $_GET['ac']); $checkQuery = "SELECT subscribed FROM myUsers WHERE email='$email'"; $checkQueryResult = @mysqli_query($dbc, $checkQuery); $row = mysqli_fetch_assoc($checkQueryResult); if ($row['subscribed'] == 1) { echo '<p><b>This account has already been activated!</b></p>'; …

Member Avatar for diafol
0
216
Member Avatar for imBaCodes
Member Avatar for somjit{}

One Piece Bleach Death Note Trigun Naruto Dragonball (Classic. This is what first got me hooked) FMA (Like Rev says, second is definitely best) FairyTail (really loving this one) Katekyo Hitman Reborn (slightly disappointing - the manga is drawn really well though) Code Geass (not watched the second part yet) …

Member Avatar for alyssa.wilkins.77
0
396
Member Avatar for Tinnin

I have a function that I intended to be able to remove duplicate rows in an excel worksheet. I pass it $objPHPExcel which has gone through the following function function checkExtension($inputFileName) { if (pathinfo($inputFileName,PATHINFO_EXTENSION) == "csv") { $inputFileType = 'CSV'; $objReader = PHPExcel_IOFactory::createReader($inputFileType); return $objPHPExcel = $objReader->load($inputFileName); } else { …

Member Avatar for Tinnin
0
4K
Member Avatar for <M/>

My most annoying habit (for me) is planning leisure activites that I know will probably never happen due to time constraints and other grown-up commitments. I think planning these things is now a leisure activity for me. And I'm not even talking about big events, I'm talking about playing xbox …

Member Avatar for vinnitro
0
248
Member Avatar for Tinnin

I'm using the following code to write to a csv Dim str As New StringBuilder Dim dr As DataRow Dim field As Object Dim column As DataColumn myds.Tables(0).AcceptChanges() For Each column In myds.Tables(0).Columns str.Append(column.ColumnName.ToString & ",") Next str.Replace(",", vbNewLine, str.Length - 1, 1) For Each dr In myds.Tables(0).Rows For Each …

Member Avatar for tinstaafl
0
1K
Member Avatar for Tinnin

Hi All, I have two datasets, myds.Tables(0) and UmbrellaFromExcelDataSet.CancelTemplate . I've updated the UmbrellaFromExcelDataSet.CancelTemplate using data from myds.Tables(0) and now I want to put that data update into the database that it orignally came from. The database isn't updating though. My code is as follows: Me.UmbrellaFromExcelDataSet.CancelTemplate.AcceptChanges() Dim csvRow As DataRow …

Member Avatar for Tinnin
0
118
Member Avatar for Tinnin

Hi All, I've tried the following to format my date in 'dd/mm/yyyy' instead of 'dd/mm/yyy hh:mm:ss' when importing data from csv to DataSet. CONVERT(VARCHAR(10), [dateColumnName], 103) AS [DD/MM/YYYY] and CONVERT(DATETIME, [dateColumnName], 101) AS [DD/MM/YYYY] Both give me the error: Undefined function 'CONVERT' in expression What would be the correct method …

Member Avatar for Tinnin
0
577
Member Avatar for Tinnin

I'm currently updating my CV ands seeing what's out there. On my CV I say that "I have knowledge of such and such language / scripting / etc" but I wouldn't say that I "know" any of these things. So I was just wondering, when would you feel that you're …

Member Avatar for TonyG_cyprus
0
223
Member Avatar for Tinnin

Hi all, I'm trying to bring up a table of data using a select query to create a DataSet that I'm displaying in a datagrid. When I use SELECT * FROM myTable it works fine, but when I only want the specific columns SELECT URN, 'CanX Reason', 'Date to take …

Member Avatar for Tinnin
0
173

The End.