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

    extracting values from same field different row using different where statements

    I have a table called `employment` that contains two INT references named `employer` and `employee`. As a person can be either or both I have a single table named `personnel`. I am trying to construct a query that displays personnel.name as `employer` where employment.employer=personnel.id...
  2. sunbase

    copy an image file from a PHP url

    I am extracting data from an XML file (with full consent) and I use the file to identify and copy files. From other similar feeds I simply identify the URL of the image then use copy ($from,$to) but in this case I have isolated the image file to...
  3. sunbase

    writing to a table before calling a URL

    I want to monitor who calls a URL and when so I want the click on the link to write to a table before executing the link is this possible and how does a simpleton like me make it happen? Please keep it simple if possible.
  4. sunbase

    File Exists - remote file

    I am importing data from an XML file including .jpg files and I am using the copy command. All works well unless the remote file is missing when I get an error. Following advice from a colleague I have tried using getimagesize() but if the image doesnt exist I am still getting an error message...
  5. sunbase

    using str_replace to remove html para tags

    I am missing something but I have successfuly imported data from an XML file but am having problems with the simplest of tasks - the data contains a string containing <p> and <p /> html tags but my attempts to remove them and replace them are failing - $newpara=str_replace("<p />;","...
  6. sunbase

    504 Gateway Time Out puzzle

    I have code to extract data from an XML feed and post it to mySQL tables. $propertyid = $objDOM->getElementsByTagName("property"); foreach( $propertyid as $value ){ etc etc } It works fine - it extracts the data, corrects formats where necessary, corrects data errors and successfully post to...
  7. sunbase

    PHP5.4 Global or Session Variables?

    I have a simple problem that I cannot seem to sort in 5.4. I have a website login which validates user login with the usual ID and password requirements. What I am truing to do in 5.4 which I successfully achieved in PHP4 is to create a static or session variable to hold a value which...

Part and Inventory Search

Back
Top