Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search
Tech Support Guy > >

Search Results


(!)

Showing results 1 to 25 of 279
Search took 0.08 seconds.
Search: Posts Made By: andynic
The search index was updated -14131 seconds ago.
Forum: Web Design & Development 31-May-2015, 08:37 AM
Replies: 2
Views: 389
Posted By andynic
Hi Jim, Thanks much for the reply. In...

Hi Jim,

Thanks much for the reply.

In the words of Victor Meldrew, "I don't believe it."

But yes, you are right. I can't believe the amount of time I spent on trying to figure out what was...
Forum: Web Design & Development 31-May-2015, 04:41 AM
Replies: 2
Views: 389
Posted By andynic
Solved: javascript within a form not working

Hi,
Can someone explain why this is the case and how to work around it?

Given the following html:

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;...
Forum: Web Design & Development 26-May-2015, 03:08 AM
Replies: 3
Views: 456
Posted By andynic
Hi Jim, Thanks for that. It will be helpful ...

Hi Jim,
Thanks for that. It will be helpful
I've had to move this issue to a lower priority at the moment but will return to it soon and let you know how it worked.
Andynic
Forum: Web Design & Development 25-May-2015, 01:24 PM
Replies: 3
Views: 456
Posted By andynic
javascript to detect cmd-r (refresh page) on Mac

The following javascript will display "ctrl-82 pressed" when the user holds down the ctrl key and presses r.

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type"...
Forum: Web Design & Development 23-May-2015, 03:54 AM
Replies: 4
Views: 390
Posted By andynic
Hi Jim, Thanks very much for your reply. ...

Hi Jim,
Thanks very much for your reply.

Although I could not get your suggestion to work, you put me on the right track.

For a brief test, this is what I tried following your suggestion:...
Forum: Web Design & Development 22-May-2015, 11:27 AM
Replies: 4
Views: 390
Posted By andynic
Additional info. Here is the code for the test...

Additional info.
Here is the code for the test that I ran to establish that $_SESSION is lost if cookies are not allowed:

part1:

<?php
// test1.php

session_start();
Forum: Web Design & Development 22-May-2015, 08:51 AM
Replies: 4
Views: 390
Posted By andynic
Solved: PHP passing an array via $_SESSION vs an <input type='hidden'

Hi,

It seems clumsy to me to pass a large array (serialized) via a hidden.
Something like this:
$d1 = htmlentities(serialize($arrNm));
...
echo <<<A
<input type='hidden'...
Forum: Web Design & Development 13-May-2015, 05:43 AM
Replies: 3
Views: 497
Posted By andynic
Yes, I sometimes wonder where my head is. ...

Yes, I sometimes wonder where my head is.

Thanks for the tip, Jim. I will look into that for future use. In the meantime I found a solution:

The problem was that Firefox (the chosen standard...
Forum: Web Design & Development 11-May-2015, 05:22 AM
Replies: 3
Views: 497
Posted By andynic
I just realized that history.go does not interact...

I just realized that history.go does not interact with PHP at all, i.e. it does not re-execute the php script but it does cause the onload in the <body> tag to re-execute. And that's my problem!
Forum: Web Design & Development 11-May-2015, 04:12 AM
Replies: 3
Views: 497
Posted By andynic
Solved: window.history.go, PHP, and $_SESSION

At http://www.w3schools.com/jsref/obj_history.asp is says that "go Loads a specific URL from the history list".

I have a PHP script that, from an editing page, puts up a "preview" page. The...
Forum: Software Development 08-May-2015, 03:50 PM
Replies: 0
Views: 452
Posted By andynic
PHP, MySql, html, and characters such as single quote

Why would the same SQL command fetching the same row from the database, treat characters such as single quotes differently in two different contexts?
Context 1: one row for a particular primary key;...
Forum: Web Design & Development 05-May-2015, 04:17 AM
Replies: 2
Views: 487
Posted By andynic
I answered my own question by re-reading the PHP...

I answered my own question by re-reading the PHP manual entry on GLOBALS.
Would have been sensible to have done that first!

"An associative array containing references to all variables which are...
Forum: Web Design & Development 05-May-2015, 04:04 AM
Replies: 2
Views: 487
Posted By andynic
Solved: PHP GLOBALS array disappears

Hi,

I have the following input button in an html form:
<input type="button" name="preview" id="preview" value="Voorbeeld"
onclick="alert( &quot;{$GLOBALS['PROGRAM_NAME']}&quot; );
...
Forum: Web Design & Development 12-Apr-2015, 03:26 AM
Replies: 3
Views: 581
Posted By andynic
Thanks for the replies which solved the problem ...

Thanks for the replies which solved the problem
Andynic
Forum: Web Design & Development 11-Apr-2015, 01:02 PM
Replies: 3
Views: 581
Posted By andynic
Solved: change text color on the fly -- deprecated font tag

Hi,

Formerly, I would change text color on the fly in a simple though clumsy way like this and it passed W3 validation:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
...
Forum: Web Design & Development 01-Apr-2015, 03:18 AM
Replies: 1
Views: 404
Posted By andynic
Solved: php security issues re. DEFINE vs $GLOBALS vs $_SESSIONS

From the point of view of security issues, for the example below, is one "safer" than the other? A reason why would also be appreciated or a link to where I can find the information.

For example,...
Forum: Web Design & Development 14-Mar-2015, 04:42 AM
Replies: 12
Views: 461
Posted By andynic
Thanks, again Jim. That technique in the link...

Thanks, again Jim. That technique in the link was, once again, spot on. It got me out of a very confusing testing situation.
Andynic
Forum: Web Design & Development 13-Mar-2015, 01:00 PM
Replies: 12
Views: 461
Posted By andynic
Hi Jim and Colin, Thanks. That worked using...

Hi Jim and Colin,
Thanks. That worked using the z-index attribute.
One last question regarding this post: Do webservers or browsers on the client side cache CSS? If so, how can it be cleared?...
Forum: Web Design & Development 13-Mar-2015, 10:02 AM
Replies: 12
Views: 461
Posted By andynic
what I did not notice until just now though, is...

what I did not notice until just now though, is that for some reason the drop-down menus are hidden behind the text boxes. So back to the drawing board!
Forum: Web Design & Development 13-Mar-2015, 10:00 AM
Replies: 12
Views: 461
Posted By andynic
sorry about that. I was trying some alternatives...

sorry about that. I was trying some alternatives to show the client. It's back to right-aligned but may switch on you as I go on with things.
Forum: Web Design & Development 13-Mar-2015, 05:56 AM
Replies: 12
Views: 461
Posted By andynic
Thanks, Linuxphil and Jim, for your replies. ...

Thanks, Linuxphil and Jim, for your replies.

I've tried the suggestions except for using css bootstrap which I don't want to get into.

The solution that produces the desired effect:

To...
Forum: Web Design & Development 12-Mar-2015, 02:25 PM
Replies: 12
Views: 461
Posted By andynic
Solved: webpage layout, force text to division's lower right corner

The question is about the section of code shown below which puts up four squares on the page. You can view a prototype (the only menu options that work are those under "uitgaven" (Dutch for...
Forum: Web Design & Development 01-Mar-2015, 06:11 AM
Replies: 4
Views: 459
Posted By andynic
Hi Jim and Ent, Thanks for the replies. ...

Hi Jim and Ent,

Thanks for the replies.

Adding session_start() to x2.php solved the problem.

I do agree, Jim, it is not "intuitively obvious". My thinking was just as you suggest when you...
Forum: Web Design & Development 28-Feb-2015, 12:44 PM
Replies: 4
Views: 459
Posted By andynic
Solved: php $_SESSION and function header()

Hi,

I'm almost certain that the problem is that I do not have a good understanding of the concept of "session" in php.

I am under the, very likely mistaken, impression that if I have a series...
Forum: Software Development 26-Feb-2015, 07:36 AM
Replies: 4
Views: 1,227
Posted By andynic
Hi Ent, Thanks again for the reply. You hit...

Hi Ent,

Thanks again for the reply. You hit the nail on the head. I did not realize that the default engine is MyISAM.
Explicitly specifying the engine in the create table command solved it:...
Showing results 1 to 25 of 279

 
Forum Jump
WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