[PHP] Call-time pass-by-reference ??

2005-01-26 Thread Michael Gale
Hello, I am trying to start a small php ncurses app but the documenatation is not helping. What does the following mean: PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of ncurses_getma

[PHP] Linux PHP CLI and Environment variables

2005-01-26 Thread Michael Gale
Hello, I am running php 4.3.7 with ncurses support. I want to create a small app using php and ncurses but I will need to get some information from the shell environment variables. I have searched every where ...is this possible ? Michael. -- PHP General Mailing List (http://www.php.net/) To un

[PHP] PHP date returns wrong value ??

2005-01-16 Thread Michael Gale
Hello, I have a web page that loads php code from another file using include, the second file calls a function from a third file after doing a include on it. I am running php 4.3.7 Below is the snip of code that gets called to update the database. The problem is with the tentry_time value. Th

Re: [PHP] Performance of magic_quotes_gpc ??

2004-12-19 Thread Michael Gale
Hello, Thanks for all of the responses ... I am going to use mysql_real_escape_string. Michael. Jordi Canals wrote: Hi, a couple of comments: --snip-- htmlentities(htmlspecialchars($_POST['tentry_body'])) . "'"; --snip-- Why are you using both htmlentities and htmlspecialchars? Think that htm

[PHP] Performance of magic_quotes_gpc ??

2004-12-19 Thread Michael Gale
Hello, I am working on a ticket tracking system and using htmlentities and htmlspecialchars on text that gets inserted into the database. code I have: --snip-- if ((isset($_POST['tentry_body'])) AND strlen($_POST['tentry_body']) > 5) { $query .= " tentry_body = '" . htmlentities(htmlspecialchar

Re: [PHP] PHP mail redirect ??

2004-12-01 Thread Michael Gale
would check the documentation for your spam filter for most of the "redirection" you would like to do. Warren Vail (415) 667-0240 SF211-07-434 -Original Message- From: Michael Gale [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 7:48 PM To: Vail, Warren; [EMAIL PRO

Re: [PHP] PHP mail redirect ??

2004-12-01 Thread Michael Gale
to be a daemon running on that machine AND there needs to be a mailbox for "bert" set up on that server. HTH Warren Vail -Original Message- From: Michael Gale [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 7:26 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP mail redir

[PHP] PHP mail redirect ??

2004-12-01 Thread Michael Gale
Hello, I have been playing around with a web mail app called NOCC (http://nocc.sourceforge.net/) It has some nice features and is quick. I want to add in a redirect button for mail, there is a forward button but it forwards mail just like a regular client for ... as expected. But I want a redi

Re: [PHP] Meta refresh best answer ??

2004-11-08 Thread Michael Gale
Hello, I really wanted to know if there was a better way to do this using PHP ? That is why I e-mailed the list. Michael. Michael Gale wrote: Hello, I am working on a site where people will be updating information in a database and should have up to date info. Now since HTTP is stateless

[PHP] Meta refresh best answer ??

2004-11-08 Thread Michael Gale
Hello, I am working on a site where people will be updating information in a database and should have up to date info. Now since HTTP is stateless the user will not know about any new information until they click on a link or hit a button on the page. My question is -- if I want to keep a user

Re: [PHP] Session understanding

2004-09-02 Thread Michael Gale
:11:37 -0400 "John Holmes" <[EMAIL PROTECTED]> wrote: > From: "Michael Gale" <[EMAIL PROTECTED]> > > > I have a small issue with sessions, at the moment I am using sessions on > > our web site and storing the session > > information

[PHP] Session understanding

2004-09-02 Thread Michael Gale
problem ? Thanks. -- Michael Gale Network Administrator Utilitran Corporation -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] html tabs

2004-08-28 Thread Michael Gale
information about the result you clicked on. Can I make is so the link loads the page in the second tab ? Thanks. -- Hand over the Slackware CD's and back AWAY from the computer, your geek rights have been revoked !!! Michael Gale Slackware user :) Bluesuperman.com -- Hand over the Slac

[PHP] Browser back button

2004-08-27 Thread Michael Gale
request but if the previous page was loaded using a HTTP POST it seems I an up the creek with out a paddle :( Any one have any ideas ... Thanks .. -- Michael Gale Network Administrator Utilitran Corporation -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-13 Thread Michael Gale
at is cross platform compatitable. > > Thanks > Jamie > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- Michael Gale Network Administrator Utilitran Corporation -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot send session cookie

2004-07-12 Thread Michael Gale
headers already sent by > (output started at > e:\http\cgi\a.php:14) in e:\http\cgi\a.php on line 15 > > Warning: session_start(): Cannot send session cache limiter - headers already sent > (output started at e:\http\cgi\a.php:14) in e:\http\cgi\a.php on line 15 > > Can anyone offer m

Re: [PHP] PHP Hosting

2004-07-09 Thread Michael Gale
fuse to use > any hosting company that isn't running Windows 3.1. ;) > > *and let the flamewar begin* > > -- > John C. Nichel > KegWorks.com > 716.856.9675 > [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit

Re: [PHP] post without

2004-07-07 Thread Michael Gale
D]> wrote: > How can I post data without having it submitted from within a form? > > With get I can just add it to the url. Is there a php function for this? > > -- > -Josh > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http

[PHP] PHP page memory usage

2004-07-06 Thread Michael Gale
Hello, Is there a way to monitor or test out how much CPU / memory a php page uses ? I would like to find out how intensive some of my scripts are. Thanks. Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] user tracking

2004-07-06 Thread Michael Gale
ake some code changes. So the > simpler package the better. > > Christian > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- Michael Gale Network Administrator Utilitran Corporation -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] uniqid function

2004-07-05 Thread Michael Gale
Thanks for the reply. Michael. On Tue, 6 Jul 2004 06:38:57 + Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Michael Gale: > > Hello, > > > > I have a question about the uniqid function ... on a loaded > > system ... > > lets say 60 peo

[PHP] uniqid function

2004-07-05 Thread Michael Gale
Hello, I have a question about the uniqid function ... on a loaded system ... lets say 60 people connected with each person making 2-3 web request per second. Each request running the following php command: "$token_name=md5(uniqid(rand(), true));" What would the odds be of the $token_na

Re: [PHP] Session tracking and multiple form updates

2004-07-04 Thread Michael Gale
ast e-mail .. the value of hidden is not a "DB primary key" just a important "column" in a table. Michael. On Sun, 04 Jul 2004 23:41:24 -0400 "John W. Holmes" <[EMAIL PROTECTED]> wrote: > Michael Gale wrote: > > > Now at the moment on > > each

[PHP] Session tracking and multiple form updates

2004-07-04 Thread Michael Gale
Hello, I am working on a web site that is available only over HTTPS and am using session tracking. So far I am only saving the person's display name (different then login), site role and e-mail address in the "$_SESSION" data. The rest of the site is dynamic, now the question is on thre

Re: [PHP] user-defined superglobals

2004-07-03 Thread Michael Gale
Hello, I am not a programmer so I do not know if you can create a "superglobal variable". I am sure there is a problem with this ... any ways I user: "require("db_access.php");" at the top of all my pages that require db access for a application that way the db access gets set on a per