User Profile

Collapse

Profile Sidebar

Collapse
d3vkit
d3vkit
Last Activity: Feb 21 '10, 07:03 PM
Joined: Nov 19 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • trochia
    trochia posted a Visitor Message for d3vkit
    Hello, reading http://bytes.com/topic/mysql/answers...ysql-what-heck now. I am having a hell of a time also...for over a week now.. Sounds like you mastered your problem?

    Thx!! Jim
    See more | Go to post

  • d3vkit
    replied to Weird margin at top?
    That's really weird; I couldn't see any weird characters there no matter how I tried. But, I decided to try just remaking each php file and then rewriting the code that seemed to be messed up (topbanner and navigation both) and then copy and pasting the proper stuff from the file I needed. It worked! The weird top-margin is gone, and the site looks like it did before. Thanks a lot you guys, you gave me the great idea of rewriting the files (and it...
    See more | Go to post

    Leave a comment:


  • d3vkit
    started a topic Weird margin at top?

    Weird margin at top?

    I recently had a friend pass along some web work for me; a simple update. I for some reason decided I would do some overhauling of the page (he had been doing straight html and I figured some php would make things MUCH more manageable, especially with the pictures).
    So, I set to work doing what I normally do for all my site, create the index page with a switch to stick different content in the main part of the page depending on variables passed...
    See more | Go to post

  • Well, I figured it out, and thought I'd share the little things I had done wrong just in case this comes up in a Google search or something.

    1. I upgraded my hosting to Deluxe Linux with multiple hosting, so I can seamlessly use folders in my root and direct my different domains to those folders. I realized later on that .htaccess will take care of this with a little work, but I suppose the extra $3 a month is worth making it easy....
    See more | Go to post

    Leave a comment:


  • I've decided to scrap my previous method and try my hand at actual mod_rewrites - but am running into the same issue.

    Code:
    RewriteRule ^http://www.site.com/directory/fake_dir/([0-9]+)/$ http://www.site.com/directory/index.php?id=$1
    From what I understand, this ought to take anything such as site.com/dir/fake_dir/1 and make it site.com/dir/index.php?id=1, but I'm still get a no input file specified error. My...
    See more | Go to post

    Leave a comment:


  • Clean Urls Suddenly Not Working - No Input File Specified

    I've been using apache and php to create clean urls for a while, and suddenly the other day it just stopped working. My host is godaddy.com and I think this might be the source of my trouble, but I'm not sure what exactly that trouble is. Here is my .htaccess file:
    Code:
    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4
    
    <FilesMatch "^comic$|^post$|^characters$|^extras$">
        ForceType
    ...
    See more | Go to post

  • d3vkit
    replied to Select text at intervals for array
    in PHP
    Ah, that makes pretty good sense. I've got a new project now but I'll have to check this out later when I get a chance. It's actually quite easy isn't it :P Well thanks for your time, you've been very helpful....
    See more | Go to post

    Leave a comment:


  • d3vkit
    started a topic Select text at intervals for array
    in PHP

    Select text at intervals for array

    Okay, so this might be impossible to do. I want to select certain text in a database field using PHP, at certain intervals, such as once every 8 characters, select for 10 and put in array, skip the next 5 characters, select for 6 etc. This might sound odd but I want to select certain text from a large field that will be repeating itself at these intervals. Something like this:


    And it will repeat itself. I am not the best with...
    See more | Go to post

  • d3vkit
    started a topic Counting entries: php / mysql
    in PHP

    Counting entries: php / mysql

    Edit: Gosh I should really sleep. I was looking at my article numbers, not my ACTUAL DB numbers; seems I had deleted some blogs or something but it kept marching forward, so there was a discrepancy between article numbers vs actual blogid. So, if a mod can delete this, I'd be fine with that (I guess I can't delete the thread). Thanks for any time anyone spent reading this.


    I am for some reason not getting this, and maybe someone...
    See more | Go to post
    Last edited by d3vkit; Aug 11 '07, 11:50 AM. Reason: Stupidity

  • d3vkit
    started a topic Mysql_Num_Rows Error in PHP Script
    in PHP

    Mysql_Num_Rows Error in PHP Script

    Alright I can not figure this one out, so I'm guessing it's some simple typo and some extra eyes will help me spot it.

    Here's the query (already connected to DB everything works in that respect):

    [php]$inactiveQuery = "SELECT userid,email_ad dress,username, signup_date FROM users WHERE activated = 0";
    $inactiveResult = mysql_query($in activeQuery) or die('error: query failed: '.mysql_error() );
    ...
    See more | Go to post

  • d3vkit
    started a topic Mail sent to everyone instead of a few!
    in PHP

    Mail sent to everyone instead of a few!

    I have a website where I write articles and people can post comments to the articles. When the comment is posted, mail is supposed to be sent to users which are subscribed to the articles comments and have not checked the articles comments. I have a comment_subs table in my db, as well as a users table.
    Comment_subs looks like this:
    Code:
    -- 
    -- Table structure for table `comment_subs`
    -- 
    
    CREATE TABLE `comment_subs`
    ...
    See more | Go to post

  • d3vkit
    replied to Floated dv with bg image takes no space?
    Not yet. Was going to bump the thread soon but I've been busy with other things. Any ideas? I think soon I'll need to start trying to come up with another solution for this, start from scratch. Maybe just have an image inside the div and not as the BG, that would probably be better anyway....
    See more | Go to post

    Leave a comment:


  • Thanks I'll look into that....
    See more | Go to post

    Leave a comment:


  • d3vkit
    replied to Hide Javascript From View Page Source?
    Doesn't compressing your js make it harder to steal? Or is there a way to decompress it? Is the compression just the encoding that you linked to?...
    See more | Go to post

    Leave a comment:


  • d3vkit
    started a topic Dynamically generate movie new releases from Amazon?
    in PHP

    Dynamically generate movie new releases from Amazon?

    I've seen some websites (dvdtalk.com is one example) which have randomly generated links to new releases movies on Amazon.com. Now I've signed up for the affiliates program, and I can build the link (amazon.com/o/ASIN/#/affiliate-id), but so far I've just been manually adding data to my database, including the title, ASIN number, and image address. Is this how the bigger sites do it, or is there a more automated way? I'm using php/mysql.
    See more | Go to post

  • d3vkit
    started a topic Floated dv with bg image takes no space?

    Floated dv with bg image takes no space?

    Okay I've got a problem which wouldn't be a problem if IE was not around, but yeah, IE is giving me trouble.
    I've got a tag-cloud that is on my page; everything was fine. Sort of like this:
    <header>
    <tags>
    <footer>

    I then decided I wanted to have two images at the top of it, like so:
    <head1><head2 >
    <tags>
    <footer>

    (to see in action,...
    See more | Go to post

  • d3vkit
    replied to freaking out!
    No problem I love to help whenever I can....
    See more | Go to post

    Leave a comment:


  • d3vkit
    replied to creating space in a webpage
    Thought I'd give my 2 cents on an editor - I use notepad++. It's a simple editor with tabs and code colors. And for the next step past html/css, I went to php, which I found to be really helpful. Javascript is nice, but mostly provides little error checks and functionality things. PHP allows you to really create content dynamically. But both are good tools to have at ones disposal.
    See more | Go to post

    Leave a comment:


  • d3vkit
    replied to Windows XP Shutdown timer
    As far the dos shutdown command, if you are making a batch file (.bat) to automate this, don't name it shutdown.bat. It will repeat the command in a prompt and never execute. Instead something like 'powerdown.bat' , with the code from above, will work fine.
    See more | Go to post

    Leave a comment:


  • Is there any difference? All I see is the parenthesis removed. Is that different in how it includes?...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...