SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Hybrid View
-
Jun 6, 2006, 11:39 #1
- Join Date
- May 2005
- Location
- Houston, Texas, USA
- Posts
- 418
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
[QUOTE=Mittineague]Can't you just use a GET variable
Originally Posted by Mittineague
by the way, that js calendar works just fine now--thanks! I think I was having an xhtml conflict too.Opportunity favors the prepared mind.
-
Jun 6, 2006, 13:26 #2
- Join Date
- May 2003
- Location
- Cambridge, UK
- Posts
- 2,366
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Private messages are there for a reason...
-
Jun 6, 2006, 14:22 #3
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 Thread(s)
GET vars
...... when the forum member has their PM feature enabled
I think in that thread the OP was trying to link to a site that most likely is using Apache to use the variable in the URL to go to a specific page.
How to use GET variables? I wouldn't use them for anything sensitive to attact or criticaly essential. But you could do a redirect or content load dependent on them. Maybe something like
PHP Code:<?php
$var = $_POST['variable'];
header(location: ./folder/$var\.php);
PHP Code:<?php
$var = $_POST['variable'];
....
echo "<img src='./images/" . $var . "' />";Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
Jun 6, 2006, 14:53 #4
- Join Date
- May 2005
- Location
- Houston, Texas, USA
- Posts
- 418
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thank you so much, and also thanks for your comment about the PM (because I did check that first).
Opportunity favors the prepared mind.
Bookmarks