[PHP] Multipart Email Problem

2004-06-24 Thread Matt MacLeod
HTML) and when I sent an email to his hotmail account, hotmail simply displayed a blank page. My client is getting quite frantic about this so if anyone has any suggestions, I'd be very grateful. This is the script I am using: $to="Matt MacLeod <[EMAIL PROTECTED]>"; $f

Re: [PHP] Re: how to insert form data

2004-06-02 Thread Matt MacLeod
Should be: NAME: QUOTE: HTH Matt On 3 Jun 2004, at 04:33, BigMark wrote: OK no errors now but no data inserted, my form must be wrong as well. NAME QUOTE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP G

Re: [PHP] Re: Send HTML/plain text email using PHP

2004-05-28 Thread Matt MacLeod
ail_Mime Regards, Torsten Roehr "Matt Macleod" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I've been having a little trouble configuring a script to send a multipart email using PHP. The script send the message, but when I recieve the email it doesn't display

[PHP] Send HTML/plain text email using PHP

2004-05-28 Thread Matt MacLeod
I've been having a little trouble configuring a script to send a multipart email using PHP. The script send the message, but when I recieve the email it doesn't display the HTML version and I have to tell my mail client to displlay the plain text version (Mail on OS X 10.3.3). Here's the scrip

[PHP] Problem sending with mail()

2004-04-02 Thread Matt MacLeod
Hi, I'm stumped. I have a script to send a simple email using the mail() function in PHP. For some reason I can only receive the email if I send it to my hotmail account. If I send to my regular email ([EMAIL PROTECTED]) I can't get it. I've also tried sending to other non-hotmail addresses wi

[PHP] PHP causing IE to crash

2003-12-17 Thread Matt MacLeod
Hi, I posted recently regarding a PHP script that crashed Internet Explorer. The crash continued to occur until I removed any use of sessions in my scripts. The pages seem to work fine now, but of course I have lost the sessions functionality. Does anybody have any suggestions why Sessions wou

Re: [PHP] PHP header command crashes IE6x/PC

2003-12-12 Thread Matt MacLeod
s, Matt On Friday, December 12, 2003, at 03:15 PM, CPT John W. Holmes wrote: From: "Matt MacLeod" <[EMAIL PROTECTED]> if (!ISSET($_SESSION['loggedin'])) { header("Location: /admin/login/"); put exit(); after your header redirect and use a full URL for your locati

[PHP] PHP header command crashes IE6x/PC

2003-12-12 Thread Matt MacLeod
Hi, I have written a login system in PHP which appears to work OK except on a particular windows network. Basically the user can log in, but after viewing a few pages IE crashes. I can view the same site on my PowerBook using Safari with no problems. The offending code is as follows: if (!IS

[PHP] Is there an issue using sessions with IE/Mac?

2003-09-09 Thread Matt MacLeod
I've built a log in system which sets the user's id as a session if succesfully logged in. However, a user on IE5/Mac tells me that the site logs her out even though she has entered the correct login details. I have tried using her details on Firebird/Windows and have had no problems. Are there

[PHP] Quickie - manipulating strings

2003-07-02 Thread Matt MacLeod
Hi, I need to manipulate a string to insert a space 3 characters from the right end. eg: turn 'ng23fgh' into 'ng23 fgh', or 'hfdgskfjgh23kj' into 'hfdgskfjgh2 3kj'. Any help gratefully received. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] Session vs Cookie Issues

2003-07-02 Thread Matt MacLeod
I've had similar issues using cookies. The cookie was storing my details but only for the duration of the session despite having set the expiry date to a time well into the future. Any ideas for why this may have happened? The only major flaw I've found with PHP's session support is that it do

[PHP] PHP Sessions and Cookies

2003-06-30 Thread Matt MacLeod
Guys/Gals, I've built a registration page on a site that stores a unique id for a user when they register. That id is then stored in a database and set as a session variable and as a cookie and is used to register personal user preferences. The reason I use both is that I don't really want to m

[PHP] Displaying 5 records only/displaying specific records

2003-06-03 Thread Matt MacLeod
Hi, I'm trying to build a news panel for my home page. Basically I want to present the five most recent news articles in a recordset, but I'm not sure how to cut off the recordset after 5. Also I want to present a picture with my first headline. My code will go something like this:

[PHP] Collating Values from database fields

2003-03-14 Thread Matt MacLeod
a table of appearances (fixtureID, playerID, tries scored, penalties scored, cautions etc. When a player is selected from a drop-down list, their data will appear in a table by drawing from the 'appearances' table based on the player's ID thus: Player: Matt MacLeod -