Quantcast
Viewing all articles
Browse latest Browse all 19202

كمك در php

ميخوام تو php يه متغير تعريف كنم و براي اينكه مقدارش مشخص نباشه اون رو كد كنم (hex يا هرچيز ديگه اي) ، و بعد ازش استفاده كنم به اين صورت :

کد PHP:

<?php
$to      
'HEX CODE';
$subject 'the subject';
$message 'hello';
$headers 'From: webmaster@example.com' "\r\n" .
    
'Reply-To: webmaster@example.com' "\r\n" .
    
'X-Mailer: PHP/' phpversion();

mail($to$subject$message$headers);
?>


ايا ميشه كل دستورات پي اچ پي رو مثل html و js كد كرد و با استفاده از document.write ازش استفاده كرد؟

Viewing all articles
Browse latest Browse all 19202

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>