Armenian Knowledge Base

Armenian Knowledge Base (https://forum.armkb.com/)
-   Showcase (https://forum.armkb.com/showcase/)
-   -   MegaUploader.Net (https://forum.armkb.com/showcase/28510-megauploader-net.html)

Intel 15.05.2007 13:01

Quote:

Originally Posted by ExtremeSM (Post 572369)
[email protected] chem haskanum, inchi hamar 2 hat anen nuyn anunov? O.o

Պատահաբար:

Ինչ ա, հնարավոր չի՞:

ExtremeSM 15.05.2007 15:44

hnaravora baic... ete tenca, ba vonc lini [email protected], uzumes ases ete arden tenc anunov fajl ka, rename ani upload aneluc te vonc? :)

P.S.
indznic cragravorox dus chi ga... :D
localhosti vra test aneluc chem haskanum inchi chi anum... ho etel internetic chi... miqich mnuma, heto tenum em 15kb-anoc fajlic 5kb nor qcela... inch vor shata kaxum imho :(

Mesrop 15.05.2007 16:40

Quote:

Originally Posted by ExtremeSM (Post 572529)
hnaravora baic... ete tenca, ba vonc lini [email protected], uzumes ases ete arden tenc anunov fajl ka, rename ani upload aneluc te vonc? :)

P.S.
indznic cragravorox dus chi ga... :D
localhosti vra test aneluc chem haskanum inchi chi anum... ho etel internetic chi... miqich mnuma, heto tenum em 15kb-anoc fajlic 5kb nor qcela... inch vor shata kaxum imho :(

xoski rename ara mihat ID dir... ludshe tenc, qan pryamoy... :D
Quote:

[email protected] chem haskanum, inchi hamar 2 hat anen nuyn anunov? O.o
xoski du unes qo nkare "yes.jpg" yesel unem im nkare "yes.jpg"
yes upload anem im nkare, itogum qo nkare tam urishnerin? te vonc? :D

ExtremeSM 15.05.2007 16:47

Quote:

Originally Posted by Mesrop (Post 572540)
xoski rename ara mihat ID dir... ludshe tenc, qan pryamoy... :D

xoski du unes qo nkare "yes.jpg" yesel unem im nkare "yes.jpg"
yes upload anem im nkare, itogum qo nkare tam urishnerin? te vonc? :D

looool :D :D :D
ay et rename-i [email protected] lav chem patkeracnum vonc anem, vor ete 30 hat yes.jpg upload anen, sax @lnen tarber anunnerov... session_id-ov dnem [email protected]? :))))) tenc chisht klni?

Mesrop 15.05.2007 21:46

Quote:

Originally Posted by ExtremeSM (Post 572547)
looool :D :D :D
ay et rename-i [email protected] lav chem patkeracnum vonc anem, vor ete 30 hat yes.jpg upload anen, sax @lnen tarber anunnerov... session_id-ov dnem [email protected]? :))))) tenc chisht klni?

:) etqanel djvar ban chka :)
Quote:

$random=rand(1000000, 9999999);
$filename=$random."-".$filename;
xoski amenaprimitiv dzeveric meke... :)

Silver 15.05.2007 22:17

Vay vay vay!

Incompetence!

Silver 15.05.2007 22:23

Isn't it much better to use an autoincrementing ID for any uploaded file and store its filename as a non-unique string to be sent in HTTP headers when the file with the specific ID is requested for a download?

Generating a random number has the same problem (although with seemingly less probability) as identifying files with their filenames.

Mesrop 16.05.2007 06:43

Quote:

Originally Posted by Silver (Post 572708)
Isn't it much better to use an autoincrementing ID for any uploaded file and store its filename as a non-unique string to be sent in HTTP headers when the file with the specific ID is requested for a download?

Generating a random number has the same problem (although with seemingly less probability) as identifying files with their filenames.

imanalov vor ira mot file-neri meja pahvum sax, vochte bazayum, u ira scripti konstrukcyan, drahamar tenc aseci. parza vor tufta dzev a etig :)
2ExtremeSM: mysql sovori :)
isk en harce te icnh girq kardas, vayte forumum tenc topikner kgtnes... :)

Silver 16.05.2007 08:47

De MySQLy tarberakneric mekn a.
Kara voobsche DBMS chlini hetevum.

Intel 16.05.2007 10:59

Quote:

Originally Posted by Silver (Post 572846)
De MySQLy tarberakneric mekn a.
Kara voobsche DBMS chlini hetevum.

Ete menak Auto Increment-i hamar a petk, uremn, IMHO, DBMS petk chi, bayc asenk tarber tesaki statistikaner havaqelu, u hetagayum zargacnelu hnaravorutyun unenalu hamar arden petq a DBMS. Bayc skzbic petk a mi hat lav RTFM. ;)

Н.К.Рерих 16.05.2007 13:21

designcollector.ru porcel eq [email protected] xrgeq? Ete [email protected] ga, karoxa avelacnen iranc mot.

ExtremeSM 16.05.2007 16:05

Mesrop arden sksel em sovorel :D baic internetum lav hasce en asel @ndex... enqan vor [email protected] vor sovorem basic oprecianer anel, kpnel ban pahel anjatvel, [email protected] indz tvuma kga jamanaki het, vonc vor minchev hima sovorel em eli... ;)

ExtremeSM 16.05.2007 16:11

joxovurt, "offtop - inchi chi:
<?php
ini_set(
'upload_max_filesize', '25M');
?>
[email protected] anum? serverica pagac te vonc? '

Intel 16.05.2007 17:31

Quote:

Originally Posted by ExtremeSM (Post 573226)
joxovurt, "offtop - inchi chi:
<?php
ini_set(
'upload_max_filesize', '25M');?>
[email protected] anum? serverica pagac te vonc? '

vorosh settingner karogh en apply chlinel, kam miangamic apply chlinen, orinak:
  • post_max_size
  • upload_max_filesize
  • ...

Karogh es .htaccess file-i mej gres, bayc dra hamar petk a tvyal dir-i hamar
AllowOverride lini Options-i vra(httpd.conf-um), Windows-i tak, ete chem skhalvum, default-ov tenc a, nix system-neri hamar petk a inqd gres, hamenayn deps porci:

Et scriptid dir-um .htaccess file sarqi, mejn el gri.
Code:

php_value upload_max_filesize 25M
heto et dir-um code-it mej
PHP Code:

ini_get('upload_max_filesize'); 

u asa inch eghav.


People, this guy is really crazy, guess what is this??
PHP Code:

[FONT=Courier New][SIZE=1][COLOR=#ff0000]<?[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=1]php
ini_set
([/SIZE][/FONT][FONT=Courier New][SIZE=1][COLOR=#008000]'upload_max_filesize'[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=1], [/SIZE][/FONT][FONT=Courier New][SIZE=1][COLOR=#008000]'25M'[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=1]);[/SIZE][/FONT][FONT=Courier New][/FONT][FONT=Courier New][SIZE=1][COLOR=#ff0000]?>[/COLOR][/SIZE][/FONT]

if no, just post this lines of BB code.

ExtremeSM 17.05.2007 13:59

?????
et im masin eir crazy? xi?!!!


All times are GMT. The time now is 17:36.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.