If the variable $SCRIPT_NAME does not suit your needs, try the other
environment variables here:
http://www.php.net/manual/en/language.variables.predefined.php
Adam
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have not tested this but it should work...
Adam
this goes in the form area on login.php
-Original Message-
From: its me [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 4:27 PM
To: [EMAIL PROTECTED]
Subject: login
there is a page that when user go to need to be lo
try header("Location : http://the.page.where.you.want.to.return ");
(search in phpmanual)
its me a écrit :
> there is a page that when user go to need to be looged in,so it automaticaly go back
>with him to loggin page but after login i want him to go back to the page he was
>in.how?
> u
there is a page that when user go to need to be looged in,so it automaticaly go back
with him to loggin page but after login i want him to go back to the page he was
in.how?
using history()? and how.
thanks guys
Rehab M.Shouman
How does one use trusted connections with mssql_connect()
?
Also, the manual says something about an "interfaces" file. Where do I find
this? Where is this interfaces file documented?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You actually have several options here and some things could complicate the
issue too.
A previous poster suggested that 36 page views a second would be
satisfactory - this sounds reasonable but it's also my experience that in
the Windows world the way the systems tend to fail is to become unstabl
Sorry , I accidentally posted the same thing twice. Just diregard this one.
"Carl E Shmidt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have an admin site where users can upload files. Information about the
> file like file name and song name are stored
See the manual at php.net:
addslashes()
stripslashes()
I've found it easier to just turn on magic-quotes in the php.ini file
This is all covered at php.net
Robert
- Original Message -
From: "Nick Patsaros" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PR
What about a function
function nameyouchoose ($query,$link) {
if ( ! isset($query) || ! isset($link) )
return;
mysql_selectdb($link);
return mysql_query($query);
}
- Original Message -
From: "PHP freak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]
I'm working with a simple form which submits field
data to a MySQL database. This is for the purpose of
generating a dynamic news page for my site.
Interestingly enough I've found that any time I try to
submit data that contains an apostrophe "'" it gives
me an error and will not send the data (
10 matches
Mail list logo