English
PHP, HTML & JavaScript- Forum

Html Grundbegriffe

 

GDL
Hallöle,

come now circa Html and Php not any more around. Since I me with the Languages but very heavy do, I will you now and than with ask bait.

momentarily hakts here :
given: a variable with Content and a Php File with Content.

trouble 1:

1. whom Content from the Php File Delete (not File delete and new lay out)
2. whom Content the variables then as View source into File new hineinschreiben.

Vielen Thanks
Grüßle Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/27/13  
 




Julian
Schmidt
can you time accurate say what You eig. make want. I hope I Have you correctly. understood. Dass You not write\Delete, separate spend\not expenses mean.

1. whom betreffenden Content in a IF-circumstance pack.
Evlt simply if (empty($variable)) or if (!isset($variable))
2. with echo The Variable in the Else-drop spend

Übrigends can I you this Tutorial To PHP recommend. [...] 
 
XProfan X2
Win7 Professional, SP1, AMD FX(tm)-8350 Eight-Core Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
05/27/13  
 




GDL
Hallöle Julian,

I mean How supra described, a beschriebene File clear and the Content from the variables again new describe. means whom View source of tinymce, the in a variables standing, in always same File new abspeichern.
means not echo spend.
Perhaps isses now rather verständlich I my.
thanks for Link.
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/27/13  
 



@GDL: lay still a undertow. Template-File on, say we

mytemplate.tpl

there standing your PHP-View source drin and on the place where You something arbitrary
present want schreibste something like How {{moffel}} mere.

The PHP The then The PHP produce should, power:

;$s=file_get_contents("mytemplate.tpl") //load File content to s
;$s=str_replace("{{moffel}}","DasSollDrinStehen",$s)//supplant {{moffel}}
;file_put_contents("mynewphp.php",$s)

and ready.
 
05/27/13  
 




GDL
thanks you both. work me there time through.
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/28/13  
 




GDL
Hallöle,

have it now still with File delete and new lay out resolved.
Eigendlich wished I not, I the opinion was, I could The Files through Winscp not any more delete How with whom Galerievorschaubildern.
there But not the case is, have I it now so resolved.
<?php
// ;echo $_POST["content"]."<br>"
;$File = "test1.php"

;if(file_exists($File)) {

    ;if (unlink($File)) {

        ;echo'The File ' . $File . ' watts deleted!'
        ;} else {
        ;echo'could The File ' . $File . ' not delete!'
        ;The

    ;}

;}

;$fh = fopen("test1.php","r+")
;file_put_contents("test1.php",$_POST["content"])
;fclose($fh)
?>

Grüßle
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/28/13  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

9.871 Views

Untitledvor 0 min.
Walter10/23/24
Hans Neff01/19/23
Christof Neuß06/14/20
Member 872212106/22/19
More...

Themeninformationen

this Topic has 3 subscriber:

GDL (4x)
iF (1x)
Julian Schmidt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie