Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
I know it would get the same result, but +/-1 week in strtotime would to it as well. strtotime can translate (almost) any formatted date into a timestamp and calculate relative to "now" or a specified date or timestamp.
-
Imagine it was the 1st month (ie January), then the month parameter would have 0 (which is not a valid month). Also, not all months got the same amount of days.
-
You can trace an IP without having a working internet connection... The connection would stall at where the problem is. So would it if you ping, the difference is just that you traceroute tells every router it goes through whereas ping just tells whether the packet made it to its destination or not. But as I said: Besides, what is "say anything original" supposed to mean? Nobody in this topic suggested that.
-
You sort of answered your own question there. If they had bothered to code accordingly to standards, then this problem wouldn't have occurred at all. Either they should fire their development team or teach them how to code properly.
-
Try to run a traceroute to see where the connection stops. If you are 100% sure that it is a specific router that causes the problem, then this isn't going to help at all though. On Windows the command is called tracert whereas it is called traceroute in Linux.
-
Mac addresses (as well as IPs) can be spoofed. I know my bank stores a unique key file on my computer and then use some Java applet to handle the login procedure for their online banking service. I enter my password and it checks if the key is valid and exists and then checks their database. I guess you could do something similar. The requirement is that you need something that can access things on the client computer (which PHP cannot).
-
It's ASP: aspx[/b]]http://skateboard.colonies.com/main/forgotpassword.aspx
-
Welcome You can ask questions disregardless of what your level of experience with PHP is.
-
Also, applications made in Java take up a lot of RAM. I don't know about small applets embedded into a webpage, but if they do that as well, then I wouldn't do it.
-
Sure, but with a test account you wouldn't have to use the clients account and therefore there wouldn't be any privacy issues related to developing for that. With a test account for yourself the client wouldn't have to provide any of their login credentials so you would have access to potential confidential informations about the customers.
-
On some motherboards you can press a key (F12 for me) when booting to enter a menu in which you can choose from what medium to boot. If that isn't enabled or available you will have to enter the BIOS to make your cd/dvd drive has a higher boot priority than your HDDs have. On my motherboard I press F2 to enter that.
-
Apollo: Developing for the desktop with web technology
Daniel0 replied to zq29's topic in Miscellaneous
Flash 9 has been released for Linux for quite some time and has been available as a beta release for even longer time. I'm not quite sure when final was released though. I too also hate Flash based layouts, but Flash is useful for other things that aren't specifically related to the layout of the design. That could be media players of the type seen in services like YouTube or Google Video. IMO Flash based layouts are sort of like Web 1.0-RC2 where everything had to look really fancy with lots of effects. -
Apollo: Developing for the desktop with web technology
Daniel0 replied to zq29's topic in Miscellaneous
Looks really cool. I'm downloading the dev. stuff right now to test it out. I'll be looking forward for a final release. -
As for the errors descriptions: I think W3C's validator does a good job in telling what the errors are. If you don't understand them, then perhaps you should read up (X)HTML's correct syntax. There really isn't much you can do about advertisement programs' codes if it violate its TOS. You'd have to convince them that it is ok you change the code to follow correct syntax. http://validator.w3.org/check?uri=http%3A%2F%2Fwww.phpfreaks.com
-
I'm sure most merchant account providers have some sort of sandbox where you are dealing with virtual money for developers to test out their applications. Paypal got one. I don't know about authorize.net. If they do then it is just a matter of changing small areas in the code to fit the actual API instead of the sandbox API. Edit: Perhaps I should have reversed my process (ie looking at the site before posting instead of the opposite way around). Authorize.net does seem to have such things: http://developer.authorize.net/ and http://developer.authorize.net/testaccount/
-
You say web designer, but you also mention PHP. You aren't necessarily a web developer if you are a web designer or vice versa (even though you can be both at the same time). It sort of depends what you want to do. If you wish to program or you wish to design (or both).
-
Read the link I provided. Your question has been answered! Sheesh. That costs money... Is there a way to do it for free? Like some sort of download? What sort of download should that be? You could install a DNS server on your computer, but tomfmason said that there are a lot of security issues involved with that so it might not be a good idea.
-
Where do you see any limit? I have 12 in my inbox so I guess it increases if you are told you are only able to have 10.
-
MS Office 2007 and OpenOffice support exporting to pdf natively. Or, eh, well for Office you need to download a plugin from Microsoft which is available (free) if you got an activated version of Office. You could also purchase Adobe Acrobat (not reader!) which will install a "printer" driver so you print it to a pdf file. There does also exist free alternatives to that.
-
That is incorrect. Windows uses ACLs to control access permissions on files and folders, you need the NTFS filesystem though (which is, I think, almost always used though). If you have Windows XP Pro or MCE (Media Center Edition) then you have a GUI (it is there in Home when in safe mode as well though) to edit the ACLs: If the GUI is not available to you, then you will have to use the command prompt using the cacls command to edit and view it: At the command prompt, type: cacls /? to get a list of parameters and its syntax. I think cacls is short for "change access control lists". Here I have revoked my permissions resulting me in being unable to read from the folder: Since I haven't actually denied me access (but rather revoked my previous permissions resulting in "no permissions" for me) I can grant me full access again since I am an admin: cacls \test_folder /C /E /G "Daniel Egeberg":F /C ignores any "access denied"-errors (not possible if you are actually denied access (I think)). /E edits the ACL scheme instead of replacing it. /G grants a user a specific access flag (either None (can only be used when replacing using /P - ie not available here), Full control, Write, Read or Change (writing)). To deny me access I would run this command: cacls \test_folder /E /D "Daniel Egeberg" Or of course I could just use the GUI. To enable the GUI (which is by default disabled unless you are in safe mode) you go to Control Panel > Folder Options > Show/View (not sure what it is called in the English version) > Files and folders > Uncheck "Use simple file sharing (recommended)" (as previously mentioned it is only available in Pro and MCE). Files and folders can also inherit permissions. -- As for the OP: It depends on what you are using it for obviously. If you need a server to host the domain controller of a network consisting of computer running Windows then you will obviously need a Windows server. If you are going to use it as a web server, then I would personally recommend you to use a UNIX based server.
-
Well, we can't tell exactly how they do, but if you buy something shortly after being referred from another site (or here an advertisement) then I think you can be almost 100% certain that you made the purchase because of the ad. You could check the referrer by using $_SERVER['HTTP_REFERRER'] (or another language's equalviant), or by doing like steve said. To be 100% sure how they do it you will have to ask them and not us since we do not have access to their code.
-
Ah... it is actually 3660px*2440px: http://www.fih.org.uk/NR/rdonlyres/8C6604C5-F7C7-49FC-A5D4-E852F15840AF/0/NWP0059.jpg Still pretty stupid to just use the height and width attributes on the image instead of scaling it down when posting it on their webpage.
-
If it's just link tracking, then they might have some link like this: http://example.com/go.php?affiliate_id=316813
-
WTF... does it have like 10^9 DPI?
-
If, as SA points out, you have a lot of people linking to you, then I think you can show up disregardless of whether you added yourself or not. Preferably big, high-traffic sites. Of course, telling the search engine, "Hey, I exist!" is a start. Also make sure you code validates. If it does then the search engines will find it easier to read your page. This tool is really good at telling what you should focus on in order to make your site better. You should take care of everything that isn't marked as "excellent" ("good" is probably ok as well) (starting with the most severe problems first obviously). If you register (free) you can get more detailed and technical results.