450 Posted Topics
Re: you can also use [URL="http://us3.php.net/manual/en/function.sleep.php"]sleep[/URL] | |
Re: [QUOTE=heenix;700203]Hi, I struggle to see how this information can be relevant? You've neglected to question the most important factor in every web developers decision: the client. It is highly aimed at internal web developers, yet the questions seem dumb-founded for client-based developers. As a side note, the language and grammar … | |
Re: [QUOTE=cwarn23;699284]Have you checked if cookies are enabled in Firefox because to use sessions you need the session ID which is usually stored in a cookie. If you haven't got cookies enabled in Firefox then try enabling them and see if that makes the sessions work. ------- Also if it does … | |
Re: Dear Santa, [QUOTE=vmanes;692986][URL="http://blog.wired.com/gadgets/2008/09/impulse-buyers.html"]Microsoft, Cray Unleash $25K Mainstream Supercomputer[/URL][/QUOTE] [QUOTE=GrimJack;695910][URL="http://www.fubiz.net/blog/index.php?2008/08/19/2103-futuristic-ferrari"]OMFG[/URL][/QUOTE] I'll take one of each of those please and a nice ham dinner. | |
Re: [QUOTE=yasmena;698246]i need help in my project, i need to get the mous focus on the username text field in the admin page but the problem is the body & head of the page is in another page so when i use onload="focus();" and get the element by id e cant … | |
Re: I've never used it with the last "/" on the dirname but this should work [ICODE]mkdir("/inventory/newFolder");[/ICODE] that is if you have write permission in the "inventory" folder. this should also work though [icode]mkdir("../inventory/newFolder");[/icode] | |
Re: [QUOTE=zandiago;698977][url]http://www.cnn.com/2008/TECH/09/25/odd.it/index.html[/url][/QUOTE] OMG, I hate Robert Half Tech. The will do just about anything to get you to show up at a position. My first IT position was a PHP dev/Server Admin position which was with a very small company that couldn't afford wonderful things like insurance and they even strained … | |
Re: [QUOTE=phpsnook;698738]hai when converting a data from excel to mysql....how to preserve the new line character and the white space.? any suggestions?[/QUOTE] The newline characters are preserved when you copy and past it into notepad(in the form of boxes) but when you copy it back from notepad to excel the newline … | |
Re: [QUOTE=php2sheik;698050]i want to connect mssql(microsoft sql server 2005), when i connect the following error displayed. why this error mssql_connect() [function.mssql-connect]: Unable to connect to server: note:in my system mssql 2005 is not installed..i connect server which is in another system connected through LAN. if i connect the sqlserver 2005, is … | |
Re: [QUOTE=xan;697617]Personally I would not use the second example-saving images into the Database, there is no need. The filesystem was designed to do this job so why re-invent the wheel? I have yet to come across a scenario where storing images in the database is better than the filesystem.[/QUOTE] For one … | |
Re: [QUOTE=emhmk1;698141]Hi all, This is going to seem a very basic sort of question so here goes.... i have a form with a couple of checkboxs and what i want to do is echo the selected checkbox. for example; if checkbox 1 is submitted then an image will be shown in … | |
Re: got 9/10 only because it is hard to understand some of the words and the repeat button doesn't work. But great memory though. Had one when I was a kid too. | |
Re: [QUOTE=Aia;693577]May we always have the courage to stand by those principles[/QUOTE] Tell that to the justice system. | |
Re: Um, I think it is extremely likely. [URL="http://antwrp.gsfc.nasa.gov/apod/image/0809/macsj0025_chandrahst_big.jpg"]http://antwrp.gsfc.nasa.gov/apod/image/0809/macsj0025_chandrahst_big.jpg[/URL] | |
Re: They sneak up on you: "oh that's cool" and "oooh let's try that". "Google's doing this!" and "Google's doing that!" and pretend like they are not after the entire F'N market, and then one day they are the internet gods and thou shalt not pass without Google having a hand … | |
Re: [QUOTE=designingamy;675234]Hello all! I wanted to ask everyone what they thought about the sleep function in php. I do believe I'm going to use it for my website, but I'm really unsure how to implement it in. I wanted to use it on the login page. I googled this until I'm … | |
Re: [QUOTE=TheNNS;652696]how is this funny? it's not even real.[/QUOTE] [QUOTE=loken;652829]you're right, but its too ironic to be real....[/QUOTE] Sounds pretty realistic to me. | |
Re: You can't be serious, they have got to be kidding. Wow, does IQ go in the negatives? | |
Re: [QUOTE=PalomoBlanco;678161]I got it from a pop up window, the problem was that I had several windows open and I thought I click enter to respond to my window and the pop up window came out and installed itself, I didn't realize it did it until it asking me for money … | |
Re: [QUOTE=jencinas69;678586]Hello I have a txt file with this content 456510 P115 JANDAY CONURE Very pretty, green/orange/blue, but keeps telling ME to shut up! $250/obo. 928-555-1212. I will like to now if its possible to write ID Category Description in top of the file like this ID Category Description 456510 P115 … | |
Re: Or you could look into creating a trigger, which is the way I would go. | |
Re: copy and post the errors | |
Re: [QUOTE=zegames;673445]Sorry, but I think you don't understand what I need. I just want grabble the search result block of gamespot, my example script is only to show for you guys my problem with blank issue because gamespot change the results recently to ajax driven. If you can get correctly the … | |
Re: getting my kids to be quiet for 5 minutes. | |
Re: Also speaking of session exploitation, if you post any user input directly to the webpage, make sure to use htmlentities() to verify that no javascript is being slipped in. This will also ensure that someone can't disrupt your html page structure. | |
Re: That's crazy. If I look at it I see it going clock wise, then if I look at the shadow I see it going anti clock wise. Its to the point that I can make it go which ever direction I want it to. | |
Re: So you want to click a link in the protected area causing a form to pop up for another user on another computer prefilling and autosubmitting this data, ultimately logging that person into the protected area? If that is what you are trying to do, it certainly can be done … | |
Re: [QUOTE=TimothyKhoo;680040]Again….i would like to ask you all a question about hotel…..ok this is the condition, they say they want to save cost but it seems that 1 person need to work 3 times….Wao… I admit that I can work for that kind of workload but….LOL man, how the hell am … | |
Re: Plus, .net goes where Microsoft wants it to go, where as PHP goes where the community wants it to go. I like the community. | |
Re: [QUOTE=buddylee17;675893]I had a client host with GoDaddy. He had that $3.99/month hosting plan. As a web developer, it was a very miserable experience for me. I could hardly get any of my prewritten functions to work, even though they had been used many times on other servers. Finally I made … | |
For all the other php developers in Daniweb, here is a preview into PHP6. Lots of changes, all the irritating stuff is out. Do you think php will loose popularity for making this adjustment? [URL="http://www.phpro.org/articles/PHP6-Preview.html"]http://www.phpro.org/articles/PHP6-Preview.html[/URL] | |
Re: I've always just done [CODE=php] function destroy_sess($sessname = "all sessions") { if($sessname == "all sessions") { $_SESSION = array(); } else { $_SESSION[$sessname] = NULL; unset($_SESSION[$sessname]); } } [/CODE] and that works fine for everything that I do. BTW: session_unregister() is not forward compatible with php6 | |
Re: I think this is what you are trying to do and it works fine for me when accessing it with servername.com/test.php?mode=Default&quickmgtMode=isAddingNews: [CODE=php] <div class="div_main_cont_"> <?php switch ($_GET["mode"]) { case "GoNews": printContentDiv_GoNews(); break; case "GoActSched": echo $printContentDiv_GoActSched; break; case "GoSchoolStory": printContentDiv_GoSchoolStory(); break; case "GoAlumni": echo $printContentDiv_GoAlumni; break; case "Default": printContentDiv_QuickPost(); break; … | |
Re: No, you know what's going to happen, they are going to handle it just like they handle every other security issue. By turning it off. Then the rest of the development world will suffer. | |
Re: [QUOTE=Ancient Dragon;672214]>>She will be met in the afterlife by her husband, Raymond, her son, Paul Jr., and daughter, Ruby. I doubt it. From what we read in the Druge Report she will be met by that thing with the long red horns in a very hot place.[/QUOTE] She might meet … | |
Re: [QUOTE=dragonflyuk;655539]I have a javascript that looks up some details on googlemaps for me, then returns them to a php script[/QUOTE] I don't understand why you don't just do this with Curl, then you could run the entire script from cron or from another php file or whatever you want. | |
Re: You know, jibber-jabber or not, this is actually pretty funny. [URL="http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm"]http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm[/URL] | |
Re: [QUOTE=Ezzaral;675875]And you registered just to post that? Smells like spam to me...[/QUOTE] Such a fake, errors don't happen like that. What is so special about those specific domains that allowed him to have access to them. Why not all domains that pkNIC has control over(no just those specific ones). Notice … | |
Re: Na, I'd rather watch the spoiled brats complain about not being paid enough millions to catch a ball and roll around in the grass for a couple hours a week. | |
Re: [QUOTE=justinmyoung;675923]How do you keep multiple javascripts from interacting and effecting each other? thanks[/QUOTE] Ensure that your function and variable names are unique. | |
Re: [QUOTE=sittas87;675414]wasnt the world suppose to end or something major suppose to happen in 2000??[/QUOTE] Ya, programmers forgot that a year has four digits instead of just two. But it didn't have near the impact that people thought it would, I think most people got it fixed before hand. | |
Re: well first off you can do t3.report_type in ('report1', 'report1', 'report1') instead of doing a separate query for each. | |
Re: [QUOTE=Designer_101;672465]hey thanks for the reply wouldnt that just collect all the votes in ascending order and store how many votes have been taken in the $one. Or am i mistaken? Help is really appreciated Thanks[/QUOTE] maybe this is what you are looking for? This will pull the total votes for … | |
Re: Of course that depends on how far back you want to go, you may want to create a link table to link users to users in the form of visits. So this table would have 4 columns: uservisitspk, primary key userpk, refers to the user visiteduserpk, refers to the visited … | |
Re: Have you tried using F8 to bring up the windows boot menu when your computer restarts and loading the last working configuration? | |
Re: How I would do it [CODE=php] <? $stringlen = 15; $randvarray = str_split("abcdefghijklmnopqrstuvwxyz0123456789"); $stringid = ""; for($i = 0; $i < $stringlen; $i++) { $value = rand(0, count($randvarray) - 1); $stringid .= $randvarray[$value]; } echo $stringid; ?> [/CODE] | |
Re: sets keys to values in an array ex. [CODE]$array = array("mydog"->"spot", "yourdog"->"rover");[/CODE] it is also used in this syntax [code]$object->function();[/code] or [code]$object->variable = $variable;[/code] where "function()" would be a function in the instantiated object and "variable" would be a variable in the instantiated object. I'm not exactly sure what that … | |
Re: I would start here first [URL="http://www.zubrag.com/scripts/website-thumbnail-generator.php"]http://www.zubrag.com/scripts/website-thumbnail-generator.php[/URL] | |
Re: [CODE=javascript] <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!-- function validate() { len = document.acceptform.check1.length; for (i = 0; i <len; i++) { if (document.acceptform.check1[i].checked) { return true; } } else { alert("No Location Chosen"); return false; } } --> </SCRIPT> [/CODE] You have an else without an if | |
Re: I never have a problem with phpMailer download: [URL="http://phpmailer.codeworxtech.com/"]http://phpmailer.codeworxtech.com/[/URL] tutorial: [URL="http://www.askapache.com/php/phpfreaks-eric-rosebrocks-phpmailer-tutorial.html"]http://www.askapache.com/php/phpfreaks-eric-rosebrocks-phpmailer-tutorial.html[/URL] |
The End.