Kadir Özdemir

  • Ben Kimim
  • PHP
  • Sencha Touch
  • Home/
  • PHP /
  • Resim php dosyasi olarak eklemek

Resim php dosyasi olarak eklemek

Skorp 29.03.2007 Leave a Comment

Evet bugün kücük bir kod eklicem arkadaslar.
yazdigim suanki exploitte lazim oldu ,bir php dosyasini resim olarak eklemek icin ne yapmak gerekiyor.
html dosyamizda cok basit:
<img src="resim.php" mce_src="resim.php" />

resim.php:

$file = "/srv/www/htdocs/web35/html/wp-content/themes/freshy/images/icons/feed-icon-10x10.gif";
if(file_exists($file)) {
Header("Content-type: image/gif");
readfile($file);
}

böylelikle html dosyamizi calistirdigimizda resimi görecegiz.
niye direk resmi eklemedin diyenler ola bilir, resimi ekledigim sayfada php kodu da calistiracagimda ondan.
neyse derin konu bu bugünlük bukadar

Skorp
2007-03-29
Tags:
PHP
Share story:
← Previousundefined symbol: FT_Activate_Size
Next →Firat abiden Nisan 1

Written by Skorp

View all articles by Skorp

Website: http://www.skorp.eu

Related Articles

  • Silverstripe snippetler

  • Silverstripe login sorunu

  • Silverstripe: Sorgulari Cachleme

  • Php 5.4 yayinlandi

  • Silverstripe yeni sayfa tipleri

Leave a Comment Cancel Reply

Your email address will not be published. Required fields are marked *

Social networks

Etiket Bulutu

Android Bilgisayar & Internet C# Cms css diger Kodlar featured Genel Java Javascript Linux Mobile PHP Silverstripe typo3 Veritabani Windows Zend Framework

Links

  • H E R K O N U
  • Hüseyin Koyun
  • Urban23k

Son Yorumlar

  • Primary Key – Unique ve Index nedir? için Onur
  • Centos de apache, php ve mysql kurulumu için sezer fidancı
  • React Native – Kurulum için React Native | Kadir Özdemir
  • React Native için React Native – Kurulum | Kadir Özdemir
  • Ben Kimim için serkan

Twitter

Follow @skorp54
There is an error in twitter widget, please make sure that you have set up the Twitter API settings
  • Ben Kimim
  • PHP
  • Sencha Touch

Arsivler

Kategoriler

Copyright © 2014 webberz.at