Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-26 Thread Ashley Sheridan
On Mon, 2009-10-26 at 07:46 +0530, kranthi wrote: > you have to type the relative path to your document root for every URI) > > seems you are looking for > http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#RewriteCond I don't think that will do what he wants. Consider the following two exa

Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread kranthi
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#RewriteCond

Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread דניאל דנון
As Ashley said, its the wrong way to approach this problem. I suggest you read about "base href". (http://."; /> ) it is a HTML tag. On Sun, Oct 25, 2009 at 6:51 PM, Rob Gould wrote: > Isn't there a way to tell the Rewrite rule to skip anything found in a js > or images subfolder? > > > >

Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread Ashley Sheridan
On Sun, 2009-10-25 at 12:51 -0400, Rob Gould wrote: > Isn't there a way to tell the Rewrite rule to skip anything found in a > js or images subfolder? > > > On Oct 25, 2009, at 12:26 PM, Ashley Sheridan wrote: > > > On Sun, 2009-10-25 at 11:04 -0400, Rob Gould wrote: > >> > >> I'm trying to f

Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread Rob Gould
Isn't there a way to tell the Rewrite rule to skip anything found in a js or images subfolder? On Oct 25, 2009, at 12:26 PM, Ashley Sheridan wrote: On Sun, 2009-10-25 at 11:04 -0400, Rob Gould wrote: I'm trying to follow the RewriteRule docs to make it so that: http://benchwarmersports.

Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread Ashley Sheridan
On Sun, 2009-10-25 at 11:04 -0400, Rob Gould wrote: > I'm trying to follow the RewriteRule docs to make it so that: > > http://benchwarmersports.com/packages/super-bowl-xliv/1 > > can be entered into the web-browser, and it transforms into: > > http://benchwarmersports.com/packages.php?title=

[PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread Rob Gould
I'm trying to follow the RewriteRule docs to make it so that: http://benchwarmersports.com/packages/super-bowl-xliv/1 can be entered into the web-browser, and it transforms into: http://benchwarmersports.com/packages.php?title=super-bowl-xliv&eventid=1 The good news is that it does transform

Re: [PHP] Vars in URL

2003-02-08 Thread Justin French
on 06/02/03 10:03 AM, Shawn McKenzie ([EMAIL PROTECTED]) wrote: > I am trying to do something simple to sell items with paypal. One of the > options paypal has is a return url, so that after the buyer pays via the > paypal website they are forwarded to the return url (my site) so they can > acces

Re: [PHP] Vars in URL

2003-02-05 Thread Shawn McKenzie
O.K. I found this at php.net but it doesn't seem to bring up the paypal page. I guess I am trying to simulate a form POST using headers. Any ideas??? $paypal_vars is an array of the vars and values that paypal needs. foreach($paypal_vars as $key => $value) { $value = urlencode(stripslashes

Re: [PHP] Vars in URL

2003-02-05 Thread Shawn McKenzie
I am trying to do something simple to sell items with paypal. One of the options paypal has is a return url, so that after the buyer pays via the paypal website they are forwarded to the return url (my site) so they can access some info.. The problem is that the form on my site that collects info

Re: [PHP] Vars in URL

2003-02-05 Thread Chris Shiflett
--- Shawn McKenzie <[EMAIL PROTECTED]> wrote: > I want to pass vars to another site but I don't want > to use a form. How can I pass these vars to another > site without the vars being shown in the URL. That question is far too vague in terms of who needs to be passing data where. If you want to p

[PHP] Vars in URL

2003-02-05 Thread Shawn McKenzie
I want to pass vars to another site but I don't want to use a form. How can I pass these vars to another site without the vars being shown in the URL. I tried header("Location:"); TIA, Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php