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: jimoblak
  • Content: Threads
  • Order by date
  1. jimoblak

    fopen is not behaving

    I'm asking this question on behalf of another person so some of the explanation may be lacking. We are trying to read a remote file: $fd=fopen("http://weather.yahooapis.com/forecastrss?p=90210","r"); This works fine for me on three different servers (with three different platforms and...
  2. jimoblak

    Finding sum of column values in a single row

    I've got a mental block. If I have a table that looks like this... id, value1, value2, value3, total 1,1,1,1,[?] 2,2,5,4,[?] 3,4,1,1,[?] What query could be used to update the value in the 'total' column as the sum of each row's value for 'value1', 'value2', and 'value3'? The results I am...
  3. jimoblak

    VMWare server accessible to host system?

    I have Ubuntu running through the free VMware player on a WinXP host. Ubuntu has Apache running so that I can access files via http://localhost within the virtual system. Is there a way that the host OS can access the HTTP server on the virtual system?
  4. jimoblak

    Preventing file access via PHP in a shared hosting environment

    I just discovered that one of my hosting providers has a bad configuration of PHP/Apache. Using PHP, I am able to navigate to other users' directories in the shared hosting environment. I can even access the root file system. While I can read/view most all files and folders, I can only modify...
  5. jimoblak

    Looking for file upload scripts on my own server

    I'm doing a security assessment for any unintentional doorways that might allow PHP to upload files to a server. To search for a file upload function, would I only need to grep for "$_FILES" or are there other things I should search for as well? The goal is to search for all PHP scripts that...
  6. jimoblak

    Select distinct domain name from an email field?

    Is it possible to select distinct domain names from an email field in a table in a single statement, extracting the domain after the token '@'?
  7. jimoblak

    Spoofing REMOTE_ADDR

    Is this possible? How? I have seen a few articles that note vulnerabilities in apps where HTTP_X_FORWARDED_FOR is preferred over REMOTE_ADDR ( http://seclists.org/bugtraq/2004/Apr/0235.html ). I have seen other articles about spoofing HTTP_REFERER but nothing about spoofing REMOTE_ADDR...
  8. jimoblak

    Interactive sorting and grouping

    I know my PHP and MySQL but am pretty weak on Javascript so I rely on existing frameworks and snippets to get me by. I am currently looking for a way to sort and group elements. A step in the right direction seems to be found at: http://www.cyberdummy.co.uk/test/dd.php But what I want to do...
  9. jimoblak

    Recommendations for a page load monitor?

    My web host was purchased by another company and service is failing. I'm finding my web pages sometimes take 30 or more seconds to load. Other times, they load instantly. My own internet connection is fine as I can access any other web sites with no problem. Can anyone recommend any tools to...
  10. jimoblak

    Query help: ordering both ASC and DESC

    I'm stumped... What would be the SQL to order column 'a' as ASC but then column 'b' as DESC? Example: columns a:b 1:a 1:r 3:g 2:w 2:j 3:e 1:m Ordered output should be as: 1:r 1:m 1:a 2:w 2:j 3:g 3:e
  11. jimoblak

    Blocking Google

    There is an application server at an address like http://secure.theirdomain.com. This domain is used by a small group for company operations. It is not intended for the public but it is not a problem if the public stumbles on to it. It is a problem if Google has indexed this page and...
  12. jimoblak

    Displaying a read-only RTF file in a EULA form

    I probably have 10 hours of experience with Visual Basic 2005 Express Edition so please excuse my ignorance. I need to mock up an existing RTF file in a license agreement form. I have dropped the RichTextBox control on the form but I am lost where to embed the source RTF file. Can someone...
  13. jimoblak

    Locked mouse at random times - keyboard still works

    Advice would be appreciated... My mouse locks up sometimes and I have to restart the computer to refresh it. When the mouse locks, I can still use the keyboard so I am able to save all open documents before restarting.
  14. jimoblak

    CAPTCHA options

    If I set my form to only accept input from itself via a page referrer check, is there a need for CAPTCHA image to prevent form spamming? Or from the other way around, how would someone spoof the referring/requsting page to make it look like the original form? I'm lost on the need for CAPTCHA...
  15. jimoblak

    Selecting a range of +10 and -10

    I have a USPS zip code table that shows zip, city, state, latitude, and longitude. I hope to allow a person to enter a zip code to find other locations near them. While I can play around with formulas of latitude and longitude for proximity searches, I want to keep things simple by searching a...
  16. jimoblak

    Display count beside combo box

    Please excuse my stupidity. I come from a background of raw SQL and find the user-friendly GUI of Access not so friendly to me. I am creating a form with a combo box that displays the distinct types of orders (online, store, phoned, faxed, etc). Once selected in the form, what is an ideal way...
  17. jimoblak

    Form submission does not work on MSIE

    I have a really basic form (index.php) that works in at least Mac Safari and Windows Firefox & Opera. It does not work in Windows Internet Explorer. Suggestions are welcomed. <form id="FormName" action="index.php" method="get" name="FormName"><button name="button" value="submitted"...
  18. jimoblak

    Autonumbering (not hidden cells)

    If I want to autonumber a sequence of cells going down a column, all I need to do is drag the corner handle down the range of cells in that column. If some of those rows are hidden, how do I autonumber only the visible cells? I do not want the autonumbering to fill the hidden cells.
  19. jimoblak

    Counting Excel 97 cells

    I'm trying to count the number of cells in column A that have data. Some cells are blank. Is 'COUNTIF' ideal? How would you count filled cells of varying data?
  20. jimoblak

    Displaying all data that PHP can process

    I am working on replicating the autocomplete demo on this page ( http://www.papermountain.org/demos/live ) but am stuck on the data that I am passing to the PHP page to generate the XML. The demo uses Ruby and a cgi script but I am trying to do this in plain PHP. The problem is, since I have...

Part and Inventory Search

Back
Top