Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 424
Search took 0.81 seconds.
Search: Posts Made By: brazenskies
Forum: PHP 03-02-2011, 01:30 PM
Replies: 1
Views: 295
Posted By brazenskies
I finally got it working. For anyone else having...

I finally got it working. For anyone else having similar problems...


$str= preg_replace('/\[.*\]/', '', $str);
Forum: PHP 03-02-2011, 12:42 PM
Replies: 1
Views: 295
Posted By brazenskies
PHP regex problem

Hi,

I'm trying to create a pattern to replace everything between a set of square brackets ([])...

I want to replace...

"[captionid=123]hello"

with...
Forum: MySQL 11-10-2010, 09:39 AM
Replies: 9
Views: 2,008
Posted By brazenskies
OK, thanks. I was only hoping to do it this...

OK, thanks.

I was only hoping to do it this way as I assumed it would perform better than doing it on page with php but if you suggest it performs better doing it with php then I'll go with that....
Forum: MySQL 11-09-2010, 07:34 PM
Replies: 9
Views: 2,008
Posted By brazenskies
Thanks. I actually am trying to return thousands...

Thanks. I actually am trying to return thousands from a total of 2.3 million rows.

Could you point me in the direction of where to begin with this?
Forum: MySQL 11-09-2010, 04:19 PM
Replies: 9
Views: 2,008
Posted By brazenskies
Perfect, thanks. I used... select...

Perfect, thanks. I used...

select distinct(SUBSTRING_INDEX(postcode,' ',1))

Would you know how to select everything up until the first numeric character?

So if my data looked like this..
...
Forum: MySQL 11-09-2010, 04:10 PM
Replies: 9
Views: 2,008
Posted By brazenskies
Select from string up until a space

Hi,

I'm trying to select the first X characters in a string up until there is a space in that string

Data may look like this....

OX2 1XF
OX29 3RD
OX43T EFT
Forum: MySQL 04-26-2010, 05:03 PM
Replies: 6
Views: 694
Posted By brazenskies
Thankyou very much!

Thankyou very much!
Forum: MySQL 04-26-2010, 04:54 PM
Replies: 6
Views: 694
Posted By brazenskies
I modified my query to the following... ...

I modified my query to the following...

SELECT *, ( (1.3 * (MATCH(title) AGAINST ('wood*' IN BOOLEAN MODE))) + (0.6 *...
Forum: MySQL 04-26-2010, 04:37 PM
Replies: 6
Views: 694
Posted By brazenskies
I changed the query and it worked to an extent. ...

I changed the query and it worked to an extent.

It DID return the book "Woodturning" but it didn't return "Woodland Management"
Forum: MySQL 04-26-2010, 04:31 PM
Replies: 6
Views: 694
Posted By brazenskies
I'll give it a shot!

I'll give it a shot!
Forum: MySQL 04-26-2010, 04:26 PM
Replies: 6
Views: 694
Posted By brazenskies
Advanced FULLTEXT searching

Hi all,

I have the following query to run a boolean query on various columns in my database placing weight on title before any other column...

SELECT *, ( (1.3 * (MATCH(title) AGAINST ('wood'...
Forum: ASP 02-15-2010, 04:10 PM
Replies: 1
Views: 1,923
Posted By brazenskies
Problem solved, our server had lost it's outgoing...

Problem solved, our server had lost it's outgoing connection resulting in the error.
Forum: ASP 02-15-2010, 11:56 AM
Replies: 1
Views: 1,923
Posted By brazenskies
Soap Issues

I have an asp application that uses soap to access various web services.

The site has been running smoothly for months now until yesterday when this error appeared...

WSDLReader error...
Forum: General web building 01-11-2010, 03:25 PM
Replies: 0
Views: 748
Posted By brazenskies
Web Application Security Courses/Reads

Hi,

Can anyon recommend me any good online resources or courses on Windows web app security?

Thanks in advance!
Forum: PHP 11-07-2009, 11:05 AM
Replies: 8
Views: 1,293
Posted By brazenskies
Thanks for that. I've clearly asked for some...

Thanks for that.

I've clearly asked for some help in the wrong place.
Forum: PHP 11-07-2009, 10:54 AM
Replies: 8
Views: 1,293
Posted By brazenskies
I never said it was to do with the server?

I never said it was to do with the server?
Forum: PHP 11-06-2009, 04:21 PM
Replies: 8
Views: 1,293
Posted By brazenskies
There's no ajax being used. The error is...

There's no ajax being used.

The error is just a simple undefined index error. I'm getting errors fine in IE, but I always use FF as my default browser.

I have fixed the problem now and FF...
Forum: PHP 11-06-2009, 04:06 PM
Replies: 8
Views: 1,293
Posted By brazenskies
The browser recieves the error and decides what...

The browser recieves the error and decides what to do with the page.

Using "browser.xul.error_pages.enabled;true" you can have the browser show errors, or not if you change the option "false"
...
Forum: PHP 11-06-2009, 03:55 PM
Replies: 8
Views: 1,293
Posted By brazenskies
Firefox not loading pages with php error

Right,

When I try to navigate to a php page that contains an error I used to get the error on screen. Now all it does it stay on the page that links to it.

I guess this must be a FF issue as...
Forum: PHP 10-13-2009, 12:13 PM
Replies: 2
Views: 452
Posted By brazenskies
ok so, it's perfectly secure with is_numeric()?

ok so, it's perfectly secure with is_numeric()?
Forum: PHP 10-13-2009, 11:07 AM
Replies: 2
Views: 452
Posted By brazenskies
Securing a web application

Yet another thread about security/sql injection I'm afraid.

I'm just wanting to get some other views on if the code I have used to protect from sql injection is secure enough.

Basically an...
Forum: Perl/ CGI 08-14-2009, 04:21 PM
Replies: 4
Views: 1,191
Posted By brazenskies
If anyone's interested, I installed php with...

If anyone's interested, I installed php with FASTCGI and it handle's my ajax requests over 6 times faster than standard CGI
Forum: ASP 08-07-2009, 08:48 AM
Replies: 3
asp
Views: 1,037
Posted By brazenskies
on the page set in "action" you can use... ...

on the page set in "action" you can use...


request.form("dropDownName")
Forum: Perl/ CGI 07-22-2009, 10:32 AM
Replies: 4
Views: 1,191
Posted By brazenskies
I have been told in the past it'll make a...

I have been told in the past it'll make a difference to PHP.

Currently having a read through this (http://phplens.com/phpeverywhere/fastcgi-php)
Forum: Perl/ CGI 07-21-2009, 09:35 PM
Replies: 4
Views: 1,191
Posted By brazenskies
FastCGI

Hi,

Will I notice a marked improvement in performance by setting up IIS as a CGI web server using Fast CGI?

It's currently set as a CGI server.

The reason I ask is that I'm trying to improve...
Showing results 1 to 25 of 424

 
Forum Jump

All times are GMT +1. The time now is 12:41 AM.