I noticed when I copied the script from Chris' site that the second variable you change to '$name' showed as a double-quote character, which if copied directly, would likely cause a SQL error. You could change it to 2 single quotes '', but Guardian's idea of using the $name variable might be useful for descriptive purposes.
INSERT INTO `nuke_downloads_downloads` VALUES (1, 1, 0, 'dod1.3_enhancement_pack', 'http://mysite.com/homefries/dod_files/dod1.3_enhancement_pack.exe', 'the dod1.3_enhancement_pack includes an FPS & Ping booster as well as 16 custom crosshairs you can toggle through while playing,a custom VGUI for changing classes,font fixes for amxstats and also ingame wave files that have been reduced or amplified to make the game more pleasant to play.', '2006-11-24 13:41:49', 'ThePowerCosmic', 'Webmaster@mysite.com', 141, '', 0.0000, 0, 0, 13, '1.5 final', 'http://mysite.com');
Joined: Aug 30, 2005 Posts: 243 Location: Flying to close to the sun
Posted:
Sat Dec 23, 2006 11:49 pm
BTW, i just want to say that the help i receive from the people on this site is invaluable and I never want anyone to think that i'm just too lazy to do things for myself or to learn. believe me i really try.. So please always let me know if you feel you need to be compensated for your time. i am more then willing to pay you for your knowledge and expertise.
Last edited by thebishop on Sun Dec 24, 2006 6:47 am; edited 1 time in total
Joined: Aug 30, 2005 Posts: 243 Location: Flying to close to the sun
Posted:
Sun Dec 24, 2006 6:45 am
Ok i thought this had not worked because mySQL barked an error at me and did not say SUCCESS. so my first email to you had the original script, then after noticing my two new downloads on my site I remailed you the script with the edit you posted above.
Joined: Aug 30, 2005 Posts: 243 Location: Flying to close to the sun
Posted:
Fri Jan 12, 2007 4:16 am
I tested this script the other day and added 271 new downloads in under two minutes. The script now works great. it's a breeze to add a ton of downloads now.
Last edited by thebishop on Fri Jan 12, 2007 1:47 pm; edited 1 time in total
Joined: Aug 30, 2005 Posts: 243 Location: Flying to close to the sun
Posted:
Fri Jan 12, 2007 7:23 pm
Chatserv got it working for me, i just created the .htaccess file and the new readme because there wasn't really any instructions for it except in the nuke how too.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum