TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 58
Search took 0.00 seconds.
Search: Posts Made By: Runar
Forum: General 06-28-2009, 05:30 PM
Replies: 4
Views: 642
Posted By Runar
You could use the date()...

You could use the date() (http://no.php.net/manual/en/function.date.php) function to either display the current week number, or get the week number from a string:

echo date( 'W', $datestring );
//...
Forum: General 06-27-2009, 10:55 AM
Replies: 1
Views: 595
Posted By Runar
How do you handle your (custom) errors?

Good evening!

I am currently playing around with classes, interfaces and different programming patterns, and this question yet again came to my mind. How do you handle errors in your...
Forum: Javascript, AJAX, E4X 06-23-2009, 03:48 PM
Replies: 8
Views: 799
Posted By Runar
Your elements may have the same features, but...

Your elements may have the same features, but they are still not exactly the same. I am not sure if you can use the same function to toggle a div container and a child element of that div.

jQuery is...
Forum: Javascript, AJAX, E4X 06-23-2009, 11:55 AM
Replies: 8
Views: 799
Posted By Runar
Speaking of your HTML. I suggest you read this...

Speaking of your HTML. I suggest you read this (http://juicystudio.com/article/div-mania.php) article about a phenomena called Div Mania.

In short, you should not overuse div elements but instead...
Forum: Javascript, AJAX, E4X 06-23-2009, 10:29 AM
Replies: 8
Views: 799
Posted By Runar
The following code is using toggle...

The following code is using toggle (http://docs.jquery.com/Effects/toggle) effect and is not tested, but I believe it should work:

<script type="text/javascript">
$(document).ready(function(){
...
Forum: MySQL & Databases 06-12-2009, 08:48 AM
Replies: 7
Views: 1,354
Posted By Runar
My company does the same, Hightower. They are...

My company does the same, Hightower. They are using a secure connection when displaying my information, but I am not sure how they store my data.
Forum: Absolute Beginners 06-12-2009, 08:17 AM
Replies: 29
Views: 1,453
Posted By Runar
Have you written your site yourself, or do you...

Have you written your site yourself, or do you use existing software such as WordPress? If you do use other software, then I suggest you upgrade to newest version available.

Do you have any sort of...
Forum: Absolute Beginners 06-12-2009, 12:42 AM
Replies: 29
Views: 1,453
Posted By Runar
You are most welcome! I am glad I could help,...

You are most welcome!

I am glad I could help, and I hope you succeed in closing the (security) hole that made this possible :)
Forum: Absolute Beginners 06-12-2009, 12:28 AM
Replies: 29
Views: 1,453
Posted By Runar
I "cracked" the code. The solution itself was in...

I "cracked" the code. The solution itself was in the code, and this is the site it redirects to:

http://91.212.65.148/ga.js

I visited that link, and ended up with another javascript-snippet. I...
Forum: Absolute Beginners 06-12-2009, 12:07 AM
Replies: 29
Views: 1,453
Posted By Runar
I did some research, and apparently the...

I did some research, and apparently the JavaScript code is requesting a JavaScript-file from an Ukrainian-registered server. Most of the code is a Google Analytics-code, used to track visitors on...
Forum: The Lounge 06-11-2009, 11:56 PM
Replies: 15
Views: 716
Posted By Runar
We are all entitled to our own opinion, so I will...

We are all entitled to our own opinion, so I will not argue against you. Anyway, we are going a bit off topic now!

I guess we will see you later. ;-)

I received two "TalkPHP Dearly Misses You!"...
Forum: The Lounge 06-11-2009, 10:46 PM
Replies: 15
Views: 716
Posted By Runar
You should join me in ordering one of these...

You should join me in ordering one of these instead:

http://a248.e.akamai.net/7/248/8352/1238/store.apple.com/Catalog/no/Images/macbookpro/img/product-front-13.jpg

:-)
Forum: The Lounge 06-11-2009, 10:16 PM
Replies: 24
Views: 1,044
Posted By Runar
I actually do the same, adamdecaf. It has worked...

I actually do the same, adamdecaf. It has worked pretty good for me so far.
Forum: The Lounge 06-11-2009, 10:10 PM
Replies: 15
Views: 716
Posted By Runar
I think I found your problem! :-D *switching to...

I think I found your problem! :-D

*switching to serious mode*

I hope you are able to get all your data back! I have experienced crashes myself (never a good idea to mix Windows and HFS+ disks), but...
Forum: The Lounge 06-10-2009, 01:13 PM
Replies: 24
Views: 1,044
Posted By Runar
How do you write your code?

Greetings!

I recently came across this Wikipedia article (http://en.wikipedia.org/wiki/Indent_style) on indent styles, and thought it could be fun to see how the member of this community writes...
Forum: Absolute Beginners 06-10-2009, 10:26 AM
Replies: 6
Views: 935
Posted By Runar
Great and simple explanation, Wildhoney! Even...

Great and simple explanation, Wildhoney! Even thou you answered the wrong question ;)


Yours, Runar
Forum: Advanced PHP Programming 06-09-2009, 07:38 PM
Replies: 5
Views: 987
Posted By Runar
Glad I could help! Let me know if it works the...

Glad I could help! Let me know if it works the way you want :)


Yours, Runar
Forum: Advanced PHP Programming 06-09-2009, 07:11 PM
Replies: 2
Views: 576
Posted By Runar
What do you mean by "it should also sort them"?...

What do you mean by "it should also sort them"? And have you tried the code I posted in your first thread?
Forum: Advanced PHP Programming 06-09-2009, 06:03 PM
Replies: 5
Views: 987
Posted By Runar
This might just do the trick. I have tested the...

This might just do the trick.

I have tested the code myself and it seems to be working the way you requested. The script will list files and sub-folders in the folder you define; either directly in...
Forum: Advanced PHP Programming 06-09-2009, 04:39 PM
Replies: 5
Views: 987
Posted By Runar
Just a quick question before I start working on...

Just a quick question before I start working on it. What is the point of this?
$dir = $_GET['dir'];
$directory = $dir;

$diri = $directory;
Will not $diri contain the same as $_GET['dir']?
Forum: General 06-08-2009, 11:23 PM
Replies: 4
Views: 889
Posted By Runar
I know about an online game that has several...

I know about an online game that has several fansites accessing official information (like character names, character levels etc.), without the use of an official API. I could try to make an...
Forum: General 06-08-2009, 10:48 PM
Replies: 4
Views: 889
Posted By Runar
What should I do to extend my knowledge?

Greetings, good people!

I would say, without the purpose of boasting, that I know more about PHP than most people, though there is still a lot to learn. The problem is that I am completely out of...
Forum: Member Introductions 06-08-2009, 10:38 PM
Replies: 13
Views: 598
Posted By Runar
And we will be helping you. Welcome, and please...

And we will be helping you.

Welcome, and please do enjoy your stay!
Forum: General 06-08-2009, 03:16 PM
Replies: 1
Views: 397
Posted By Runar
I believe you have to use while() or something...

I believe you have to use while() or something similar when dealing with more than one result (more than one month). Try this:

<?php
$query2 = mysql_query("SELECT * FROM attendance WHERE Stud_ID =...
Forum: Show Off 06-08-2009, 03:07 PM
Replies: 15
Views: 857
Posted By Runar
Moving, blinking or scrolling elements is never...

Moving, blinking or scrolling elements is never good. They are some of the things that makes me leave a website before getting to know it.
Showing results 1 to 25 of 58

 

All times are GMT. The time now is 09:11 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design