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
> 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
> 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
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
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
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
--- 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
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-
> 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
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
__
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
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:
> 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
>
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
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
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
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
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/)
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'
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
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
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
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
--- 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
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
--- 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
Karl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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:/
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/)
-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
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
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
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'] || !$_
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
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
> 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
101 - 136 of 136 matches
Mail list logo