Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~31.8K People Reached
PC Specs
Windows XP, Vista
Favorite Tags
Member Avatar for scaiferw

I would like to capture the modification date from a log file on the client machine in order to warn users (technical on an internal website) that they have not run updates for a given subsystem. Is there a way to do this? I've done this sort of thing before, …

Member Avatar for veedeoo
0
200
Member Avatar for scaiferw

I'm converting some old work to mysqli, and having a bit of trouble with Prepared Statements. In the stripped down code sample below, I'm able to confirm that the code below pulls the records; line 8 echoes the string as expected and if I replace the id parameter with something …

Member Avatar for diafol
0
206
Member Avatar for scaiferw

I'm converting old MySQL code to MySQLi, and running into some questions. When selecting data from the database, is it necessary or strongly advised to use prepared statements, or can I safely escape my user-derived parameters like the sample below? In a perfect world I'd have all the time I …

Member Avatar for scaiferw
0
232
Member Avatar for scaiferw

Sorry in advance if this is the wrong place for this, it's the closest I could find. I need to create a macro for an Excel 2010 spreadsheet so that the active cell will cycle through three choices: "Y", "N" or "" - the last being simply an empty string …

Member Avatar for scaiferw
0
221
Member Avatar for scaiferw

I have a table that shows tabular data across 7-8 columns, which works very well on a standard monitor. However, on a smartphone or even a tablet, it's a little less functional. Is there a way to automatically condense the data into fewer columns when the page is being view …

Member Avatar for Violet_82
0
263
Member Avatar for scaiferw

I have a lab management webapp that lists servers on my network. With a click in IE I can open a terminal services session to that server. The code - shown below - works in IE, but not in chrome or firefox. Can anyone suggest how I can make this …

Member Avatar for LastMitch
0
288
Member Avatar for scaiferw

I have a series of user records in the form "`Lname, Fname (ABCD)`" where `ABCD` is the division the user works in. I need to be able to extract that substring so I can sort on it, count etc to I can see what divisions are using resources. In MySQL …

Member Avatar for scaiferw
0
102
Member Avatar for happygeek

Over the last couple of days the online media seems to have gone crazy for the news that the Google Chrome web browser client has overtaken Microsoft Internet Explorer to become the most popular browser on the planet. This based entirely upon the fact that, for a single week, and …

Member Avatar for scaiferw
0
703
Member Avatar for scaiferw

I have a form to edit a table record, and am having trouble with it in Chrome. In IE7 it works fine, in Chrome it does nothing. It uses javascript because there is a sprite to change the button on hover. Any ideas? I'm stumped and would appreciate any help …

Member Avatar for AleMonteiro
0
366
Member Avatar for Resentful

Hello, everyone. I've recently switched hosts and the same script I was running in the past is now causing the rest of my MySQL queries to be locked, and it seems the query never completes. The code is: <? $con = mysqli_connect('localhost','user','password', 'database'); $Q = "DELETE FROM `Table1` WHERE `Field1` …

Member Avatar for Larry_Singleton
0
143
Member Avatar for scaiferw

I'm dipping my toe in the water of salted passwords by upgrading an older webapp, and would like to present the rough outline of how my system would work in the hope that those with more experience than I might tell me if I'm going in the right direction; In …

Member Avatar for diafol
0
193
Member Avatar for scaiferw

I'm new to MSSQL though I have some grounding in MySQL. At the moment, I'm trying to use a variable. Reduced to simpler form, my query to search people with 'and' in their name is: DECLARE @MyVar nchar; SET @MyVar = '%and%'; SELECT name,email FROM db.dbo.users WHERE name LIKE @MyVar; …

Member Avatar for scaiferw
0
97
Member Avatar for scaiferw

My users arrive on the page, optionally with a query string. The query string data - if present - goes into a textarea element in a form, where it may be edited, then POSTed back to the page with the submit button. Now I have a bit of a mess …

Member Avatar for scaiferw
0
654
Member Avatar for vestervang

I'm trying to make my first gallery with PHP and I'm having some problems i can't solve. My code looks like this: <?php include_once('config.php'); //Script der uploader og omdøber billeder if(isset($_FILES['billede'])){ $errors = array(); $allowed_ext = array('jpg','jpeg','gif','png', 'bmp'); $file_navn = $_FILES['billede']['name']; $file_ext = strtolower(end(explode('.', $file_navn))); $file_tmp = $_FILES['billede']['tmp_name']; $file_size = …

Member Avatar for vestervang
0
272
Member Avatar for DaveyMoyes

Hi All, I have the following mobile re direct script working on one website, but not another, For some reason I am getting the error - Can not modify headers information - header already sent - etc etc On line 20 Any ideas why this would work for one website …

Member Avatar for hakeemtunde
0
312
Member Avatar for scaiferw

