Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
Search Forums
Search Results
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Page 1 of 2
1
2
>
Showing results 1 to 25 of 31
Search took
0.07
seconds.
Search:
Posts Made By:
tomrshl
Forum:
PHP
04-27-2010, 09:37 PM
Replies:
2
Setter and md5 driving me insane
Views:
518
Posted By
tomrshl
I actually just figured it out (I think). Does...
I actually just figured it out (I think). Does __set() only work on non public variables? As soon as I change var password; to private password; it works. Is there another way to specify how my class...
Forum:
PHP
04-27-2010, 09:04 PM
Replies:
2
Setter and md5 driving me insane
Views:
518
Posted By
tomrshl
Setter and md5 driving me insane
public function __set($key,$val) {
if ($key == 'password') $val = md5($val);
$this->$key = mysql_real_escape_string($val);
}
I can't see anything wrong with this, am I going insane?...
Forum:
PHP
04-27-2010, 02:56 PM
Replies:
4
How do I make mysql_connect() be quiet on failiure?
Views:
1,059
Posted By
tomrshl
Thanks a lot The...
Thanks a lot
The host/username/password/database is inputted by the user and they could easily mistype
Forum:
PHP
04-27-2010, 02:21 PM
Replies:
4
How do I make mysql_connect() be quiet on failiure?
Views:
1,059
Posted By
tomrshl
How do I make mysql_connect() be quiet on failiure?
I think the title sums up my question, it's probably really easy I'm sure.
If it fails (due to wrong password or whatever reason), I don't want it to blurt out a warning.
Thanks
Forum:
MySQL
04-27-2010, 02:17 PM
Replies:
3
Resolved
Custom ordering entries
Views:
797
Posted By
tomrshl
Thanks a lot, I managed to figure it out using a...
Thanks a lot, I managed to figure it out using a different trick anyway. I just created a new var called $previous to hold the current position before I change it.
I only used apostrophes because...
Forum:
MySQL
04-26-2010, 09:08 PM
Replies:
3
Resolved
Custom ordering entries
Views:
797
Posted By
tomrshl
Custom ordering entries
public function move($new) {
$old = $this->position;
$this->position = mysql_real_escape_string($new);
if ($this->position > $old) mysql_query("UPDATE projects SET position =...
Forum:
PHP
02-21-2010, 08:55 PM
Replies:
2
Return 404 on mistyped url variables
Views:
1,156
Posted By
tomrshl
I think, I've got it now. I think I was getting...
I think, I've got it now. I think I was getting confused, the "200 OK" header was for an image file on the page. The page itself was properly returning a 404.
Forum:
PHP
02-21-2010, 03:45 PM
Replies:
2
Return 404 on mistyped url variables
Views:
1,156
Posted By
tomrshl
Return 404 on mistyped url variables
I've been trying to figure out PHP and 404 errors.
If somebody types http://site.com/?id=valid I want my PHP to deliver the content.
If they type http://site.com/?id=invalid I want to return a...
Forum:
Flash & ActionScript
12-07-2009, 09:07 PM
Replies:
1
Quick geometry question AS3
Views:
1,056
Posted By
tomrshl
Quick geometry question AS3
Using AS3: How do I find the opposite and adjacent sides of a triangle given the hypotenuse and one angle?
I tried this:
var hypotenuse:Number = 40;
var angle:Number = 8;
var opposite:Number...
Forum:
PHP
11-24-2009, 08:41 PM
Replies:
2
Relative paths dont work on 123-reg hosting
Views:
909
Posted By
tomrshl
Thanks for the reply. I diagnosed the problem...
Thanks for the reply. I diagnosed the problem wrongly. It wa timing out on loading phpFlickr which I somehow wrongly confirmed was a relative path error.
The actual problem is that it wont let me...
Forum:
PHP
11-24-2009, 01:35 PM
Replies:
2
Relative paths dont work on 123-reg hosting
Views:
909
Posted By
tomrshl
Relative paths dont work on 123-reg hosting
I am doing work for a client, including implementing a phpFlickr gallery. Trouble is, all the scripts are written with relative path require()'s. I can comb through the phpFlickr files replacing them...
Forum:
General web building
11-14-2009, 08:30 PM
Replies:
9
Is JavaScript enough to stop spammers getting my email address?
Views:
1,042
Posted By
tomrshl
I'll just stick with the image. I don't like...
I'll just stick with the image. I don't like contact forms, it feels like a one way communication, a barrier between us, a bit impersonal. Name-number-email is professional and minimalist.
Forum:
General web building
11-14-2009, 12:58 PM
Replies:
9
Is JavaScript enough to stop spammers getting my email address?
Views:
1,042
Posted By
tomrshl
Ok, thanks, I'll just stick with an image and...
Ok, thanks, I'll just stick with an image and remove the javascript
Forum:
General web building
11-14-2009, 11:13 AM
Replies:
9
Is JavaScript enough to stop spammers getting my email address?
Views:
1,042
Posted By
tomrshl
Thanks for the reply. The email address is not...
Thanks for the reply. The email address is not written anywhere in the html file. It is generated by JavaScript. For example:
var email = "em" + "ail" + "@" + "add" + "ress" + "." + "com";...
Forum:
General web building
11-14-2009, 12:25 AM
Replies:
9
Is JavaScript enough to stop spammers getting my email address?
Views:
1,042
Posted By
tomrshl
Is JavaScript enough to stop spammers getting my email address?
Hi,
I have an image.png with my contact details on my site. If JavaScript is enabled, this <img> is replaced with an <address> with a mailto: and my phone number.
If this info is generated by...
Forum:
JavaScript programming
11-04-2009, 01:00 AM
Replies:
0
jsGallery and odd IE6 bug
Views:
856
Posted By
tomrshl
jsGallery and odd IE6 bug
The JavaScript, I got from here:
http://edeverett.co.uk/experiments/SimpleUnobtrusiveJSGallery/jsGallery.js
This is the html I am using:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
Forum:
HTML & CSS
11-03-2009, 05:41 PM
Replies:
3
Horizontal scrolling div stretch to content
Views:
3,210
Posted By
tomrshl
* { margin: 0; padding: 0; } body { ...
* {
margin: 0;
padding: 0;
}
body {
font-family: "Helvetica", "Arial", sans-serif;
font-size: 12px;
}
Forum:
HTML & CSS
11-02-2009, 10:13 PM
Replies:
2
Div fit to remaining space
Views:
1,151
Posted By
tomrshl
Div fit to remaining space
I have div#header and div#main as a two row layout.
div#header has height:100px; width:100%;
How can I get div#main to fill the remainder of the space?
Thanks
Forum:
HTML & CSS
11-02-2009, 09:35 PM
Replies:
3
Horizontal scrolling div stretch to content
Views:
3,210
Posted By
tomrshl
Horizontal scrolling div stretch to content
Hi, I have an <ul> of images styled as display:inline
Can I have the div they are in overflow:auto horizontally without setting a width?
In other words stretch the div to fit a horizontal line...
Forum:
PHP
11-02-2009, 07:46 PM
Replies:
1
Some help with 404 errors
Views:
529
Posted By
tomrshl
Some help with 404 errors
if (isset($_GET["id"]))
{
$id = $_GET["id"];
}
function main($id) {
if (file_exists($filename = "main/$id.php"))
{
include "$filename";
}
Forum:
HTML & CSS
08-26-2009, 01:41 PM
Replies:
6
IE6 horizontal list problem
Views:
4,030
Posted By
tomrshl
That little snippet worked great, thanks a lot.
That little snippet worked great, thanks a lot.
Forum:
HTML & CSS
08-26-2009, 12:23 PM
Replies:
6
IE6 horizontal list problem
Views:
4,030
Posted By
tomrshl
Thanks for trying to help me out, the site is...
Thanks for trying to help me out, the site is http://tom-marshall.com/kill/
This is a comparison pic:
http://bayimg.com/image/gadbbaaci.jpg
Forum:
HTML & CSS
08-26-2009, 10:18 AM
Replies:
6
IE6 horizontal list problem
Views:
4,030
Posted By
tomrshl
Thanks for the reply, here is the full...
Thanks for the reply, here is the full stylesheet:
#innerframe {
width: 800px;
height: 700px;
margin: 0 auto;
text-align: left;
}
#header {
height: 110px;
Forum:
HTML & CSS
08-25-2009, 10:29 PM
Replies:
6
IE6 horizontal list problem
Views:
4,030
Posted By
tomrshl
IE6 horizontal list problem
Hi, my navigation bar is a horizontal unordered list and works just fine in Firefox and Safari it fits flush against the left inside of its div. However, in IE6 there is an extra white space before...
Forum:
General web building
08-25-2009, 08:27 PM
Replies:
4
Is frames the only way to go?
Views:
859
Posted By
tomrshl
Yeah that looks good, thanks, I'll see what I can...
Yeah that looks good, thanks, I'll see what I can find out about it. The record label will upload all the music to be played, it's up to them if they are licensed to play it.
Showing results 1 to 25 of 31
Page 1 of 2
1
2
>
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
11:45 AM
.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.