RE: [PHP] Correct URL's

2002-01-27 Thread Dave Brotherstone
> > > > > Stefan Rusterholz wrote > > > > Please do not send HTML messages. > > Sorry, Outlook is crap and I'm just too lazy to buy (on Win you > have to buy > > almost everything) another e-mail client for my working machine. > > http://www.pegasus.org/ > > It's free and a bit more virus resista

RE: [PHP] PHP 4.4.1 and Interbase

2002-01-08 Thread Dave Brotherstone
I've seen this with MS SQL connections. What it boils down to is that the data type that is returned isn't understood, the extension dies, and nothing is returned. Try a simpler select statement (I know its hard to go much simpler but ;-) - go for "select 'hello world'". And then try giving

RE: [PHP] Sending variables between PHP pages

2002-01-04 Thread Dave Brotherstone
Use the pconnect functions. These do exactly that. eg. mysql_pconnect() at the top of your page, and it will re-use the database connection for you. mysql_close() won't close a permanent connection. Please don't post general questions to the php-dev list. This is for development OF PHP, no

RE: [PHP] Modify someone else's session register

2001-12-28 Thread Dave Brotherstone
Not really, but you could... You would somehow have to get the session id from user 2 to user 3 (this would depend how your site worked). Then you could access the session variables - it depends how your sessions are stored. If they were stored in a database, then you could read them (by defaul

RE: [PHP] Test message.

2001-12-12 Thread Dave Brotherstone
return TRUE; > -Original Message- > From: Andrey Hristov [mailto:[EMAIL PROTECTED]] > Sent: 10 December 2001 11:06 > To: [EMAIL PROTECTED] > Subject: [PHP] Test message. > > > Test > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] Newbie-student Database PHP Question

2001-12-12 Thread Dave Brotherstone
MySQL is a DBMS, SQL is a language. MySQL has an implementation of SQL, as does Access. All (most) SQL implementations are common for the simple things (select * from tablename), but differ when things get more complex (is about as broad an answer I could give!). Web based access database is fi

RE: [PHP] Generating PDF...

2001-12-11 Thread Dave Brotherstone
PHP is a good language for creating PDFs. There are two libraries you can use, PDFlib and ClibPDF. I have used PDFlib before and I can recommend it. Look in the PHP manual at PDFlib functions. Incidentally, if it's for a commercial project, then PDFlib or ClibPDF will probably need licensing.

[PHP] Returned error messages

2001-12-10 Thread Dave Brotherstone
Has anyone got error messages working from MSSQL or Sybase (connecting from a unix box)? Dave. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROT

[PHP] mssql_query and error message

2001-12-09 Thread Dave Brotherstone
Hi, (Sorry for the cross post, I posted it in the wrong place the first time) I've got MSSQL 2000 running on Win2000 Svr. Linux 2.2.16 running Apache 1.3.22, freetds 0.53, and PHP 4.0.6. I can connect and run queries no problem, but when an error is raised (with raiserror) on the SQL box, mss