I have a configuration table with one row per configuration item (id,category,name,value,description,comment). My objective is to create a single edit page that shows all, or a subset, of these values and allows me to edit them. I could probably create a page with a separate form and submit button for …

Member Avatar for scaiferw
0
110
Member Avatar for cubalibras

Hello all, I'm trying to set up an add contacts page but when I click submit then check the database there is nothing there. I ran my sql query in phpMyadmin and got an error but for the life of me I cannot figure out what is wrong. I can …

Member Avatar for scaiferw
0
244
Member Avatar for saraartist

hi everyone I recently designed my webpage via notepad++ I am very basic at this, right now some pages of my site doesn't show up in other browsers than firefox. (like the contact form in contact page doesn't show in IE) please help me what to do. Also it seems …

Member Avatar for scaiferw
0
800
Member Avatar for scaiferw

I'm new to triggers, but have been working with MySQL for quite a while. Now I need to implement a trigger. I want to create a trigger on my 'persons' table so that after an update, ***if the attribute clubid is changed***, attribute clubname should be changed. I have a …

Member Avatar for scaiferw
0
230
Member Avatar for scaiferw

I have a lab management webapp that lists servers on my network. With a click in IE I can open a terminal services session to that server. The code works in IE, but not in chrome or firefox. Can anyone suggest how I can make this work in Chrome (Firefox …

Member Avatar for scaiferw
0
129
Member Avatar for mlhazan

I spent almost whole evening to understand the following code: [CODE] <?php $link = mysql_connect('localhost', 'root', 'root'); if (!$link) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db('database_1.1'); if (!$db_selected) { die('Could not select database: ' . mysql_error()); } $query = 'SELECT last_name, first_name FROM Employee'; $result = …

Member Avatar for scaiferw
0
129
Member Avatar for bflack

I've created this function and I wonder if ever I COULD USE VARIABLES IN reading column values on database table. [CODE] function vote($column, $imgid)//the $column stands for a variable handling a string I've passed from my previous call. For now I am setting it as a string named "likes" which …

Member Avatar for scaiferw
0
119
Member Avatar for scaiferw

Working in Word 2010, I have a long document with many formatting changes to be made. To start with, throughout the document I'd like to replace "Click OK" with "Click [B]OK[/B]", so the OK will be bold but not "Click". I also need it to be case insensitive, as some …

0
113
Member Avatar for kk_pbr

Hi ! I need your helps. i m developing tour website. i have no idea about flight reservation. requirement is as under: 1- user selects origin/ destination , date of travel, number of passengers ( adult/child/infant). 2-view the available flights 3- selects flights 4-get the fare/ taxes/rules of the ticket/total …

Member Avatar for aa26i
0
195
Member Avatar for valipour

Hi! i Want to deploy a server for hosting my web pages please help what type and version of OS? And WHM/hosting manger? what do you think about CentOS And Kloxo (lxcenter.org) and who i can have best Security؟

Member Avatar for manojsamtani
0
221
Member Avatar for scaiferw

I'm trying to create a Google-style bar across the top of my page, but when I hover over the elements, the link text jumps to the top. Can anyone tell me how to keep it on the bottom? My current code is below. [CODE]<html xmlns="[url="http://www.w3.org/1999/xhtml"]http://www.w3.org/1999/xhtml[/url]"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" …

Member Avatar for scaiferw
0
152
Member Avatar for scaiferw

I'm trying to create a WordPress.com header for rotary7040pr.wordpress.com. I have a layer for the background colour, and have created another layer for text and graphics. So far so good. Now I have a graphic ([url]http://www.rotary7040.com/images/RotaryLogoDropShadow300x288.jpg[/url]) that I want to place on the layer with the text, but I don't …

Member Avatar for anand01
0
141
Member Avatar for epicrevolt

Hello fellow Daniwebbers, I have a question about choosing a CMS. I know what you're think "OMG another 'what cms' thread". Hold yer ponies because I want to be very clear and precise. Having worked with multiple CMSs over the years, I have acquired a knowledge of which CMSs are …

Member Avatar for epicrevolt
0
173
Member Avatar for damastr

Hi, this is probably a pretty simple question for you pro's but would appreciate some help as I have ogtten stuck. I have a html form [CODE]<html> <body> <form action="com.php" method="post"> Firstname: <input type="text" name="firstname" /> Lastname: <input type="text" name="lastname" /> Age: <input type="text" name="age" /> <input type="submit" /> </form> …

Member Avatar for scaiferw
0
169
Member Avatar for raghujosh

Is it possible to read array variables one by one in a numeric array in PHP? I have an array that I need to read each element and depending on the element, do something else. But I am finding that there are no functions to read each element of a …

Member Avatar for diafol
0
93