Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JamesGMills

    mod_rewrite help

    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...
  2. JamesGMills

    hex to real name

    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...
  3. JamesGMills

    Filling in missing hours from array

    Hi, I have the follow array returned from my database query. Array ( [0] => Array ( [Hour] => 1 [Hits] => 8 ) [1] => Array ( [Hour] => 8 [Hits] => 11 ) [2] => Array ( [Hour] => 9...
  4. JamesGMills

    preg_match

    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...
  5. JamesGMills

    Google Maps

    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...
  6. JamesGMills

    RewriteEngine

    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.
  7. JamesGMills

    multiple customers account, one set of files? [system architecture]

    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...
  8. JamesGMills

    Unable to find the wrapper "https"

    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...
  9. JamesGMills

    RSS time format

    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...
  10. JamesGMills

    jquery

    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...
  11. JamesGMills

    find an image url within raw html

    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>...
  12. JamesGMills

    mod rewrite all but not /admin/

    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
  13. JamesGMills

    RewriteEngine

    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
  14. JamesGMills

    Change 22nd Jan 2008 16:15:27 to Today 16:15.27

    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...
  15. JamesGMills

    Resize image for blob

    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...
  16. JamesGMills

    PHP OOP

    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...
  17. JamesGMills

    mod_rewrite

    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...
  18. JamesGMills

    simple yet not working?

    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? ------------------------...
  19. JamesGMills

    send sms via php

    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...
  20. JamesGMills

    count

    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

Part and Inventory Search

Back
Top