WebmasterForums.NET - Webmaster Forums & Directory
 

Go Back   WebmasterForums.NET - Webmaster Forums & Directory > Design and Development > Site Programming and Coding
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Site Programming and Coding Have a problem with some code on your site? Ask our other members for advice and help.

Reply
 
Thread Tools Display Modes
Old 07-31-2006, 02:14 PM   #1
Shoshana
Senior Member
 
Shoshana's Avatar
 
Join Date: Jul 2006
Location: NY
Posts: 104
Shoshana is on a distinguished road
Send a message via AIM to Shoshana
Default Modify $_POST

Hello folks,
Ive seen lots of recommendations to not try to do what Im trying to do
but let me put it this way and hopefully someone can tell if this is a
good idea or not (or an alternative).

What Im trying to do is this. I have a series of links that when
clicked will navigate to a common page passing in a value encoded in
the link. For reasons not worth going into I cant use a querystring.

I was hoping to call a javascript function from the onclick event of
the link, then assign a new $_POST variable and then submit the form
(hence enabling me to read the $_POST value from the receiving page.

Im aware that I could do the same thing with a $_SESSION but as this is
the last stage of this app and I havent had to use sessions yet I was
hoping to avoid it (for no real reason admittedly - I just got
interested in the solution above as an idea).

I hope this is clear.
Shoshana is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:18 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
WebmasterForums.NET - Webmaster Forums & Directory