Try
$_SERVER['REQUEST_URI'] Also visit: http://tr2.php.net/reserved.variables _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of u_shefi Sent: 27 Mayis 2005 Cuma 14:50 To: [email protected] Subject: [php-list] detecting a " #" and what's after it in PHP Hi is there a way in a php script (lets say the "myscript.php") to detect if it was called with this url: HYPERLINK "http://domain.com/myscript.php#12"http://domain.com/myscript.php#12 or this: HYPERLINK "http://domain.com/myscript.php"http://domain.com/myscript.php some kind of server variable I don't know of? I'm talking about a direct url request of which the $_SERVER ['HTTP_REFERER'] is not set. thank you P.S: I know I can do this with javascript. Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: HYPERLINK "http://groups.yahoo.com/group/php-list"http://groups.yahoo.com/group/php-li st _____ Yahoo! Groups Links * To visit your group on the web, go to: HYPERLINK "http://groups.yahoo.com/group/php-list/"http://groups.yahoo.com/group/php-l ist/ * To unsubscribe from this group, send an email to: HYPERLINK "mailto:[EMAIL PROTECTED]"php-list-un [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the HYPERLINK "http://docs.yahoo.com/info/terms/"Yahoo! Terms of Service. -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 266.11.17 - Release Date: 25.05.2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 266.11.17 - Release Date: 25.05.2005 [Non-text portions of this message have been removed] Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
