Re: url without a query string?

From: Date: Mon, 09 Jul 2001 06:34:52 +0000
Subject: Re: url without a query string?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-56888@lists.php.net to get a copy of this message
heh.. y not u use the post method?? use a form.. put in the hidden form... and document.theformname.submit(); eg: <form name='theform' action='.../index.php'> <input type='hidden' value='1'> </form> <script>document.theform.submit();</script> Jon Yaggie <dmsales@design-monster.com> wrote in message news:037601c1083b$b6583010$0100a8c0@piiimonster... > problem with a session is the link originates at another domain. so as far > as i know i can pass a session between domains. > > yes js is not a problem except i dont know it. and refrshing is possible > because on first load i will set up a session. can you specficate a url to > refresh?? so that i cna refresh it without the query string? > > > > > > > > > > Thank You, > > Jon Yaggie > www.design-monster.com > > And they were singing . . . > > '100 little bugs in the code > 100 bugs in the code > fix one bug, compile it again > 101 little bugs in the code > > 101 little bugs in the code . . .' > > And it continued until they reached 0 > > > ----- Original Message ----- > From: "James Tan" <mydiary@asiapacific.com.my> > To: <php-general@lists.php.net> > Sent: Monday, July 09, 2001 12:37 PM > Subject: Re: [PHP] url without a query string? > > > > hie... > > if i'm not wrong.. u could try using session :) > > > > that way, ucan have index.php s u ish :) > > > > --login.php-- > > session_start(); > > $id = 1; > > sessoin_register("id"); > > --index.php-- > > session_start(); > > $memid = $id-0; > > // **statement** > > > > > > hope it helps.. > > good luck :) > > > > regards, > > > > James > > Jon Yaggie <dmsales@design-monster.com> wrote in message > > news:033901c10832$68f072a0$0100a8c0@piiimonster... > > > i have nothing to do with the popup stuff :) > > > > > > ----- Original Message ----- > > > From: "Ben Bleything" <bleythbe@mailbox.orst.edu> > > > To: "'Jon Yaggie'" <dmsales@design-monster.com>; > > <php-general@lists.php.net> > > > Sent: Monday, July 09, 2001 11:37 AM > > > Subject: RE: [PHP] url without a query string? > > > > > > > > > > Yikes. Popups and porn. > > > > > > > > Anyhoo, I guess I can't help you. I just don't know enough about the > > > > inner workings of http. > > > > > > > > Sorry => > > > > > > > > Ben > > > > > > > > -----Original Message----- > > > > From: Jon Yaggie [mailto:dmsales@design-monster.com] > > > > Sent: Sunday, July 08, 2001 9:34 PM > > > > To: php-general@lists.php.net > > > > Subject: Re: [PHP] url without a query string? > > > > > > > > i mean this is coming from a hardcoded link. > > > > > > > > example > > > > > > > > www.design-monster.com links to www.site.com/index.php?id=4 > > > > but site www.hopeless.com links to www.site.com/index.php?id=2 > > > > > > > > both these then have a membership link on them and the memebership > > > > service > > > > uses the refering url. but the referer needs to be exact. so the > query > > > > string needs to be stripped some how? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thank You, > > > > > > > > Jon Yaggie > > > > www.design-monster.com > > > > > > > > And they were singing . . . > > > > > > > > '100 little bugs in the code > > > > 100 bugs in the code > > > > fix one bug, compile it again > > > > 101 little bugs in the code > > > > > > > > 101 little bugs in the code . . .' > > > > > > > > And it continued until they reached 0 > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Ben Bleything" <bleythbe@mailbox.orst.edu> > > > > To: "'Jon Yaggie'" <dmsales@design-monster.com>; > > > > <php-general@lists.php.net> > > > > Sent: Monday, July 09, 2001 11:25 AM > > > > Subject: RE: [PHP] url without a query string? > > > > > > > > > > > > > A shot in the dark would be to use HTTP Post instead of Get... but, > I > > > > > don't know http. > > > > > > > > > > -----Original Message----- > > > > > From: Jon Yaggie [mailto:dmsales@design-monster.com] > > > > > Sent: Sunday, July 08, 2001 9:22 PM > > > > > To: php-general@lists.php.net > > > > > Subject: [PHP] url without a query string? > > > > > > > > > > the problem > > > > > > > > > > i have a page that uses a query string to determine content. ie > > > > > index.php?id=2 in this page there is a link to a memebership area > > > > that > > > > > uses a remote service. this service requires that thee be the exact > > > > > same refering url. is the refering url must always be index.php. > how > > > > > can i do this? can i do this? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thank You, > > > > > > > > > > Jon Yaggie > > > > > www.design-monster.com > > > > > > > > > > And they were singing . . . > > > > > > > > > > '100 little bugs in the code > > > > > 100 bugs in the code > > > > > fix one bug, compile it again > > > > > 101 little bugs in the code > > > > > > > > > > 101 little bugs in the code . . .' > > > > > > > > > > And it continued until they reached 0 > > > > > > > > > > > > > > > > > > > > > > -- > > > > PHP General Mailing List (http://www.php.net/) > > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > > For additional commands, e-mail: php-general-help@lists.php.net > > > > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > > > > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#56888) next »