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
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
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
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
: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
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
/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
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
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
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]'))
//
10 matches
Mail list logo