Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

7 Neutral

About rain13

  • Rank
  1. Hi! I have strange problem that I did not have before with my host. I have this php script <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); include_once "./incltest.php"; setcookie('Session', 'val23', 1577840461, '/'); exit(0); ?> And the contents of incltest.php is: <?php ?> The cookie does not set and the message i get it: I figured that if I remove closing tag ?> from php file that I include then *I no longer get this error. So far I've always used closing tags at the end of
  2. Hi! I want to use Imagick to resize images. I have one problem. Script finishes immediately despite of fact that original file is about 10 MB which should take some time to process. An other thing is that no errors or warnings are printed. So for debugging purposes I printed version number but it also didnt show anything. <?php error_reporting(E_ALL); print(imagick::getVersion()); $im = new Imagick(); print($im->::getVersion()); $im->readImage( "./uploads/0YZSQJErNxtcb2Dc.jpg" ); $im->resizeImage(1008, 756,Imagick::FILTER_LANCZOS,1); $im->writeImage('./uploads/small
  3. Ok, now the left side of green block starts where blue ends. But I needed right side of green to end where right side of blue ends. Edit: Got it solved. Trick was to add span around 2 inner spans with display inline block and then inside this I was able align right. Btw, your example was also interesting. I havent seen such alignment before.
  4. What do you mean by update git? I have already latest git version. Or you mean run some command line command? Can you see screenshot when you follow this link: https://s1.postimg.org/85bw8veqxr/Capture.png
  5. Hi! It looks like a simple thing but right now I couldnt find any way to do it: I need text to be aligned center and then an other text below it. But the text that is below it must be aligned so that it's right side is at same place where previous line's right side. <div style="text-align: center; width: 864px; background-color: red"> <span style="background-color: blue">Some long text that takes more space that is nicely centered</span> <br> <span style="background-color: green">aligned to right</span> </div> right now the green a
  6. Hi! I have settings.php in root directory (same directory as my .gitignore). I have tried everything. But settings.php still shows up when I commit stuff and when I change it it shows modified as status. I have tried everything: .idea/ settings.php /settings.php ./settings.php Interesting is that it successfully ignores .idea directory but it doesnt ignore my settings file. Any ideas? Below is screenshot that shows that settings.php is green right now.
  7. Hi! I try to use HSQL database manager to create 2 views. I want to create intermediate view first and then use the intermediate view in new view. Like create view a as .... . And then create view b as select x, ... from a. If I write those 2 statements in HSQL database manager and hit 'Execute' query then it tells me user lacks privilege or object not found. However if I enter first create view statement, click "Execute SQL" and then write 2nd SQL statement ans click "Execute SQL" then it works. The same happens when I migrate date from .sql files. If I put these 2 create view
  8. Hi. How do I reliably detect input change? At first I tried on change but it didnt work. Now I try onkeypress but it also doesnt work. You always have to press key twice before button changes state. If the input is empty and button is disabled, you have to type either 2 digit number or work around hack is that you type in 1 digit number and then hit one of the arrow keys. The same is when next button is enabled and you delete the text from input. when delete all digits from the input, it will not disable next button until you have pressed something else. Could anyone explain why I always ha
  9. Hello! I want to create my own window in html/css/js which I managed. Now I want to have status bar at the bottom of that window. I am stuck with this because I dont know how to make it consume all width of window (not talking about browser's window but about window I created myself). As I have understood I need position: absolute; to make it stick to bottom. I tried to play with left and right property and even width 100% but nothing helped me. I also dont quite understand why adding position: absolute made my div not to consume all available space. Basically I want my red div to be as wi
  10. You mean to create 2 divs on top of each other? I dont know how to exactly do that. I have tried different examples, but never figured it out. Could you show me minimalistic example?
  11. Hi Right now I have background image with background color but only image gets displayed. I have to remove image if I want color. How do I draw background color on image so that I could get profir from half transparent bg? color: rgb(187, 187, 187); background-color: rgba(255, 81, 81, 0.46); background-image: url(http://orig01.deviantart.net/293b/f/2013/308/7/e/kali_linux_wallpaper_by_blur212-d6szsz7.png); background-repeat: no-repeat; background-attachment: fixed; background-position: center;
  12. Ok after over hour of googling I decided to post here. I get Forbidden You don't have permission to access /test.php on this server. Apache/2.4.18 (Ubuntu) Server at localhost Port 80 in my apache2.conf is: <Directory /> Options FollowSymLinks AllowOverride None Order allow,deny Require all granted Allow from all </Directory> in my 00-default.conf I have DocumentRoot /home/rain/www/ <Directory /home/rain/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from al
  13. Thanks for hints. I dont have my own company. Just wanting to send it to student project contest...
  14. Hello. I would like to use your help. Over years I have developed a software (as a hobby project) that has a loads of functionality (almost like phpbb3 or gallery 3 or cmsimple). Now it is almost ready to be released. With this software you can create websites, blogs, galleries and forums. But I need some ideas for coming up with good name to it. The problem is that if this name contains "CMS" then those who want to build galleries would dismiss it. If it's name contains "gallery" then those who are looking for "CMS" would dismiss it. I dont speak english natively so it would be inter
  • Create New...