search for: print_r

Displaying 20 results from an estimated 27 matches for "print_r".

Did you mean: point_r
2005 Dec 21
2
what is print_r in rails
hey, i know u have in php print_r or echo, so that the browser print the variable on top of page, no matter what what is this in rails?? put doesnt seem to work Thanks Nick
2014 Mar 24
0
metadata 2
...-server and add a line in the icecast config $email = "you at somewhere"; if($_REQUEST['action'] == "remove"){ header("YPResponse: 1"); header("YPMessage: Deleted server info."); mail($email,'YP debug: remove stream',print_r($_REQUEST,true)); } if($_REQUEST['action'] == "add"){ header("YPResponse: 1"); header("YPMessage: Successfully added."); header("SID: your_session_id_1234567890"); header("TouchFreq: 15"); mail($email...
2006 May 31
3
Print out session dump?
How can I go about printing out an object in Ruby? I''m looking for the print_r php equivalent. All I''m trying to do is print out session information. It is exactly what is shown in "Show session dump" when an exception is caught. Any ideas? Thanks. -- View this message in context: http://www.nabble.com/Print+out+session+dump--t1712872.html#a4651059 Sent...
2011 Oct 28
0
libvirt-php - API libvirt_domain_suspend() problem, doesn't work
...D1-3FFB-1EEE5854E45D [10] => VM_8D560513-036A-14FD-7546-48C370F0A057 [11] => VM_AA3DC5CA-A447-E6E5-0E7A-869416869B1D [12] => VM_C19AC7F1-AA49-92D0-336F-B8A8D7FADCD5 ) *Below are my php source : -* <?php echo "<html><body><pre>"; print_r ( libvirt_version() ); $conn = libvirt_connect('qemu+ssh://root at 10.0.0.122/system', true); echo $conn; $doms = libvirt_list_domains($conn); print_r($doms); $doms = libvirt_domain_suspend('VM_7478E5EB-B843-225A-00FC-09D0E846FE61');...
2014 Mar 23
6
metadata 2
Hoi folks, I don't like to post in newsletter because of several reason but sometimes it isn't evitable. I am setting up a internet-radio-show (exclusively live, including 2 video-streams) and I want to read out the audio-metadata of momentarily played tracks in realtime to compare it against a SQL-database. The aim is to fill up and/or update a table with 'most played'
2006 Jun 12
1
debugging
...ntroller I can just generate some text and: render :text => "my debug output" But it would be nice to print something out to the output buffer and then continue on. Additionally, if I am inside an ActiveRecord, I just want to print something out and just die. In PHP I would just do a print_r() on some data and then call die(). Is there similar "ghetto" debugging facilities availabe? Thanks!
2007 Jul 17
1
Prototype: 2 questions (elements' attributes, dumping methods)
...ble to get element''s attributes in hash or array? for example something like this: <span style="color:red;" id="myEl" onclick="alert(1)"> .. $(''myEl'').attibutes().length // == 3 2) is there any analogues of php functions var_dump() and print_r() for Objects/Hashes and Arrays? thank you and sorry for bad english) Alx. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails...
2006 Jul 05
8
loginGenerator - getting logged in username
...what i am using is: <p>You are logged in as: <%= @session[:user] %> but i have tried: <p>You are logged in as: <%= session[:user] %> anyone have any ideas? also.. is there a way to get a list of all the current session variables? in php, it would be something like: print_r($_SESSION); but i dunno how to do it in rails. thanks! -- Posted via http://www.ruby-forum.com/.
2008 Apr 12
2
Master user and missing folders
Hello again. I am trying to use a master user. The login works. However, a LIST command gives me only the INBOX. Is this to be expected? When logging in normally, I do get the full list of folders. (using Dovecot 1.1 rc3.) Anders.
2003 Sep 19
7
AGI problem
Hi. I have the next configuration... I dial from my analog phone in the TDM400P to extension 102, and the second agi works about 1 out of 10 times, the other nine it gives me these error on the asterisk console: -- Starting simple switch on 'Zap/2-1' -- Executing Macro("Zap/2-1", "receivecall") in new stack -- Executing AGI("Zap/2-1",
2004 Aug 06
0
Parsing the icecast stats log
...tup to test this on, so I'm sure it will break on different setups. My setup is icecast 1.3.12 on Linux, using the ices from CVS on September 18, 2002. The function get_icecast_stats() is included in the attached file icecastlog.inc, and sample output is included icecast_stats.txt (simply a print_r of the returned result). You will only need to set the value of $iceroot to allow the function to find the stats log. My icecast server is not public, so don't worry about unmodified URLs in the sample output! -Gregory J. Grubbs <p> -------------- next part -------------- A non-text a...
2006 May 31
0
web services datat types
...' => '''', ''webapplication_id'' => '''', ''user_tenfold_id'' => '''', ''login_username'' => ''''); $result = $client->call(''GetMetadata'', $params); print_r($result); I just want to send a CLL_Metadata from php (nusoap) to ruby on rails application, but every time I call the function with a custom struct (CLL_Metadata), it just doesn''t receives he null, instead it recives null Rodrigo Dominguez Iplan Networks D...
2005 Feb 28
0
phpSerialize 0.8
...rd output cat(phpSerialize(wc),"\n") ... and after deserialization $pp = popen("$Rterm --no-save --slave 2>&1 < $RFile DELTA=$Delta","r"); // Read serialized R output via pipe. $sWilcox=fgets($pp); pclose($pp); $Wilcox=unserialize($sWilcox); print_r($Wilcox); ... prints as follows: Array ( [statistic] => Array ( [W] => 29 ) [parameter] => [p.value] => 0.1230055 [null.value] => Array ( [mu] => 0 ) [alternative] => two.sided [method] => Wilcoxon rank sum test [data.name] => rnorm(10) a...
2006 Feb 09
0
Problem with web services
...[phone] => [clientype] => 1 [doctype] => [clientStatus] => CLIENT [id] => 0000001 [version] => ) ) [tipoDoc] => NIF ) This is a print_r in php of the response of web service. Well, the problem is how to map the SOAP OBJECT that uses ruby, in a hash or array, for simple access to the values that the web service return. hope i explain correctly :S My code now is this: @proxy = SOAP::RPC::Driver.new("http://172.16.11.12:8888/se...
2005 Feb 28
0
phpSerialize 0.8
...rd output cat(phpSerialize(wc),"\n") ... and after deserialization $pp = popen("$Rterm --no-save --slave 2>&1 < $RFile DELTA=$Delta","r"); // Read serialized R output via pipe. $sWilcox=fgets($pp); pclose($pp); $Wilcox=unserialize($sWilcox); print_r($Wilcox); ... prints as follows: Array ( [statistic] => Array ( [W] => 29 ) [parameter] => [p.value] => 0.1230055 [null.value] => Array ( [mu] => 0 ) [alternative] => two.sided [method] => Wilcoxon rank sum test [data.name] => rnorm(10) a...
2009 Mar 01
1
php agi and get_data errors.
...de doesn't work, i push the digits, but the result is always an empty data. (code=200, result=1, data= ''). Here is the code: set_time_limit(99999999999999); require('phpagi.php'); $agi = new AGI(); $agi->answer(); function printdebug($a) { global $agi; $agi->conlog(print_r($a, true)); } // Prendo Badge $isokbadge = false; $tries = 1; do { $result = array(); $agi->exec('PLAYBACK',$audiofiles['insertbadge']); $result = $agi->get_data('beep', 60000, 13); printdebug($result); $badge = str_replace('*', '.', $result[...
2020 Nov 01
0
v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed) [proposed patch]
...and line with php -f filename.php and for me produces the same results as doveadm search. <?php $conn?? = imap_open('{server.example.com:993/imap/ssl}INBOX', 'username', 'password', OP_READONLY); $uids?? = imap_search($conn, 'BODY "tambi?n"', SE_UID); print_r($uids); Only thing I cannot vouch for is bringing dovecot fts library and config into the equation because my setup delegates almost everything to solr. Can you get evidence of things not working? For example tests run with soft_commit configured - that's important since without it the update...
2006 Jun 14
5
Rails SOAP tutorial
Hi all.. I new in Ruby/Rails.. Where could i get some good tutorial about SOAP using Rails? I''ve been googling yet still did''nt find good tutorial. Thank you in advance.. :) -- Regards, Ananda Putra
2006 Nov 30
1
PHP / XapianQueryParser
...t_description() . "<br/>"; $data = $odoc->get_data(); echo $data; echo $odoc->termlist_count() . "<br/>"; echo $odoc->values_count() . "<br/>"; $ovalues = $odoc->values_begin(); while (!$ovalues->equals($odoc->values_end())) { print_r($ovalues); $ovalues->next(); } $oiter->next();} ?> I get nice results (great!). Except, I really, really want to have the individual values of the input data (keywords, description, url). I have found no way to do this, and the only funtion that seems to return it (alltogether) is get...
2020 Oct 31
2
v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed) [proposed patch]
On 10/31/20 9:55 AM, John Fawcett wrote: > I can contribute a patch that solves the segfault. Unfortunately though > fts search may be more broken than this. It does not give me search > results, even though I see it querying solr and getting hits. Thx -- hopefully it moves this in the right direction. Also on the 'good news' page, it appears there's been some progress on