Jump to content
php.lv forumi
Sign in to follow this  
edi

php faila lejupielade

Recommended Posts

Ir iespejams lejupieladet php failu ta lai tas pec nokacasanas butu gatavs darbam? tas tiek darits caur copy() 

 

 

Share this post


Link to post
Share on other sites

nē, tas nav iespējams.

nu ir piemeram saits un vins tupa visu kaca no tevis caur copy sava mapite files. var vinam izdarit kaut ko?

Share this post


Link to post
Share on other sites

php failus izpilda serveris, rezultātā var iegūt tikai to, kas tiek izvadīts/nosūtīt pārlūkam. Normālā gadījumā tas ir html.

 

Nu nesatraucies, nevienam tāpat tavus mega php skriptus nevajag.

Share this post


Link to post
Share on other sites

php failus izpilda serveris, rezultātā var iegūt tikai to, kas tiek izvadīts/nosūtīt pārlūkam. Normālā gadījumā tas ir html.

 

Nu nesatraucies, nevienam tāpat tavus mega php skriptus nevajag.

neiet jau runa par nekadiem mega skriptiem )) bet par to vai var padot vinam kaut ko tadu ar ko pec tam var darboties. html neskaitas )) 

Edited by edi

Share this post


Link to post
Share on other sites

neiet jau runa par nekadiem mega skriptiem )) bet par to vai var padot vinam kaut ko tadu ar ko pec tam var darboties. html neskaitas )) 

toko vins doma taka shells kurs var novilkt php failus pataisno ka download cik es noprotu un saprotu prata tad tas vis notiek caur GET ....

Share this post


Link to post
Share on other sites

toko vins doma taka shells kurs var novilkt php failus pataisno ka download cik es noprotu un saprotu prata tad tas vis notiek caur GET ....

 

viss notiek ta..

ir links uz saita piem <a href="http://home/lapa.php?down=1111"></a>  atverot linku ar header("Location") tiek padots fails. tam kas to nem visu ir ta

 

 

ka parbauda vai fails eksiste ja ne tad to kas caur header ieprieks  padotais fails tiek lejupieladets files mapite ar copy un pec lejupielades padod failu ka savejo...

 

 

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...