Code Insert To View Session Variables ?
I am having some challenges using session variables between pages with Dreamveaver MX. Is there a piece of code i can temporarily place into my pages that will print the values of all Session Variables, such that I can see they are definately being passed between the pages?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
See On-line View Code
Hi! Is there any possible way to view an "on-line" php file? That is of course how you can view the code in a php file?
Please Help View Php Source Code
i am trying to view the source code of a php page but when i view the page source it comes up with "&errormessage=Please fill in all fields and send again.&", i am trying to create a form to email box for my own website and have found one on a website i like, i am trying to get the php code but dont know how to get it to be displayed.
PHP Question: 'hiding' Code On Server From View Source
I have just started figuring out PHP as a server-side approach to something I did in Javascript. I never was able to figure out CGI on a remotely hosted web server the few times I tried (maybe wasnt' enabled?), but PHP is working fine...at least no problems at all, not my usual experience. What I would like to do is have the web page visitor access one page that 'calls' another so that the code isn't visible thru a web browser's 'View Source'. Can a .php or .htm file in the 'public', 'www', or 'html' directory access a .php file in for example the CGI-BIN area, or is there another way to do this? A visual example would probably help me more than a description.
[OT-ish] FF: Weird 'view Source' Problem, PHP Session Lost
I have a page that 'demands' a session exists: Something like: if (isset($_SESSION['isAdmin']) && ($_SESSION['isAdmin'] == 'Y')){ // OK, continue } else { // No good. Redirect to loginpage header("Location: etc/etc/etc/example"); } All very basic. But if I try to view the source of my page in FF by pressing rightmouse button -view source, I receive the source of the login page! I get the impression 'view source' makes a fresh request to get the source but is not sending the PHPSESSID along with the request, thus delivering the HTML of the loginpage to where I redirect. The box in question runs W2000 with FF2. Did anybody in here experience this weird behaviour (PHP session lost when viewing source) with Firefox2 too? By the way: The mainwindow just keeps functioning with the session correctly.
Session Problem: Session Exists, But Session Variables Don't Lasts
I have some troubles with session variables. I can easily create a session, but the variable I append to global session array ( $_SESSION) lasts only until the end of current function. I prepared an example that can demonstrate the problem (see code bellow): The program flow is this: (1) It starts with "session_start()" and displays "login_form()". (2) When user enters his username and password, it goes to "login()" function which sets $_SESSION variables. (3) This function also "Echoes" session_id and user name to the screen. (4) Then it goes to "MyProgram()" function. It only "Echoes" the same variables to the screen. Strange is, that the session_id is the same in (3) and (4), but the user name ($_SESSION["username"]) is only in (3), but not in (4). By other words - $_SESSION["username"] variable filled up by "login()" function is immediately cleared. I don't know why. There must be something missing, but after 3 days of watching it, I can not find a problem here. =========================================== <? Function login($uzivatel, $heslo) { $_SESSION["username"] = $uzivatel; $_SESSION["pass"] = $heslo; $U_Name=$_SESSION['username']; echo "Login username: $U_Name<BR>"; echo "Login session ID: "; echo session_id(); echo "<BR>"; } Function login_form() { echo ("<DIV ALIGN='center'> <H1>Test</H1> <P>Please enter your username and password:</P> <form action='test.php' method='get'> <INPUT TYPE='HIDDEN' NAME='login' VALUE=TRUE> <TABLE BORDER=Ɔ'> <TR> <TD ALIGN='right'><U>U</U>ser name:</TD> <TD><INPUT NAME='uzivatel' SIZE=25 ACCESSKEY='U' TYPE='TEXT'></TD> </TR> <TR> <TD align='right'><U>P</U>assword:</TD> <TD><INPUT NAME='heslo' SIZE=25 ACCESSKEY='P' TYPE='PASSWORD'></TD> </TR> <TR> <TD COLSPAN=2 ALIGN='RIGHT'><INPUT NAME='OK' ACCESSKEY='O' TYPE='SUBMIT' VALUE='OK' TABINDEX=3></TD> </TR> </TABLE> </FORM></DIV></HTML>"); } Function MyProgram() { $U_Name=$_SESSION['username']; echo "Program username: $U_Name<BR>"; echo "Program session ID: "; echo session_id(); echo "<BR>"; } { session_start(); if ($_SESSION['username']): MyProgram(); else: { if (!$login): login_form(0); else: login($uzivatel, $heslo); MyProgram(); endif; } endif; } ?> ===========================================
PHP INSERT Code (MySql)
Ok... i want to insert info into a db using php and mysql... I can connect to the db using most of this code the only thing i am having trouble with is the 'mysql_result'.... If anyone could help. that would be great... thanks. This is the code im using... my sql statement is fine but im not sure what php code to use... <?php $db = mysql_connect(sql,username,password); $sql = "INSERT INTO tblMyTable (name,address) VALUES ($strName,$strAddress)"; $res = mysql_db_query(username, $sql) ***here is my problem... what goes here? mysql_result($res,0); ***that was my guess but its not working.. ?> I couldnt find the code in the manual.. If anyone could help that would be great thanks
Install PHP W/DreamweaverMX Or Just Insert PHP Code Into HTML?
I am brand new at PHP and Dreamweaver MX. We have Linux/appache. I need to create a form on the web/and communicate data to/from an MS Access DataBase. I saw a great tutorial ref in devshed. If I have Dreamweaver MX, do I need to purchase PHP? Dreamweaver can process PHP code embedded into its HTML, I think but do I need "something" else? What version of PHP is MX using ? Are there other links that provide "PHP script/code" to use to connect to Access?
INSERT INTO Sql Using Php Variables
I am having difficulty getting my script to work, it seems fine and i get no error messages but no data is exported to the database(SQL) I am trying to use variables in the INSERT INTO statement because i wish to add some sanitize functions later on. Before i began using the variables ( like this: '$_POST[comment_firstname]') for each of the columns it worked. Code:
Insert Data Into Variables,,,
How can i insert the data into variables from the tables,,, $query = "SELECT * FROM users WHERE name = '$username'"; $result = mysql_query($query, $connection) or die('error making query'); while ($row = mysql_fetch_array($result, MYSQL_BOTH)) { $organization = $row["organization"]; $contactperson = $row["contactperson"];}
Insert Multiple Variables Into A Database Quickly
I've just started using PHP and have written a small script to insert 10 variables into my database, e.g: $query = "insert into items values ('".$q1."', '".$q2."', '".$q3."', '".$q4."', '".$q5."','".$q6."', '".$q7."', '".$q8."', '".$q9."', '".$q10."')"; The problem is, I will eventually need 300 questions so I don't want to list them all individually. How can change this snippet of code so that it says something along the lines of "please insert all the variables q1-q300 into the database"?
Php Session Execute Insert On Logout?
at the moment my login script with captcha is working fine, but i wish to add a small script which automatically stores logout details upon end of session expiry or if the user closes the application window or clicks the logout button on the screen. Any suggestions, how should i use my existing login variables ie., $username $logintime $loginip and how i do fire insert script under the above conditions. i mean how i do execute automatically the logout insert when session is closed or session is expired or the user chose to close the application.
Passing Variables And Session Variables
I'm currently working on a shopping cart script that works just fine with register_globals turned on but when turned off i get all kind of errors. The following page displays a detail of the book with the "Add to cart" link at the bottom. PHP Code:
Variables That Change Session Variables
I'm currently writing a mulit-page form app that uses a session to retain data from each form element in order for the user to jump between pages, then the final data is passed to a calculation script. However, I've noticed that if I assign a session variable to another variable, which then performs a mathematical calculation, the session variable changes. i.e. $_SESSION["inflation"] = 4; $temp_inf = $_SESSION["inflation"]; if ($_SESSION["inflation"] =="RPI") { $inflation = $rpi;} else {$inflation = ($temp_inf/100.0);} now it equals = 0.04 How can I take a value from a session and perform operations on it without altering the original session value.
Form Variables To Session Variables
I am writing a small script that consists of two pages: page one displays a bunch of values from a DB (ie. First Name, Last Name, Phone Number). On this page you will find a form that follows this format: <input type="text" name="edit_firstname" size="20" maxlength="35" value='Bob'> <input type="text" name="edit_lastname" size="20" maxlength="35" value='Smith'> <input type="text" name="edit_phone" size="20" maxlength="35" value='5552222'> So when you see the page there will already be a 'default' value in each line (which is information extracted from a DB). This works perfectly and has been tested thoroughly. On the second page I have the following code: $editfirstname = $_POST['edit_firstname']; $editlastname = $_POST['edit_lastname']; $editphone = $_POST['edit_phone']; What I am trying to do is this: the default value for edit_firstname from the form is 'Bob' by default, but the user can change this in the input field on the first page. This value, whether changed or unchanged, should then be stored as edit_firstname and by calling up the function $_POST[''] on the second page I want to transfer the value to the variable $editfirstname. However, it seems that $_POST['edit_firstname'] and the other fields do not return a value at all, hence $editfirstname = '' or $editfirstname = 'NULL'. I have never tried to do things this way before.
Session Code
I need to use sessions on a vew pages on my website and I'm just a begginer on PHP so i wanna know if anyone of you knows a good free session code wich can work on register globals off. or a tutorial wich also have a logout page?
Running PHP Code Within Another PHP Session
Is there a way you can run PHP code within another PHP session? I have a form that has some PHP code in it that I would like to protect with authentication. I have the following at the top of my code:
SMS Get Session And Send Code
I'm developing a SMS send script and basing on one provided by my SMS supplier. The problem I have is that I can't get the one provided by my SMS supplier to work. I think it looks all ok, but it keeps displaying "Authentication failure:" My details are correct, and I can send SMS via a separate script I have made. (not using a session, but directly sending the AUTH info as part of the text message to be sent out) If the code is ok, the only problem I can think of is if my companies proxy server somehow has a problem with sending / getting url requests if they are not part of the address bar? PHP Code:
Efficient Session Re-register Code
What I have going is working, but I wonder if there's an easier way to do this. I tried using an associative array but had some problems.
Determining Session Settings In Code
I've been having problems under IE6 with a script that uses cookies, so thought I'd try switching to using sessions instead. However, while the script works perfectly well on my own site, it doesn't always work on sites where I can't control the session settings in php.ini. I've searched through the manual, and searched previous threads here on the forum, all without success. Is there any way, through code, that I can tell if php was compiled with the --enable-trans-sid switch, or if session.use_cookies is enabled, or all the myriad other sessions settings?
Executing Code On Session Timeout
is it possible to execute some code on the session timeout event? i.e. clear all db information and other stuff when the php session is destroyed through the gc_maxlifetime timeout.
Is This Code Looking Good To Exchange PHP Session ID Between Flash And PHP
Can some Flash guru tell me if this Flash code is OK to set / retrieve a cookie for exchange with PHP? stop(); var ses:string; //create the local Shared Object myLocalSO = sharedobject.getLocal("hookie" ); if(_root.destroy) { myLocalSO.data.name = "destroyed"; } else { //if cookie already exists then get ses from cookie if (myLocalSO.data.name.length == 32) { ses = myLocalSO.data.name; getURL("index.php", "_self", "GET"); } //if cookie does not exist then make it else { myLocalSO.data.name = _root.PHPSESSID; } ses = myLocalSO.data.name; getURL("voter.php", "_self", "POST"); }
Session Variables
Can anyone please help, I am testing this code from a book that I am learning php from and it doesn't work. The message comes up showing "you've been here 1 times" , but the counter does not increment as I refresh the page. this is the code:
Session Variables How Many?
I'm wanting to store about 6 fields one of which could have about 1600 characters in a session variables for submitting data to the database. I'm trying to elimate partial records being inserted into the database when a user quits in the middle of an entry. Is there a limit to the size of what you can put in sessions and number of session you want to limit on a server. Didn't know if you had a high volume site that if you stored new records in sessions, how that would affect performance. I thought about using cookies but not everyone has them enabled, I guess I could check first.
Session Variables
I'm calling the below function to log a user in and register to session variables, however the variables are never registered: function login_user($username, $password) { GLOBAL $DB; GLOBAL $HOST; GLOBAL $WEBUSER; GLOBAL $WEBPASSWORD; Code:
Set And Get Session Variables
Iam a bit new to php but Iam familiar with other scripting languages like ASP.My Problem is Maintaing teh session variables. When the user logged in I want to maintain the username in a session until that user is logged out. I walked through the forums and tried $_SESSION, $HTTP_COOKIE_VARS but i did not succed. Whereas in ASP I used session("username") to maintain the username throughout the session. Please suggest me how to handle the session variables in php.
My 1st Use Of Session Variables
I've written some code to overlay a transparent png over a jpeg, 4 4 links then allow the png to be moved, the x and y coordinates being stored in $_SESSION. It seems to work fine on my own local server but only intermitently when live. The full source with images is stored in index.php: <?php session_name("pwh_test_session"); session_start(); ?> <html><head><title>Test page</title> <meta name="author" content="Paul Herber"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"> <style type="text/css"> .mtitle {font-size:24pt; font-family:arial,helvetica,sans-serif} .mtext {font-size:10pt; font-family:arial,helvetica,sans-serif} </style> </head> <body bgcolor="#FFFFEC"> <div class=mtext align="center"> <?php $_SESSION['x'] = 0; $_SESSION['y'] = 0; ?> <table border="0" align="center"> <tr><td>Starting session named <?php echo session_name(); ?></td></tr> <tr><td colspan="4" align="center"><a href="show.php">Start</a></td> </tr> </table> </div> </body> </html> show.php: <?php session_start(); ?> <html><head><title>Test page</title> <meta name="author" content="Paul Herber"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"> <style type="text/css"> .mtitle {font-size:24pt; font-family:arial,helvetica,sans-serif} .mtext {font-size:10pt; font-family:arial,helvetica,sans-serif} </style> </head> <body bgcolor="#FFFFEC"> <div class=mtext align="center"> <?php $d = $HTTP_GET_VARS['d']; ?> <table border="0" align="center"> <tr> <td colspan="4" align="center"><img class=mborder2 width="500" height="375" border="0" title="" alt="" <?php echo "src="showimage.php?d=$d">";?></td></tr> </tr> <tr> <td width="25%" align="center"><a href="show.php?d=u">Up</a></td> <td width="25%" align="center"><a href="show.php?d=d">Down</a></td> <td width="25%" align="center"><a href="show.php?d=l">Left</a></td> <td width="25%" align="center"><a href="show.php?d=r">Right</a></td> </tr> <tr><td colspan="4" align="center"> <?php echo 'x = ' . $_SESSION["x"] . ' y = ' . $_SESSION["y"]; ?> </td></tr> <tr><td colspan="4" align="center"> <?php if (($_SESSION["x"]==346) and ($_SESSION["y"]==180) ): echo 'You have been hit for 6!' endif; if (($_SESSION["x"]==306) and ($_SESSION["y"]==240) ): echo 'Batsman is out LBW' endif; if (($_SESSION["x"]==186) and ($_SESSION["y"]==220) ): echo 'Bowled - middle stump!' endif; ?> </td></tr> </table> </div> </body> </html> shopimage.php: <?php session_start(); $d = $HTTP_GET_VARS['d']; $im1 = imagecreatefromJPEG('P6200007.jpg'); $im2 = imagecreatefromPNG('redball.png'); if ($d == 'u'): { $_SESSION["y"] = $_SESSION["y"] - 20; } elseif ($d == 'd'): { $_SESSION["y"] = $_SESSION["y"] + 20; } elseif ($d == 'l'): { $_SESSION["x"] = $_SESSION["x"] - 20; } elseif ($d == 'r'): { $_SESSION["x"] = $_SESSION["x"] + 20; } else: { $_SESSION["x"] = imagesx($im1) - imagesx($im2)/2; $_SESSION["y"] = imagesy($im1)/2 - imagesy($im2)/2; } endif; // check limits if ($_SESSION['y'] < 0): $_SESSION['y'] = 0; endif; if ($_SESSION['y'] > imagesy($im1)-imagesy($im2)): $_SESSION['y'] = imagesy($im1)-imagesy($im2); endif; if ($_SESSION['x'] < 0): $_SESSION['x'] = 0; endif; if ($_SESSION['x'] > imagesx($im1)-imagesx($im2)): $_SESSION['x'] = imagesx($im1)-imagesx($im2); endif; imagecopy($im1, $im2, $_SESSION["x"], $_SESSION["y"], 0, 0, imagesx($im2), imagesy($im2)); $mime="image/jpeg"; header("Content-Type: $mime"); header("Content-Disposition: filename=overlayedimage.jpg"); imageJPEG($im1); imageDestroy($im1); imageDestroy($im2); ?>
Session-Variables
If i store a session-varibale with the command : >> session_register("var"); >> $var = "test"; how can i get the value of this variable?? I tried >> session_encode("var"); >> echo $var; but i doesn't work!!
Session Variables In IE
Why on earth would the security settings affect session variables? We're not setting a cookie here. I'm just trying to carry one session variable over from one page to the next. If the security settings in IE are set to "high", it doesn't work. What gives?
Session Variables
im having problem with session. its not with the variables i set using session_register but the variables that are not supposed to be cookied or cached. i have variables that i set using: index.php?variable=myvalue and on the next page i change that variable's value again .. but even if change it to : nexpage.php?variable=mynewvalue the variable is still using the first value i assigned to it : myvalue instead of mynewvalue. i only need to use session to cache my logged in user and not all the variables i use. how do i make this happen ? or am i doin' it wrong.
Session Variables
This time it's not so much broken as I just have a question on variable registration in sessions. I'm using a admin script to manage users on a website. All users first of all have the ability to edit their own info, and administrators have the ability to edit other user's info. Now, in my session I have several variables registered, including the user's password, username, full name, etc. Now, when I have them bring up the screen to edit their info, I have several fields in a form, that I fill with values from the session variables. When they edit the info and send it, it updates the MySQL DB and comes back to the same page with the fields filled in with the new info. I had some problems doing this however, it didn't want toupdate the database with the new info, it seems that the POST operation didn't update the variables, and the info from the session variables got reentered into the db. So I changed the fields on the edit page to read something like 'newusername' 'newpassword' etc, then had the script session_destroy() and reassigned the session variables to the new ones entered, THEN entered the info in the database. This seems to work. However, when I'm attempting to edit other user's info, the same approach doesn't seem to work. I'm using yet again, another set of varibles called 'editusername' 'editpassword' etc, to avoid any conflict with my session variables. The reason why I do this is because: When I originally tried the script, and had the edit user fields marked as 'username' 'password' etc (the same as the session registered variables) and then tried to reassign it $username = $username; (I know, it looks silly) It didn't work, it seems like POST operations don't assign variables quite the same way as an explicat declaration. Anyway, should I be paranoid about using the same variable names in my forms as in the session variables? Will they screw up? Will they reassign?
Php Session Variables
I've been trying to integrate php with MySQL database into my site and have come up with a problem. My webhost has php set up so that I cannot use session variable the way I understand them. Here's what he wrote: You tried to use the session handling routines included in PHP, which are unavailable. It would be possible, however, to write your own functions that set a cookie to define a session ID, this session ID would then refer to data loaded in a data file on the server. You would likely want to write routines that mirror the native routines in PHP that are not available. Now I've been trying to work with functions on this one, but am still coming up with the same error message. Anyone out there know a basic way to write this or help me out?
Session Variables
I cannot seem to change a session variable. I want my site to have the ability to be viewed from a different perspective depending on the client or in this case $user. With track_vars and register_globals on i have the following code:
Session Variables?
can session variable hold objects that can later be reference by other pages? if so, i get an "incomplete object" error when i try to call methods from the object I have stored in the session.
PHP Session Variables
I'm not a overly experienced PHP programmer but I like to dabble and I'm working on a 'semi-secure' member's area. Previous I have used normal variables to determine the validity of a user. i.e. Once the user has logged in, a random id is created an placed in the database in their row and each secured page will have a URL like this : .../secure.php?user=joebloggs&randid=324395 Each page looks up the username and checks it against the random id (instead of their password for obvious reasons). However, I want to remove this altogether so a page will just be like 'secure.php' so I've looked into session variables - another interesting endeavour which was quite effective until the user logs in. The URL then changes to ...secure.php?PHPSESSID=94fhq439fqqh9f-qh9-q2h or something similar. Obviously, this doesn't happen when clicking a link but the use of a login form causes this added variable to the URL.
Session Variables
Ive got a problem with our server. I checked it and i cant login to our webmail(horde) and all other sites that requires logging in. So far i think it has something to do with session variables not being written or not being able to pass the session variables to a second page. Error messages: Undefined index: uid Undefined index: sid Here's our server specs: Linux Dedicated server Fedora Core 3 Plesk 7.5.4 PHP 4.3.11 Im not that well versed with handling servers to i dont know were to start.
Session Variables
I have got an area of my website that is password protected. tGateway.php gets the user to input the password then checks, then if it is correct, sets a session variable - $_SESSION['trainee'] = 1; and then redirects to another page. (tGPS.php) This works fine, the problem occurs when i then go from this page to any other page in the protected area. It kicks me out and takes me back to the password screen - as it is meant to do, if $_SESSION['trainee'] != '1'; So some how, the trainee variable it being reset to 0, I've done print variable on the tCP.php page without the if statement and it's claiming that the variable is 0. I can't see how it's reset it's self, and more the to the point how to stop it! There is not any other php code in the pages. See below for the php code of each page. Code:
Session Variables On Ssl
I just started using a secure socket layer for one of my websites. Whenever I sign in and register some session variables the variables don't get registered. Does anyone know why?
Session Variables
This may be a silly question but I was wondering if I have a login page with a single page to process its username and password that uses a switch to check for the user and then direct them to their home page. However with processing all the users on the same page does this mean that if another user logs in at the same time the first users session variables will be over written? For example if I login as admin and then login as a normal user without loggin the admin out, then try to access the admin page it claims the admin has logged out, so does this cause a problem for multiple users.
Session Variables
I was just wondering, is it possible for a third party to manipulate your Session variables while ure in a session? I know that you SID can be hijacked thru header modification if someone knows ur session ID, therefore that is counteracted by regenerating session id's, but i am wondering if the actual session variables can be manipulated or not.
Session Variables
this is going to sound really dumb but how to you set a session variable, i know you can use $_SESSION['variable'];, and i have read about session_register and session_unregister my problem is that at present i am using $_SESSION['variable']; but i dont know how to clear/destroy this because when a Customer enters the website they can login or enter as a guest and if they enter as a guest they can login later, the only problem is when i go to the login later the $_SESSION['variable']; is registered as Guest still so i need to clear this and then reassign them with their customer number.
Session Variables
I have a login script working. All is fine. This works by querying a database and if the result = 1 then set a session. What i want to do is get all the information relating to the user currently logged in. When i echo the session i get the value 1. How do i query the database to get all info on the user logged in?
How Session-variables Work
let me explain the content: by opening questions.php the user sees the first page of a questionnaire. every question can be answered with one set of radiobuttons. if all questions are answered he goes to the next page by clicking on "next". questions.php is loaded again. a session variable is set to hold the active page. i need it to navigate through the different pages (four or five pages). on clicking "next" you see the next 10 items of list[].
Session Registered Variables...
How do I validate session registered variables with http_post_vars (php-4.0.6)??? Page 1 Session_start(); Session_register(“check1”); Session_register(“check2”); Session_register(“check3”); Session_register(“check4”); $check1 = “abc”; $check2 = “def”; $check3 = “ghi”; $check4 = “jkl”; via form (method = “Post”) I submit $check5 = “abc”; Page 2 Session_start(); foreach($HTTP_SESSION_VARS as $key => $value_) { If($HTTP_POST_VARS[“check5”] == $HTTP_SESSION_VARS[“key”]) { echo "<br>Equal"; } else { echo "<br>Not Equal"; } }
Updating Session Variables
On a form where users update their password, I have a small glitch. The form is submitted and the new password is successfully updated in the users table. The problem is that the session variable ("password") still contains the old password. So the next page the user visits that has session-based authentication check sees that the old password does not match what is currently stored in the users table (which was just updated). Thus, the user is taken to a login screen and forced to sign in again. After signing in the session variable ("password") is updated with the new password and all is well. How can I update the session variable("password") so that the user does not have to log in again after changing their password?
Modifying Session Variables ?
I have a form with a text input field (search) and I am trying to modify the '$search' variable with the form, after I registered it. the manual states that I should unregister the session (session_unregister(search) , but when I echo $search and $HTTP_SESSION_VARS[search], the session variable seems to always be "late" (meaning, it is set as the variable that was supposedly unregistered...) PHP Code:
How To Display ALL Session Variables?
Is there a simple way to display all session variables? Like the code below I use in debug for all posted variables: echo "<h3>posted variables</h3>"; while (list($name, $value) = each($HTTP_POST_VARS)) { echo "$name = $value<br>"; }
|