Re: [PHP] error messaages - $DOXPath Wrong

2008-12-05 Thread ddg2sailor
First I would like to thank everyone who reponded to this thread. Your all Great! I took your advice and made these changes //Just the relevant lines not in order $DOXPATH = 'C:\\xampp\\htdocs\\dox\\' // New DOXPATH if (!move_uploaded_file($file['tmp_name'], '$DOXPATH\$file[name]')) //

Re: [PHP] error messaages - $DOXPath Wrong

2008-12-04 Thread ddg2sailor
This is line 40 if (!move_uploaded_file($file["tmp_name"], "$DOXPATH/$file[name]")) Sailor -- View this message in context: http://www.nabble.com/error-messaages---%24DOXPath-Wrong-tp20848918p20848948.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Maili

[PHP] error messaages - $DOXPath Wrong

2008-12-04 Thread ddg2sailor
Hi Here are the error messages: Warning: move_uploaded_file(C: mpp\htdocs\dox/th_dsc_076.jpg) [function.move-uploaded-file]: failed to open stream: Invalid argument in C:\xampp\htdocs\dox.php on line 40 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\xampp\tmp\ph

Re: [PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
/end Thats all she wrote... instead of do_mysql_query , mysql_query instead. Thanks for all your help.. I do however have another issue.. but thats another thread. Sailor chris smith-9 wrote: > > ddg2sailor wrote: >> I have been looking at this code all night and at one point I

Re: [PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
n_frame("Upload", true); print("\n"); print("\n"); print("File(Maximum file size: ".$maxfilesize.")\n"); print("Title(Optional, taken from file name if not specified.)\n"); print("Download URL(Optional, specifies a primary FTP/HTTP downloa

Re: [PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
:32 PM, ddg2sailor <[EMAIL PROTECTED]> wrote: >> >> This is acctualy a very simple code... But I dont know exactly what to do >> with line 18. It looks to be taking something from dox and redefining it >> as >> RES. There is some related code but with syntax is

[PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
This is acctualy a very simple code... But I dont know exactly what to do with line 18. It looks to be taking something from dox and redefining it as RES. There is some related code but with syntax is pretty much has to be this one. //Example// 1024*1024) stderr( _("Error"), _("Sorry, you ne

Re: [PHP] Multiple MySQL INSERT

2008-12-02 Thread ddg2sailor
chris smith-9 wrote: > > ddg2sailor wrote: >> > > >>It's still wrong regardless. > > I dont run the system , However the code I didnt post checks to make sure > the user name or email isnt already in use or in fact was in use but > removed. Diddnt

Re: [PHP] Multiple MySQL INSERT

2008-12-01 Thread ddg2sailor
chris smith-9 wrote: > > ddg2sailor wrote: >> $row = mysql_fetch_array($res); > >> $res = mysql_query("SELECT passhash, editsecret, status FROM users WHERE >> id >> = $id"); >> $row = mysql_fetch_array($res); > > I hope this is a c

[PHP] Multiple MySQL INSERT

2008-12-01 Thread ddg2sailor
Hi People My real problem is that I dont know code. I can sort of edit it in a sloppy more or less works fashion. Any help would be great. This is the code Im having problems with: //Example// $id = 0 + $_GET["id"]; $md5 = $_GET["secret"]; $gig = 1; $giveupload = $gig*1024*1024*1024; $re