- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Been programming computers since age 8, got the degrees and the industry experience to prove it. So, you need something done?
- Interests
- Computer Hardware, Software Design, and Artificial Intelligence Development
- PC Specs
- Intel, AMD, ARM, and lots of other systems
20 Posted Topics
Re: SWF is not a valid video format. You must obtain the FLV or F4V file before attempting to convert with **ffmpeg**. We have successfully converted many Flash videos with both **ffmpeg** and also the **Adobe Media Encoder**. As for SWF, it is a bytecode file to be interpreted by the … | |
Re: You are on the right track. However if you want a smoother better animation, you will probably have to use some pre-written JS library that deals with animation like [JSTween](http://www.jstween.org/). Otherwise, you will need to write quite a bit of code to perfect it. Another alternative is to use CSS3, … | |
Re: You may consider trying this instead: [JQuery DateRange Plugin](http://www.eyecon.ro/datepicker/) In any case, you should check out the "Implement" tab on that page to see that you are missing a vital tie-in between the input field and the daterangepicker function. | |
Re: We doubt that this would be allowed due to video content copyright restrictions. However if anyone knows differently, they can chime in. | |
Re: The target architecture of the binary file may be different from what is required. Please try executing the ffmpeg program manually via a shell first. If you do not have access to a command shell, then try to execute a simple command like "ls" first to make sure that your … | |
Re: You can open a socket for streaming with fsockopen(), Then you could use fread() to read it into a $buffer variable and successively pass the data to the user with a: print $buffer; command until the EOF marker is found. Make sure to send header() content notifications before trying to … | |
Re: You could wrap an <a href="your-url" target="your_tab_window_id">your-url-again</a> to the printed table from the **PHP** that displays the table. You would need to print the href tag out each time for each URL. You could write a small PHP function to do this for each item in the url column. | |
Re: Make sure everything is linked via the root page (e.g., index.html). Every page need not be directly linked, but the search engine needs to be able to get to your page exclusively via "clicking" links. Also have a robots.txt file in your root web directory with contents such as: User-agent: … | |
Re: If you use: window.location.assign('file:///D:/WEBPAGE/redirect.html'); The 'Back' button in your browser should still be active. I'm not sure if that is what you desire; otherwise, the options suggested by others will replace the current page with the new one. Regards - Shawn | |
Re: Unfortunately, your code will not automatically change the image as you desire. Additionally, your use of the **background-image** property is not correct within an <img> tag. Usually, people use the **background-image** in a container element like `<div>` or `<body>`. If you want to design a slideshow, check this out using … | |
Re: Instead of the code in your post, try: $this->data['user'] = $this->flexi_auth->get_user_by_id_row_array(); This is a known issue with the identity_row_array() function not working in flexi but returning an empty array. Regards - Shawn | |
Re: You will need to embed non-standard fonts using the **@font-face** CSS directive. Otherwise, it is always a good practice to list more than one font in the **font-family** CSS property - in order of precedence if one is not available. Two examples using this above approach are: Example #1: .headerfont … | |
Re: Value split by CRLF: var str=query_result; var strArray = str.split("\r\n"); `strArray` will be an array of length `strArray.length` Elements can be accessed by the `[]` selector (e.g., `strArray[0]`, `strArray[1]`). Also, you may have to modify `\r\n` delimiters according to the operating system you are working on. To join values together, … | |
Re: Try what 'Troy III' says in this [thread](http://www.daniweb.com/web-development/web-design-html-and-css/threads/455422/vertically-align-text-in-center-of-the-div) on daniweb. You will have to place the <img> and <span> tags in a <div>. Regards - Shawn | |
Re: You could try a purely CSS solution: <!DOCTYPE html> <html lang="en-US" > <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Current Test</title> <style> img:hover { -webkit-transition: 2s linear; -moz-transition: 2s linear; -o-transition: 2s linear; -ms-transition: 2s linear; transition: 2s linear; width:200px; height:200px; } img { /* This is for onmouseout */ -webkit-transition: 2s … ![]() | |
Re: You can try this placed somewhere **above** the rules you want excluded from certain directories: RewriteRule ^(dir1|dir2)($|/) - [L] You should replace "dir1" with "contact" and "dir2" with any other directory you want excluded. You can also add more than two dirs each separated with a "|" character. Regards, Shawn | |
Re: The SQL will need to change or you would need to process the result with PHP. For the SQL solution, explore the SUBSTRING_INDEX() function: query .= "SELECT SUBSTRING_INDEX('" . $searchString . "', '.', 2)"; For the post-processing PHP solution, try preg_match() or one of the above suggested fixes: $searchPattern = … | |
Re: Instead of "alert();" on line 27 in your original posting, try "abort();" Some browsers require this "reset" between the retrieval of multiple XMLHTTPRequest data from the server. Regards, Shawn | |
Re: Assuming here that you already have raw binary data of the image in the database, you also need to know the image type. With these two pieces of information, you can write a special HTML <img> tag that includes the image data within the tag: print '<img src="data:image/jpeg;base64,'.base64_encode($image['file_data']).'" alt="profile picture">'; … | |
Re: This works fine: $partida = "10:23"; $horapartida = explode(":", $partida); print "horapartida: " . $horapartida[0] . "\n";; $horasistema = date("G"); //hora sistema $difhoras=$horasistema - $horapartida[0]; print "Difhoras: " . $difhoras . "\n"; Notice that the OP was missing the array element selector [] in his original line 9. Regards, Shawn |
The End.