Re: [PHP] How to pass variables to php functions from url's?

2001-09-07 Thread Doug Granzow
" will be an array consisting // of "trading" ($args[1]) and "toptraders" ($args[2]). The / is discarded. ereg("(^[-_.\/a-zA-Z0-9]*$)", $PATH_INFO, $arg); $args = split( "/", $arg[1]); Hope this helps. Doug Granzow [EMAIL PROTECTED] --

[PHP] Re: Problems with Sessions?

2001-09-07 Thread Doug Granzow
file: session.use_trans_sid = 0 This will cause sessions to not work on browsers where cookies are disabled. Doug Granzow [EMAIL PROTECTED] "Tim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When I first browse to a site on my LAN, I get

[PHP] Re: mysql timestamp field

2001-09-07 Thread Doug Granzow
value", t_stamp=t_stamp WHERE ... The "t_stamp=t_stamp" will cause t_stamp to not change to now(). Doug Granzow [EMAIL PROTECTED] "Mesut Tunga" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I nee

[PHP] Re: mysql_fetch_array

2001-09-07 Thread Doug Granzow
want that line to read: while($myrow=mysql_fetch_array($result2)) Doug Granzow [EMAIL PROTECTED] -- 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 PROTECTED]

[PHP] Re: code troble

2001-09-07 Thread Doug Granzow
You don't have a closing } for function obrada(). When the line number of the parse error is the last line of the file, I've found it is almost *always* due to a missing brace, paren, or quote somewhere in the file. Doug Granzow [EMAIL PROTECTED] "Nikola Veber" <[EMA

[PHP] Re: network connections

2001-09-07 Thread Doug Granzow
emails once a month, through qmail, and it is set up so that qmail automatically routes any bounces back to another script where I can update my database to reflect which users' mail is bouncing. Doug Granzow [EMAIL PROTECTED] "J.R. Lillard" <[EMAIL PROTECTED]> wrote

[PHP] Re: execute a script on access to a directory

2001-09-07 Thread Doug Granzow
You can make "go" the name of your PHP script, then put this in your Apache config: ForceType application/x-httpd-php Now in your "go" script, you have it do whatever you wanted it to do, then use an include to load the "getit" script. Here's an except from my equivalent of your 'go' scri