Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - neosquared

Is there any chance we could get browscap.ini installed so that we can use get_browser()?
This really would make my life easier, and I'm sure there are others that would feel the same way.
Support Requests / Re: HTACCESS
May 14, 2006, 01:52:18 AM
Quote from: Osprey on May 06, 2006, 12:11:09 PM
Thanks for the link Sven.

I've not got it setup to a reasonable standard, it is using a real redirect though [R] - Without really redirecting somehow it was fiddeling with the external CSS/PHP/Image files and they weren't loading.

- Osprey

I'm going to go out on a limb, and make a shot in the dark.
I'm guessing that you have your external files linked with relative links, like this:
<img src="image.jpg">
<!-- as opposed to: -->
<img src="">

As a result, when you change the url to, the browser is trying to look inside the /number directory for /image.jpg, which it obviously won't find.  A solution to this is to change your relative links so that they are like this:
<a href="/namehere/image.jpg">
That way the links work regardless of what directory the browser thinks that it's in, and you get to keep your relative link goodness.

As I said, I could be wrong, but I've had the above problem before, so I'm hoping I'm not the only one.  :P
Support Requests / Re: CSS
May 14, 2006, 01:36:08 AM
Quote from: sixthcrusifix on May 04, 2006, 02:19:00 AM long as your website displays properly in the 3 major Browsers (Firefox, IE and Netscape[and maybe safari too])...
*ahem*  I'm afraid I just can't let that slip past.
First, allow me to point you in the direction of some statistics.
Now, for my favorite part, the smug-apple-fanboy-bliss.  :D
As you may notice, internationally, Safari ha 2.02%, and Netscape has a (pitiful) 0.15%.  Ouch.
Also worthy of note is that the Netherlands is the only place where Netscape hasn't lost ground since january.  Double ouch.

As you may also notice, internationally, as well as in all the places they list, the top three browsers ar IE, Firefox, and Safari, in that order, with Netscape coming in at #5 every single time.

I dare say that that puts Netscape clearly out of the big 5, and Safari in.  :)

Just my two cents.
Quote from: sixthcrusifix on February 17, 2006, 07:17:26 AM
Also PHP include can't include images. You need HTML to display an image:

<image source="http://directoryofimage.gif">
A couple things I feel I should point out here -
First, that's not how you do an image.  The proper code is this:
<img src="directoryofimage.gif">

Second, the URL http://directoryofimage.gif would tell the browser to try and load the WEBSITE directoryofimage.gif into the spot for the image, treating the .gif part as it would .com, .net, .org and the like. (i.e http://www.directoryofimage.gif/ )  You ONLY put http:// at the front of the URL when you are including the domain, like this:
<img src="">
Otherwise, it will make things crash and burn.
Just thought you might get some use out this 'cheat sheet' for mod_rewrite.
It's been invaluable to me.
I never really understood how the expression syntax worked until I got this thing.
Support Requests / Re: PHP Scripting
November 30, 2005, 09:22:13 AM
Quote from: Guide on November 27, 2005, 12:23:56 PM
The @ isn't usually necessary, it's just used to tell mysql not to report any errors. It's used when you know there can be an error occuring, but you know that error isn't important for the rest of your code and you still want your code to run the rest of the way.
Another reason to do that is if you want to do custom error reporting, like so:
= @mysql_query('SELECT * FROM table');
if (
$query) {
'query successful';
} else {
'query unsuccessful';
// If you only want to output a message on failure, you could do something like this:
$query = @mysql_query('SELECT * FROM table') OR echo 'query unsuccessful';

Naturally, you could always replace the echo with something else.  (exit(), mysql_error(), etc.)
Support Requests / Re: Encrypt and . . . DECRYPT!??!
November 30, 2005, 09:11:59 AM
Quote from: webzone on November 30, 2005, 01:10:37 AM
You may also consider to use SHA-1, as MD5 is getting easier to break everyday.

Another reason to use SHA1 is because it uses a longer hash, giving more posible results.
Infinite number of strings to feed into the hashing algoritm, finite number of hashes to come out.
So there is a (very small) chance that two passwords will have the same hash.  But it usually isn't something you need to worry about.  And if it does become something you have to worry about, you can put in some sort of protection for brute force attacks.  But I digress.
Support Requests / Re: htaccess
November 30, 2005, 09:05:28 AM
Just a couple notes on this topic.
You should always allow people to view the image if they don't send any referer header at all, because some browsers don't.  (or if they just typed the URL in, it wouldn't send a referer header).
On top of that, you should always let people with google as a referer view images, because you really don't want to alienate visitors coming from the largest search engine ever, do you?
Support Requests / FTP problems
October 29, 2005, 09:22:32 PM
As of 15:15 MST on 2005-10-29, I can't connect to FTP..  It was probably broken before now, but it was just now that I tried connecting.