RE: [PHP-DB] https

2001-10-21 Thread Beau Lebens
you mean to use for some sort of header redirect or something? couldn't you do 1. click link "change to secure mode" 2. pass the url you just came from with the link (or get it from HTTP_REFERRER or whatever it is) 3. header("Location: " . str_replace("http://";, "https://";, $last_url)); or am

Re: [PHP-DB] https

2001-10-21 Thread George Lioumis
I think that you MUST retype the whole URL. George. - Original Message - From: "J-E-N" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 20, 2001 2:22 PM Subject: [PHP-DB] https hello, how can i switch from http to https without typing the whole url? thanks --

[PHP-DB] re: MSAccess2000, SQL, and Escape Characters

2001-10-21 Thread James Cave
> Does anyone know how Microsoft Access 2000 handles escaping apostrophes in SQL >statements? I tried back-slashing (\') them out, but that didn't work (i.e, "insert >into blah values(1, 'Bob', 'Bob\'s stuff')"). And since that didn't work, >addslashes(), of course, didn't work either. Try

[PHP-DB] MSAccess2000, SQL, and Escape Characters

2001-10-21 Thread Ari M. Roth
Hey all... Does anyone know how Microsoft Access 2000 handles escaping apostrophes in SQL statements? I tried back-slashing (\') them out, but that didn't work (i.e, "insert into blah values(1, 'Bob', 'Bob\'s stuff')"). And since that didn't work, addslashes(), of course, didn't work either.

[PHP-DB] HTTP User Authentication...

2001-10-21 Thread Beau Lebens
Hey there all, apologies for being off-topic (had to change my subject because the filter blocked me!), but I thought someone here may have worked with this before since authentication and DBs tend to go hand-in-hand. Here's my situation; I have a web-based text editor, which requires a user/pass

RE: [PHP-DB] How to write errorhandling??

2001-10-21 Thread Beau Lebens
does the file that you are trying to send an email from include() another file before that function? maybe a database connection fails or maybe you sent some headers in that by mistake... // -Original Message- // From: Luditus [mailto:[EMAIL PROTECTED]] // Sent: Monday, 22 October 2001 2:

[PHP-DB] Mortgage Rates Are At Their Lowest!!!

2001-10-21 Thread quackerstheduck
We can help! Mortgage Rates have been slashed again! *Lower your monthly payment! *Shorten the term of your loan! *Reduce your interest rate! SAVE MONEY!!! NOW is the time to refinance... rates have NEVER been lower! We CAN assist everyone, even if you've been turned down before! Take just a

Re: [PHP-DB] How to write errorhandling??

2001-10-21 Thread Pierre-Alain Joye
Hello, > Warning: Cannot add header information - headers already sent by (output > started at > e:\projects\globosapiens\07_production\actual\account\include\user.php:256) > in e:\projects\globosapiens\07_production\actual\account\include\user.php > on line 260 > Where is the problem??? I can'

RE: [PHP-DB] How to write errorhandling??

2001-10-21 Thread Matthew Loff
If you use the at symbol to supress the error message from being printed, the if() statement will still recognize an error has occurred... So, try this: if (@mail($email,$subject_confirm_account, $message_confirm_account, $from_confirm_account)) { HEADER("Location:index.php?fuseaction=t

Re: [PHP-DB] How to write errorhandling??

2001-10-21 Thread zpr
"Attila Strauss" <[EMAIL PROTECTED]> wrote in message 01102113081306.00694@pluto">news:01102113081306.00694@pluto... > hi > > do an > > exit; > > after the header(); > > cu > attila > > > > On Sunday 21 October 2001 12:45, Luditus wrote: > > Hi Fokes, > > > > I would like to send an mail via the

[PHP-DB] Re: Asigning function values to variables??

2001-10-21 Thread Christian Kuhtz
Luditus wrote: [..] > $body .= ".box_header('test')."; Why are you double quoting what looks to be a function call? And why is this posted to php.db? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP-DB] How to write errorhandling??

2001-10-21 Thread Luditus
Unfortunatelly this doesn't work at all. Same error. Any other ideas? Cheers Luditus "Attila Strauss" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 01102113081306.00694@pluto">news:01102113081306.00694@pluto... > hi > > do an > > exit; > > after the header(); > > cu > attila > > > > On Sunday 21

[PHP-DB] Asigning function values to variables??

2001-10-21 Thread Luditus
Hi there, I am trying to send an email with html tags coming from functions. Something is wrong with asigning the value to the variable. I guess I don't know the proper syntax. Can anybody help me out? e.g.: $body .= ".box_header('test')."; $body .= "text"; $body .= ".box_footer()."; Thanx i

Re: [PHP-DB] Add Record to DB and Return Auto_Increment ID?

2001-10-21 Thread Ben Edwards
Do the insert missing out auto_increment column and then get it afterwoods with. $key = mysql_insert_id(); This actually is cleared on next database access, there is another function that is not (cant remember other function and I may of got them the wrong way round). If you are new to PHP y

[PHP-DB] Re: fulltext not for me/alternatives

2001-10-21 Thread Ben Edwards
>See the manual, and SHOW VARIABLES LIKE 'ft_%' Looks like this is something new to 4. My ISP has 20+ db servers so reckon it will be a while before they roll 4 out. Will email them. Thanks for the info. However this douse not help me in the immediate future and I still need to find a alt

[PHP-DB] Re: fulltext not for me/alternatives

2001-10-21 Thread Ben Edwards
>Is there a way to get mysql to change the default from 3 to 2 letter words (or >less) that are ignored in fulltext indexes? >I'm running version 4 alpha. I checked the TODO and it's not listed. Is it >possible to make this a config.h option? As I said I am on a shared host and don't have the op

[PHP-DB] Add Record to DB and Return Auto_Increment ID?

2001-10-21 Thread Brett Conrad
Hi. I'm creating a class mapped to the functions of a guestbook. Each guestbook submission becomes an entry in a db table. I am using the DB Pear class. I'm new to PHP and my question is this: What is the best way to create a method that adds a new guestbook entry and returns its auto_increme

[PHP-DB] Re: fulltext not for me/alternatives

2001-10-21 Thread Sergei Golubchik
Hi! On Oct 21, Mark Maunder wrote: > Ben Edwards wrote: > > > I have a bit of a problem with using freetext indexes because there are a > > LOT of important 3 letter words in my database and as I am using shared > > hosting so do not have the option to recompile MySql. Can't quite figure > > wh

[PHP-DB] Re: fulltext not for me/alternatives

2001-10-21 Thread Mark Maunder
Ben Edwards wrote: > I have a bit of a problem with using freetext indexes because there are a > LOT of important 3 letter words in my database and as I am using shared > hosting so do not have the option to recompile MySql. Can't quite figure > why 3 is not the default (car, dog, cat war, man,

Re: [PHP-DB] How to write errorhandling??

2001-10-21 Thread Jesse Goerz
On Sunday 21 October 2001 06:45, Luditus wrote: > Hi Fokes, > > I would like to send an mail via the mail function. > > If the mail failes I would like to redirect to an errorpage. > Currently my code looks like this: > > if ( mail($email,$subject_confirm_account, > $message_confirm_account, $fro

[PHP-DB] Gestion de championnat

2001-10-21 Thread DAVID1980
Salut tout le monde. Quelqu'un a-t-il déjà trouvé qq part ou fais un scripts qui gererai un championnat de football type D1- D2 avec classsements divers et journée... Merci David -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: [PHP-DB] How to write errorhandling??

2001-10-21 Thread Attila Strauss
hi do an exit; after the header(); cu attila On Sunday 21 October 2001 12:45, Luditus wrote: > Hi Fokes, > > I would like to send an mail via the mail function. > > If the mail failes I would like to redirect to an errorpage. Currently my > code looks like this: > > if ( mail($email,$subje

[PHP-DB] How to write errorhandling??

2001-10-21 Thread Luditus
Hi Fokes, I would like to send an mail via the mail function. If the mail failes I would like to redirect to an errorpage. Currently my code looks like this: if ( mail($email,$subject_confirm_account, $message_confirm_account, $from_confirm_account) ){ HEADER("Location:index.php?fuseaction=t

[PHP-DB] fulltext not for me/alternatives

2001-10-21 Thread Ben Edwards
I have a bit of a problem with using freetext indexes because there are a LOT of important 3 letter words in my database and as I am using shared hosting so do not have the option to recompile MySql. Can't quite figure why 3 is not the default (car, dog, cat war, man, bed, ). Maybe so you