blank

Django regex field - unique and without blank spaces

Hello, i have a ModelForm, in which i'm having a CharField, which is declared as unique in the Model. But I have 2 problems: 1.If i fill in the form with a field having the same name i don't get an error message 2.I'd like this field not to contain white spaces Is it possible to do that using a ModelForm? Thanks a lot! ...

Perl regex testing blank or expression

hi - why is this expression returning true for character 1 or V (and others)? how could i rewrite it so that it would return true only when its blank or a character a-z? ~((^$)||(^[a-z]$))~ ...

removing blank lines from XHTML

Hi, I have XHTML that has empty (blank) lines: some_tag empty line empty line empty line some_tag I wonder how to get rid of them using PHP str_replace. The result should be some_tag some_tag. What are these blank lines anyways? ...

UIImagePickerController source (Camera) when dismissed inside a UITabBarController shows blank screen

Hi, I have the following hierarchy in my application: UINavigationController |__ UITabBarController |__ UINavigationController |__ ViewProfilePhotoController (*presentModalViewController:picker is done here) The problem I have is when I press cancel and dismiss my UIImagePickerController in the ...

PHP varible from POST form coming up blank

Hey, For some reason $password (the one being sent form the form) is coming up blank. I am manually checking for this with this code: echo "<p>$username does not match $firstandlast</p>"; echo "<p>$password does not match $dbpassword</p>"; here is my code... <?php if(isset ($_POST['submit'])) { $username = $_POST['nam...

Empty HTML page after OTA install on Symbian

Hi. I have some quite nasty issue I couldn't solve so far. Whenever I do installation of Symbian application on Nokia platform, the browser loads blank HTML page, and needs to be closed manually. It doesn't happens on WAP push installations - only on direct link installations via the browser. It happens on installations both from JAD ...

PHP: How do you check if the variable passed as an argument is set ?

I want to check if a variable called $smth is blank ( i mean empty space ), and i also want to check if it is set using the function i defined below: function is_blank($var){ $var = trim($var); if( $var == '' ){ return true; } else { return false; } } The problem is i can't find a way to check if variab...

IIS/Plesk Not Serving Pages or Images

This site hosted on IIS 6, The only back end access I have to the server is via Plesk 7.6 both old :( the problem is, nothing on the site loads. Plain old .html is a blank page, .php tries to download and images do not load at all. There are other sites on this server that are loading images and pages both .html and .php perfectly just ...

JW Player Shows Blank Video In Explorer After Hiding and Showing

In Internet Explorer 7 and 8 (WinXP/Flash 10), if I play my videos using the JW Player in the slider they work. However if I move to the next slide and then return to the original slide the video is no longer displayed - the audio is still audible and the video can be played and paused, but there is no image. I've asked this question on...

PHP script showing a blank screen

I have a server setup where a test script with just phpinfo() works fine. When I try to run my application on it, it shows up as a blank screen. I am calling index.php from the browser. The first few lines are as: <?php error_reporting(E_ALL); ini_set("display_errors", 1); require_once('codelibrary... Yet, the screen continues to be...

HTTPrequest is not working!

Hi! I'm trying to use an ajax request to connect, and gather data from, a PHP file. THe AJAX JS is on a different website than the PHP, just an FYI. Here is the JS: var quer; try { quer = new XMLHttpRequest();//I'm running in safari, so this gets called. } catch (e) { try { quer = new ActiveXObject("Msxml2.XMLHttp"); }...

Android AVD not showing anything. only "ANDROID" in the middle of the screen.

I am an Android Newbie! please help. I have been following googles introduction tutorial and managed to install everything with no problems. but whenever i try to run the HelloAndroid example the avd launches but doesnt show anything. cone somebody help please? ...

Jasper report pdf empty last page

Hi, I'm using Jasper report for report generation. The report has multiple sub reports. Everything is generated fine. But the only problem is a blank page with header footer is generated at the end. Does anybody have any idea why this problem occurs & the solution for it? ...

Wpf DataGrid - Adding new rows only when I want them

I have a datagrid with two columns a and b. Column b represents a percentage. I want to have a single editable row at the start, and have them fill in column a and b. In the case that column b is less than 100%, I want to add a new editable row. I want to always add a new row when the total percentage is less than 100%. Any ideas on h...

When creating PDFlib+PDI PDF, and fwrite to a file, Droid devises see it as a blank file.

When creating a PDF file through PDFlib+PDI, and then write the file with fwrite, all desktop systems can view the contents of the file just fine, but Droid devises can't.... (they only show a blank document in PDF viewer). I'm thinking that, when performing the fwrite, since OS is responsible for determining the file type (based solely ...

How to check if Linux console screensaver has blanked screen

Hi, is there a way to check programmatically (via ioctl(), etc.) or by reading a file in /sys, /proc or /dev) whether the screen has been blanked by the Linux console screensaver? Thanks and best regards, Günter ...

Problems with <form> in Safari - only first click will POST to _blank target

I am using PHP to generate 10 forms on a page which attach an image as the button and POST hidden values to a _blank target. This works ok in Firefox, all 10 buttons submit and post to a new window. In Safari however only the first button i click will work (whichever one I choose) after that none of the buttons (forms) submit and POST to...

when i include files on php, it gives me blank screen?

im trying to include the header at the top of my pages it gives me a blank screen, when i remove it the php file runs and shows the content: <?php include("header.php"); ?> thanks :)) ...

string.Format() Blank Zero

In my application, there are possibilities to format a string using the string.Format() function. I want to add the possibility to return blank when the result is zero. As far as I can see, it is possible to do this using the code: 0.toString("0;; ");, but as i already mentioned, I need to use the string.Format() function (since it must...

sIFR 3 rev.436 is unable to sucessfully publish movie. The flash file is blank.

I have been trying to get sIFR 3 rev.436 working on my site but I stuck at publishing the movie. I did everything the instruction had told me to but when I published the movie and double clicked it to test, it failed, the movie was blank with the following error. Someone said the Action Scripts should be in the same folder as the sifr.f...