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 Chriss Miller 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: *

  • Users: Microbe
  • Content: Threads
  • Order by date
  1. Microbe

    Make DW search .class files

    Hey folks, DW seems to limit its search to...well, I don't really know what the limit is, but it doesn't search every file in a site. e.g. .class files Anyone know how to enable or extend this behaviour so it will? Haven't been able to find anything on web. Thanks in advance Steve...
  2. Microbe

    Set *nix envirnment variable? Is it possible?

    Hey folks, I can set an environment variable with PHP by doming something like putenv("my_var=something") ; Is there anyway to do the same thing with Javascript? or an anternative? Thanks in advance Steve http://www.ColdCallComedy.com - I have fun with telemarketers
  3. Microbe

    avg() returns odd result

    Hey folks, I have never used avg() before and am puzzled by the result I am getting. SQL code SELECT * FROM s12345 ORDER BY id DESC LIMIT 5 plus php code do{ echo $row_trend["id"] . " = " . $row_trend["height"]. "<br>"; }while($row_trend = mysql_fetch_assoc($trend)); gives me the...
  4. Microbe

    fsockopen timing out

    [cross post from server 2008 forum] Hey folks, In what is a bit of an embarrassment a website client and the developer never discussed the server type so a big PHP site was built on linux but then ended up having to be deployed on MS Server 2008...sigh... My part almost works, the only problem...
  5. Microbe

    fscokopen() timing out

    Hey folks, In what is a bit of an embarrassment a website client and the developer never discussed the server type so a big PHP site was built on linux but then ended up having to be deployed on MS Server 2008...sigh... My part almost works, the only problem I am having is with fsockopen for...
  6. Microbe

    using querystring with require()

    Hey there, It seems you can't do something like require("myfile.php?action=edit"); PHP looks for the file name literally and won't find the file "myfile.php?action=edit" Does anyone know of a way to pass a parameter using require()? Thanks in advance. Steve http://www.ColdCallComedy.com - I...
  7. Microbe

    overheads with required core files

    Can someone tell me about overheads when including a file that contains a load of functions and classes. If I require a "core" file that has a load of code in it at the top of every page, and much of the code may not be used in that page, am I adding any wasted overheads? Or if a class isn't...
  8. Microbe

    onLoad breaks png transparency IE6 - any idea why?

    Hey folks, I am building a site and have some transparent png images. A common header is used through out so when one page didn't show transparency in the header images I knew it was something on the page. I eventually found out that having anything as an onload breaks the transparency...
  9. Microbe

    Div links not working despite being visible beside other div

    Hey there, Sorry the subject was hard to phrase. here's the situation: I have a div with a slide out tab. When the tab sits on top of the div it works as expected. However when I slip the tabs half behind the div with z-index the slide function breaks. It is as though the tab div is...
  10. Microbe

    Detect windows version?

    Hey there, I am using highslide (http://vikjavev.no/highslide/) in a site and I have 100% confirmed that it has some sort of code that causes the combination of W2K and IE6 to reboot. Not just crash the browser, actually restart the machine. This is not a good thing. However Highslide is so...
  11. Microbe

    Hide button works but when changed to image doesn't

    Hey there, I have a page that has the submit button hidden until a selection is made. It works perfectly. However when I then change the button to be an image i.e. from <input type='submit' value='Next' name='nextbutton' id="nextbutton" style='visibility:hidden' > to<input type='image'...
  12. Microbe

    searching array for value

    Hey folks, I am trying to create a pair of previous/next links. I find a value from a database and then want my links to be the previous and next records. I have determined that all my values are in the array but I am having trouble accessing them. Testing, I can loop through the array OK...
  13. Microbe

    Yet Another Browser Difference Problem...sigh

    Hey folks, Trying to fix this for someone and it has me stumped. IE bumps divs over by 20px. Divs have border around them for emphasis. You can see this for yourself at http://Davis.net.au/css.php I have stripped out everything except the code and the styles and it is still happening. I...
  14. Microbe

    Objects Vs plain functions

    Hey there, I have started learning about and trying to use objects and classes and was hoping someone could clarify for me why they are any better/different from just using functions. It seems that the end result is the same, the coding is pretty similar so why are objects better? Thanks in...
  15. Microbe

    code to retieve value whether POST or GET

    I am passing a value to a page. Some times it is a POST sometimes it is a GET. I can do something like if(isset($_POST["key"])){ $key= $_POST["key"]; } elseif(isset($_GET["key"])){ $key= $_GET["key"]; } but it seems a bit ugly and clumsy. Is there a way to grab the value by just doing...
  16. Microbe

    should page views count be stored with content?

    Always learning... I am writing a db that has a table with advertisement data. I want to keep track of how many views an ad has. Is it bad practice to put a field "viewCount" in the same table as the content? The alternative is to have a lookup table? The logic behind the question is that...
  17. Microbe

    different colours along the length of a letter

    Hey folks, Perhaps someone can help with a way to do this, I can't figure it. I have a brand name with two words over-lapping. Imagine it is yesongs. I want to make a logo that is half one colour and half another colour with the letter S being half of each colour. Obviously it is easy to...
  18. Microbe

    basic question on Ajax.Request

    I am a noob on this sort of thing. Have looked on web but info is pretty deep an there aren't many "just do this" pages. I wish to use a site where when I POST information to the site it does whatever in the backend and returns a HTML page with text something like 1234|OK|success I understand...
  19. Microbe

    is it possible to step backwards through filesystemobject?

    Hey there everyone, I have created a filesystemobject that displays thumbnails of all the images in a directory. So far so good If someone clicks on the thumb and displays the full size image, I want to give it some gallery-type behaviours with a next image and previous image link. Once I...
  20. Microbe

    sessions not working - any ideas?

    Hey folks, I recently trashed my computer and after rebuilding with XP Pro running IIS, mySQL, PHP 5.2.2 sessions seem to have broken. Here's an example of my test pages: test1.phpsession_start(); $_SESSION["test"] = "testing"; header("Location:test2.php"); test2.php is...

Part and Inventory Search

Back
Top