Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
Google does: http://www.google.com/search?q=converter+linux+mp3+wmv
-
I would strongly suggest you to keep it in the same database, or you will have to run mysql_select_db() a lot of times.
-
Or you could change it to: [code]if(count($_POST) > 0)[/code] That will work with whatever you call your submit button.
-
You could just change it to: [code]function get_file($url,$read='r') { $a = fread(fopen($url, $read)); return $a;[/code] The filesize thing just gets the total filesize, but fread will by default read everything, so you do not need that.
-
On Linux you would use cron jobs and on Windows you would use scheduled tasks.
-
But the dropdown list does show correctly, right?
-
And when reporting topics you can add a message telling what is wrong with the topic.
-
My code should work. I tested it before posting? Do you get any errors or what happens?
-
[code]else if($action == 'view' || $action == 'something_else') { }[/code] The code inside the block will be run if $action is view or something_else. [code]else if($action == 'view') { } else if($action == 'something_else') { }[/code] The code inside block 1 will be run if $action is view and the code inside block 2 will be run if $action is something_else
-
Could you show us the source code? We can't help you if we do not have it.
-
Try this: [code]$products_query = mysql_query("SELECT ..."); $type = array(); $type[] = "-20"; $type[] = "-20"; $type[] = "-36"; for($i = 0; $i < count($type)-1; $i++) { while($products = mysql_fetch_array($products_query)) { if(strpos($products['products_model'], $type[$i]) === FALSE) { echo "Add {$type[$i]} to {$products['products_model']}<br />"; } } }[/code]
-
The news could come from RSS feeds.
-
[code]<?php $currencies = array( 'usd' => "US Dollar", 'eur' => "Euro", 'gbp' => "British Pound", ); echo "<select name='curr' style='width:150px'>\n"; foreach($currencies as $short => $long) { $short = strtoupper($short); $selected = $_SESSION['icJag']->DisplayCurrency == $short ? "selected='selected'" : null; echo "\t<option value='{$short}'{$selected}>{$long} ({$short})</option>\n"; } echo "</select>\n"; ?> [/code]
-
Did you absolutely have to post all of those images? >:( You could at least have posted thumbnails that linked to the full-sized image.
-
I guess a mod would move it. I clicked the "Report to moderator" link, so I guess that if they find it misplaced they will move it.
-
I don't know Ruby or Ruby on Rails, so I can't tell if it does the same. I just recently heard of it, so I haven't tested it much, but it seems pretty nice. All of its components are: [quote] * Zend * Zend_Cache * Zend_Config * Zend_Controller * Zend_Controller_RewriteRouter * Zend_Db * Zend_Feed * Zend_Filter * Zend_Filter_Input * Zend_Http_Client * Zend_Json * Zend_Log * Zend_Mail * Zend_Mime * Zend_Pdf * Zend_Search * Zend_Service_Amazon * Zend_Service_Flickr * Zend_Service_Yahoo * Zend_View * Zend_XmlRpc[/quote]
-
Depends. You can of course not login without the correct combination of username and password, but a third-party could intercept the data while it is being transfered from the client to the server.
-
"i am not a meat popsicle"
-
[quote author=businessman332211 link=topic=108966.msg438965#msg438965 date=1158869912] I would be amazed to see 1400 lines of ajax programming, that must have been quite a project. [/quote] There is no such thing as AJAX programming. The programming/scripting in AJAX is just JavaScript. AJAX is when you use XMLHttpRequest in JavaScript.
-
Only display the first 40 characters of a string.
Daniel0 replied to jpratt's topic in PHP Coding Help
[code]echo substr($the_string,0,40);[/code] -
You would have to ask your host to set it up for you (it will cost money) and you will need to get a certificate (more money).
-
can we access system name (user name)...can anybody help me
Daniel0 replied to vji's topic in PHP Coding Help
No. He just has some sort of place where users can log in, and he want THAT username to be displayed. That is easy to do, but you will need to give us some code so we can show you how to implement it. I guess that you through ActiveX could display the Windows username, but that makes problems for some users: 1. People who do not use Internet Explorer 2. People who do not use Windows -
It is truly secure if you are sending it over an encrypted connection (SSL). That is when there is written https instead of http in the url.
-
Are you asking if there is a framework? Well there is [url=http://framework.zend.com]Zend Framework[/url].
-
It is because of their [url=http://www.phpfreaks.com/forums/index.php/topic,104265.0.html]Instrusion Prevention System (IPS)[/url].