Jump to content

paritycheck

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

About paritycheck

  • Birthday 10/06/1980

Profile Information

  • Gender
    Male
  • Location
    UAE

paritycheck's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi guys, I'm working on a project that uses roundcube (from www.roundcube.net) and we've been tweaking it so now it reads emails from a local database. The thing is that we aim to use the interface of roundcube to read from a database as though it was an imap server. The thing is that we need to build a script that would download emails from the imap server and insert the emails into teh database on a periodic basis. The idea I have is that we would have a script that would do the downloading on a periodic basis and at the same time on the application end we would set up the check recent function of the roundcube to check for emails that have been downloaded and marked as recent to be displayed in the interface. The thing is that we have built the code to download emails and it works quite well for single or multiple emails of small sizes - however the issue is that when it comes to having emails that are quite large and have huge attachments - we're also downloading the attachments btw the script dies midway must be due to losing connection or timeout. Considering the fact that we expect literally 100s of emails to come in every hour we would need to build the script so that it downloads without dying and making sure that we don't lose any emails. The idea is to download and delete emails from our imap server so our application functions something like a pop3. How do we do this part I mean what kind of logic should we use to ensure that connections do not die or even if they do die there should be a way to resume from where we lost connection ???
  2. Hi guys.. I need help here. I have my program in php - on one of the pages I have a frame which contains another program which means that in this case I now have like two sessions being created one for my main program and one for the program called within the frame. I can destroy the session created in my main program when I log out but I don't know how to destroy the session created by the program which runs in the frame. Note that not all my pages have frames and its only on one page where I've enclosed the external program in a frame. Is there any way to destroy the session in the frame like when I navigate away from teh page which has the frame or so...
  3. The thing is that I'm making a plug in for tiny MCE editor which imitates the format painter option in MS Outlook. WHat is does is that you select some text and when you clcik the option it applies the style of the first element selected to all the text. I pretty much hacked at the idea.. but if theres an easy way to do this please do help....
  4. Hi guys Im in a fix... I need to work on a regular expression or a snippet that searches a given string for html opening and closing tags... and what it does is that it moves all closing html tags to the end of the string and all opening tags to the beginning of the string..so for example lets say this string: stuff one <span style="blablaba">text tex <strong>somesome text </strong>more text more text </span> ending stuff becomes this: <span style="blablaba"><strong>stuff one text tex somesome text more text more text ending stuff</strong></span> ANy one have any ideas or tips please do share... Thanks again in advance
  5. My email program now and then stops all of a sudden showing a blank page especially when I try to access the inbox when a large attachment has been delivered and I get this error: PHP Notice: Unknown: [CLOSED] IMAP connection broken (server response) (errflg=1) in Unknown on line 0 Whats going on and how can I set up an error handler to take care of this - when I refresh it a couple of times it finally works...help please ???
  6. Hi guys I need some help here. I 've built a simple email application that: 1. connects with an imap mail server and checks for new mail. 2. Downloads all new emails and attachments and inserts emails into local db and attachments into local folders 3. retrieves inbox information from db so far its working fine but the thing is that at step 2 it takes a while to download attachments and of course unless all attachments are downloaded it won't proceed to step 3 and since we get loads of attachments this is quite a tedious wait. Is there any way to download the attachments behind the scenes like so that all messages are downloaded but the attachments are put in a queue like process being downloaded while the user can access his emails - if lets say he opens an email that has an attachments that isn't downloaded - the email doesn't show an active attachment link to the downloaded file until its finished downloading - I guess theres gonna be ajax in use here. Any idea guys I really need help on this
  7. Hi guys, I need some help on this. I've fixed up a simple IMAP email client in php. Its working real ok downloading emails etc...I want that when its downloading emails form the mail server, it should also at the same time download all attachments and put them into separate folders each folder like named after the udate or message id of the email. The trick is that I want to download all my emails into a local db and at the same time download all my attachments. But as of now my code pretty much doesn't do anything apart from a normal web mail client you know click on attachment link - get prompted to download etc.. Anyone got any ideas on this it would be a great GREAT help...
  8. Hi Guys I've been working on this portal for my company. It was initially pretty much build up 90 percent by a couple of guys who left the company before I joined to make the finishing touches. The thing is that its nicely done except for a few glitches here and there but unfortunately the previous developers didn't take out the time or the trouble to make any form of documentation of the portal - no database designs, no technical specs, no user manual. I've gotten an understanding of how the system works and even made together a database design from the existing databse, however I need to like reverse engineer the design of the web portal as a complete web solution PLUS I need to write out a detailed user manual as well as work on test scenarios - in short everything has got to be documented. ??? This seems to be the hard part of the development process - I was wondering if anyone could provide a template to user documentations of web solutions PLUS any ideas on documenting the entire systems design - I know a bit of UML but if anyones got links to easy to follow tutorials or articles to document web applications that would be a great help.
  9. Hi Guys, I'm working on a portal which is data intensive. We have a couple of clients who would be interested in querying our database for a fee. The idea is that the clients would like to be able to access the database and run certain queries on it as they see fit and retrieve results in the form of xml results.We however would like to impose limitation on the nature of the queries passed so that the don't run a SELECT * FROM TABLE query and also maintain a log of how many queries were passed etc. This sounds pretty much like a web service to me, as this service will only be available to select authenticated users. The thing is that how do I pull it off, I've a fair idea of xml and the concept of web services but I haven't much experience in working with them. Im working in a php mysql evnironment and the version we're stuck on is at the moment php 4. Any tutorials or suggestions would be greatly appreciated. ;D
×
×
  • 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.