492 Posted Topics
Re: Apparently this server has a mind of it's own :P Allsorts of fun with subscription emails being duplicated and other bits :D | |
Re: The easiest way would be using an API if the owners of the other site have that option. Otherwise as you said cURL is a good starting point. Finally, you could try [URL="http://www.google.com/search?hl=en&q=php+screen+scraping&aq=f&aqi=g4&oq="]'Screen Scraping'[/URL] (again, cURL) to get the source code from a rendered page and pull the information you … | |
Re: Did you even read the sticky? | |
Re: Nice to see you back :) Although there is nothing wrong with 'batting for the other team' as someone so eloquently put it... | |
Re: This is not a PHP function. It is likely that you have an included file or code somewhere which defines this. | |
Re: [QUOTE=JRM;1094127]An id of 11 is more than adequate. The longest encryption strings I've sees in use is 48 chars. I don't think you need even that much! It depends on how paranoid you are about hackers. Unless you are doing this for the DOD m, bank or NSA, where they … | |
Re: +1 There are too many posts where a block of code is posted without any real comments or additions info. How will people learn if the are given all the answers? | |
Re: Even with your broken English, the answer it the first result on [URL="http://lmgtfy.com/?q=what+is+PHP+stands+for"]Google[/URL] At least attempt to do your own research :( [URL="http://lmgtfy.com/?q=what+is+PHP+stands+for"]PHP[/URL] | |
Re: Use a session to store the $rand value for the last x images: [code] $_SESSION['rand_img'][] = $rand; [/code] You could add in an if to that to remove the first item of the array once 50 items are stored. Then, use the [URL="http://uk.php.net/manual/en/function.in-array.php"]In array[/URL] function to see if the rand … | |
Re: Plenty of ready made guides already available: [URL="http://lmgtfy.com/?q=php+and+mysql+tutorial"]Try Google?[/URL] | |
Re: The first example you put there is a function, which can include code to execute at a later time, and can be called using the function name. This is useful for something that needs to be done multiple times in a page as you only write the code once. [code] … | |
Re: Go here: [url]http://www.daniweb.com/forums/profile.php?do=editoptions[/url] Scroll down to the 'Thread Display Options' section and make sure that 'Show Signatures' is checked and save. As above, I can also see your sig, so its your end :) | |
Re: Surely you would want to use the value of $dest to store the file location in the DB.. | |
Re: I am with AD. I very rarely use the buttons, typing the tags is just as fast, if not faster (for me), than clicking a button :) Also, getting people using Code tags consistently is more important than another (possibly confusing) button. I will agree that the button could do … | |
Re: Why are you storing dates as datetime? A timestamp would be better, they are much easier to work with. Take a look at this: [url]http://www.dreamincode.net/forums/showtopic19953.htm[/url] | |
Re: I have posted that a few times, mainly when a search on the exact text they used as the thread title will bring up the answer as the first result. I tend to think, if they cannot be bothered to search, I cannot be bothered to actually help them. | |
New home page looks good :icon_smile: Don't know how long it has been there as I have only just seen it... a lot more useful than the previous one which just listed the latest topics. Nice update :) | |
Re: Not all browsers have Tabs, so forcing your link to open in a tab is not a good idea, if it is even possible. Your best option would be to use [icode]target=_blank[/icode] as you already do, this is the closest you will get. AFAIK _blank will open a new tab … | |
Re: I noticed the 'new' buttons on the thread lists. Found them very annoying, I ususally look to see if the thread title is bold to tell if there are any new posts. Infact, I wrote a GreaseMonkey script just to get rid of them :( [url]http://stuff.elvenblade.com/remove_new.user.js[/url] ![]() | |
| |
Re: [QUOTE=firstPerson;1097179][code]01011001 01101111 01110101 00100000 01101011 01101110 01101111 01110111 00100000 01111001 01101111 01110101 00100000 01100001 01110010 01100101 00100000 01100001 00100000 01100111 01100101 01100101 01101011 00100000 01110111 01101000 01100101 01101110 00100000 01111001 01101111 01110101 00100000 01100001 01110010 01100101 00100000 01101001 01101110 01110100 01100101 01110010 01100101 01110011 01110100 01100101 01100100 00100000 01101001 01101110 … | |
Re: No tech, but I did get a couple of books on PHP, the Zend study guide and a PHP OOP book :) | |
Re: Post your code so we can see what is wrong.. | |
Re: I voted other since there is no PHP option... I know enough C++ to get me by, but PHP is the language I prefer and there is always something new to learn :) | |
Re: [QUOTE=Sodabread;1093997]For your last point, I'd think most CIOs/CTOs would be less worried about costs going up and more worried about no longer "owning" their data. When the data is in the hands of a third party and that third party goes belly up, and has an immediate shut down of … | |
Re: Please rephrase the question or post an example of what you are trying to do. | |
Re: Easiest game ever :P Even with the nice ending lol. Completed it in under 5 seconds :D | |
Re: First problem with your script, you are missing a ; on line 24. Second problem, you haven't created a var called xtra which you try to use on line 31. Also, why are you mixing DOM standard with innerHTML? Lastly, this appears to be JavaScript, not PHP. For future reference, … | |
Re: Yes this is possible. You will need a server side script to take the name the user wants, queries your database and outputs either yes or no. You will need to use JavaScript (BTW, Ajax is JavaScript) to send a request to the server side script with the users name … | |
Re: Why not have 1 file with the PHP script to make the links, then use an include() function on each of the pages. | |
Re: Heard of Google :P [url]http://lmgtfy.com/?q=php+replace+%26+with+%26amp[/url] | |
Re: Take a look at line 6, you are missing a ; which is the reason for that error. | |
Re: [QUOTE=Ancient Dragon;1076278]When I come to DW I have the C++ forum bookmarked. So the first thing I do is look at the threads in that forum to see if I need to reply to any of them (via the New button). Then I'd use the Favorite Forums links to do … | |
Hello wonderful people :) Can my username be changed? I signed up last May and used the same username I use on most sites, but I have since dropped this alias on most sites :D Can it be changed to [B]Will Gresham[/B] please :P | |
Re: Surely pagination without a limit would not be pagination... The limit is there to specify how many results are retreived, without it all records would be pulled on each query. | |
Re: Still think: There is no place like ~ Beats the 127.0.0.1 | |
Re: Favourite movie of all time is a toss up between Back To The Future and LOTR (Return of the King) | |
Re: I am waiting for my Windows 7 disk to arrive :) Got a free upgrade with a PC I bought this year so I will wait and see what it is like... I suppose it cant be much worse than Vista :D | |
Re: Do you have a link to an example of what you want to achieve? Your description is very vague. Even better, post the code you already have as well as a link. | |
Re: I cannot see a call to the mail_it function in the code you posted, but what you will need to do is change the $recipient value that is being sent to the mail_it function depending on which option is selected. | |
Re: There are many scripts available free that offer what you are looking for. [url=http://lmgtfy.com/?q=php+messaging+system]Search before you post[/url] | |
Not sure if this has been mentioned before. One thing that irritated me for a while was seeing '1 hour ago' '2 hours ago' and such on posts. I like seeing the actual Date/Times, but maybe that's just me :) I have had a look in the CP today and … | |
Re: Post up the code you are using at the moment for specific information/help. It is likely that the database queries are wrong, probably the script is looking for columns you do not have if you are using an example script. | |
Re: Yes, I sit in front of a monitor all day a work. Very nice not to have light glaring at you :) Books > The computer | |
Re: If it uses MySQL, then in all probibility you can do what you want to. However, I have not used this before and have not seen the source code, without this I cannot suggest what to modify. Have you tried contacting the company you bought this from to see if … ![]() | |
Re: When referencing vars, you do not need a second $ : [code] $this->$servername = $server;[/code] Would become [code] $this->servername = $server;[/code] @tmash The whole idea of Object Orientated programming is to make your code portable, not every server will have MySQL on localhost so defining this absolutely is not a … | |
Re: [QUOTE=cwarn23;1011570]Youtube videos maximum 10 minutes. WHAT!!! Can't they be any longer. Looks like I might need to host these videos myself. Does anybody know if that is 100% true that youtube videos cannot exceed 10 minutes as I am waiting for youtube to process my video although when trying to … | |
Re: You would probably be better asking this in the HTML/CSS forum: [url]http://www.daniweb.com/forums/forum143.html[/url] |
The End.