Jump to content

jellis

Members
  • Posts

    31
  • Joined

  • Last visited

    Never

Everything posted by jellis

  1. The one thing I like about CodeIgniter (and CakePHP) over Zend is that there is a defined set of principles to follow to get your website cracking straight away. Zend is extremely powerful (moreso than most other frameworks), but there is very little "hand holding" in leading you through the tutorials. Particularly after the release of 1.8, it's taking the documentation a little while to catch up. I would highly recommend CodeIgniter, if only for their documentation. Most frameworks are offering similar outcomes, with varying promises on reliability, scalibility and security along with "pretty" URLs and such. The CodeIgniter community is extremely friendly, and most importantly it's centralised. Everybody goes to the same place (although there are numerous third-party forums and doc sites out there), and everybody reads the same outcomes. I've used CodeIgniter for developing UTF-8 supported web apps, but ended up hand building logic to determine the user's chosen language from the HTTP request information. Hopefully that provides a little insight. Best of luck with your project! Josh
  2. Hey all, Just in the development stage right now for this client's website. There is currently absolutely no content in the site but there is a CSS layout to view with associated images. I've attempted to go for a completely liquid design that won't collapse when taken down underneath 760px in width. I realise the header image is substantial, but having viewed a high number of websites in the same industry they all seem to be going down this path... a nice, big, cheesy image showing some woman feeling comfortable and relaxed. I tried to ensure the file size is minimal whilst the quality remained tolerable. URL is http://jellisweb.com/artofbeauty All links are also dummies at this stage. Thanks for taking the time to have a look and I really would appreciate any input. Regards, Josh
  3. Whilst it's probably very apparent that you hate javascript... might I suggest you add an image preloader for the background image on the menu in the subheader area. This will at least remedy the delay in IE for 90% of their users. I like how you used stacked images for the logo, phone and email contacts. Great idea! There is a minor issue with the top of the darker telephone and envelope encroaching on the lighter images (just at the very bottom... about 1px in IE). Could you possibly do the same sort of idea with the hover menu effects? Kudos on a great job thus far!
  4. Also, you say you are standards compliant... but I see no use of the <acronym> tag on things like XTHML, CSS etc... find out the standards first I say.
  5. How about you start by providing some sort of code so we can have a look at it? ie actually come up with something yourself that nearly works and we can guide you in the right direction. Unless it's already solved (as the subject heading advises).
  6. The width of your layout will result in a horizontal scroll bar in any browser window that is less than 1024 (and a bit) pixels wide. Perhaps you could consider using percentage widths (and making your header expandable) on your tables to overcome this. Most of the layout appears as though it would take well to a liquid design. Higher contrast in your emphasised text wouldn't go astray. As for accessibility... don't even think about it if you're using tables... just stick with what you know and accept that spiders won't be able to crawl your content all that simply... nor text readers and the like.
  7. Gee... I'm sorry. I didn't mean to step on your precious tootsies. 2.5 mins of searching came up with this... http://tech.mikelopez.info/2006/03/02/php-image-resize-script/ Read the instructions therein... and then try to figure out for yourself how to implement it. A brief look through the code tells me it's exactly what you're after. How you implement it is entirely up to you. HINT: The image will be called through the URL to resize it... get my drift?
  8. Seriously mate... just google it. Do you need someone to spread your butt-cheeks and wipe your ass for you as well? Alternatively, you could use the SEARCH function as the same question has been asked a million times previously.
  9. Great design... however the hover pseudo-class on the menu items plays up on first load with IE6 +. Perhaps use Javascript in place of it, or use Javascript to load the images on page load. It will stop this blank background effect on hover.
  10. Don't use CSS in place of Javascript. Use Javascript to control the CSS... the hover pseudo-class is renowned to be highly ineffective in IE. If you just control the "display" class (set to "none" in its native state) and then switch it with Javascript on mouse over.
  11. For those that cared (and for future reference)... I'm a twit! It was simply a case of calling the new function and passing the argument in the function call... as you would do with any other function call. Turned out I had a clash with some variable names versus input id's that was causing the script to just halt. Luckily the teacher sorted the stuff out before I handed it in.
  12. Hi all, Reasonably urgent matter (assignment is due in about an hour ???) I'm attempting to pass an array in a function call which is being called from within another function... like so function foo(f){ array[0] = joe; array[1] = smith; // Call new function and pass array newWindow.call(array); } // End define function function newWindow(array){ // Do stuff with array } I've spent the last couple of hours googling the problem... however, it appears I just do not understand the way javascript works... I've tried declaring the array outside of the functions... but no joy. Any help would be appreciated.
  13. Why do you need to create ALL of the pages? Can't you just create one page at a time? Then you can simply use $_GET variables (in the URL) to indicate which record should be the start and how many records it retrieves. $startIndex = $_GET['start'] $items = $_GET['items'] ...and generate a URL like www.yoursite.com/yourpage.php?start=9&items=10 I hope that's the sort of idea you're after... if not... oh well.
  14. Sorry to whore... but I thought I should add that if I try some other Linux commands... anything really (say: ls -a) it returns true and jumps into the first tier of the "if" statement (eventually returns false because the file doesn't exist)... CONFUSED!!
  15. If it's using JavaScript (along the lines of what Google analytics does) then you're not taking a true snapshot of the users.
  16. Hi all, I've searched, copied, pasted, trialled and errored a script to run a database backup (will eventually be a CRON but I need to get the script to work effectively first). The code is below... the problem I'm having is the exec($command) is returning false and sending off a failure email to me. NOT CRICKET! Funny thing is... 50% of the time the file is actually created in the directory on the server... so the command is being executed. I've entertained (and tried) the idea of using PHP's other functions for parsing Linux commands... but they've all done the same thing. I've tried asking my TAFE (college) teachers and they've not been any help at all... $command = "/usr/bin/mysqldump --opt -h$dbhost -u$dbuser -p$dbpasswd $dbname > $backup_file"; // Now that all that is defined lets run the script if(exec($command)){// run the command if(file_exists($backup_file)){ mail($email, $subject, $body); } else { // redefine some variables for mail $subject = "MySQL Dump Failed miserably"; $body = "You MySQL back up for $backup Failed:\n\n $backup_file\n\n"; $body.= "So Sorry,\n Your friendly Linux Box!"; mail($email, $subject, $body); } } else { $subject = "Failed to execute command"; $body = "Your MySQL back up for $backup Failed to execute:\n\n $command\n\n"; $body.= "So Sorry,\n Your friendly Linux Box!"; mail($email, $subject, $body); } Looking forward to hearing your replies... Josh
  17. That's correct. You will have to modify the scripts to rewrite those URL's. The "old" URL's will still be valid as it's not requiring the .htaccess file to do any rewriting and it will be parsed as a normal URL... might I suggest that you actually set something up in a config file to enable the URL's to still be generated in the non-SEF format with the flick of a hypothetical switch? This way, if you ever move servers and they don't support .htaccess (which is a performance sacrificing ability) you will be able to re-enable non-SEF URL's.
  18. Is it possible for you to use sessions to control the access to scripts, then use a script to download out of that folder with permissions set to 0700? That's the way I control document downloads on a couple of the sites I manage.
  19. You can start with something like this and customise it to suit your needs. As for filling the background with white, you'd be better off setting the background area to white with css/html rather than insist the server do all of that extra image processing work. Most of the stuff inside that script is pretty self explanatory and if you've got a single nuance of php ability you should be able to work it out.
  20. You can't "sometimes" copyright your works. As has been stated, copyright is implied and automatic on original works produced by you (or by purchasing the rights from another person... but commercial exploitation is beyond the scope of this thread). You don't have to do anything to copyright your stuff... but you can take steps to make it known that the works are copyright to the public... registrars, copyright logo, disclaimers, policies etc. At the end of the day, however, the onus is still on you to prove that you produced the works and registrars etc have no legal standing in a court of law.
  21. Perhaps remove the semi-colon after the closing curly brace... and then also add enctype="multipart/form-data" to the form tags. Hope this helps!
  22. There's obviously no data validation on the email input... quite possibly the other inputs too. You're game... very game.
  23. Do some reading on validating data input. The search button is your friend.
  24. Instead of passing $_POST variables around the place, can you implement a $_SESSION with the required data, or even use $_GET variables? I don't know what the variable was used for, but going from the pages back to the index of the login area advised me that I was submitting $_POST data again. It's just annoying.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.