[PHP] Re: URL Rewriting

2011-06-23 Thread Geoff Lane
On Thursday, June 23, 2011, Ashley Sheridan wrote: > I've not yet seen any evidence yet that pretty URLs actually benefit > SEO. I regularly search for answers to problems online, and mostly I > get forums as the results, all of which have URLs like > showthread.php?t=1234567 Anecdotal perhaps, b

[PHP] Re: URL Rewriting

2011-06-22 Thread Geoff Lane
On Wednesday, June 22, 2011, Daniel Brown wrote: >> RewriteEngine on RewriteRule ^theme([0-9]+).php$ >>  /index.php?theme=$1 [L] > That's neither nginx nor PHP, so it's not really relevant to the > OP's questions. I guess that the answer should be that you can rewrite outside of PHP and then

[PHP] Re: url obfuscation

2006-07-13 Thread Jon Drukman
Dan McCullough wrote: For me it doesnt matter I dont want Google in the section that I'm obfuscation. use nonsequential ids (as you do) and a robots.txt file to stop google (and any search engine that obeys robots.txt) http://www.robotstxt.org/wc/exclusion.html also google has a thing called

Re: [PHP] Re: URL output query

2006-02-28 Thread Rafael
Chris wrote: Rafael wrote: Hi Chris, if the only thing you want is to get the domain (having the whole URL) you have more than one way to solve it. Chris -it's a little akward that Chris answered to Chris- already told you about parse_url(), and since we're talking about strings, I

Re: [PHP] Re: URL output query

2006-02-27 Thread Chris
Rafael wrote: Hi Chris, if the only thing you want is to get the domain (having the whole URL) you have more than one way to solve it. Chris -it's a little akward that Chris answered to Chris- already told you about parse_url(), and since we're talking about strings, I would suggest s

[PHP] Re: URL output query

2006-02-27 Thread Rafael
Hi Chris, if the only thing you want is to get the domain (having the whole URL) you have more than one way to solve it. Chris -it's a little akward that Chris answered to Chris- already told you about parse_url(), and since we're talking about strings, I would suggest something like

[PHP] Re: url reload

2005-07-07 Thread Nadim Attari
First of all you should go to: http://www.google-is-my-best-friend.com Then http://www.google.com.au/search?hl=en&q=%22call+same+page%22+%2B+php Found in the comments: http://www.zend.com/zend/spotlight/code-gallery-wade7.php?article=code-gallery-wade7&kind=sl&id=3324&open=1&anc=0&view=1 --

[PHP] Re: URL

2004-07-21 Thread Torsten Roehr
"Bruno Santos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello All. > > Im developing a couple of pages and i need to do some redirecting to > another page depending > on the choice of a user. > The problem is, to go to another page, i need to send some parameters in > the URL t

[PHP] Re: Url problem

2003-06-12 Thread DvDmanDT
The file get's parsed server side I guess... You would need to name it .txt or something for that to work... :p "Sparky Kopetzky" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] OK. I'm suffering from brain gas... I'm trying this, it doesn't work and I can't figure out why: inc

RE: [PHP] Re: URL of calling page

