Should a class directly reference $_SESSION?431 (7/28/2008 9:46:18 PM) comp.lang.php Hi everyone. I'm just wondering if it's considered bad practice to have a class read from and write to the $_SESSION super global. I was just learning a little about object serialization, and I've come to the c... Daz
Unit Testing #2198 (9/16/2007 11:26:21 AM) comp.lang.javascript Hi everyone. I am writing some very big applications, and I think it's about time I started doing unit testing. The only thing is, I don't have a clue where to start. I would appreciate it if someone would be ... Daz
Unit Testing682 (9/16/2007 11:26:18 AM) comp.lang.javascript Hi everyone. I am writing some very big applications, and I think it's about time I started doing unit testing. The only thing is, I don't have a clue where to start. I would appreciate it if someone would be ... Daz
Application Planner487 (9/3/2007 10:14:36 PM) comp.lang.javascript Hi everyone. I having taken on a large project (set by myself), and I can never seem to plan out my functions, classes, variables etc... in a format that's easy to read, and follow. Would anyone know of some ... Daz
A quick question on database structure.3114 (8/20/2007 5:04:34 PM) comp.databases.mysql Hi everyone. I have a simple question, but it may warrant a detailed answer. Is it acceptable to have a single column table in a database, or is this a design flaw? I simply need keep a list of forum groups wh... Daz
Find when DST comes into effect for a specific time zone238 (7/13/2007 2:31:31 PM) comp.lang.php Hello everyone. I'm making a JavaScript clock which works in real time, and supports every time zone. I am struggling to find a way to see when the clocks are set back or forwards in a specific time zone. Is t... Daz
Realtime clock that understands DST1265 (7/13/2007 2:08:17 PM) comp.lang.javascript Hi everyone. I am trying to find out how I can create a real time clock, which knows when to set itself backwards or forwards 1 hour. The clock will work for various timezones. Some of which will not support D... Daz
Quite a dilemma...697 (5/27/2007 7:17:05 PM) comp.databases.mysql Hi everyone. I'm having some trouble with deciding how best to put the PHP timezones into a MySQL database. The database should server two purposes. Firstly, it should be able to list the continents, (Africa, ... Daz
Working with Timezones and DST #2534 (5/27/2007 1:24:51 PM) comp.lang.php Hello everyone. I am creating a JavaScript project which will allow users to see what time it is in other countries. I am wondering if there's any way to have the server work this out, without having to update... Daz
Working with Timezones and DST330 (5/27/2007 1:24:49 PM) comp.lang.php Hello everyone. I am creating a JavaScript project which will allow users to see what time it is in other countries. I am wondering if there's any way to have the server work this out, without having to update... Daz
Find when DST comes into effect for a specific time zone238 (7/13/2007 2:31:31 PM) comp.lang.php Hello everyone. I'm making a JavaScript clock which works in real time, and supports every time zone. I am struggling to find a way to see when the clocks are set back or forwards in a specific time zone. Is t... cutenfuzzy(260)
Working with Timezones and DST #2534 (5/27/2007 1:24:51 PM) comp.lang.php Hello everyone. I am creating a JavaScript project which will allow users to see what time it is in other countries. I am wondering if there's any way to have the server work this out, without having to update... cutenfuzzy(260)
Working with Timezones and DST330 (5/27/2007 1:24:49 PM) comp.lang.php Hello everyone. I am creating a JavaScript project which will allow users to see what time it is in other countries. I am wondering if there's any way to have the server work this out, without having to update... cutenfuzzy(260)
phpmyadmin #6626 (5/7/2007 3:09:24 PM) comp.lang.php Hi everyone, This may be seen as being off-topic, but I am not sure where I need to look for the appropriate documentation/tutorial. All I would like to know, if where (on a Linux system), I need to edit a fil... cutenfuzzy(260)
Adding arrays1127 (5/7/2007 3:05:47 PM) comp.lang.php Consider the following multi-dimensional array: --------------------------- $arr = array( array(3, 5, 7, 9), array(2, 4, 6, 8), array(1, 3, 5, 7) ); function add_arrays($arr) { for ($row = 0; $row 6 [... dennis.sprengers(15)
Regular Expression to validate password1229 (5/7/2007 2:48:52 PM) comp.lang.php Hi, I need to validate password keyed in by the system users so that the password will contain only letters and numbers plus at least one capital letter. Exclude these symbols , ? / * ( ) & ^ % $ # ! ~ ` " '... muadzir(6)
Extending the mysqli class2125 (2/25/2007 3:41:17 PM) comp.lang.php Hi everyone. I am trying to create an extension of the mysqli class within PHP, and I am finding it quite difficult. I am fairly new to PHP classes, and decided to give them a go. Here's what I have to far: ... cutenfuzzy(260)
Does UTC take DST into account?225 (2/10/2007 10:16:54 PM) comp.lang.php Hi everyone. I know this question sounds stupid, but it's been plaguing me, and as I can't seem to find the answer, and can't afford to wait until the end of March for DST to kick into effect, I thought I shoul... cutenfuzzy(260)
Extract any URL from any string?1433 (2/10/2007 8:41:39 PM) comp.lang.php geturl.php Too much code to paste here, but have a look at http://www.liarsscourge.com/ So far, I have not found a string that can break this... Any built-in functions or suggestions for improvement? Thanks... deko(247)
Line breaks (\n) from a html form textarea??? HELP!1431 (1/13/2007 10:49:49 PM) comp.lang.php Hi I have an HTML form with a textarea on it. When submitted (using 'get' not 'post') this forms action php file simply does this to retrieve the values: $message = $_GET["message"]; Now it all works fine bu... mark1862(1)