RE: [PHP] login script fix help needed

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
Move this below to after your php logic: Add a User Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Karl James [mailto:[EMAIL PROTECTED]] Sent: Monday, 20 January 2003 1:59 PM To: php Subject: [PHP] login script fix help

RE: [PHP] Which country?

2003-01-20 Thread David Freeman
> You could rely somewhat of the time zone codes as you refer > to them, the > only issue is in some parts of the world > this would include 10 countries at a time. But what time zone are you getting? The time zone of the browser? The time zone of the proxy cache that's in a possibly differ

RE: [PHP] $_POST vars problem

2003-01-20 Thread David Freeman
> On another note, I have found that if I include (and use) > the submit button > everything works perfectly, HOWEVER if I just enter data and > hit return then it messes up. You could try including a hidden submit field like this: For name="submit" change that to whatever name your norm

[PHP] file uploads received, but mangled

2003-01-20 Thread af
Hi all. I'm having issues uploading files whose names don't necessarily end with the correct extension, in particular text files which don't end in .txt. (Why they don't is complicated, and it's impractical to insist that they must.) The files are received, but altered -- they are prepended w

[PHP] What is PHP-equivalent of ASP's RESPONSE.REDIRECT feature ?

2003-01-20 Thread Jane Mawson
I am converting an ASP page to PHP and have difficulties in using PHP since I am new to it. I have an ASP code that would redirect page-viewer to respective page base on the input entered by viewer. How do I do this using PHP? Also, in ASP, there are features like Server.Transfer and Server.Execute

[PHP] PHP & Sessions generates Segment Faults

2003-01-20 Thread Blaster
Hi OS: Debian Linux (Woody), kernel 2.2.20 PHP: v4.1.2 I'm having some troubles with my sessions, when the page is sent to the visitor, it sometimes stops after ½ the page or so. 90% of the times, it works perfectly to visit the page, so this appears to be totally random. However, I have reaso

Re: [PHP] login script fix help needed

2003-01-20 Thread Chris Shiflett
--- Karl James <[EMAIL PROTECTED]> wrote: > Warning: Cannot add header information - headers already > sent by (output started at > /home/virtual/site12/fst/var/www/html/Create_Account.php:8) > in /home/virtual/site12/fst/var/www/html/Create_Account.php > on line 10 This means you have something o

Re: [PHP] Cannot show reuploaded image file on page unless manualrefresh

2003-01-20 Thread Chris Wesley
On Mon, 20 Jan 2003, Phil Powell wrote: > I am using the following header() functions to force view.php to not cache: > > header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");// Date in the past > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); > header("Cache-Control: no-store, no-

RE: [PHP] a regular expression problem - split text

