Jump to content

someguy913323

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

someguy913323's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi. I don't know what's going on here, it's really a weird issue. I'm testing on a local test server, yesterday I was able to read/write files, now I'm unable to?! I haven't really fussed with the ini settings too much, I have no clue what it could be. Anyway I was sure to check if file_exists worked and it was in the proper directory, here's the code.. $mfile=fopen("sometext.txt","w"); fwrite("sometext.txt","helloworld"); fclose($mfile); Pretty basic huh? Anyway it shoots out this error for some reason: supplied argument is not a valid stream resource in ... Some of the ini setting go as following: open_basedir = safe_mode = Off allow_url_fopen = On allow_url_include = On (This one I switched to On to see if it would spark something, the rest are the default I believe) Also I've tried writing to absolute files, I don't know what it could be, any thoughts?
  2. Anyone? (Btw the new poster in a related topic is not me.)
  3. Wow, I'm kind of surprised I got a response on this, I've wrote to other forums with no replies. Thanks. No, I don't need my own smtp, I really just want to use it for testing purpose. I don't pay the bill here and I don't know the ISP. Though I referred to this site http://cqcounter.com/whois/my_ip_address.php. And it returned the following for Hostname: {IP}.dsl.{location i think?}.sbcglobal.net Is there a way I can find/use the remote smtp server based on the Hostname or any other information on this page? What values should I use for the SMTP and send_mail path directives in the ini settings? I hate to hassle you with these newbish questions, really, but I'm lost when it comes to networking. I hope I'm not bothering you too much.
  4. Ok, so I set up my local testing server (WAMP), and now I'm trying to get an email server up and running. After trying many different free smtp servers, I finally found a trial version that finally returned true for the mail function. Problem being the test email account never got the email. I don't know what php.ini settings I should have for sending the email. I don't know anything about networking, I really need someones help (if willing). By the way I'm just running windows xp on a local system and the smtp app is called qk smtp3. If you know a better way to accomplish what I'm trying to do (send an email with php from my local test system) I'm all ears. Thanks.
×
×
  • 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.