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
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
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
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
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
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
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
--
"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
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
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
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
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
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
>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
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
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
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
> > 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
> 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
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:
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
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
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
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"
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')
> > > > 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
> > >
> > > 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
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
>
&
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
29 matches
Mail list logo