RE: [PHP] not null

2001-08-08 Thread Slavomir Slizik
if (empty($value)) { ... } On Wed, 1 Aug 2001, Craig Vincent wrote: When a field is declared as an integer, not null and is the primary, how would I address it's empty set? ex: if($value == ???) { bla bla bla } My condition

Re: [PHP] fopen - warnings

2001-07-27 Thread Slavomir Slizik
... if ($datei = @fopen($file[$i], r+)) ... On Thu, 26 Jul 2001, Vanessa wrote: Hello List, this is probably a very stupid question, but I dont know how to solve this little problem: I have a script with which text files (exported access db data sheets) can be uploaded to the mysql

Re: [PHP] Prevent user to close web browser

2001-07-19 Thread Slavomir Slizik
So, try to surf some free erotic,porn sites. They're full of that window-spawing stuff :( slavko On Thu, 19 Jul 2001, kath wrote: Not with PHP. Maybe some Javascript could. But why would you want this? Planning some infinite spawning pop up website? =) - k On Thursday 19 July 2001

Re: [PHP] Sessions + Variables + includes

2001-07-19 Thread Slavomir Slizik
On the title page: session_register(loggedin); then: session_start(); on every page better to test session availability on every page: if (!session_is_registered(loggedin)) { // redirect user to title page where the session is registered } But your method of handling sessions

Re: [PHP] set var in PHP

2001-07-18 Thread Slavomir Slizik
Hello, it isn't regular html, it is only server-parsed stuff .. Server Side Includes. You won't need that in PHP, just do: ? $TITLE=This is my title.; ? htmlhead title?=$TITLE?/title blah blah blah .. SSL On Wed, 18 Jul 2001, jessica lee tishmack wrote: In html, I can do !--#set