Hi,
I am really struggling with this
I am looking to do the following:
Direct www.domain.co.uk to domain.co.uk
Direct domain.co.uk to website.php
Direct admin.domain.co.uk to admin.php
and direct every other subdomain to box.php
This is what I have so far... miles off I think
RewriteCond...
Hi guys,
I am currently working on a website which is for artists to upload and showcase their artwork.
I have created the script to upload the images of the artwork. From these images I work out the top ten hex colours found in the image.
Now what I want to do is run those hex colour codes...
Hi people,
Can I use preg_match to get everything with an : after it from this http://pastie.org/681403 into an array?
So for example, from this:
* Author: James Mills [james@koodoocreative.co.uk]
* Created: 18 April 2009
Get this:
$myInfo['Author'] (when printed = James Mills...
Hi,
This may not be the right place to post this, please feel free to point me in the right direction.
I am looking for some help with Google Maps.
I have a map and I am trying to put a html pop on it at a certain point which is open on pageload.
I am trying this so far...
Hiya,
I am trying to find a way to do the following:
www.domain.co.uk/google/view_invoice/4637/
Will go to
www.domain.co.uk/view_invoice.php?company=google&id=4637
What are my chances of doing this?
Thanks in advance.
Hello...
I have a general question for you guru people...
We have a web application we have developed for a client and we have recently realised that we could actually set this up as a service for others as well as our client who we developed it for...
My question is geared more towards the...
Message : file_get_contents() [function.file-get-contents]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
I am trying to use file_get_contents() over an SSL connection and it would seem its causing some problems!!
Can anyone shed any light on this...
So the standard date/time format for RSS feeds is
Mon, 23 Mar 2009 17:32:59 +0000
Whatever that is called...
So its easy enough to make that format to make an RSS feed/item but what about when reading them in?
I thought this would work:
INFO: $value['created_at'] = Mon, 23 Mar 2009...
Do people use frameworks on here?
I have recently started to get into jquery and have a question if anyone is able to answer it... I did search for a jquery forum/section but I could not find one...
If I have this:
$(function() {
$.ajax({
url: "pages/twitter.php",
cache: false...
Hi guys,
I am using curl to get the raw html, within this html I want to get a URL to an image.
The URL will change each time but its wrapped in a class which I hope will help...
<span class="art">
<img width="64" src="http://images.amazon.com/images/P/B000063S6Z.01.MZZZZZZZ.jpg"/>
</span>...
Hi All,
I have this to redirect all requests to index.php which then handles all the other stuff... but I want this to work for everything except /admin/
Can anyone help please...
RewriteEngine on
RewriteRule !\.(gif|jpg|png|css)$ index.php
------------------------
www.jamesmills.co.uk
Hi All,
I have this to redirect all requests to index.php which then handles all the other stuff... but I want this to work for everything except /admin/
Can anyone help please...
RewriteEngine on
RewriteRule !\.(gif|jpg|png|css)$ index.php
------------------------
www.jamesmills.co.uk
Hello!
Now most of you will have seen when you are using a site that shows you dates of when things have happened if its happened today or yesterday then it will not show you the date it will actually say Today 15:35, or Yesterday 16:10...
Is this possible using SQL or is there something you...
Hi, Happy Christmas... this is what i have so far:
<?
if(!empty($_FILES)) {
require_once("includes/dbc.inc.php");
$filename = $_FILES['file']['name']; // Get the client side file name
$tempFilename = $_FILES['file']['tmp_name']; // Temporary file name server side...
HI, I have been programming php for years now but I am moving towards Object Orientated php now. I have a question.
I also program in C#.NET and when setting the variables you have to be very strict. So for example this would not work:
class Navigation
{
var $rows_per_page; // used in...
Hi Guys, need some help please! Been trying all day with no success!
# http://www.domain.co.uk/whatever_this_is/
RewriteRule ^([^/]*)$ http://www.domain.co.uk/$1/ [L]
RewriteRule ^([^/]*)/$ index.php?section=$1 [L]
# http://www.domain.co.uk/whatever_this_is/somethign_else/
#RewriteRule...
Hi...
I am trying to run this:
SELECT * from phpbb_users WHERE user_id <> '-1' AND user_active = '0' OR user_posts = '0'
Sure you can see what i am trying to do with phpbb forum users table but in the results it always picks up the user with id -1
Is my SQL wrong?
------------------------...
Hi,
I am sorry if there is a better place to post this but I want to be able to do this using PHP so I thought one of you guys might have used such a service before.
I want to send SMS notifications from my php script, has anyone done this before and how is it done? I take it you need to...
Hi everyone,
I have a table full of blog posts. I dont want to create a table just to log hits so i thought i would add a column to that table called 'views'.
I want to create a SQL UPDATE to count++ this, can it be done just int eh sql?
James
------------------------
www.jamesmills.co.uk
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.