| |
|
|
- Page 1 - |
|
 Julian Schmidt | Hi, following situation. I have here[...] a Link-list with the I variables by Get on a PHP-File[...] commit. sees then vaguely so from
https://julian-schmidt.XProfan.com/source.php?Name=ProgressBar.inc&Datei=includes/quelltexte/ProgressBar.inc
i want now the The data not on The URL appended go separate for users invisible transfer go. Normaler point uses one for such tack The function mail. can I in this drop though not utilize I no form use.
what there for Opportunities. me falls one The data by Get a further document zusenden and then by Session moreover on whom Highlighter To transfer. Or left through Formulare To supplant with Unsicherbaren Textfeldern in dennen the Content the variables drinnsteht. both Solutions are though only Frickellösungen. gives it better modes?
LG
Julian |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
 | means for $_SERVER['HTTP_REFERER'] need no form, there standing Yes drin of which URL the User comes.
You can form too by <a href dispatching by onclick= [...] 
whom Submit-Button then css display:none settle or by css so shape that it even looks like a konventioneller Link. |
|
|
| |
|
|
|
 Julian Schmidt | Jo works. must whom Button but not display none settle there Javascript deaktiviert his could. :p |
|
|
| |
|
|
|
 Julian Schmidt | hmmmm....gefällt me somehow not so well. mean I machs now still rather by Session and Weiterleitung by Header... |
|
|
| |
|
|
|
 Julian Schmidt | Jo is such a thing schöner. take The variables by Get against and schreib The as Session
<?php
session_start();
$_SESSION["Datei"] = $_GET["Datei"];
$_SESSION["Name"] = $_GET["Name"];
$_SESSION["View"] = $_GET["View"];
header("Location: source.php");
?>
and read tappt im dunkeln then in source.php again.
<?php
session_start();
$name = $_SESSION["Name"];
$View = $_SESSION["View"];
$File = $_SESSION["Datei"];
Greeting
Julian |
|
|
| |
|
|
|
 | functions then but not if one with several Tabs operates, means if is a others Click to view would like as The The lastly The Sessionwerte staid has. |
|
|
| |
|
|
|
 Julian Schmidt | still, as long as one not updated. |
|
|
| |
|
|
|
 Julian Schmidt | would be gladly with Session stay. ideas How I under Verwemdung of Session nevertheless several Tabs use can? me falls there one, that I The variables circa a einmalige number erweitere. to that example The Filesize the Source in Bytes. but not
$_SESSION["Datei"] = $_GET["Datei"];
then z.B.
$_SESSION["Datei_".filesize($_GET["Datei"])] = $_GET["Datei"];
there could it then naturally nevertheless To Doppelungen come.
[OFFTOPIC]hope the goes so from the Syntax[/OFFTOPIC]
better ideas??? |
|
|
| |
|
|
|
 | the sound for me sooner to "Fusch on the Bau" and its neither efficient. ^^
either transmit You by GET (want You do not, Why white I but not) or by POST (would one Yes nothing of remember/ see) or You urteilst anhand the Referer $_SERVER['HTTP_REFERER'] what well right elegant would or You make it mere by JS and DOM-Manupilation because You whom Content the View source-Kontainer on The whole Page maximierst to the Motto document.body.innerHTML=document.getElementById("quelltextcontainer").innerHTML and the against could too with window.open join and in a new tab whom Content the Kontainers transfer so How I that here on XProfan.com make.
latter comes complete without Server from. |
|
|
| |
|
|
|
 Julian Schmidt | hmmm...what Have I me because straight again for NEN Humbug consider . can still not NEN Variblennamen inquire whom I do not again rekonstruieren can, I The variables not transfer have. |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
 Julian Schmidt | Huch, You biste simply To quick 
understand not integrally How You with the $_SERVER['HTTP_REFERER'] mean. Php.net says moreover
Sofern present, The address the Page, on the the user a Link on The currently aufgerufene Page klicked has. this worth becomes of Browser the User staid. not any programs support this worth, some offerieren as feature even The Possibility, the value of HTTP_REFERER self To to determine. concise, you can this worth not really credit.
bring me Imho Yes first no dice The vorigen Pages in the rule Yes same are. namely in the rule includes.php and quelltexte.php.
JS likes I net  |
|
|
| |
|
|
|
 | $_SERVER['HTTP_REFERER'] uses you then nothing, if you several Source on of/ one Page have, that is correctly..
If you JS not bring into action want, then must You it hold serverside solve, means the Server already somehow communicating, what it at all Show should.
the goes by GET or by POST or by Cookie, but Cookie settle by JS like You presumably neither. means Get or mail. Get can You already self, mail have I declared and there see so did i no detriments.
could too Get take and by mod_rewrite by .htaccess-File hold a "schöne" URL format How z.B. /showsource/includes/rofl.inc
Rewriten could z.B. so: CompileMarkSeparation and serverside explodest whom undertow. getenv("QUERY_STRING") with / |
|
|
| |
|
|
|
 Julian Schmidt | OK, stay then probably with the actually Variante. With the several Tabs can I verschmerzen. come probably sometime on this Beiträg back.
thanks for your Mühen. |
|
|
| |
|
|