php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #35362 IDEA
Submitted: 2005-11-24 10:51 UTC Modified: 2005-11-24 11:10 UTC
Votes:3
Avg. Score:3.7 ± 1.9
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: webmaster at creamostuweb dot com Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.4.1 OS: All
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: webmaster at creamostuweb dot com
New email:
PHP Version: OS:

 

 [2005-11-24 10:51 UTC] webmaster at creamostuweb dot com
Description:
------------
I have an Idea

I know now it is not possible, but I think you could think about it for future versions

Reproduce code:
---------------
<a href="(PUT HERE ANY PHP FUNCTION)">Click</a>


Example:

<a href="<? setcookie(session_name(),"");session_destroy();
 echo "Session Destroyed"; ?>">Click</a>

Expected result:
----------------
I know this is not yet invented, but , Do you think could be possible?

I mean to put a PHP funcion inside "<a href=""></a>" for the PHP function it doesn't work untill people click on the link

I am just a PHP enthusiast

Yours:

Antonio alias ?nfalas the WonderPower

Actual result:
--------------
You have to decide to incorporate to the PHP logic

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-24 11:08 UTC] derick@php.net
This is impossible, as PHP is a server side language not a client side language.
 [2005-11-24 11:10 UTC] sniper@php.net
Did you think how big security flaw this would be?!
This will NEVER happen.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 19 14:00:02 2025 UTC