Search found 6 matches
- Thu Feb 05, 2009 7:02 pm
- Forum: PHP - Code
- Topic: returning session, Parse URL, Return and redirect
- Replies: 1
- Views: 152
returning session, Parse URL, Return and redirect
My goal is to have the pid change every time the user returns and redirect to appropriate next page on the site. So in essence if I leave the site and come back I go from pg1.php to pg2.php.. code follows.. <?php session_start(); function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS&qu...
- Thu Feb 05, 2009 1:07 pm
- Forum: PHP - Code
- Topic: Okay hopefully easy one..
- Replies: 2
- Views: 196
Okay hopefully easy one..
I want to to add 1 to every returning PID.. not the value 1 but change 214 to 215. and if it returns again 215 to 216.
Any Ideas would be greatly appreciated...
Any Ideas would be greatly appreciated...
- Thu Feb 05, 2009 7:21 am
- Forum: PHP - Code
- Topic: index.php and sessions
- Replies: 2
- Views: 226
Re: index.php and sessions
Thank you will try that..
- Thu Feb 05, 2009 4:42 am
- Forum: PHP - Code
- Topic: index.php and sessions
- Replies: 2
- Views: 226
index.php and sessions
I'm a novice and I'm trying to use my session to to send me to a new location whenever I return to the site.. This is what I have but It's not doing what expectecd.. <?php if (!isset($HTTP_SESSION_VARS['session1']) || $HTTP_SESSION_VARS['session1'] != "home_session") { header ("Locati...
- Tue Feb 03, 2009 4:36 pm
- Forum: PHP - Code
- Topic: Parse URL
- Replies: 2
- Views: 176
Re: Parse URL
Thanks so much tasairis. I'll give that a try..
- Tue Feb 03, 2009 2:54 pm
- Forum: PHP - Code
- Topic: Parse URL
- Replies: 2
- Views: 176
Parse URL
Hello all.. I'm an intermediate php developer and I'm just having mental block kind of a day. I'm just trying to parse_URL http://www.someurl.com/directory/214 for the last digits in the url and use them in a my sql db as the URL_ID. Also redirect that url to another page.. Any help would be greatly...