Archive: inetc::get invalid command?


inetc::get invalid command?
for some reason i get an error when i have this in my code.

inetc::get /NOPROXY /NOCANCEL "http://google.com" 


it tells me that inetc::get is an invalid command & then says error in script. does anyone know why this is coming up?

Where did you put inetc.dll? If you put it anywhere but NSIS's plugins folder you have to use !addplugindir otherwise it won't find it.

For example, if you want inetc.dll to be in the same directory as your script, you'd add this somewhere in your script before you use inetc::get (I usually place it near the beginning of the script):

!addplugindir .

(the period is important be sure to include it)


thank you very much! this worked perfectly!


Please do not forget to define output file name. /end at the end of line also desirable. And remove plug-in exit code from stack in the next line (may be even check this is "OK" ;) ).


mysql
now im having problems with mysql

<?php include("dbinfo.php"); mysql_connect($host,$username,$password); @mysql_select_db($database) or die( "Unable to select database");


thats my first 3 lines and this is what the error log says:

PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'blah'@'localhost' (using password: NO) in /home/blah/public_html/upload/test.php on line 3

& i have all those vars identified.