Laird Knox
Mar 11, 01:20 PM
It has been a while since I have played with PHP and SQL. Does using a query string like that open you up to any vulnerabilities? Offhand I'm thinking no because it is run on the server side and the user doesn't have any control over the input in this case.
The code itself is pretty straight forward. Two things to note:
You are pulling everything from the photo_atelier table and then building an array with five elements. If the table contains 100 photos that's a lot of extra data that you are just dropping on the ground.
Also you are pulling every column from that table and only using the name of the photo. You can change the select statement to:
'SELECT photo FROM photo_atelier' to just pull the information you are using.
On a personal note, I find the rotation to be too fast. You also might want to consider adding a pause to the rotation when the mouse is hovering over the image.
Overall I like the design of the site. You have a few CSS issues to work out but it is looking good.
The code itself is pretty straight forward. Two things to note:
You are pulling everything from the photo_atelier table and then building an array with five elements. If the table contains 100 photos that's a lot of extra data that you are just dropping on the ground.
Also you are pulling every column from that table and only using the name of the photo. You can change the select statement to:
'SELECT photo FROM photo_atelier' to just pull the information you are using.
On a personal note, I find the rotation to be too fast. You also might want to consider adding a pause to the rotation when the mouse is hovering over the image.
Overall I like the design of the site. You have a few CSS issues to work out but it is looking good.
ChrisA
Feb 16, 11:25 PM
This should answer your question:
kevin garnett shoes lakers.
cartoon kevin garnett dunk
more...
selena gomez fotos. selena
Kevin Garnett
DeeEss
Apr 15, 11:57 AM
Go into Activity Monitor and view what is hogging your processor.
I once downloaded some security software from my bank for online banking and it ran my computer into the ground. Once uninstalled it was good as new.
I once downloaded some security software from my bank for online banking and it ran my computer into the ground. Once uninstalled it was good as new.
stubeeef
Sep 23, 07:36 PM
Maybe you should post all your copy on this forum and let everyone do the work for ya.
Of course with my outstanding spelling and compostition skills, my own personal editor (skunk keeps working on me, to no avail I might add), and grammer check (I think it is on here somewherz), I could just do that my self 4 ya.
Rotz a Ruck there snapz. :p
Of course with my outstanding spelling and compostition skills, my own personal editor (skunk keeps working on me, to no avail I might add), and grammer check (I think it is on here somewherz), I could just do that my self 4 ya.
Rotz a Ruck there snapz. :p
more...
ghostchild
Mar 10, 12:58 PM
Yes, I still live with my parents. Does renters insurance cover say for example if my gear gets stolen while I'm on vacation too?
MacRumors
Jul 23, 11:56 AM
http://www.macrumors.com/images/macrumorsthreadlogo.gif (http://www.macrumors.com/2010/07/23/apple-releases-second-developer-preview-of-xcode-4/)
http://images.macrumors.com/article/2010/07/23/124928-xcode_4_dev_2.jpg
more...
Kevin Garnett #21 McDonalds
kevin garnett lakers
more...
Sara Carbonero en fotos para
Fotos Will Young - Fotos Will
more...
KG-U Kevin Garnett
kevin garnett wallpaper. kevin
more...
kevin garnett s wife brandi.
kevin garnett wallpaper.
more...
kevin garnett shoes. kevin
Kevin Garnett
more...
kevin garnett shoes.
Kevin Garnett Extra
kevin garnett shoes.
http://images.macrumors.com/article/2010/07/23/124928-xcode_4_dev_2.jpg
more...
zarathustra
Jul 13, 10:14 AM
We had at least 2 or 3 topic with this car in the past few months.
Use the search function.
Still, cool car/mac.
OK, sorry. I DID do a search beforehand and couldn't find a link, so excuse me. I thought it has not been on macrumors because my search turned up nothing.
Search for mac installation in a car. (http://forums.macrumors.com/search.php?searchid=342566)
Use the search function.
Still, cool car/mac.
OK, sorry. I DID do a search beforehand and couldn't find a link, so excuse me. I thought it has not been on macrumors because my search turned up nothing.
Search for mac installation in a car. (http://forums.macrumors.com/search.php?searchid=342566)
ViNESWiNGMAN
Nov 16, 12:26 PM
no. but if you want better 'sound quality' then use a higher quality compresion (192 kbps instead of 128 kbps it makes a difference and sounds MUCH better than the 96 kbps that some mp3 players compress at). with 40 GB or the new 60 GB photo iPod availble you should have plenty of room for a better compresion.
I always rip to the highest compression rate, or uncompressed.. My problem with the ipod was that at loud volumes it distorted. The problem is with the signal-to-noise ratio on the device..
I'll look into the JBL Creatures... But I think I'm going to have a hard time replacing my THX 2.1 Klipsch speakers. I'm going to see how good they look alongside my mac.. I dont know if you guys have heard these speakers before, but they are amazing!
Thanks for the suggestions.
I always rip to the highest compression rate, or uncompressed.. My problem with the ipod was that at loud volumes it distorted. The problem is with the signal-to-noise ratio on the device..
I'll look into the JBL Creatures... But I think I'm going to have a hard time replacing my THX 2.1 Klipsch speakers. I'm going to see how good they look alongside my mac.. I dont know if you guys have heard these speakers before, but they are amazing!
Thanks for the suggestions.
more...
Seven17
Mar 23, 11:38 AM
BB or FS merival
BigDukeSix
Apr 19, 03:54 PM
I have memory from OWC, it works great. Their reputation is above and beyond.
more...
psychofreak
Mar 30, 11:43 AM
I don't have a portable console right now but a friend loved and got a lot of play from Monster Hunter...
appleguy123
Apr 27, 09:05 PM
Yes, they honor AppleCare.
http://www.apple.com/support/products/mac.html
Availability of each option depends on country in which service is requested and location of Apple Authorized Service Provider. Apple may also request that the customer replace components with readily installable parts.
http://www.apple.com/support/products/mac.html
Availability of each option depends on country in which service is requested and location of Apple Authorized Service Provider. Apple may also request that the customer replace components with readily installable parts.
more...
stev3n
Mar 8, 11:30 PM
aye yai yai ?
Mr. Anderson
Nov 22, 03:45 PM
eyelike art is still around, ambitiouslemon is on sabatical, kela posted last in April, spikey might be around under a different name, he hasn't been seen in quite some time, and blakespot is off doing his own thing, although I think he still helps arn with the site.
I don't fall under the 'old skool' banner, but I've been around longer than most these days. But maybe you should try a reunion thread, only for anyone who's of a certain age.
D
I don't fall under the 'old skool' banner, but I've been around longer than most these days. But maybe you should try a reunion thread, only for anyone who's of a certain age.
D
more...
tim2006
Apr 14, 09:47 AM
Are there any good articles out there re graphics for the current video game generation? If both the 360 and PS3 use hdmi at 1080p/720p what will make there graphics any different?
Ainkor
Mar 13, 06:31 PM
I did just that, threw my unused iPhone 4 sim in my new iPad 2 and got a nasty message this morning from AT&T basically telling me that I had 30 days to get a proper plan on it or I would be cut off.
I called AT&T and had them switch my iPhone 4 plan to the iPad post pay plan and it's all good!
I was actually surprised that they did it, but ask for a supervisor. The front line reps are not trained well on the new post pay plans.
If you just want to do it occasionally, you probably should be fine but just be aware that they can almost immediately tell if you switch em.
I called AT&T and had them switch my iPhone 4 plan to the iPad post pay plan and it's all good!
I was actually surprised that they did it, but ask for a supervisor. The front line reps are not trained well on the new post pay plans.
If you just want to do it occasionally, you probably should be fine but just be aware that they can almost immediately tell if you switch em.
more...
maflynn
May 6, 08:30 AM
You know there's already a couple of threads discussing the features of Lion, why create another?
ahmadof
Nov 28, 06:15 PM
can anyone recommend an external DVD burner that works well with OS X? Specifically, one that intergrates well with the iLife programs. Thanks
h1r0ll3r
May 4, 02:13 PM
how did you reinstall you jb packages?
i never tried just updating, i usually do a full restore, the last one i did i wiped everything of my phone and started fresh cus it was a little sluggish and slow, after that is been running nice and smooth
You reinstall JB packages through Cydia (one by one) or by using AptBackup or PkgBackup or some other app like these.
The update simply overwrites the files on your phone but still keeps everything intact like your music, photos, apps etc. The full restore will wipe out everything making you start from scratch.
I just did a full restore to 4.3.2 since mine was sluggish and slow. You can do either or but I always prefer doing a full restore since it clears everything out.
i never tried just updating, i usually do a full restore, the last one i did i wiped everything of my phone and started fresh cus it was a little sluggish and slow, after that is been running nice and smooth
You reinstall JB packages through Cydia (one by one) or by using AptBackup or PkgBackup or some other app like these.
The update simply overwrites the files on your phone but still keeps everything intact like your music, photos, apps etc. The full restore will wipe out everything making you start from scratch.
I just did a full restore to 4.3.2 since mine was sluggish and slow. You can do either or but I always prefer doing a full restore since it clears everything out.
applemacdude
Sep 17, 08:11 PM
I dont feel like old school even though i registerd in 2001
MayPeng
Apr 19, 11:12 PM
I have a hid device , because its class is 0x03. I use HIDManager and IOServiceMatching(kIOHIDDeviceKey), both can't find device, whether the kernel don't have matching driver, and I must write a hid device driver?
Main code:
method 1:
IOHIDManagerRef mgr;
mgr = IOHIDManagerCreate(kCFAllocatorDefault, kIOHIDOptionsTypeNone);
IOHIDManagerSetDeviceDeviceMatching(mgr, NULL);
IOHIDManagerOpen(mgr, kIOHIDOptionsTypeNone);
CFSetRef device_set = IOHIDManagerCopyDevices(mgr);
CFIndex num_devices = CFSetGetCount(device_set);
....
method 2:
io_iterator_t hidObjectIterator;
CFMutableDictionaryRef hidMatchingDict= IOServiceMatching(kIOHIDDeviceKey);
//add my device pid and vid to hidMatchingDict
.....
IOServiceGetMatchingServices(,,hidObjectIterator);
io_object_t hidDevice;
while(hidDevice = IOIteratorNext(hidObjectIterator))
{...}
As a result, hidDevice = 0;
Main code:
method 1:
IOHIDManagerRef mgr;
mgr = IOHIDManagerCreate(kCFAllocatorDefault, kIOHIDOptionsTypeNone);
IOHIDManagerSetDeviceDeviceMatching(mgr, NULL);
IOHIDManagerOpen(mgr, kIOHIDOptionsTypeNone);
CFSetRef device_set = IOHIDManagerCopyDevices(mgr);
CFIndex num_devices = CFSetGetCount(device_set);
....
method 2:
io_iterator_t hidObjectIterator;
CFMutableDictionaryRef hidMatchingDict= IOServiceMatching(kIOHIDDeviceKey);
//add my device pid and vid to hidMatchingDict
.....
IOServiceGetMatchingServices(,,hidObjectIterator);
io_object_t hidDevice;
while(hidDevice = IOIteratorNext(hidObjectIterator))
{...}
As a result, hidDevice = 0;
Cromulent
Dec 28, 06:01 AM
What is the benefit of getting an invite... I just went online and downloaded the client free....
Being able to create an account to use the client? Otherwise you need to pay for a premium subscription.
Being able to create an account to use the client? Otherwise you need to pay for a premium subscription.
uaecasher
Mar 18, 06:35 AM
Personally, I hate RETAIL as it takes away time from family and other important tasks one needs.. Plus I prefer 9-5 with weekends off. I am an Administrator for a small, family size firm and my hours are not retail.. been there done that - retail has no future, and from what I heard how reps are treated in an apple retail store, a lot complain about the pay which is too low and with gas prices going sky high and food prices also(recession ISN'T OVER, but RE-GENERATING), its impossible to survive on the rate of pay for a retail sales rep.
If you want to make it in the Apple Store, I'd suggest Genius or if you have managerial experience, Store Manager.
I agree with you.
If you want to make it in the Apple Store, I'd suggest Genius or if you have managerial experience, Store Manager.
I agree with you.
longofest
Sep 21, 07:44 AM
But if I was on the same network as you, you very well might show up in the finder side bar account name and all. For people who file sharing is enabled this is a huge flaw.
Agreed. And even though file sharing may not be enabled my default, I'd venture a decent amount of people have had need to turn it on.
Agreed. And even though file sharing may not be enabled my default, I'd venture a decent amount of people have had need to turn it on.
No comments:
Post a Comment