2003-01-20 Thread John W. Holmes
> I have a text like this: > > $text=" this is January this is February > this is March this is April "; > > OK.. i want to show e.g. "this is January" in my var $sub_text. > > How can i doing this using a regular expressions? This seems to work. preg_match_all("/([a-z ]+)/i",$text,$matche

[PHP] Time code!!!

2003-01-20 Thread Karl James
does anyone have the code to where i can have the time printed on my home page like for example     Monday, January 19, 2003   also I want to have it state when the users login in it says welcome back, (name)   any advise would be fantastic?   Thanks Karl __

Re: [PHP] PHP & Sessions generates Segment Faults

2003-01-20 Thread Justin French
Hi, I had this problem a few weeks back. The host changed the sessions from 'mm' to 'files' in php.ini and restarted, and all was ok... not sure of the reasons behind the faults, but I had this EXACT problem (with standard session stuff). Justin on 21/01/03 2:29 AM, Blaster ([EMAIL PROTECTED

Re: [PHP] Time code!!!

2003-01-20 Thread Justin French
Please post in raw text, not HTML. look in the manual to decide what format you need to replace 'd m y' with: http://php.net/date The welcome back bit all depends on cookies, sessions, how your login scripts work, etc etc. Justin on 20/01/03 12:46 PM, Karl James ([EMAIL PROTECTED]) wrote:

RE: [PHP] What is PHP-equivalent of ASP's RESPONSE.REDIRECT feature ?

2003-01-20 Thread John W. Holmes
> I am converting an ASP page to PHP and have difficulties in using PHP > since > I am new to it. I have an ASP code that would redirect page-viewer to > respective page base on the input entered by viewer. How do I do this > using > PHP? Also, in ASP, there are features like Server.Transfer and >

Re: [PHP] Time code!!!

2003-01-20 Thread Larry E. Ullman
does anyone have the code to where i can have the time printed on my home page like for example  Monday, January 19, 2003 The PHP Manual has this code, under the date() function (www.php.net/date). echo date ("l, F j, Y");  also I want to have it state when the users login in it says welcome b

[PHP] Warning: ifx_connect: E [SQLSTATE=IX 001 SQLCODE=-1829]

2003-01-20 Thread Jeff Bluemel
I get this error on reboot, and I keep getting this error unless I restart apache. now, I've tried putting pauses in to make apache wait to start (using scripts & sleep commands), but I keep having this problem unless I log into the system & restart it. does anybody know the possible cause to thi

[PHP] RE: JOIN for FREE ... Learn and Earn

2003-01-20 Thread Michael Smith
Balogne. Should I say more? -Michael Smith --- Today's True Quotes for InDUHviduals: Some people's minds are like cement: all mixed up and permanently set... -Original Message- From: Charles Cedeno [mailto:[EMAIL P

[PHP] Re: Warning: ifx_connect: E [SQLSTATE=IX 001 SQLCODE=-1829]

2003-01-20 Thread Jeff Bluemel
ok everybody, I felt like I kind of had a brain fart... *blush* it dawned on my that some of the informix environment variables may not have been getting set. I added the following to the script I wrote, and it fixed the problem; export INFORMIXDIR=/opt/informix export ODBCINI=/usr/local/etc/od

[PHP] getting green screen

2003-01-20 Thread martin
Hi, I'm somtimes getting a green screen after a PHP-app (green background and backslashes in front of "'"-signes. When reloading this outputpage, the normal lay-out without backslashes is visible. Why does this happen? Can I prevent it? Martin -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] getting green screen

2003-01-20 Thread Martin Towell
Hi Martin Post some code snippets and the resultant output for us to look at Martin (To confuse things ) > -Original Message- > From: martin [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 1:43 PM > To: [EMAIL PROTECTED] > Subject: [PHP] getting green screen > > > Hi, > I'

RE: [PHP] Time code!!!

2003-01-20 Thread David Freeman
Hi Karl First up, would you mind posting your messages in plain text instead of html format? It's just a courtesy to the rest of us. > does anyone have the code to where i can have the time > printed on my home page like for example > > Monday, January 19, 2003 Sure, check out the date() fu

[PHP] Header Error message i think!!

2003-01-20 Thread Karl James
http://www.ultimatefootballleague.com/Create_Account.phps   Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site12/fst/var/www/html/Create_Account.php:2) in /home/virtual/site12/fst/var/www/html/Create_Account.php on line 4 I cant figure this

[PHP] problemas con php y pws..solo veo código

2003-01-20 Thread Rot Alvarez
Gracias a los q me han respondido. Si cacho los http://www.exploraiquique.cl _ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag -- PHP G

Re: [PHP] Header Error message i think!!

2003-01-20 Thread Justin French
PLEASE don't post in HTML/Rich Text sheeesh! Justin on 20/01/03 2:18 PM, Karl James ([EMAIL PROTECTED]) wrote: > http://www.ultimatefootballleague.com/Create_Account.phps > > > > Warning: Cannot add header information - headers already sent by (output > started at /home/virtual/site12/fst/v

Re: [PHP] Header Error message i think!!

2003-01-20 Thread Chris Shiflett
--- Justin French <[EMAIL PROTECTED]> wrote: > PLEASE don't post in HTML/Rich Text > > sheeesh! > > Justin Agreed. Also, please quit asking the same question. I answered this one already, and I think someone else did as well. If you are still having trouble after reading our answers, at least le

[PHP] mysql_connect error

2003-01-20 Thread Tom Ray
Can someone please tell me why I'm getting this error: *Fatal error*: Call to undefined function: mysql_connect() in */webs/tom/www.bohabcentral.com/www/bohabs/auth.php* on line *4 *mysql_connect was working a week or so ago, and I haven't made any changes to the servers configuration. If som

Re: [PHP] mysql_connect error

2003-01-20 Thread Chris Shiflett
--- Tom Ray <[EMAIL PROTECTED]> wrote: > Can someone please tell me why I'm getting this error: > > *Fatal error*: Call to undefined function: > mysql_connect() in > */webs/tom/www.bohabcentral.com/www/bohabs/auth.php* on > line *4 > > *mysql_connect was working a week or so ago, and I > haven't

[PHP] is this better or is it still in html?

2003-01-20 Thread Karl James
Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] is this better or is it still in html?

2003-01-20 Thread Henry
i don't get your point -Original Message- From: Karl James [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 11:59 AM To: php Subject: [PHP] is this better or is it still in html? Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] is this better or is it still in html?

2003-01-20 Thread Tom Rogers
Hi, Monday, January 20, 2003, 1:59:17 PM, you wrote: KJ> Karl KJ> -- KJ> PHP General Mailing List (http://www.php.net/) KJ> To unsubscribe, visit: http://www.php.net/unsub.php its fine ... no html if thats what you mean :) -- regards, Tom -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] is this better or is it still in html?

2003-01-20 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It is better:) On Sunday 19 January 2003 10:59 pm, Karl James wrote: > Karl - -- ~Paul Nicholson Design Specialist @ WebPower Design [EMAIL PROTECTED] www.webpowerdesign.net "The webthe way you want it!" "It said uses Windows 98 or better, so

[PHP] Help with Error, I am Trying!!

2003-01-20 Thread Karl James
Parse error: parse error, unexpected '}' in /home/virtual/site12/fst/var/www/html/Create_Account.php on line 5 http://www.ultimatefootballleague.com/Create_Account.phps I'm Trying to get the values of the form to echo out and to insert into my managers table. thanks karl -- PHP General

RE: [PHP] Help with Error, I am Trying!!

2003-01-20 Thread Henry
you miss a { at first if statement -Original Message- From: Karl James [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 12:28 PM To: php Subject: [PHP] Help with Error, I am Trying!! Parse error: parse error, unexpected '}' in /home/virtual/site12/fst/var/www/html/Crea

Re: [PHP] Help with Error, I am Trying!!

2003-01-20 Thread Chris Knipe
if (!$_POST['Team_Name'] || !$_POST['First_Name'] || !$_POST['Last_Name'] || !$_POST['Email'] || !$_POST['Username'] || !$_POST['Password']) header ("location: http://www.ultimatefootballleague.com/Create_Account.htm";); } Change to: if (!$_POST['Team_Name'] || !$_POST['First_Name'] || !$_

[PHP] Can php works as a scheduler?

2003-01-20 Thread Jack
Dear all I built a page which will import data from csv files to database, i want this task to be done automatically at the midnight of each date. so does anyone know if there is any function work as similar as Scheduler in php? so php will run the script at specific time! Thx a lot Jack [EMAIL P

Re: [PHP] Can php works as a scheduler?

2003-01-20 Thread Jason k Larson
Unix/Linux use: cron (crontab) Windows use: at HTH, Jason k Larson Jack wrote: Dear all I built a page which will import data from csv files to database, i want this task to be done automatically at the midnight of each date. so does anyone know if there is any function work as similar as Sc

RE: [PHP] Can php works as a scheduler?

2003-01-20 Thread John W. Holmes
> I built a page which will import data from csv files to database, i want > this task to be done automatically at the midnight of each date. > > so does anyone know if there is any function work as similar as Scheduler > in > php? so php will run the script at specific time! You can do what you

<    1   2