Hey,
Im writing a script for a poll, and im trying to figure out how to clear the
_post.
Right now i post the response that the user selected from the poll, back to
the poll page, which then displays the results
The way it works right now, if i try to refresh the page, IE will pop a
dialog back a
I tried using the Header('location: ') but it seems the posted data
follows the redirection
Im going from my main page to a processing page then back to my main page.
i printed $_POST on the main page and it still has the values that were
originally posted to the
processing page. Also after th
I am not sure if this was designed like this, or if its just something im
doing wrong.
Im posting some data to a processing page, where i handle it then use
Header('Location: other.php') to direct me to another page.
The problem that im running into is that the posted data is available in
other.p
Header("Location: $calling");
exit();
}
Chris
"Jason Giangrande" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Chris Thomas wrote:
> > I am not sure if this was designed like this, or if its just something
im
> > doing wrong.
> &
Just wondering, what is faster / more effecient, storing a value in the
session variable which gets stored on the filesystem (from what i
understand) or database calls to re-get the information?
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
Hey,
Im trying to use sprintf to format a number and left pad it with spaces, but
it doesnt want to add the spaces
I can pad it with anyother char using sprintf("%'_8.2f, $val) which will
left-pad the number with underscores
Has anyone had any luck padding with spaces??
or is there a better way
Do you have register_globals on?
If not ayou have to get the POST information manually.
ie.. $job = $_POST['job']
Also are you sure that you are connecting to the database successfully?
add:
or die('could not connect')
to the end of your mssql_pconnect and mssql_select_db statements.
So your s
Is there anyway that i can get a url relative to my server for a script that
is being run??
The script is being included in mulitple files and $_SERVER['SCRIPT_NAME']
just gives me the name of the file that is including the other scripts.
Also $_SERVER['SCRIPT_FILENAME'] is returning nothing.
Tha
stylesheet from the
calling file (ie index.php)
I probally should have thought of this a little more before i posted...oh
well
Chris
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Chris Thomas <[EMAIL PROTECTED]> wrote:
> > Is th
9 matches
Mail list logo