Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
27" for a computer monitor? That's huge!!
-
[quote author=thorpe link=topic=120925.msg496843#msg496843 date=1167922258] 20.1" on a laptop? Thats feaking huge! Must be like carrying a surf board around. [/quote] Heh... yeah well I guess it is quite heavy... Images taken with my cell phone's (crap) camera. [attachment deleted by admin]
-
I too like big widescreens. My laptop has a 20.1" widescreen. I get annoyed when working with computers with small screens (17" and lower) because I'm used to my own - I don't have enough space.
-
Try taking a look at [url=http://php.net/parse_url]parse_url()[/url].
-
[quote author=phrozenflame link=topic=120550.msg494574#msg494574 date=1167643073] I have stored pictures in my database under the heading "pic". [/quote] Do you store the filename/path or do you store the actual image?
-
[quote author=MCP link=topic=94096.msg494972#msg494972 date=1167700157] wisewood has it from his first post. From the snippet provided, it's just base64 encoded (hardly call that 'encrypted'!). You just need to base64_decode those. As previously mentioned, replace the "eval" with "echo"/"print", and you'll see the code in your page. I decoded the JF9YP... part, and it comes out to "$_X=base64_deco", so it looks like he may have base64 encoded it a couple times -- but it's hard to tell without seeing more of the encoded string. See for yourself using [url=http://makcoder.sourceforge.net/demo/base64.php]http://makcoder.sourceforge.net/demo/base64.php[/url]. The original opinionatedgeek.com site didn't work for me earlier on another base64 encoded string, but this one did, and worked for decoding your snippet above. So, I'd suggest you either try to do the eval -> echo/print replacement, post the code, or PM one of the people who offered their help (count me in)... Good luck! [/quote] I've seen a file "encrypted" like that before, it's not as easy as it looks to "decrypt" it again, at least not if it is the same way it's done.
-
Try to post/attach an entire encrypted file so we can see if anybody here is able to decrypt it. If posting please put it in [nobbc][code][/nobbc]-tags.
-
[quote author=SemiApocalyptic link=topic=120079.msg492521#msg492521 date=1167309171] You appear rather immature for a 28 year old, phrozenflame... You must be in your early teens, masquerading as an adult, surely? [/quote] oldmanice
-
[quote author=chiprivers link=topic=120075.msg492482#msg492482 date=1167296189] If windows is installed in a partition on my old harddrive, can I extract it to the new one some how? [/quote] Maybe, maybe not. If your harddrive is corrupted I doubt you can. I guess you would have to ask your manufacturer how it works. Else just buy a Windows CD.
-
[quote author=SharkBait link=topic=120074.msg492289#msg492289 date=1167254646] Was hoping to see my Birthday displayed in pretty lights here too ;) [/quote] On your birthday you have a cake displayed next to your birthday on your profile.
-
I have a [i]recovery[/i] (yes, it says so on the dvd's label) disc for my desktop computer that formats everything and reinstalls Windows on it. It uses Norton Ghost or something like that. With my laptop there is a "hidden" partition on one of the harddisks where the installation/recovery files are on, so I assume that if that partition is deleted I will not be able to reinstall/recover. My laptop and desktop are from the same manufacturer. You will have to find out how your manufacturer did with your computer.
-
I don't really think the search engines care. On [url=http://www.google.dk]Google Denmark[/url] (and the other localized versions) there is an option called "sites from Denmark" and if it is checked only sites the dk TLD will be returned.
-
[quote author=JayBachatero link=topic=110629.msg447752#msg447752 date=1160105026] Actually this is one of the many things on my todo list for mods. It's not that hard to do either. [/quote] Why not an actual feature?
-
I'm a bit confused. What's the current challenge?
-
http://www.phpfreaks.com/forums/index.php/topic,119433.0.html
-
Then I'll learn you how :) Ok... you have the [url=http://php.net/manual]manual[/url]. Then you ask yourself: What is my problem? And in this case the answer would be: I need to do something with arrays. Then you click on [url=http://php.net/ref.array]Array Functions[/url]. Now you read the function list. And you'll see two functions that might be useful: [quote=PHP Manual][url=http://php.net/array_slice]array_slice[/url] -- Extract a slice of the array [url=http://php.net/array_splice]array_splice[/url] -- Remove a portion of the array and replace it with something else[/quote] Then you go to the entry you think that solves your problem best, read the syntax and possibly examples and then you apply it to your code. If you already know the name of the function you need help with, you just go directly to it's manual entry by typing [tt]php.net/<function name here>[/tt] in the address bar. Always check the manual first. It's an invaluable resource ;)
-
If it is a product you will release I would probably say you should create the functions for your application yourself or create your own framework that you can manage. Imagine a bug in the framework that will cause your software not to work. In order to get it fixed you would have to wait for the people who created the framework to fix it, but if you are the author of the framework you can just fix it yourself.
-
mail( ) NOT sending to hotmail but does to other email servers!?
Daniel0 replied to leeming's topic in PHP Coding Help
Check your junk folder. -
Here you go: [code]<?php /** * Mix up letters * * This function mix up the letters in words except the first and last one. * This is to illustrate that the brain does not read the whole word as you * should be able to read the sentence disregardless of the middle characters' * positions. * * Note: There may be no punctation in the sentence. * * @author Daniel Egeberg * @param str $str The sentence * @return str */ function mix_up_letters($str) { $words = explode(' ',$str); foreach($words as $key => $word) { if(strlen($word)>2) { $words[$key] = substr($word,0,1).str_shuffle(substr($word,1,-1)).substr($word,-1); } } return join(' ',$words); } echo mix_up_letters("This is an example of a script that mixes up the middle letters in a sentence"); // Example output: Tihs is an ealxmpe of a sicprt taht miexs up the mdidle ltetres in a sneetcne ?>[/code] Next challenge: Make a function that will convert hexadecimal color codes to RGB and vice versa.
-
[code]<style type="text/css"> input[type="button"], input[type="submit"], input[type="reset"], button { border-color: #7CB7B3; background-color: #000000; color: 7CB7B3; } </style> <input type="button" value="Button" />[/code] This should achieve what you want.
-
In a [tt]<td>[/tt]-tag vertical-align is by default middle, so that won't change anything.
-
It is blue when I run that code. To make a button another color use this: [code]<style type="text/css"> input[type="button"], input[type="submit"], input[type="reset"], button { background-color: red; } </style> <input type="button" value="Red button" />[/code]
-
http://zend.com/studio (Zend Studio)