Jump to content

Help with finding what variables have been passed...


vbcoach

Recommended Posts

That did not work like I expected.  All I got returned was "Array ([phpSESSIONID]=>..." and a bunch of numbers.  What I am looking for is a way to see what variables have been passed to this page, what the variable name is and it's resulting value. 

 

is this possible?

Link to comment
Share on other sites

Someone please delete this post.  No one is helping.

 

Get real.

 

The code I posted previously will show you all variables passed to the page in the request. What more do you want? Maybe your not getting any results because your not passing any data across in the request OR maybe you still haven't described your issue well enough to get a decent response.

 

Either way, the ball is in your court.

Link to comment
Share on other sites

As the above post says, $_REQUEST is what you need to print to obtain variables passed through POST, GET and COOKIE methods. It's a superglobal and the print function will give you what you're looking for, unless what you have described is in error.

 

However, the session id output IS what you're after, as I believe that refers to cookie information. Which is what you wanted, right?

 

 

Link to comment
Share on other sites

Nope.  And sorry for the attitude.  It was nearly 4am here and I was brain-fried.

 

I was looking for a statement that would print ALL the variables, their names and values.  I finally found a code that worked via a google search.

 

Mind sharing then? So we can at least get a hint of what you where wanting.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.