找回密码
 注册
搜索
热搜: 超星 读书 找书
查看: 625|回复: 0

[【网站推荐】] 分享一个建立自己的GMail存储空间的PHP程序!

[复制链接]
发表于 2007-1-18 11:33:44 | 显示全部楼层 |阅读模式
简介[/COLOR]



PhpGmailDrive 0.3.2

major security bug

fixed.



PhpGmailDrive

http://pgd.sourceforge.net







  

Installation



  [B]1. Verify if your PHP hosting provider has CURL

extension[/B]



  2. Unzip the files



  3. Add Gmail

account and password in Config file.



  4. Upload files in

server.



  4. Run index.php and enjoy.

[/COLOR]







下面是config.php需要修改的一段[/COLOR]



[B]QUOTE:[/B]



?php

/**

  F_OFF = Filter is off, so all

attachments should be displayed

  F_SELF = Only attachments sent to own

account will be diplayed

  F_GMAILFS = Only attachments uploaded by

Gmail drive will be shown.

  **/

  $pgd_version =\"0.3.2\";  



  define(\"F_OFF\",  \"100\");   

  

define(\"F_SELF\",  \"101\");

  define(\"F_GMAILFS\",  

\"102\");

  $att_filter  = F_GMAILFS; // Change it as

desired

  

  $gmail_user[0] = \"*****@gmail.com[/COLOR]\";

  $gmail_password[0] = \"******[/COLOR];  //就这儿改你的帐号密码了:下同[/COLOR]

  $gmail_user[1] =

\"******@gmail.com\";

  $gmail_password[1] = \"******\";  //

  

$maxAccounts = 1; //Number of accounts to be used
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|网上读书园地

GMT+8, 2024-5-3 16:56 , Processed in 0.274720 second(s), 6 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表