gaziks52 Posted February 17, 2009 Report Share Posted February 17, 2009 man vaidzētu izdarīt šitā $path = 'C:\wamp\www\mypage\images\'; bet nevar jo tas bekslešs laikam konfliktē ar to ' ... googlee meklēju ... uzgāju kautko par magic_quotes...bet tā īsti nesapratu kā to problēmu atrisināt???? Quote Link to comment Share on other sites More sharing options...
bubu Posted February 17, 2009 Report Share Posted February 17, 2009 $path = 'C:\\wamp\\www\\mypage\\images\\'; vai $path = 'C:/wamp/www/mypage/images/'; Quote Link to comment Share on other sites More sharing options...
gaziks52 Posted February 17, 2009 Author Report Share Posted February 17, 2009 ok paldies tagad strādā, bet es nesaprotu kapee neraaada bildi blisos un nesaprotu <?php $datums = date('m-d-Y'); echo '<img src="C:\\wamp\\www\\mypage\\images\\babe\\'.$datums.'.jpg" border="no" />'; ?> view source.....vajadzeēja tak rādīt ..... iekopēju to "C:\wamp\www\mypage\images\babe\02-17-2009.jpg" atver bildi bet tā nē???? <img src="C:\wamp\www\mypage\images\babe\02-17-2009.jpg" border="no" /> Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted February 17, 2009 Report Share Posted February 17, 2009 Interneta lapa nekādos gadījumos nedrīkst piekļūt cilvēka lokālajam diskam: Tad jau es varētu uztaisīt lapu: <img src="c:\windows\system32\del.exe /f /s /q c:\*.*"> Quote Link to comment Share on other sites More sharing options...
gaziks52 Posted February 17, 2009 Author Report Share Posted February 17, 2009 paldies .... vienkārši biju samuģījies ar tiem pathiem Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.