> > P.S will be deleting the urls that you created, hope you dont mind, coz
> > just in case someone later keeps using the url you posted via the
> > archives...
>Hang on, I want to post it on Digg first
Hehe, no fear there... all my posts on dig never get me more than a few clicks
a
On Fri, 2008-06-20 at 14:42 -0400, tedd wrote:
> At 11:35 AM -0700 6/20/08, Ryan S wrote:
> >
> >Thats why I love this place... theres so many ways to skin a cat
>
> Yeah, but the cat ain't going to like any of them. (Foxworthy)
I'd have to argue that the above claim is only true if the cat is st
On Fri, Jun 20, 2008 at 2:35 PM, Ryan S <[EMAIL PROTECTED]> wrote:
> Ah, the never ending loop... thanks for pointing that out.
> Thats why I love this place... theres so many ways to skin a cat and here
> they tell you the ways you have forgotten or overlooked.
As long as you remember to giv
>Thats why I love this place... theres so many ways to skin a cat
Yeah, but the cat ain't going to like any of them. (Foxworthy)
Hehe good one!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 11:35 AM -0700 6/20/08, Ryan S wrote:
Thats why I love this place... theres so many ways to skin a cat
Yeah, but the cat ain't going to like any of them. (Foxworthy)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List
Ryan S <[EMAIL PROTECTED]>
Cc: Stut <[EMAIL PROTECTED]>; Iv Ray <[EMAIL PROTECTED]>; Jon Drukman <[EMAIL
PROTECTED]>; php-general@lists.php.net
Sent: Thursday, June 19, 2008 4:40:59 PM
Subject: Re: [PHP] Re: Search like php.net's URL thingy
Ry,
Make sure you
Ry,
Make sure you also disable the ability to add in your own site,
and even similar competitors such as tinyurl.com.
Otherwise, you'll get something like this:
http://ezee.se/30
--
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contra
> I really dont see what anybody could gain by spamming this form but
> anyway it does check to make sure the person submits something that
> starts with "http" via strstr (after bringing it down to lowercase,
> thats why i didnt use stristr, and because it checks just "http",
> https too
On 18 Jun 2008, at 23:40, Ryan S wrote:
Thanks for replying m8, but if you check the rest of the thread you
will see this has alraedy been solved and the result is
http://ezee.se/ezeeurl.php?do=1
Cheers!
Ryan
How do you protect this thing from being spammed?
I do not know why somebody wou
> Thanks for replying m8, but if you check the rest of the thread you will see
> this has alraedy been solved and the result is
> http://ezee.se/ezeeurl.php?do=1
>
> Cheers!
> Ryan
How do you protect this thing from being spammed?
I do not know why somebody would spam it, but I have had all k
On Wed, Jun 18, 2008 at 9:19 AM, Nate Tallman
<[EMAIL PROTECTED]> wrote:
> Not to beat a dead horse, but why would you *not* want to preserve the 404?
> If it's a bad url anyways, you probably *want* to return a 404 (albeit
> prettier) and you probably *don't* want search engines indexing it.
the
On Tue, Jun 17, 2008 at 3:22 PM, Jon Drukman <[EMAIL PROTECTED]> wrote:
> Nate Tallman wrote:
>
>> Why is an ErrorDocument "insufficient" or "not the elegant way"?
>> It accomplishes the goal in a clean way, no?
>>
>
> It's *WRONG*. ErrorDocument still preserves the 404 error code, it just
> give
> Why is an ErrorDocument "insufficient" or "not the elegant way"?
>> It accomplishes the goal in a clean way, no?
>>
>
> It's *WRONG*. ErrorDocument still preserves the 404 error code, it just
> gives it a prettier face. If the page really is there, returning a 404 for
> it is not correct. Sear
Ryan S wrote:
Thanks for replying m8, but if you check the rest of the thread you will see
this has alraedy been solved and the result is
http://ezee.se/ezeeurl.php?do=1
Cheers!
Ryan
How do you protect this thing from being spammed?
I do not know why somebody would spam it, but I have had al
Thanks for replying m8, but if you check the rest of the thread you will see
this has alraedy been solved and the result is
http://ezee.se/ezeeurl.php?do=1
Cheers!
Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It's *WRONG*.
So are vegetables. Long live the waffle!
BTW, anyone seen this:
http://code.google.com/apis/chart/ ...?
More to the point, is anyone using it commercially?
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
++
| Access SSH wi
Nate Tallman wrote:
Why is an ErrorDocument "insufficient" or "not the elegant way"?
It accomplishes the goal in a clean way, no?
It's *WRONG*. ErrorDocument still preserves the 404 error code, it just
gives it a prettier face. If the page really is there, returning a 404
for it is not corr
Ryan S wrote:
Hey!
Thanks for replying.
Digging a bit more i found
RewriteEngine On
RewriteRule ^([a-z][0-9][A-Z][aA0-zZ0])$ jj.php?show=$1
But it does not work :( do you see any fault with the above?
this is an apache issue, not a php issue, so you'll probably have better
luck on an a
Hello,
php.net uses a 404 error handler for this, and most mirrors store url data
in an sqlite database. A simple $_SERVER dump in your 404 page will show you
which variables are available.
Regards,
Philip
On Thu, Jun 5, 2008 at 4:52 PM, Ryan S <[EMAIL PROTECTED]> wrote:
> Hey again,
>
> First of all please note that i added a [0.T] (= off topic ) to the subject
> so if you dont want to continue with something OT, now's the time...
>
> Ok... for anyone thats curious as to why i wanted this.. just c
Hey again,
First of all please note that i added a [0.T] (= off topic ) to the subject so
if you dont want to continue with something OT, now's the time...
Ok... for anyone thats curious as to why i wanted this.. just completed my
version of tinyURL... except, its even more tiny!! Have christe
Why is an ErrorDocument "insufficient" or "not the elegant way"?
It accomplishes the goal in a clean way, no?
Nate
On Thu, Jun 5, 2008 at 3:25 PM, Yeti <[EMAIL PROTECTED]> wrote:
> still telling Ryan to produce errors is insufficient or at least not the
> elegant way
>
> On 6/5/08, Nate Tallman
As far as I remember, errordocument still send the code, in this case
404 to the client. In the case of IE, this will display IEs built-in
error doc if the server supplied one is < 512 Bytes. Maybe other
implications for spiders also. I might be wrong, but this is from some
old memory.
-S
Correction for my statement:
As long as the content length is greater than 512 bytes, IE will display the
content from the 404. Less than that and it will display it's own pretty
message.
http://www.404-error-page.com/404-error-page-too-short-problem-microsoft-ie.shtml
http://www.mattcutts.com/blo
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807
Also, why would you want Google let's say, to receive a 404 Not Found
header for http://php.net/arrays???
-Shawn
Nate Tallman wrote:
Not true, Apache does return a 404, but IE will use the custom 404
page if it is available.
N
Not true, Apache does return a 404, but IE will use the custom 404 page if
it is available.
Nate
On Thu, Jun 5, 2008 at 2:57 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> As far as I remember, errordocument still send the code, in this case 404
> to the client. In the case of IE, this will di
As far as I remember, errordocument still send the code, in this case
404 to the client. In the case of IE, this will display IEs built-in
error doc if the server supplied one is < 512 Bytes. Maybe other
implications for spiders also. I might be wrong, but this is from some
old memory.
-Sh
ErrorDocument 404 /path/to/some/script.php
* $_SERVER['REDIRECT_URL']
(somehow misplaced underscore)
On Thu, Jun 5, 2008 at 2:50 PM, Nate Tallman <
[EMAIL PROTECTED]> wrote:
> Why not just set:
> ErrorDocument 404 /path/to/some/script.php
> Then check $SERVER['REDIRECT_URL'] for the failed reque
Why not just set:
ErrorDocument 404 /path/to/some/script.php
Then check $SERVER['REDIRECT_URL'] for the failed request.
On Thu, Jun 5, 2008 at 2:41 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Ryan S wrote:
>
>> Hey,
>> one of the things that make the php.net site so cool is how easy it is t
Ryan S wrote:
Hey,
one of the things that make the php.net site so cool is how easy it is to find
info for a function or a list of topics.. eg:
http://php.net/arrays
http://php.net/count
I'm sure nearly all of you reading this have done it more times than you would
care to count, i'm trying t
30 matches
Mail list logo