Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 127
Search took 0.43 seconds.
Search: Posts Made By: Candrias77
Forum: PHP 02-27-2006, 11:04 AM
Replies: 2
Views: 773
Posted By Candrias77
Thumbs up Solved

While php file upload limits can be set in your .htaccess files (post_max_size, upload_max_filesize) my problem was actually the default Apache PHP request size of 500kb. This can be changed with...
Forum: PHP 02-27-2006, 08:44 AM
Replies: 2
Views: 773
Posted By Candrias77
Exclamation PHP File Upload Limit?

I have an odd problem uploading a file to the server via a form. Everything works fine on small files (a couple of hundred kb), but when I try to upload anything bigger, submitting the form simply...
Forum: PHP 11-22-2005, 03:38 PM
Replies: 1
Views: 2,338
Posted By Candrias77
Exclamation Combining Two Images With GD

Hi there, I am wanting to use PHP to combine two images and save the result as a new composite image. I will always be starting with a jpg and then overlay a png (with various levels of opacity).
...
Forum: MySQL 09-12-2005, 06:06 AM
Replies: 1
Views: 1,384
Posted By Candrias77
Exclamation Comma in SUM() fields

Hi there, I have a MySQL query which uses SUM() to add various row values together. Unfortunately some of the fields that are selected may contain formatted numbers which include , or . characters...
Forum: JavaScript programming 07-07-2005, 06:23 AM
Replies: 5
Views: 887
Posted By Candrias77
Will check it out, thanks.

Will check it out, thanks.
Forum: JavaScript programming 07-07-2005, 05:13 AM
Replies: 5
Views: 887
Posted By Candrias77
Brilliant, thanks for that hemebond.

Brilliant, thanks for that hemebond.
Forum: JavaScript programming 07-06-2005, 09:57 PM
Replies: 5
Views: 887
Posted By Candrias77
Question Returning <select> result as array... but...

I have a multiple select box in my form with "select all" and "select none" buttons below it. I have named the select box "country_id" which is used in the "select all" and "select none" javascript...
Forum: XML 07-06-2005, 02:27 AM
Replies: 1
Views: 2,272
Posted By Candrias77
XSL to convert XML to RSS feed...

I am trying to convert an XML file to RSS 1.0 format using an XSL template but am getting an odd result. Firstly, the following page shows the result that I am getting, if you view source you will...
Forum: JavaScript programming 04-23-2005, 06:58 AM
Replies: 3
Views: 822
Posted By Candrias77
Thanks, I used "tabindex" not "tab" and it works...

Thanks, I used "tabindex" not "tab" and it works perfectly.
Great stuff.
Forum: JavaScript programming 04-23-2005, 06:20 AM
Replies: 3
Views: 822
Posted By Candrias77
Controlling The Tab Position

I have a form which has some <a> links in it. The problem is that when someone hits tab to go to the next form input, the focus actually shifts to the next <a> link.

Is there any way to mark...
Forum: PHP 01-20-2005, 01:13 AM
Replies: 5
Views: 738
Posted By Candrias77
Hey thanks for that, all seems to be go now!

Hey thanks for that, all seems to be go now!
Forum: PHP 01-20-2005, 12:21 AM
Replies: 5
Views: 738
Posted By Candrias77
My problem is that it seems to be dropping the...

My problem is that it seems to be dropping the seconds from 2005-01-21 11:39:13

The result I want is 2005-01-21 11:39:13 +2 days which should be 2005-01-23 11:39:13

Is that possible?
Forum: PHP 01-19-2005, 11:31 PM
Replies: 5
Views: 738
Posted By Candrias77
Question Date Conversions

Hi there, I am extracting a date from a database and I can not control the format in which it arrives at my PHP script. It is in this format:

$date=2005-01-21 11:39:13

I am wanting to add a...
Forum: Other server side languages/ issues 01-17-2005, 04:40 AM
Replies: 1
Views: 949
Posted By Candrias77
Trouble with mod_rewrite

Hi there, I am running the following .htaccess file in the root directory of my site:

# Customized server error messages:
ErrorDocument 404 /index.php

# Rewrite rules
RewriteEngine on
...
Forum: MySQL 01-02-2005, 01:59 AM
Replies: 4
Views: 966
Posted By Candrias77
Thanks for your tip but I still get the same...

Thanks for your tip but I still get the same problem!
Forum: MySQL 01-01-2005, 02:31 AM
Replies: 4
Views: 966
Posted By Candrias77
Problem With UNION Query

I have two MySQL queries that I am trying to combine with a UNION.

The two SELECT statements work fine on their own but when I combine them they give out errors. Below is the full statement:

...
Forum: PHP 12-31-2004, 05:57 AM
Replies: 1
Views: 767
Posted By Candrias77
Sort Multi-Dimensional Array

I am trying to sort a large multi-dimensional array but one of the dimension values. For example, the array looks something like this:

$array[0][name]="a";
$array[0][date]="2004";...
Forum: PHP 12-08-2004, 08:24 PM
Replies: 4
Views: 753
Posted By Candrias77
Yes, the wrapping of the div elements is a bit of...

Yes, the wrapping of the div elements is a bit of a problem, however I have managed to clean up the document and split it into an array for each date:

$data[0]="
<div class="date">Date 1</div>...
Forum: PHP 12-08-2004, 04:47 AM
Replies: 4
Views: 753
Posted By Candrias77
Interpreting CSS Tags As XML

Hi there, I am trying to import data from an HTML page on another website. I can open the file ok using file(). I am having trouble interpreting the data into usable variables.

The data looks...
Forum: MySQL 11-29-2004, 04:36 AM
Replies: 3
Views: 927
Posted By Candrias77
Yeah, a bit of research into LEFT JOIN and ON...

Yeah, a bit of research into LEFT JOIN and ON functions and we are all set.
Thanks for that.
Forum: MySQL 11-28-2004, 08:00 PM
Replies: 3
Views: 927
Posted By Candrias77
Question Count() rows with 0 matches...

I am using the code below to select all the 'centres' in the database that have 'sessions' today.


SELECT c.*, r.region, COUNT(*) AS count
FROM centres c, regions r, sessions st
WHERE...
Forum: PHP 09-07-2004, 11:22 PM
Replies: 2
Views: 1,295
Posted By Candrias77
Question Identify File Extension

Hi there, I was wondering how I can identify a file's extension.

If I have a file called "my schedule.doc" or perhaps "my.schedule.doc" it would return ".doc". I'm having trouble writing a...
Forum: PHP 08-25-2004, 03:09 AM
Replies: 2
Views: 887
Posted By Candrias77
mod_rewrite issue

Hi there, this is my first time working with mod_rewrites and I have a fairly basic looking code below that resides in a root .htaccess file:

RewriteEngine On
RewriteRule ^books/(.*).php...
Forum: PHP 08-09-2004, 08:57 AM
Replies: 1
Views: 1,021
Posted By Candrias77
I guess is_numeric() instead of an ereg() will...

I guess is_numeric() instead of an ereg() will solve my problem quite neatly anyway.
Forum: PHP 08-09-2004, 08:27 AM
Replies: 1
Views: 1,021
Posted By Candrias77
REG_BADRPT error from ereg()

I am noth the best when it comes to regular expressions and I coppied the following code from a comment on php.net...

ereg('^-{0,1}[0-9]*\.{0,1}[0-9]+?$',$_POST['price'])

...it should return...
Showing results 1 to 25 of 127

 
Forum Jump

All times are GMT +1. The time now is 03:53 PM.