- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 11
- Posts with Upvotes
- 10
- Upvoting Members
- 10
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
116 Posted Topics
Re: "Never trust a computer that you can't throw out of a window" - Steve Jobs "Windows, because like cars, not everyone wants to build theirs from scratch" - Unknown | |
Re: A polystyrene cup of low-quality coffee. It does contain caffeine though :) | |
Re: The band Seether was originally known as Saron Gas , but were forced to change their name when they went international to prevent drumming up of bad memories. | |
Re: If there is something worth doing, it's only worth doing after 11 am | |
Re: Hi there, The problem is that your site is obviously running on an apache server so when the page loads, it parses your post as php instead of as plain text, this is actually a security flaw as your site should convert all special characters (that aren't disallowed) from a … | |
Re: Have you tried this: [icode]<script> this.close() </script>[/icode] | |
Re: Hi there, it can't be done solely with php, you need javascript to pull the actual resolution initially, but after that you can store it in a cookie and use php to access it Put this script on your home page [code=javascript] <script language="javascript"> window.location.href = "resolution.php?width=" + screen.width + … | |
Re: Hi there, have you tried: <div id="blah" onclick="window.location = 'Your reference here'"> <a href="You can leave this blank">Your text here</a> </div> | |
Re: Hi there, The problem is that you are calling javascript from inside your php which is outside of it's name space. What you gotta do is in your php file : echo "<script>fcnX('home.php')</script>"; in the middle of your head section and the function will automatically be called when the page … | |
Re: FireFox is King!! It would take about 5 times longer to do my job if it wasn't for Firebug (the plugin, if you've never heard of it check it out!!) But due to the resounding majority of pc users sticking with the stock standard IE, my boss requires me to … | |
Re: Use a file area like this [code] <input type="file" name="upload[]" >[/code] then in you php script [code] foreach($_FILES['upload'] AS $file) { //HERE YOU DO YOUR FILE SAVING //For the file array } [/code] | |
Re: *Sighs nostalgically* I remember when I studied C++, that is some crazy s**t right there. Luckily I was able to escape it in my fourth year before it shattered my fragile little mind :P | |
Re: Try changing "$row['id']" to "$row[0]" and see if you still get nothing. | |
Hi All, I'm having a bit of a problem with a service I'm developing. I have a CGI script sitting on my server (Ubuntu 10.0.4) which obviously receives it's requests on port 80, and the incoming requests arrive on port 8083 which is out of my control. So I have … | |
Re: The human race will be destroyed by de-evolution: Where stupid people outbreed smart people (as is currently happening) to a point where the human gene pool is reduced to the depth of a teaspoon at which point they'll all stab/bite/set fire to/blow each other up -or- due to the lack … | |
Re: Hi there, Try changing your style for #content, set attribute overflow to scroll. Hope this helps | |
Hi Guys, I'm in the process of developing an ActiveX control which is designed to check the status of an installation and the config of that installation if it is there. I'm 5/6ths of the way there, but in one of my steps, I rely on a 3rd party DLL's … | |
Re: tribe contrite bite cite philanthropist | |
Re: Like it if it's made from scratch. Haggis? | |
Re: Sure do, What you need to do is the following: 1) Create a list of all of the attributes of your mysql table you would like to sort the table by. 2) Organize these into a switch statement at the top of your page in php, eg: [code=php] $sortby = … | |
Re: Seen on t-shirt: Front: Only you can prevent forest fires! Back: Which is great, because I've got other stuff to do. | |
Hi guys, Bit of a strange problem here. I've been working on a CMS for a client where they can preview work that they've done in a div-tag which is inside the "Admin" template for the back-end. My problem is this: After the user styles all of their content accordingly … | |
Hi guys, I am trying to create an application to serve on the web which is an integration of a java application and some php for mostly presentation functionality. Has anybody here successfully done anything like this before, and if so how? Please help. In dire need here. Thanks in … | |
Re: My record is 4. But you can only use multiple computers if you have multiple lengthy tasks to do, such as uploading multiple websites using ftp or doing s/w installations. | |
Re: [quote]The browser won't accept that sort of url because the browser will treat the /../ as a folder called .. [/quote] I'm sorry, but that's just plain false. It is possible to access other folders on a server (even below/above the root directory if they aren't protected properly). I've done … | |
Re: I still use Google for all of my own searches (research etc.) but when we do SEO reports for our clients, they like to see their rankings on Google, Bing and Yahoo. So we sort of have to use it from time to time. | |
Hi there, I'm busy trying to build an interface where users can create a sort of collage with images that they upload. I know it is possible to get the position of a DHTML element relative to the screen, the problem is I need the coordinates relative to a main … | |
Hi there peoples, This is a currency converter, built with a combination of javascript and php, which uses an XML feed from [url]http://www.ecb.int/[/url] to get up to date exchange rates. I know the xml handling is not very elegant, but it is functional :) Additions/comments/corrections welcome | |
Re: I do pHp in South Africa :) | |
Re: Hi there, In php.ini, change both "max_execution_time" and "max_input_time" to 0. This removes the limit & lets them run indefinitely. Alternatively you could set them dynamically from inside your script using ini_set(). | |
Re: Hi there, You could try the following function: imagefill ( resource $image , int $x , int $y , int $color ); Where $x and $y are the top left coordinates where the filling starts, and just fill the image with white. | |
Re: Hi there, The problem is that php is pre-processed, ie all of the php code is run before a page is served to the client and therefore, you cannot add interactivity to a page (like with the onXXXX event handlers of html elements) with php. You need to use a … | |
Re: Hi there, I think the problem probably lies with your sanitizing methods. When you insert (or update) the data into the database, make sure that you run the function "addslashes()" on the text from the editor before putting it into your sql. And then when you retrieve it from the … | |
Re: leviathan is right, this would be easiest to do with a simple javascript function: [code] function disableCheckBox(checkbox1, checkbox2) { if (document.getElementById(checkbox1).checked == true) { document.getElementById(checkbox2).disabled = true; } else { document.getElementById(checkbox2).disabled = false; } } [/code] and then for your checkboxes: [code] <input type="checkbox" id="chk1" onchange="disableCheckBox('chk1','chk2')" /> <input type="checkbox" id="chk2" … | |
Re: None that I know of. Pretty much anything that grows in less than a year, will die (and in this case turn into a brown ooze) in less than a year unless you preserve it somehow. | |
Re: Full moon. What type of wood is Ron's original wand (handed down from some brother, broke in 2nd book)? | |
Re: Hmm, didn't even know that such a thing was possible/necessary till I saw this thread. | |
Re: Hi there, I think the problem might be that you never assign values from the $_POST array into your variables ($login, $passwd, etc.) Unless you do this in your include('../vars.php'). But other wise your variable will always be empty. | |
Re: I agree with VernonDozier, if you are a perfectly normal and healthy individual, you aren't going to commit suicide over getting you cellphone confiscated/ scolded for taking a call. And if you do, I don't think that its likely that you were going to last too long anyway. | |
Re: If a fat chick falls over in the forest, and nobody is around. Do the trees laugh? | |
Re: Hi there, What you need is a little javascript to make this work, the following is an example: [code=javascript] var value1 = document.getElementById('list1').options[document.getElementById('list1').options.selectedIndex].value; var value2 = document.getElementById('list2').options[document.getElementById('list2').options.selectedIndex].value; var value3 = value1 + '--' + value2 + '-'; document.getElementById('text_box).value = value3; [/code] Just put this code between some script tags at … | |
Re: Hi there, The problem is where you are checking your $result against the $md5Pass, what you are doing is running the query and storing the result set in $result, but we aren't done yet, that $result only contains a pointer to a result set in memory and not the actual … | |
Re: I think I know the anger of which you speak, I too get furious over trivial things especially people who don't understand why their e-mail isn't working when their mailbox is full, and many other similar examples of not only ignorance but complete lack of a will to learn (this … | |
Re: Dude, do you regularly browse the internet with no other cause except to find something interesting? Much Respect. | |
Re: Hi there, I'm not too experienced with the gd libraries so forgive me if i'm wrong, but I think the problem is that the libraries can not spawn a picture out of nothing (unlike the php functions for files like fopen()) I would recommend creating the three .png images first, … | |
Re: [QUOTE=Ene Uran;916456]Now students in computer science, engineering and medical sciences, that are used to writing their own programs, are more inclined to use Linux.[/QUOTE] I'm sorry maybe I'm confused, but please show me one med student that knows more about a pc than how to switch it on and Google … | |
Re: Hi there, in order to set the action of the form in response to a user selecting something from the drop down list, you will need to use javascript, try this : [code=php] $sql = "SELECT prodMFG FROM productDetail WHERE prodMFG != '' GROUP BY prodMFG"; // (1) $result = … | |
Re: Hi there, Enclose the phrase post_text in single quotes, like this: [code=php] echo $rows['post_text']; [/code] That should sort out your error :) |
The End.