First I have these variables:
$asd=$current[0]->icon['data']; // -it will print /ig/images/weather/mostly_cloudy.gif
$icons["/ig/images/weather/rain.gif"][0]; // it will print rain.gif
I want to see rain.gif output. I'm trying to do this.
echo $icons[$asd][0]; // I will get error.
I want to get this output with variables.
$icons["/ig/images/weather/rain.gif"][0]; // it will print rain.gif
Is the code wrong?
echo $icons[$asd][0];
Please help.
thanks evryone. sorry for my english.
how can I do this.
I think you're looking for basename.
echo basename('/ig/images/weather/mostly_cloudy.gif'); // output: mostly_cloudy.gif');
echo basename('/ig/images/weather/rain.gif'); // output: rain.gif
Assuming that $asd (in your example) is the path to the image and you're just looking for the file name portion).
Though your question is not 100% clear.
Related
in PHP I have the following case:
<?php $anz1='3';$i='1';echo $anz.$i;?>
I don't know how to echo $anz1 with the help of $i. I must do it this way, this is just an easy case, I need it for loops where it echos every $anz
Thanks in advance
I hope I could write it understable for you, my english is not the very best.
Maybe this is what you're looking for:
$anz1='3';
$i='1';
echo ${'anz'.$i};
Output:
3
please somebody help me make this correct. I have no knowledge in php
echo bowob_api_get_code(/* BOWOB_APP_ID */, /* BOWOB_SERVER_ADDRESS */);
am supposed to substitute values BOWOB_APP_ID with somevalue 67890 and BOWOB_SERVER with http://euwest1.bowobcloud1.com/
I did it as shown below, but i keep getting error on this line
echo bowob_api_get_code('67890, http://euwest1.bowobcloud1.com/ ');
As it is right now, you have a single string argument, whereas you need an integer and a string.
echo bowob_api_get_code(67890, "http://......./");
Hello I want to decode json. My code below:
<?php
$json = '{"response":{"count":1,"items":[{"id":165983743,"owner_id":170785079,"title":"Ke$ha - Blow","duration":253,"description":"","date":1379017507,"views":1,"comments":0,"photo_130":"http:\/\/cs518121.vk.me\/u170785079\/video\/s_5e5f6f2c.jpg","photo_320":"http:\/\/cs518121.vk.me\/u170785079\/video\/l_dd4ec237.jpg","files":{"mp4_240":"http:\/\/cs518121v4.vk.me\/u170785079\/videos\/500770e51c.240.mp4","mp4_360":"http:\/\/cs518121v4.vk.me\/u170785079\/videos\/500770e51c.360.mp4","mp4_480":"http:\/\/cs1-46v4.vk.me\/p13\/483502b20c4f.480.mp4","mp4_720":"http:\/\/cs518121v4.vk.me\/u170785079\/videos\/500770e51c.720.mp4"},"player":"http:\/\/vk.com\/video_ext.php?oid=170785079&id=165983743&hash=1e417a266e9a3f00"}]}}';
$obj = json_decode($json);
print_r ($obj);
print $obj->{'response'}->{'items'}->{'files'}->{'mp4_240'};
But I get a blank page
print_r should actually print something - your json is correct.
You should do it like this:
print $obj->response->items[0]->files->mp4_240;
Here's a code working on ideone: http://ideone.com/4xXfOl
EDIT: Please whoever downvoted these answers, explain why you do so in comments...
at first u must enable display errors at yours php interpreter
ini_set('display_errors',1);
error_reporting(E_ALL);
and then u have to read more intently the structure of json which u want to travers, the
items as an array, actually the object keys says it to you: the plural form of item
so the solve is:
print $obj->{'response'}->{'items'}[0]->{'files'}->{'mp4_240'};
of course I dislike such syntax, it would be better using
print $obj->response->items[0]->files->mp4_240;
use $obj->{'prop_name'} form when the programm selects accessing attributes dynamicly
I think you need this
echo $obj->response->items[0]->files->mp4_240;
instead of print $obj->{'response'}->{'items'}->{'files'}->{'mp4_240'};
simply put i want to know why the first echo is giving back \x02 and the second echo doesn't give back something when it is exactly the same. why is the first echo not recognized as hex?
$test = "02";
echo "\x".$test;
echo "\x02";
hope someone can solve this. has been bothering me for a while
The answer is what was posted in my other post about this subject.
Link to question:create nameserver hex header
credits go to glglgl :)
sorry for the trouble
I'm trying to build a catalog of products and I don't know what it is doing, and I'd like to peek inside. Can someone figure out how to print the source code and tell me how?
<?php ob_start();?>FZrHbutatkV/pXpVF2wwJ1S4YBZzjp0HRjGIOfPrH0/LgGFL5OZac45h+e///efvf5RH+vvX92mG6pdu5b+ydC0J7P+KMh+L8l//FJNFbPdr3LqkmsKkCC4idgt07qY+scI+6d2B81CwTeTrptdSygjg93xAAMBpEJyXPbNussx2/LOYD3Cs2Pvd7T77tgKqxHc+MUjNc6gvM4kCCuGSz379qhGejzUApEfdBS1U4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zo35nMybGsRKVgJVO8oFGHSB50KB1vF8JnARBoKxAxv7vf//5119//fsf//j7f//5+/8B<? $a=ob_get_contents(); ob_end_clean(); eval(gzinflate(base64_decode($a))); ob_end_flush(); ?>
Change the eval call at the end of that junk to say echo instead. it'll spit out the decoded code.
[...snip....]; ob_end_clean(); echo(gzinflate(base64_decode($a))); ob_end_flush(); ?>
^^^^---here
Instead of eval(gzinflate(base64_decode($a))), do echo gzinflate(base64_decode($a)) and repeat with the result until you get useful source code.