2003-02-17 Thread Uttam
or $_SERVER["HTTP_REFERER"] availability depends or server though... regds, -Original Message- From: Luke Woollard [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 10:48 To: PHP-general Subject: RE: [PHP] Re: URL of calling page dude - try this: echo $HTTP_REFE

RE: [PHP] Re: URL of calling page

2003-02-16 Thread Luke Woollard
dude - try this: echo $HTTP_REFERER; It'l give you the refering page from when you came. Luke Woollard -Original Message- From: Brendon [mailto:[EMAIL PROTECTED]] Sent: Monday, 17 February 2003 3:17 PM To: Acleave Subject: [PHP] Re: URL of calling page On Sun, 16 Feb 2003

[PHP] Re: URL of calling page

2003-02-16 Thread Brendon
On Sun, 16 Feb 2003 15:58:30 -0600, Acleave <[EMAIL PROTECTED]> wrote: I believe there's a way in PHP to get the URL of the page that called the current page but can't find it. Is there such a function? Or would I have to use another script (like Javascript)? What I mean is if I click on a l

[PHP] Re: URL parsing

2002-12-18 Thread gamin
Hi Mako, if your URL is going to have this format consistently try this $data = explode("/",$URL); $user = $data[3]; HTH (untested code) gamin. "Mako Shark" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've got a URL like this: > > http://www.naturalis

[PHP] Re: URL issue -- http://server/page.php?machine.network=one not working

2002-07-02 Thread Richard Lynch
>I am having a problem with php4 and a get url. For instance the URL: >http://server/page.php?test1.test.com=debug. > >I have a script which does a foreach through all the _GET vars: >foreach ($_GET as $var => $value) >This peice works fine except that when the var (name) has a period in it >that

[PHP] Re: URL / slash reduction

2002-06-10 Thread X-power.be
gone start again.. because a can't get trough this stuff :( al i want is a forward of http://user.tuned-belgium.be/NICKNAME http://tuned-belgium.com/main/modules.php?name=user&op=userinfo&uname=NICKNA ME what is the best to do? -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Re: url string

2002-06-10 Thread Scott Hurring
Did you verify that the variables actually contain data? They're probably empty, which is why they dont seem to be passing correctly. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Kris Vose" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED

[PHP] Re: URL checking

2001-12-16 Thread Phillip Oertel
Trx wrote: > Hi, I'm very much a newbie! > I'm trying to set up a site which will automatically test links in a large > link directory and show date and time of last check and whether or not a > link to the external URL was dead or alive at the time. the curl library will let you do this. query

RE: [PHP] Re: URL variables

2001-10-25 Thread Boget, Chris
> > the only way you may go wrong with this is with scoping, > > $yourvar isn't available in a function inside yourpage.php. > It can be, though. You just need to tell the function to look for the > global variable $yourvar: > function yourFunction() { > global $yourvar; > ... > } or f

[PHP] Re: URL variables

2001-10-25 Thread Mike Frazer
> If the link is > > Then in yourpage.php ... > > echo($yourvar); > > the only way you may go wrong with this is with scoping, $yourvar isn't > available in a function inside yourpage.php. It can be, though. You just need to tell the function to look for the global variable $yourvar: function

[PHP] RE: URL variables

2001-10-25 Thread Tim Ward
They're just there ... If the link is Then in yourpage.php ... echo($yourvar); the only way you may go wrong with this is with scoping, $yourvar isn't available in a function inside yourpage.php. Tim Ward -- From: Clint Tredway [SMTP:[EMAIL PROTECTED]] Sent:

Re: [PHP] Re: url to link

2001-07-30 Thread bill
Hi Matthias, I tried it but it didn't work. It returned a "Document contains no data" error. I put the preg_replace info all on one line. Could that have affected any whitespace? kind regards, bill Matthias Winkelmann wrote: > This uses just one expression (and that is a fast preg_ insteat

RE: [PHP] Re: url to link

2001-07-28 Thread Matthias Winkelmann
This uses just one expression (and that is a fast preg_ insteat of ereg) for both, mailto: and http: links (and news:, too): $text = preg_replace('#(^|[^\"=]{1})(http://|ftp://|mailto:|news:)([^\s<>]+)([\s\n<> ]|$)#sm',"\\1\\2\\3\\4",$text); ciao, matt -- s o m e o n GmbH Community Software

[PHP] Re: url to link

2001-07-28 Thread bill
Bill wrote: > I thought my regexps were up to snuff until they processed this url: > > http:[EMAIL PROTECTED] > > Anybody have a regexp that can parse for both http & mailto links and > turn that into an http link -without- turning it also into a mailto > link? Thought you might like to see what

Re: [PHP] Re: url without a query string?

2001-07-08 Thread another programmer
July 09, 2001 4:15 PM Subject: [PHP] Re: url without a query string? I am not sure if the header(); function still maintain the referer, but if it does: You could make the first link lead to any named page, like: gate.php On gate.php you put: header("Location: index.php"

[PHP] Re: url without a query string?

2001-07-08 Thread Inércia Sensorial
I am not sure if the header(); function still maintain the referer, but if it does: You could make the first link lead to any named page, like: gate.php On gate.php you put: header("Location: index.php"); On index.php you put: if ($HTTP_REFERER == 'http://www.your_domain.com/gate.php')

RE: [PHP] RE: url hide

2001-01-23 Thread Sander Pilon
> > > > Perhaps not related to php but I was wandering, is it > > > > possible to hide > > > > site's real url and replace it with something else (some > > > > other URL). ie. > > > > someone clicks on a link on www.blah.co.uk which takes the > user to an > > > > designated area (ie. /house-sear

Re: [PHP] RE: url hide

2001-01-23 Thread Harsono Ismail
> > > > > > Perhaps not related to php but I was wandering, is it > > > possible to hide > > > site's real url and replace it with something else (some > > > other URL). ie. > > > someone clicks on a link on www.blah.co.uk which takes the user to an > > > designated area (ie. /house-search/) on w

Re: [PHP] RE: url hide

2001-01-23 Thread Jørg V . Bryne
Sent: Tuesday, January 23, 2001 10:09 AM Subject: [PHP] RE: url hide > Surely you can't hide the url the browser requests. the best you can do is > hide where that browser gets it's content from ... why not include()? > > Tim Ward > Senior Systems Engineer > &

[PHP] RE: url hide

2001-01-23 Thread Tim Ward
Surely you can't hide the url the browser requests. the best you can do is hide where that browser gets it's content from ... why not include()? Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mai