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 Mike Lewis 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: *

  1. JeffSChilders

    Help stop "undefined offset" warnings when setting arrays dynamically

    I have to disgree with this idea jpadie. You seem to be a passable coder. For all I know you might be the best php scripter on the planet. My following rant is aimed at this thought pattern that has emerged in todays programmers and not at you personally. Please don't take it as such. Just...
  2. JeffSChilders

    file_get_contents php 4.4.4 no cURL

    jpadie - you are not as confused as I. Yes the server is out of date... and php info says 'Microsoft-IIS/6.0' DNS is resolving because a link resolves correctly from that page. The main website is using a old DNN install which might be tweaking the url. Also one of the reasons upgrading is...
  3. JeffSChilders

    Help with info request form - not getting generated email

    1. check and see if you can send a email from a simple 1 line script such as $result = mail('evil8@mymail.com', 'hi', 'test', 'someone@somewhere.com'); if ($result){ echo "1"; else{ echo "0"; } if the msg sends then work backwards adding pieces and testing. Continue until you have it...
  4. JeffSChilders

    Help stop "undefined offset" warnings when setting arrays dynamically

    as jpadie pointed out you have an array slice that is null so when you try to increment nothing it dies. So either you have to initialize the value when you create it or check to see if the pointer is valid, initialize then increment.
  5. JeffSChilders

    file_get_contents php 4.4.4 no cURL

    First off there is no copy issue with the scraping of this page. The site I am working on is a subdomain. Using the following code: ... $url = 'http://www.outlands.org/Portals/0/event_cal.php'; $fp = file_get_contents($url); echo $fp; ... error: failed to open stream: Bad file descriptor...

Part and Inventory Search

Back
Top