www.webdeveloper.com

Search:

Type: Posts; User: copes

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. I've found a solution that seems to work... ...

    I've found a solution that seems to work...

    Create a seperate .htaccess file within /img/ and use the following;

    #URL redirection
    Options +FollowSymLinks
    RewriteEngine on

    RewriteRule...
  2. Just to add, another quick option i've considered...

    Just to add, another quick option i've considered would be using the meta base tag, but i think these also effect links which is a problem!
  3. Loading images from another server with a relative path

    Hello,

    I'm in a bit of a pickle! here's the issue...

    I've got two servers;

    'Server A' is the live server, accessed via www.example-a.com
    'Server B' is the development server, accessible via...
  4. Hi NogDog, I actually want to keep the...

    Hi NogDog,

    I actually want to keep the original row, but insert a copy of it, with a modified ID (as well as modifying a few other fields but that's not the issue so i didn't include it in the...
  5. Copying Rows in the same table (and modifying them) error

    Hello, i'm having an issue with copying rows from a table and modifying and reinserting them into the same table.

    The problem is with the ID field, the data comes from a system out of my hands,...
  6. Replies
    0
    Views
    625

    LOAD DATA problem, Errcode: 13 & 2

    Hello,

    I'm trying to use LOAD DATA to import a csv text file into mysql, via phpmyadmin, however i can't seem to get it to work. Here's my SQL:


    LOAD DATA LOCAL INFILE...
  7. Finding matched keywords in a exploded string.

    Hello,

    I have a large chunk of data that i'm using the below code to explode using an array of keywords, basically the data i have is sections which i need to split up, but there are potentially...
  8. jQuery Recalculating/building slider on resize (Easyslider 1.7)

    Hello,

    I'm trying to make a really slick gallery that uses easyslider (http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider) to display a slideshow. I'm resizing the...
  9. Replies
    1
    Views
    390

    Adding data to an array for xml

    Hello,

    I'm having some real problems with adding multiple products to an array because of using xmlrpcval().

    I've had a look at using array_push() and $array[] = 'x'; but neither i've been able...
  10. Thread: URL rewrite

    by copes
    Replies
    29
    Views
    2,102

    #URL redirection Options +FollowSymLinks...

    #URL redirection
    Options +FollowSymLinks
    RewriteEngine on

    #URL redirection rules
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^test/?$ index.php?n=test...
  11. Replies
    4
    Views
    1,460

    That's a good suggestion NoasIT! I'll use a...

    That's a good suggestion NoasIT!

    I'll use a couple of arrays and that should do the job nicely.

    Thanks
  12. Replies
    4
    Views
    1,460

    Hmm maybe i didn't explain myself well. in php...

    Hmm maybe i didn't explain myself well.

    in php i'm doing this:


    $query = 'SELECT * FROM bike_geometry WHERE name="'.$user_model.'"';
    $result = mysql_query($query);
    $row =...
  13. Replies
    4
    Views
    1,460

    Echoing text with variables inside content

    Hello,

    I could just be having a severe brain-freeze here, but i'm basically echoing out a "text" field from a mysql database which contains some text plus some variables. for example:

    (geometry...
  14. Replies
    1
    Views
    1,310

    Detecting Referring Sites

    Hello,

    I use google analytics on our websites, and i'm interested in how google can detect referring sites, are they only a referring site IF the page the link appears on another website to mine,...
  15. Replies
    2
    Views
    2,395

    Splitting a string into equal parts

    Hello,

    I'm wanting to split a variable length string which will just be plain text into three strings, so for instance


    $string = "hello world how are you today";

    $string1 = "hello world";...
  16. Replies
    1
    Views
    1,420

    Worked it out myself, ...

    Worked it out myself,



    GEvent.addListener(locmarker, 'click', function() {
    if(mapSearchOn==1){
    mapSearchOn = 0;
    locmarker.setImage('img/location-locked.png');
    }else{
    mapSearchOn = 1;
  17. Replies
    1
    Views
    1,420

    Google Maps "lock home marker"

    Hello,

    I'm trying to do a couple of things, which i'm not really sure if you can do within the google maps api or not.

    I have a map which when searching places a "home" marker at the point the...
  18. Replies
    8
    Views
    2,657

    I think it really depends on your branding, if...

    I think it really depends on your branding,

    if it were say "londoncheapeats.co.uk", its alot more readable:

    LONDON
    CHEAP
    EATS.co.uk (approproatly sized and spaced obviously.)

    I guess it...
  19. Replies
    2
    Views
    2,783

    Suggestions on CMS with paypal support

    Hello,

    I'm taking on a project which the chap wants a simple to use content management system. I don't really have a great deal of experience in using off the shelf cms's as i usually just create...
  20. Replies
    3
    Views
    1,721

    Thanks Charles, that was exactly what i was...

    Thanks Charles, that was exactly what i was looking for.

    The reason it was needed was to remove potential links/images etc from blog feed summaries.
  21. Replies
    3
    Views
    1,721

    [RESOLVED] Removing html function

    Hello,

    I've been using a function to remove any content between < > brackets, however it seems to not be working correctly.

    Here is the function, i'm not very good with regular expressions -...
  22. Replies
    5
    Views
    3,144

    The solution was to do with the .clear div, as...

    The solution was to do with the .clear div, as well as clear:both; it also had a 1px height specified, removing this removed the problem.

    Fixed now.
  23. Replies
    5
    Views
    3,144

    Yes i've already got a div below them with...

    Yes i've already got a div below them with clear:both, i've had the issue with content popping out of the container without it also, but i've never had content simply not show up, its almost as if...
  24. Replies
    5
    Views
    3,144

    Yes, but they are minor errors, alt tags missing...

    Yes, but they are minor errors, alt tags missing don't break pages :-)

    I've narrowed it down to the float attribute on the .col div's within the #twocolumn-holder, without float:left specified the...
  25. Replies
    5
    Views
    3,144

    [RESOLVED] Content not showing up in IE7 only

    Hello,

    I've got a website i'm currently working on which is pretty near completion.

    However someone noticed today that on two pages, the div #twocolumn-holder doesn't show up, instead there is...
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles