Klass
Jun 18 2005, 08:08 PM
cse-icons
Jun 19 2005, 12:13 PM
Thats great work... congrats to evilguru... nice idea by BuffaloHELP. Its so bad that I dont know php, but let me see if I can do something similar with jsp/servlets. I might give it a try next month, a lil busy at the job currently. nyways, keep up the good work... Cheers.
Reply
evilguru
Jun 19 2005, 12:48 PM
Hello, you can find the source code for the program here: http://www.dcrez.co.uk/create/gmail/gmail.zip It has been tested on PHP 4.3.11 (red hat) and PHP 5.0.4 (win, IIS). To use it all you need to do is edit Gmail.php replacing <user> and <pass> with your Gmail user name and password for the storage account you will be using (there is NO way for the user to ever see your Gmail user name or password as it is all server side). The system itself is very simple, it searches your Gmail account for a conversation in which the subject is the same as a $_GET['q'] argument (mails which have not been read yet are returned as <b><subject></b>, so I strip the <b> tags first). I use an edited version of the open source libgmailer 0.7a (http://gmail-lite.sourceforge.net/index2.html#gmailer), with the changes being to how attachments are handled, libgmailer by default overides the CURL output settings, getting it to write to a file so I have changed this back to the CURL default (browser) and commented out some session stuff. There are still some changes to made (eg page support needs to be a bit better). Hope you all like it 
Reply
serverph
Jun 19 2005, 02:38 PM
thanks for sharing your work with us, evilguru!  all gmail users wanting to use the gmail system for hosting ought to be informed of this, so i'll do what i can to spread the word.  do you have a development site for this? hope you can get one up. better to have one to track updates and comments.  would it be alright if we set up a mirror of this if ever?  PM me.  QUOTE(evilguru @ Jun 19 2005, 08:48 PM) Hello, you can find the source code for the program here: http://www.dcrez.co.uk/create/gmail/gmail.zip It has been tested on PHP 4.3.11 (red hat) and PHP 5.0.4 (win, IIS). To use it all you need to do is edit Gmail.php replacing <user> and <pass> with your Gmail user name and password for the storage account you will be using (there is NO way for the user to ever see your Gmail user name or password as it is all server side). The system itself is very simple, it searches your Gmail account for a conversation in which the subject is the same as a $_GET['q'] argument (mails which have not been read yet are returned as <b><subject></b>, so I strip the <b> tags first). I use an edited version of the open source libgmailer 0.7a (http://gmail-lite.sourceforge.net/index2.html#gmailer), with the changes being to how attachments are handled, libgmailer by default overides the CURL output settings, getting it to write to a file so I have changed this back to the CURL default (browser) and commented out some session stuff. There are still some changes to made (eg page support needs to be a bit better). Hope you all like it 
Reply
shigajet
Jun 19 2005, 02:49 PM
Wow! That's a useful tip. The only thing is I doubt I'll ever have the time to actually do this task...not to mention I'm still at the beginning stages of learning php.
Reply
Shackman
Jun 19 2005, 04:03 PM
Quite interesting. Cool challenge. But I think this would not work. Why I say so? This is because if this were possible, Google would go burst. I'm sure Google hires experts to help prevent this from happening. Furthermore, the storage space is most likely share resource, which means the space might not be there. Despite saying this, I would stick to this thread and see how it goes. I might be proven wrong. -Shackman
Reply
BuffaloHELP
Jun 19 2005, 04:44 PM
I know that evilguru is working on zip attachment files. I tried mpg file and it showed up as decoded text strings (no streaming or downloading mpg file). Perhaps it's in the libgmailer somewhere to tell how to handle such files?
Reply
evilguru
Jun 19 2005, 06:47 PM
The problem itself is not with libgmailer, but with how the browser handles appliction/xxxx streams, as these can not be 'shown' in the browser so it takes to download them. With a zip file it will download it under the name gmail.php and if you have any text-editors associtated with .php files it will try to open it in them (as it thinks it is downloading a .php file due to the extension .php). I believe there are ways to get past this problem and am looking into them. The same is true of mpg files. I have just added support for different users, but it is still in very early stages. If you would like to use it go to: http://www.dcrez.co.uk/create/gmail/account.php and 'create' an account (in which the information is added to a MySql database), then to view it you can do http://www.dcrez.co.uk/create/gmail2.php?id=<your handle>&q=<subject of email> where <your handle> is the handle of the account you created and <subject of email> is the subject of the conversation in which to read the first attachment from. Still got a fair bit of work to do on it however.
Reply
[i]_R_Crazy_Idiot
Jun 20 2005, 03:28 AM
Well, if they can make a Gmail filesystem I dont see why this cant be done.
Reply
evilguru
Jun 20 2005, 07:50 PM
Hello everybody  I have now added zip support to the system. The solution was quite simple, if the type of the attachment is application/zip then send the file out as: an octet-stream and explicitly specify the filename. The bad news is that for every type of file which the browser can not handle I need to set up to use an octet stream. Might be faster to only not do it for certian file types, we will see. The code for it is: CODE if ($conv->conv[$id]["attachment"][0]["type"] == "application/zip") { header('Content-type: application/octet-stream'); header('Content-Disposition: inline; filename="' . $conv->conv[$id]["attachment"][0]["filename"] . '"'); } else { header('Content-type: ' . $conv->conv[$id]["attachment"][0]["type"]); }
Works on firefox, ie and opera (only ones I have). You can integrate it yourself, or wait for the new version which will have full datatbase user support as well as bandwidth limits (daily limits) which will allow people like me to provide a 'public' version of the service. You can see it here: http://www.dcrez.co.uk/create/gmail/gmail2.php?id=test&q=zipFYI, gmail2.php is the user accounts version, which uses a database and it just happens that my chosen 'handle' for my project.website@gmail.com account is 'test'. Regards, Freddie (aka EvilGuru).
Reply
Recent Queries:--
gmail host - 35.32 hr back. (1)
-
host files gmail - 91.77 hr back. (1)
-
gmail file host - 136.05 hr back. (1)
-
host files on gmail - 179.57 hr back. (1)
Similar Topics
Keywords : project, gmail, host, challenge, man
- An Ode To Gmail.
A small text about how GMail is awesome. (5)
Gmail Invitations
Hello someone need a Gmail invitation? (1) Hello if someone need a gmail invitation Just PM me My Gamil Adress is: DJ-MusicsMix@gmail.com i
have 50 invitations left here! ------------------------------------------------ Greetings,
DJ-MusicsMix The Netherlands....
Working Download Manager For Gmail Attachments?
anybody with experience...? (2) is there a download manager that i can use to manage my downloads of GMAIL attachments ? i want to
queue up my downloads in such a way that i can simply leave it running in the background (and
possibly resume downloads too, if connection is lost). anybody with relevant experience in this
respect, and who can recommend a download manager which will work? i don't want to download all
kinds of download managers out there to test it one by one, so your experience in this regard is
highly appreciated. /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt....
Auto-delete Your Spam In Gmail
finally, get rid of all that spam! (16) i have been using gmail for quite a while, and have always hated hotmail. i hate it now more than
ever now that it is 'windows live mail'. however, there has always been something about
gmail that bugs me: how on earth do i get rid of all that spam? i mean, doesn't it ever bug you
when you have 3 new messages in your inbox, and then 56 bits of spam? and then you have to manually
head to the spam folder, and delete them all? i know gmail offer you a lot of space and i know the
spam messages get deleted after 30 days, but for me it is a phsychological thing: i....
Gmail Drive Going To Work?
(2) I heard Gmail changed their way in their system. So Gmail Drive don't work anymore. Any idea or
anyone is working on this? Gmail Drive used to be a very handy tool! Until last week.. ........
Gmail Imap
(2) My gmail has no IMAP on your settings. Someone I know how to access it or not available?....
Gmail - Accounts Got Disables Last Week....
(3) I believe many must be aware of the mishap in Gmail last week, as few of the accounts got disabled
due to some reason. One of my friend was also a victim of this... But Good that Google retrieved
everything in a week and he is again among the happy customers of google... This is happening
rarely in Gmail. Please make sure that you have backups of all your mails someplace to avoid any
loss. http://mail.google.com/support/bin/answer.py?answer=50208
http://www.techcrunch.com/2006/12/28/gmail...mail-deletions/ Ways to avoid loss 1. Forward all
your incoming mails to....
Why Do People Care About Gmail?
i made my account first try (13) whats so good about gmail? is it something inside gmail? what are the these invites people care
about? i have never sent one..... so do i have them?....
Google Chat -- Blocked ?
chat in gmail blocked by administrator.... no worries. (4) Is google Chat inside gmail blocked in school, college or office by your network admistrator ?? Do
not have sufficient rights to install gtalk ? No worries... There is always another way to use
it.... 1. Sign into your customized google home page (igoogle) -- Go to google.com and click
signin on the right upper corner of the page. 2. Go to add gadgets 3. Select "Communication
Category" 4. Select google Chat gadget to be shown on your home page.... 5. Yahooooooooooooooooo...
Your friends are ready to chat with you.... There is also yet another advantage in this googl....
Multiple Gmail Accounts As Free Online Storage?
(8) I came across this topic which basically says that you can use Gmail to store your files. If
you're lucky, you get some free gmail invites to be sent to your friends when you open a gmail
account. Now if you just keep sending the invites to yourself, you'll end up with lots more
gmail accounts, isn't it? (I've tried it, you CAN create multiple gmail accounts by inviting
yourself) And that means more storage space if you use each account to store 2 GB of things right?
Could it possibly rival other premium data backup services online, most importantly....
How Do I Import Old Gmail Mail To Thunderbird?
I want my old mails to be in thunderbird (3) How Do I import old Gmail-mail to Thunderbird? When I made my account I only got my new mail!....
Check The Storage Size Of Your Gmail And Picasa Web Albums Storage Space
(2) Now you can check the amount of Storage you are using for your GMail and Picasa Web Album accounts.
Visit this page, https://www.google.com/accounts/ManageStorage you must be logged in view this
page. This give you the details of the amount of storage utilised and free space available. If you
run out of space either in Gmail or Picasa Web Album, you can purchase extra storage space and the
newly bought space will be shared by the GMail and Picasa accounts. If you need you can purchase
extra space here, https://www.google.com/accounts/PurchaseStorage The rates are....
Gmail Shortkeys
(1) Gmail shortkeys you can use bew short keys in your gmail account QUOTE C = Compose new email
Shift+C = Compose new email in new window K= new Conversation J= old Conversation N= next email P=
previous email O or Enter= open Conversation U= back to the Conversation Y= Archive current email X=
select Conversation S= mark mail or Conversation != report spam R= replay to email Shift+R=
replay to email in new window A= replay to all Shift+A= replay to all in new window F= forward
Shift+F= forward in new window Tab then Enter= send email Y then O= archive current C....
What Else Is Gmail Missing?
Compared to other services (9) Well gmail seems to be that popular one that is authentic and easy to use. It seems to be the
fastest AJAX version of mail compared to AOL, Yahoo, and the ugly Windows Live Mail. But isn't
that just a bit too bizarre... there seems to be so many features... what is Gmail missing? Google
is such a large and rich company, what are they not going to be able to afford. For one thing
Windows Live Mail certainly is missing a lot... no POP3 no mail forwarding and really crappy
unattractive ads that take up half the screen. And it doesn't let you chat on your Windows Liv....
Does Gmail Have Too Much Spam Emails?
Vote! (40) Do you think gmail gives too much spam? I have been a member of gmail for a month now and I have
about 200 spam emails! Do, do YOU think they give too much spam? VOTE!....
Gmail Now Open For Public In India
(9) Google has release GMail for open registrations in India. No more invites are required. Now all
Indians along with the citizens of Europe and US and few other countries can now register for GMail
without an Invitation. Just head on to the GMail home page, http://www.gmail.com/ If GMail is
available for Open registration in your country, you can find a Sign Up link below the Login form.....
Microsoft Says Gmail Is A Virus
(65) QUOTE It seems that Microsoft has started flagging Gmail as a virus in their virus scanning
software Windows Live OneCare. Many people are reporting that every time they open Gmail, a warning
is displayed telling the user they are infected with "BAT/BWG.A". Now, either Gmail is a virus, or
Microsoft is generating false positives. Some affected by this "virus" say other anti-virus products
do not pick up the infection — to me, this is a bit suspicious. So who should be responsible for
fixing the problem? Either Google can wait for Microsoft to update their virus def....
Gmail/outlook Problem. Help Needed.
Is there an aplication for gmail? (5) I want to manage my e-mail over a clasic aplication such as Microsoft outlook... I have tried to
manage my e-mail with outlook, and I can recive e-mail, but I can't send it. So, is there an
aplication to help me?! Simple, I need an e-mail client software that suports Gmail.......
How Did You Feel When You Got Gmail?
Share it here (64) Hai GMail share the feelings that you got when you recived your first GMail Invite. Here is mine
At first when I received a mail from Google that contained the link for my GMail account, my joy was
boundless. I signed up for GMail on 2/19/05 the time when GMail was just released and GMail invites
are rare. I was the only student in my college atthat time having a GMail Account. That made my
friends look in jealousy. That was great time. ....
Gmail $500 Cash Prize?
Real or scam? (13) hey anyone Has onyone gotten this email.I just got this ,It tells me that I have won $500 cash
prize at random and gmail will transfer it to my paypal account.But when I click on the link in my
email,it take me to the page that I can put my paypal account ,my name and get the money,but
unfortunately,I'm not a premium gmail game account,so it again tells me to sign up for premium
gmail game account which cost money.It also tells me that I have to use E-gold account to buy
premium gmail game account which I don't have one.When I try to use paypal account to ....
How To Create Embed Image Mail In Gmail
(54) Hi to all ! Anybody can help me to create an email with embedded image so that mail reader
automatically see that image. Moreover I wont attached that image as it appears small in size in on
gmail. Thanks in Advance. ....
How Did You Get Gmail
All GMail members Invited (86) Come on all GMail users share here how you got your GMail accounts. We'll see how most of the
GMail IDs are created from. I registered for GMail in Google Site when it was just out for Beta
Testing. I got an Invitation from Google nearly 8 Months after I've registered. But I felt
exclusive in my college and I was the only guy having GMail Account among my friends and their
friends circle. Then I started sending Invitations to all my friends and those who asked me for it.
Now GMail has become common we can get GMail Invitations from numerous sites and forums. B....
Which Antivirus Gmail Is Using?
A person found out it is Sophos! (11) Hey everyone! While surfing the internet I found out an intersing report..which claims that
Gmail is using Sophos as the antivirus. This guy used a free service in which he sent out some
malwares and that service gave out the report of major antiviruses...like which one detected it and
which didnt. And then he compared it with Gmail....and the results show that Gmail found out
exactly the same malwares which sophos found...so that means there algorithm is same...so it has to
be sophos! For more information : I am giving the link of the person who conducted the....
Changing A Gmail Password
how do u do it? (10) hi i have a gmail account well a couple of them and i know that someone has been getting on my
account and screwing with it however i dont know how im supposed to get on and change my password.
i've tried even getting them to send me information and what not when i forget my password but
all the same i can never get to a point where i can change it and it kinda is making me upset. my ex
gets on my account and yells at my friends telling them that i've changed and that i dont want
anything to do with them and thats wrong i love my friends. anywayz if you know how ....
Gmail Outrage
Message clipping (19) Guess what I just found out, if you have a message to long for gmail to read it will be clipped, cut
off, unretrevable in HTML format. Rather you have to read through the "Origional Message" which if
you recieve html newsletters is just a pain. ....
Gmail Skinning - A Quick Guide
via CSS! :D (27) tired of the same GMAIL look? GMAIL starting to melt your eyes with its antiseptic colors?
/tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> i know it can be a bit
harsh... but didn't you wish that you can change how your gmail looks when you log into it?
/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> surely you will want to try
this out: SKIN GMAIL! /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'
/> some basics: * you would need a GMAIL account (obviously! /biggrin.gif' bor....
Gmail Problems
...can't access my mail (9) Since moving to Pakistan, I've been appalled at the poor internet service here. Especially since
the cable has gone down, things have only gone from bad to worse. Now with the satellite links
things are slowly moving again. I can finally access Yahoomail, hotpop mail, all my other mail
accounts. But for some reason gmail won't work. The google search engine works fine, but when i
try to access the mail section i get a page not found error. is this possibly only a local problem,
or is it something that others have found as well? i imagine not, or there would be a ....
Gmail Forum
Unofficial site. (15) Well, I was playing with google search engine when I stumbled onto this:
http://www.gmailforums.com/index.php ? It is an unofficial site set up to support gmail and was
said to be the first forum dedicated to Google's Gmail Service. What do you think about it?....
Gmail Drive
(25) The Gmail Drive extension is a program that will create a hard drive in your My Computer folder.
When creating folders or copying files to this drive, your computer will automatically store them in
your Gmail account. They are saved as emails and put in attachments. It's pretty cool. Anyone
else have it?....
Gmail Or Hotmail
Gmail vs Hotmal (243) Which is better??....
Looking for project, gmail, host, challenge, man
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for project, gmail, host, challenge, man
*MORE FROM TRAP17.COM*
|
advertisement
|
|