Jump to content

Chat

Members
  • Posts

    28
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://chat.atbirmingham.com

Profile Information

  • Gender
    Male
  • Location
    Birmingham (UK)

Chat's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thanks corbin, you're a genius, it works just as i needed
  2. hi corbin, thanks for the reply. i normally use file_get_contents and file_put_contents, sometimes curl, and sometimes file()... but i've never used these socket functions before is there any chance you could give me some example code of how to a "telnet aspmx.l.google.com 25" and record the response?
  3. hi, i'm trying to make a script to validate email addresses. i start with: <?getmxrr('birminghampr.co.uk',$mxhosts); then i try: $x=system("telnet $mxhosts[0] 25", $y); ...and 3 lines are printed: Trying 64.233.183.27... Connected to ASPMX.L.GOOGLE.COM. Escape character is '^]'. while $x becomes the last line generated by the system... Escape character is '^]'. ...while $y becomes the number "1" to say something like it was a good command.... but if i try to manually "telnet aspmx.l.google.com 25" i get an additional response banner as the 4th line: 220 mx.google.com ESMTP i4si16*********.1 ...now what i need to do is somehow grab this 4th line using PHP! any ideas anyone? any help would be very much appreciated.
  4. Hi, I'm looking for a function or any solution that enables me to check if an xml feed url is live (server not down) so i can provide alternate content if it's not available. I've found pgp timerout functions that kill the script entirely after a preset length of time, but i want to merely kill the processing of a single function if it's not completed after a certain amount of time. i've tried using file_exists but it always fails even when the file does exist so i'm looking for any solution to provide alternate content if an xml file can't be loaded.
  5. thanks for the tip ray the problem is not that my script doesn't complete itself - it does all the necessary work, but the browser seems to stop listening and waiting for the script to echo it's last bits. althought the browser also doesn't stop "loading" so presumably it's still listening. the script still finishes all jobs tho.... it's only the final echoing back to the browser that doesn't work. the copying of files and stuff before and after all echos work fine. any further advice please... will be much appreciated
  6. hi, i have a problem - my sites do some complicated stuff like resizing and copying files... and the browser always crashes when running such heavy-task scripts. but the server always gets the job done - it just takes a minute or two... so i want to be able to communicate with my website users and say that it's half done / all done...etc so is there any way i can set a timer within php to check if all relevant files have been made, after 20 seconds of starting the script... and then can i report back to the website user this information? dan
  7. thanks for the link, will be useful to me. but there's lots of free templates out there which are of no use to someone with no web design skills whatsoever, such as the clients of the guy who's site we just reviewed
  8. please show me one example of a web designer that makes "wow" sites for little fees
  9. well the fact is the web design is adequate. it doesn't need to wow. if prices are cheap, it can be a good deal for a company that just wants to put a bit of corporate blurb online but can't afford a wowing website
  10. if it's extremely cheap prices, might be ok. but if the client has a fair budget you wont get the business - there's just nothing about your site that makes it better than a competitor. on a miror note, the bmp image in the portfolio should be made into a jpg or png, to make it load faster.
  11. thanks for the tips. i used to have a 3-column layout that used table markup... which is what tutorialised does. i'm trying to do the tableless markup thing and i dont know if 3 columns ideal.... but i take ur point about a standard sidebar navigation - i've had comments like this before and i'll keep working on it. any more advice would be much appreciated
  12. bwdp.org/webmaster - i'm working on it always. most recent thing i done was the search engine guidelines.... as u can see it's very comprehensive - just click the "i" to get extra list subitems. i'm trying to make this portal as useful as poss to webamsters generally, without making it too search engine unfriendly or accessibility-poor. any suggestions much appreciated.
  13. i was not aware of this unrestricted includes folder. anyway, i can't seem to access the raw php still. i tried saving the file but my silly library computer is messing me around. can you paste the php code in this thread?
  14. forgive me for my stupidity but how on earth can anyone do that?
  15. design is both strange and interesting. where can i view your php coding to criticise it?
×
×
  • 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.