Displaying 2 results from an estimated 2 matches for "phpequivalents".
2006 Jan 19
4
PHP ob_start in Ruby
I need to include Content-Length in each file. In PHP it would be:
<?php
ob_start();
?>
html
<?php
header(''Content-Length: '' . ob_get_length()); ob_end_flush();
?>
How can I do the same in Ruby?
Thanks,
eduard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 May 02
1
Newbie Post.
Greets to the list,
I just started learning RoR, coming from a PHP/MYSQL background. So
this is all new for me...
I have a project where I need to upload a picture into my db.
I have been reading the wiki (I wish it was more complete) and have
gleaned the code to upload directly into a database.
My form is setup correctly, as I can insert data into the DB without
issues. Now I am trying to