Kadir Özdemir

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

Resim php dosyasi olarak eklemek

Skorp 29.03.2007 Comments Off on Resim php dosyasi olarak eklemek

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: https://www.skorp.eu

Related Articles

  • Silverstripe snippetler

  • Silverstripe login sorunu

  • Silverstripe: Sorgulari Cachleme

  • Php 5.4 yayinlandi

  • Silverstripe yeni sayfa tipleri

Comments are closed.

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

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

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