Re: [PHP] Headers Again

2004-02-19 Thread PETCOL
] PETCOL wrote: Stuart Thank you. Don't thank me[1], thank them. Preferably with cash[2]. [1] I will accept cash if offered. [2] http://marc.theaimsgroup.com/?q=about#Begware -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
if I've run CFML, Javascript it still works. Sorry I'm just frustrated. Regards Col Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tuesday 17 February 2004 09:57, PETCOL wrote: I have authenticated a user, after that I want to take them to another page: Header

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
sole can save me 3 hours work, I'll also appreciate it, which is probably why this list get repetative posts. Cheers, relax, and have a nice day. Col Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tuesday 17 February 2004 16:37, PETCOL wrote: What you're asking is a VERY

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
Stuart Thank you. Stuart [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PETCOL wrote: Alliare and Macromedias forums for ColdFusion and other software, allow a search through the entire post, archive everything. Which always avoid this problem of a newsgroup. Maybe I'm wrong

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
that are output before header() is called. The same problem exists when using a single PHP/HTML file. Not hard is it? Regards, Michael Egan -Original Message- From: PETCOL [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 09:22 To: [EMAIL PROTECTED] Subject: Re: [PHP] Headers Again

[PHP] Headers Again

2004-02-16 Thread PETCOL
Hi, I have authenticated a user, after that I want to take them to another page: Header(Location: welcome.php); But I get the following error? error Cannot modify header information - headers already sent error Suggestions? Col -- PHP General

[PHP] PHP Newbie Database Records?

2004-02-15 Thread PETCOL
PHP Newbie, I'm trying to find out if a username already appears in my database. I have two users in my table, one is colin so when I enter a username of colin I would normally under ColdFusion anyway just to something like: cfif $query_qUsername.RecordCount GT 0 User already exists do something

[PHP] Re: PHP Newbie Database Records?

2004-02-15 Thread PETCOL
://www.php.net/mysql http://www.php.net/mysql_query Petcol wrote: PHP Newbie, I'm trying to find out if a username already appears in my database. I have two users in my table, one is colin so when I enter a username of colin I would normally under ColdFusion anyway just to something like

[PHP] Re:[SOLVED] PHP Newbie Database Records?

2004-02-15 Thread PETCOL
()); $num_rows = mysql_num_rows($result); i think the first one is better Petcol wrote: Andre, Thank you, I had read the manual, understanding it fully when you've been coding in another language is another matter. I had relied on DreamweaverMX to create the Database connection which

[PHP] Re:[SOLVED] [PHP] Syntax

2004-02-14 Thread PETCOL
Thanks John, John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PETCOL wrote: snip This line is whats causing me all the greif: echo option value=$_POST[Country];selected\n$_POST[Country];/option\n; Parse error: parse error, expecting

[PHP] Syntax

2004-02-13 Thread PETCOL
Hi People, PHP Newbie here again. trying to get HTML and PHP to work together really stumps me at times, I'm trying to output a selection from a form as so: option value=ArubaAruba/option ?php if (isset($_POST[Country])) { echo option

[PHP] Browser Detection another page

2004-02-12 Thread PETCOL
PHP Newbie here, I have been able to work out how to detect the browser I'm looking for. Then I need to take the user to another page. ? php if (strstr($HTTP_USER_AGENT,'Windows CE')) { //go to the Windows CE version of the site } else { // go to or Stay on the large version } ?

[PHP] Re: [SOLVED][PHP] Browser Detection another page

2004-02-12 Thread PETCOL
Richard, Thanks for that, looks too simple ;-) It's exactly what I want for this particular application. Thanks Col Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello PETCOL, Friday, February 13, 2004, 12:57:59 AM, you wrote: P I have been able to work out how

[PHP] Thumbnail Page

2004-02-02 Thread PETCOL
I think I'm having a Bad Hair Day I have a table in my database with all my thumbnail filenames in it. My query pull that out, now I want to display the images in a table, I can get it to go down the page row by row, but I want it to say do five columns of different images and then go down the