Jump to content

gple

Members
  • Posts

    166
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

gple's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. got to this to work. thanks for your help
  2. what I mean by share and map it: i have map a network drive to the folder and then I created a shortcut to the desktop of the index page
  3. they recently reset my website so my php.ini file has been adjusted. One of my sites is no longer passing a session variable to the next page. I am sure its one of the settings being reset. here is the data from my phpinfo file. Anything that looks off to anyone? session Session Support enabled Registered save handlers files user sqlite Registered serializer handlers php php_binary wddx Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 On On session.bug_compat_warn On On session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_httponly Off Off session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_divisor 100 100 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.hash_bits_per_character 4 4 session.hash_function 0 0 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path /home/users/web/b535/ipw.plevtech/public_html/cgi-bin/tmp /home/users/web/b535/ipw.plevtech/public_html/cgi-bin/tmp session.serialize_handler php php session.use_cookies On On session.use_only_cookies Off Off session.use_trans_sid 0 0
  4. ok, if its correct behavior, how do i get around this. We have purposely created an internal mysql database and have built a website for security purposes. We want to share the index page to a couple of other users within the small business. Again, one computer has php, apache and mysql installed. the entire website was created on a local machine and is functioning properly. When I map to that folder from another machine and try to load the page, then I get zero data. I was thinking that I may have needed either apache or php installed on that second computer but I didnt see the code display on the webpage.
  5. I am running php on one computer at work and want other users on other computers to access the index page by sharing it.after mapping the page, I see no data on the other machine. Does php, as pache need to beer installed on other computers footer it too work properly
  6. I have installed mysql on my laptop and when i try to load the command client, i can quickly see the client load and quickly close. I can also see mysqld.exe running as a task. I also have MYSQL installed on a separate machine and the command client loads fine. Any ideas?
  7. gple

    MAIL()

    i tried copying some code offline just to test <?php require("C:\php\includes\class.phpmailer.php"); $mail = new PHPMailer();$mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "smtp.gmail.com"; $mail->SMTPAuth = true; $mail->Username = 'xxxxxx'; $mail->Password = 'xxxxxx'; $mail->AddAddress("xxxxxxx@gmail.com"); $mail->Subject = "Test 1"; $mail->Body = "Test 1 of PHPMailer."; if(!$mail->Send()) { echo "Error sending: " . $mail->ErrorInfo;; } else { echo "Letter is sent"; } ?> and getting an error fputs(): supplied argument is not a valid stream resource in C:\\php\\includes\\class.smtp.php on line 212
  8. gple

    MAIL()

    ok i have downloaded phpmailer and placed the files withing my includes folder in my php folder. now what?
  9. gple

    MAIL()

    i installed php, apache and mysql on my local windows machine and I want to use the mail function without installing a mail server. what can i do? i constantly read that i can SMTP into my webhost mail account like I do from outlook but I can never get it right, i get unauthenticated messages in my error log, any suggestions.
  10. ok, so i pulled the SMTP and host and added it to my php.ini. restarted apache and now get this: [Mon Nov 07 11:09:22 2011] [error] [client 127.0.0.1] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: SMTP server response: 550 bosauthsmtp13: Host 108.14.81.2: No unauthenticated relaying permitted in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\add_contact.php on line 49, referer: http://localhost/index.php?func=4
  11. hello, I am running php locally on my machine but it seems that when I try to call mail () function, I get error messages. I believe that I need to set up a mail server on my machine. Is that an accurate statement? whats the easiest way to do this? Is having OUTLOOK installed on the machine sufficient?
  12. $get_lcat=mysql_query("select * from files where type='Cat' order by id desc"); $category=mysql_result($get_lcat,0,'file'); $fd = fopen ($category, "r");
  13. the file permission is set to 777
  14. i just moved hosts and it seems that one of my codes does not work. When I try to open a file via fopen (), i constantly get the message 401-unauthorized. Thoughts?
×
×
  • 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.