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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 05:01:31 2024 UTC