-
Posts
5,717 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Adam
-
Senior PHP Developer Position Interview Questions
Adam replied to hadoob024's topic in Miscellaneous
Are you the interviewer or the candidate? -
Unfortunately seems to be the same case here for me too. Cheers jcombs for the link.
-
Might get more luck in the freelance board? People are here to assist you, not do all the work for you.
-
Hah, yeah good point. I have mentioned to the client several times to upgrade his browser but so far he's not been interested. I've requested some stats on his current site to find out exactly what % of his users use IE6 or below and I'll go from there. I fear though that the target audience are those more likely to be using IE6.
-
Hi guys. Just working on a new design project that seems to make use of a lot of PNG images. Just wondering what you guys generally use to fix PNG support for IE6 versions and below? Several methods available but what's the most reliable, light-weight fix? Thanks Adam
-
...And what have you got so far?
-
[SOLVED] Checking for Elements, stop when satisfied.
Adam replied to iPixel's topic in Javascript Help
You could do it like so: var i = 1; while (obj = document.getElementById('xDates_0000_' + i)) { // do this and that i++; } // carry on -
I doubt anybody has a list of 'all email service providers' laying around handy. I'm assuming you mean the most common email service providers, in which case still, whatever list anybody came up with someone else would always have another. Try.. http://email.about.com/od/freeemailreviews/tp/free_email.htm Why do you actually need a list?
-
Very dull, I didn't actually read past about the 5th slide if I'm honest. Think you should re-consider the media you're using to present this; slide shows are mainly used to back up a presentation. Used in this way you may as well have just written it as an article.
-
[SOLVED] New Line command will not work in concatenate message string
Adam replied to AndrewJ1313's topic in PHP Coding Help
Special characters like the new line character must be within double quotes... $message = 'Property id: ' . $_POST['id'] . "\n"; -
Bloody wonderful. Thanks for that.
-
Mmm, perhaps the success you speak of is "how not to get a job and bum off the state all your life".
-
Someone sent me this link... http://spaceflightnow.com/ares1x/status.html
-
... how did it not work? Did you get an error? Blank screen?
-
Aha! I remember back at school in about 2002 creating geocities websites in lessons to say how err, homosexual our friends were.
-
Hah say good bye to geocities: http://latimesblogs.latimes.com/technology/2009/10/geocities-closing.html And sites like these.. http://xkcd.com/
-
The error's very basically saying you're trying to use "session_start()" after you've started outputting HTML/text. Is this code being included by another file?
-
[SOLVED] fopen(...txt,'"a+') not creating file and writing to it
Adam replied to phpnewbieca's topic in PHP Coding Help
Well what exactly does happen when you run the code? You are right though that using a+ will attempt to create the file if it doesn't exist and then append to the end. Edit: Didn't see what you said at first. The way the file write functions work would mean that moving the pointer to the start of the file would over-write the text currently at the start of the file. Take a look at the manual for rewind and look at the examples. May need to re-think what you're trying to do here. -
Possibly need to use trim() ..
-
Personally I think 4 spaces is ideal, and generally the norm' to use. Most editors should have the functionality to replace tab with x number of spaces so you don't have to hit the space bar 4 times. 2 I think still looks a little cluttered and unclear in certain areas. Halo* you didn't really do much of a job indenting the code if I'm honest. What's happening here for example... if($finalcash <0) { echo "You do not have enough cash!"; } elseif($finalcash >=0) { $num_true=mysql_num_rows(mysql_query("SELECT * FROM family WHERE id >1")); if($num_true >= 5) { echo "There are already 5 Crew Slots!"; } else { $num_true=mysql_num_rows(mysql_query("SELECT * FROM family WHERE name='$familyname'")); if($num_true >= 1) { echo "There is already a Family with that name!"; } else { function change($msg) { $post = $msg; $post = str_replace("'", "`", $post); return $post; }
-
The requested URL .... was not found on this server. How to RE-DIRECT ?
Adam replied to plodos's topic in Apache HTTP Server
Only given it a quick glance, but this should help... http://www.webweaver.nu/html-tips/web-redirection.shtml -
I can't seem to see a great deal of difference in speed. You do loose the functionality of the back button though... And of course you loose all the extra features that comes with Google. Is there an image search?
-
.... touché
-
http://www.electronista.com/articles/09/10/21/microsoft.promos.win.7.with.bk.deal/
-
Perhaps think about why you never see other pages with scroll bars in the middle? There are many other methods to *including* content into a template, without the use of frames or having to update 20 pages for a single change. Take a look at PHP includes (personally I prefer require_once to include files).