Think I know what you mean, but I think I have gone wrong somewhere else, so when I get the time I'll have a look at it. When it's completed I'll post it here (if you're interested).
Cheers for the help d11wtq!
Search found 20 matches
- Tue Mar 29, 2005 4:28 am
- Forum: PHP - Code
- Topic: IMAP attachments
- Replies: 7
- Views: 436
- Wed Mar 23, 2005 6:50 am
- Forum: PHP - Code
- Topic: IMAP attachments
- Replies: 7
- Views: 436
Nothing you did, it is actually on the php.net website: http://uk2.php.net/pt_BR/imap-bodystruct
- Wed Mar 23, 2005 1:51 am
- Forum: PHP - Code
- Topic: IMAP attachments
- Replies: 7
- Views: 436
Cheers d11wtq, but I have found that the function you have supplied previously and it didn't work. (Sorry I should of mentioned it before). Also the function seems to repeat the last bit, causing an error in the function...
Cheers d11wtq
Code: Select all
}
return $attachments;
}- Mon Mar 21, 2005 4:06 am
- Forum: PHP - Code
- Topic: IMAP attachments
- Replies: 7
- Views: 436
- Fri Mar 18, 2005 8:51 am
- Forum: PHP - Code
- Topic: Problem with refreshing
- Replies: 10
- Views: 515
A good way of getting around the page caching is to use:
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
At the top your page.
I found the information at http://uk2.php.net/manual/en/function.header.php
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
At the top your page.
I found the information at http://uk2.php.net/manual/en/function.header.php
- Fri Mar 18, 2005 8:39 am
- Forum: PHP - Code
- Topic: IMAP attachments
- Replies: 7
- Views: 436
IMAP attachments
Hello! I was wondering if anyone knew how you can get a attachment from an e-mail through imap, in php? I found a function that gets all parts of an e-mail (except for the attachment's data), including the file name of the attachment and puts it into an array: <? function retrieve_message($mbox, $me...
- Tue Mar 02, 2004 7:55 am
- Forum: PHP - Code
- Topic: PDF generation ( Using PDF templates on the fly )
- Replies: 2
- Views: 858
- Tue Mar 02, 2004 7:32 am
- Forum: PHP - Code
- Topic: PDFlib question
- Replies: 0
- Views: 213
PDFlib question
Is it possible to find the position of a text word and then when you output the new pdf file, using pdf_show_xy to replace the text. Tried a tutorial that does a replacement on the text, using: function pdf_replace($pattern, $replacement, $string) { $len = strlen($pattern); $regexp = ''; for ($i = 0...
- Tue Mar 02, 2004 7:23 am
- Forum: PHP - Code
- Topic: Transfering PDF's without PDFLib
- Replies: 2
- Views: 620
- Wed Jan 14, 2004 4:09 am
- Forum: PHP - Code
- Topic: while query problem
- Replies: 5
- Views: 616
- Tue Jan 13, 2004 3:05 am
- Forum: PHP - Code
- Topic: while query problem
- Replies: 5
- Views: 616
- Mon Jan 12, 2004 5:48 pm
- Forum: PHP - Code
- Topic: while query problem
- Replies: 5
- Views: 616
while query problem
Hello! When I try the following script, only the value in the last field gets ticked: <? $nameID = "2"; $db = mysql_connect("localhost", "", "") or die("unable to connect to the database"); mysql_select_db("test", $db) or die("unable t...
- Wed Jan 07, 2004 10:30 am
- Forum: PHP - Code
- Topic: removing quotes from a database query
- Replies: 2
- Views: 526
- Wed Jan 07, 2004 6:38 am
- Forum: PHP - Code
- Topic: removing quotes from a database query
- Replies: 2
- Views: 526
removing quotes from a database query
Hi, Just a short question: If you are selecting a field from a database, where you are using LEFT() to display only the variables that match that first letter, i.e. $query = "SELECT names FROM table WHERE LEFT(names, 1) = 'a' ORDER BY names ASC"; But within the database one of the names ha...
- Wed Aug 20, 2003 4:29 am
- Forum: PHP - Code
- Topic: creating an array that'll $_POST into a database
- Replies: 4
- Views: 501