| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: Canada
Posts: 455
![]() ![]() | |
| |
| | #2 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | $_SERVER['HTTP_REFERER'] contains the data you are after, be sure to check and make sure it looks valid before inputting it into a database in case it is spoofed tho. Also be aware that some firewalls block it so it may end up being blank. |
| |
| | THREAD STARTER #3 (permalink) | ||||
| NamePros Regular Join Date: Aug 2005 Location: Canada
Posts: 455
![]() ![]() |
That is what I was going to use, but I wasn't suere if it was the right thing,, or at least the best way | ||||
| |
| | #4 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | it may also be best for you to change the extension of the file to the extension the image should be and use a htaccess file to make it so that file is parsed by the php engine. It will not be so noticeable then that you are using a script and people wont try circumventing it.
Last edited by filth@flexiwebhost; 06-26-2006 at 10:40 AM.
|
| |
| | #5 (permalink) | ||||
| A Wealth of Knowledge Join Date: Aug 2004
Posts: 3,809
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=210908 -Steve | ||||
| |