Jump to content

jeffjohnvol

Members
  • Posts

    39
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jeffjohnvol's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Good point. If it comes down to that, that would be a good solution. I would have to get apache on my pc (obviously) as well as the rest of the site.
  2. I think patrickvmi post may do what i need, but if it doesn't, is there one you recommend. I should say that this is a hosted solution through 1and1.com, so I may not be able to run a tool like that. I would have bumped up my memory allocation to 64 MB if I did have the access. I'm limited to 40MB as it is. Thanks!
  3. Beautiful, this is what I need. Thanks!
  4. I searched for this, but the search daemon couldn't be reached.... I am using a Drupal CMS, which allows the addition of "modules" Each module that gets activated requires more memory to be allocated as it pulls up the "modules" page, eventually giving a memory allocation error. I am suspecting that some "modules" require more memory than others, and there may be one that is using way too much. Is there a way to track how much memory has been allocated (or likewise, how much is still available) while a page is being generated in PHP? Something I could output to a table, file or screen?
  5. I'll do some googling on cURL and DOM to find examples that I can work with. Thanks for pointing me in the right direction. Jeff
  6. Hello, its been a few years since I've been here, I like the new look, very clean looking. Anyway, I have a task assigment for a property owners association. I know how to navigate to get this data, but I don't know how to programatically grab it. Manually, you would go to http://www.assessment.state.tn.us/SelectCounty.asp , put CARTER for the county, HORSESHOE in the subdivision name, and hit SEARCH. This will produce a list of properties. I need to navigate to each one (select radio button) to get to the page data. The page data is such that if I could get a string with the information, I could parse it out easily. THe data gets refreshed rarely, so I would only need to run this once a month or so. I wouldn't expect it to happen anytime a page was executed, as I know it would take too long. Any suggestions, gang?
  7. Hello Darren, If the tables are exact and the fields are in the same order, you could try this: mysql_query("INSERT INTO arch_match_report SELECT * FROM match_report WHERE MATCH_ID='$id' ") Jeff
  8. I will be working on a mod to do this once I get SMF installed. I'm using a nuke platform, but am about to load the www.smf-nuke.com version to get away from phpbb. phpbb is a nice forum, but I like SMF's cleaner look. Plus, if phpfreaks is using it, it says something about it too. I have built something similar in phpbb but lost it.
  9. Thanks! That did the trick, although I had to figure a few things out. My image path wasn't in the root, so I had to add the url paths to get it to work. It made me figure out how it worked though, so it was a good exercise. One question though: changing the dropdown changes the thumbnail as expected, but if I know what the default picture should be (initially) how do I set that photo initially?
  10. I have a "select" form dropdown that has between 1 and 20 images referenced. I need the user to select the photo they want to display. I can let them see the photo via php when they hit "preview", but I would like to display the picture in a thumbnail on the form. Is this easily done? The current dropdown, which is based on a directory and built each time, looks like the following: <td><select name = PrimaryPhoto><option value="none">No Photo</option> <option value="PICT1739.JPG">PICT1739.JPG: Kari</option> <option value="PICT1728.JPG">PICT1728.JPG: Dock view</option> <option value="PICT1714.JPG">PICT1714.JPG: picture title</option> <option value="PICT1731.JPG">PICT1731.JPG: picture title</option> <option value="PICT1740.JPG">PICT1740.JPG: picture title</option> <option value="PICT1741.JPG">PICT1741.JPG: picture title</option> <option value="PICT1742.JPG">PICT1742.JPG: picture title</option> <option value="PICT1743.JPG">PICT1743.JPG: picture title</option> <option value="PICT1765.JPG">PICT1765.JPG: picture title</option> <option value="PICT1766.JPG">PICT1766.JPG: picture title</option> <option value="PICT1767.JPG">PICT1767.JPG: picture title</option> <option value="PICT1768.JPG">PICT1768.JPG: picture title</option> <option value="PICT1769.JPG">PICT1769.JPG: picture title</option> <option value="PICT1773.JPG">PICT1773.JPG: picture title</option> <option value="PICT1774.JPG">PICT1774.JPG: picture title</option> <option value="PICT1775.JPG">PICT1775.JPG: picture title</option> <option value="arch.jpg">arch.jpg: picture title</option> <option value="back_porch2.jpg">back_porch2.jpg: picture title</option> <option value="bear4.jpg">bear4.jpg: picture title</option> <option value="j.txt">j.txt: picture title</option> </select></td> It should be simple, but I'm new to js. Any help would be appreciated. Thanks. Jeff
  11. Okay, I'll play with the relative url. Thanks. Jeff
  12. Corbin, I think you got me through it. I initally thought the !== may have been a typo, so I just went with == because I was certain the file name was right, when in fact it wasn't. I had to add the "http://www.mysite.com...." to the front for the file to be valid. The caching statements were giving an issue, so I commented those out, and then it worked fine after that. I'm not real concerned about the caching, so its not a big deal. Now that I have the base file.php working, I can play with the directory permissions and my user testing. Thanks again. Jeff
  13. Sorry, I don't think my last post made it. If your 3 constant values where 'Jeff', 'Robbie" and 'Jimmy' and your field was last_name, you would put may have something like this before: $last = $row['last_name']; values('Jeff', 'Robbie', '$last', 'Jimmy') Replace that with (SELECT 'Jeff', 'Robbie', last_name, 'Jimmy' from table2 where......) Its that simple.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.