dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: kudzugazette

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Is it possible this is a server configuration...

    Is it possible this is a server configuration issue that could be changed?
  2. preg_replace working fine on one server, not on another

    I have a few preg_replace functions that are working fine on my local test server but not at all on my production server (everything just passes through unchanged.

    The first is to convert <span>...
  3. Awesome, thank you so very much.

    Awesome, thank you so very much.
  4. The table always has the same structure but no...

    The table always has the same structure but no css elements (it's part of an xml file).

    I want to remove the td and th tags, dump all the cells after the fifth cell and return the contents of the...
  5. I'm echoing the output, but the problem is that...

    I'm echoing the output, but the problem is that if I do this:


    $pattern = '/<td>(\w+)<\/td><td>(\w+)<\/td><td>(\w+)<\/td><td>(\w+)<\/td>/is';

    it just returns the entire table.
  6. Using preg_replace to strip elements out of a table

    I'm trying to use preg_replace to just get the first five<td>s or <th>s from a table.

    For example,

    <table>
    <tr>
    <th>AMERICAN...
  7. Replies
    0
    Views
    599

    Layering images in PHP

    I'm trying to layer two semi-transparent images, and for some reason only one image shows. Am I doing something wrong?


    $src = imagecreatefromPng("counties/maine.png");
    $dest =...
  8. Replies
    10
    Views
    1,632

    No problem.

    No problem.
  9. I figured out a way to solve this using php to...

    I figured out a way to solve this using php to count the rows and position: absolute;

    http://mainecampus.com/timeline/
  10. Replies
    10
    Views
    1,632

    Add this to your header (not to your style.css,...

    Add this to your header (not to your style.css, because it doesn't work on IE):


    <!-- always show scrollbar -->
    <![if !IE]>
    <style type="text/css">
    body {
    overflow-y: scroll;
    }
    </style>
  11. Floating content in front of other content

    I'm trying to develop a little photo sidebar for a newspaper Web site, and when you mouseover the thumbnail I want the article information to be displayed. I'm fine with the way it displays now...
  12. Replies
    4
    Views
    627

    Well, the plugin is built for newspapers, so I'm...

    Well, the plugin is built for newspapers, so I'm not too worried about there not being enough visitors our site gets about 3,000 unique visits a day, which should be more than enough to ensure the...
  13. Replies
    4
    Views
    627

    Thanks. I think I'll probably make it so...

    Thanks.

    I think I'll probably make it so whenever someone visits the front page it will run the script in the background. Seems easier than setting up something that won't be universal across all...
  14. Replies
    4
    Views
    627

    Recurring actions in PHP

    I'm writing a script to handle a huge number of mailings, and there will be a MySQL database with a queue of addresses to e-mail. I'd like a script to check the database every few minutes and see if...
  15. Replies
    1
    Views
    861

    NEvermind, I forgot to make each guid unique.

    NEvermind, I forgot to make each guid unique.
  16. Replies
    1
    Views
    861

    iTunes will only download one entry

    I have an RSS feed I'm creating, but iTunes will only download the first entry. I tried creating an itunes-only feed, but that didn't help.

    Feeds:...
  17. Replies
    2
    Views
    920

    Thanks!

    Thanks!
  18. Replies
    2
    Views
    920

    Quick question about echoing arrays

    I'm using getimagesize to print image metadata, and it comes out in an array something like this:


    Array ( [2#000] => Array ( [0] => � ) [2#120] => Array ( [0] => Photo Description ) [2#080] =>...
  19. Replies
    2
    Views
    554

    Well that was embarrassingly easy. Thanks!

    Well that was embarrassingly easy. Thanks!
  20. Replies
    2
    Views
    554

    Echo specific element of array

    I have an array that lists all the files in a directory, but I want to echo only the first element. I haven't used arrays much, and I figured it would just be echo $files[1], but it doesn't seem to...
  21. Replies
    3
    Views
    1,815

    Put this at the top of the page, right after the...

    Put this at the top of the page, right after the head tag.

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    Once you do that you shouldn't have any problem with curly...
  22. Replies
    1
    Views
    505

    Fairly picky sorting.

    I want to use use opendir to recursively list all the files in a directory (http://files.mainecampus.com/pdf.php), and I'm trying to sort the array, but I'm having a couple problems.

    First, I have...
  23. Thread: localhost

    by kudzugazette
    Replies
    9
    Views
    2,961

    No prob. I've never used Joomla before. Is it...

    No prob. I've never used Joomla before. Is it good?
  24. Thread: localhost

    by kudzugazette
    Replies
    9
    Views
    2,961

    Well it's written in PHP so it'll have to run off...

    Well it's written in PHP so it'll have to run off a server with PHP enabled, so I'd say no.
  25. Thread: localhost

    by kudzugazette
    Replies
    9
    Views
    2,961

    Hmmm, I've only ever used wamp on windows. Sorry....

    Hmmm, I've only ever used wamp on windows. Sorry.

    I know this sounds incredibly tech supporty, but make sure the program starts the server. I know it took me a few tries before I realized that...
Results 1 to 25 of 90
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles