Neps
Reģistrētie lietotāji-
Posts
13 -
Joined
-
Last visited
Neps's Achievements
Newbie (1/14)
-
atradu fishku: 1. phpinfo() Loaded Configuration File D:\PHP\php.ini <iisto PHP jaaizveelaas 2. Environment variables OPENSSL_CONF=C:\usr\local\ssl\openssl.cnf < jaanoraada cnf fails PHPRC=D:\PHP\php.ini < var noraadiit var nenoraadiit 3. php.ini extension=php_openssl.dll < paarbaudam vai taadas fails tur vispaar skalojaas extension_dir=D:\PHP\ext < parasti php direktorijaa 4. apache httpd.conf LoadModule ssl_module modules/mod_ssl.so < nu jaabuut bez ; PHPIniDir "D:/PHP/" < taapeec PHPRC vareeja nenoraadiit LoadModule php5_module "D:/PHP/php5apache2_2.dll" < lai apacis php atrod protams, ka apache un php jaabuut ar ssl supportu jau uzinstaleetiem! Klanos un veelreiz klanos - nepagaaja ne nedeelja ka tiku skaidriibaa!
-
php.exe -i > txt.txt uzraada: phpinfo() PHP Version => 5.2.9-1 System => Windows NT ANIXWRKS-1058- 5.1 build 2600 Build Date => Mar 5 2009 20:01:54 Configure Command => cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template" "--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--enable-htscanner=shared" "--without-pi3web" Server API => Command Line Interface Virtual Directory Support => enabled Configuration File (php.ini) Path => C:\WINDOWS Loaded Configuration File => C:\WINDOWS\php.ini Scan this dir for additional .ini files => (none) additional .ini files parsed => (none) PHP API => 20041225 PHP Extension => 20060613 Zend Extension => 220060519 Debug Build => no Thread Safety => enabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => php, file, data, http, ftp, compress.zlib, compress.bzip2, https, ftps, zip Registered Stream Socket Transports => tcp, udp, ssl, sslv3, sslv2, tls Registered Stream Filters => convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*, bzip2.* bet phpinfo() uzraada: Registered PHP Streams php, file, data, http, ftp, compress.zlib Registered Stream Socket Transports tcp, udp nevaru iebraukt kur ir kljuuda
-
un tad, kad tas ir iepaziits par https raadaas fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
-
PHP Notice: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? i
-
funkcija file_get_contents() - kas jaanokonfiguree apache un php lai shii funkcija vareetu dabuut datus no HTTPS? Saprotams, ka apache ir ar ssl uzinstaleets un nokonfigureets url wrapper=on. Kas veel vajadziigs?
-
iisaak sakot peec 4 stundu smadzenju kustinaashanas man sanaaca: protams, ka padaliishos ar kodu (kursh nav tehniski LJOTI labi izpildiits bet mani apmierina) (PHP variants) shis ir javascripts prieksh SELECT change function changepl(x,y){ allParas = document.getElementsByTagName(\"SELECT\"); num = allParas.length; old=[]; for(i = 0; i < num; i++) { if (i == y && x == 'N/A'){ lnt=allParas[i].length; for (s=0;s<lnt;s++){ old[s]=allParas[i].options[s].value; } for(k = 0; k < num; k++) { elSel = document.getElementById(k); for (h=0;h<old.length;h++){ elOptNew = document.createElement('option'); elOptNew.text =old[h]; elOptNew.value =old[h]; if (old[h]!='N/A'){ rt=0; for (tt=0;tt<elSel.length;tt++){ if (elSel.options[tt].value==old[h]){ rt=1; } } if (rt==0){ elSel.add(elOptNew, null); } } } } }else if (i!=y && x != 'N/A'){ for (j=0;j<allParas[i].length;j++){ if(allParas[i].options[j].value == x && allParas[i].options[j].value!='N/A' && allParas[i].options[j].value!='Select Player') { allParas[i].remove(j); } } } } } un shis ir javaskripts prieksh tabulu radiishanas: (PHP variants) function grupas(){ texts=''; grp=document.getElementById('groupas').value; pla=document.getElementById('play').value; a=parseInt(grp)+1; p=parseInt(pla)+1; texts+=\"<table border=0 cellspacing=0 cellpadding=0>\"; texts+=\" <tr>\"; texts+=\" <td>\"; texts+=\" <table border=0 cellspacing=0 cellpadding=6>\"; texts+=\" <tr>\"; selind=0; for (i=1;i<a;i++){ texts+=\" <td>\"; texts+=\"<table border=0 cellspacing=0 cellpadding=0>\"; texts+=\" <tr>\"; texts+=\" <td colspan=\"+(p+2)+\">\"; texts+=\" Group\"+i; texts+=\" </td>\"; texts+=\" </tr>\"; texts+=\" <tr>\"; texts+=\" <td>\"; texts+=\"<table border=1 cellspacing=0 cellpadding=0>\"; texts+=\" <tr>\"; for (t=1;t<(p+1);t++){ if (t==1){ texts+=\" <td>\"; texts+=\" \"; texts+=\"</td>\"; texts+=\"<td>Player</td>\"; }else{ texts+=\"<td width=20>\"+(t-1)+\"</td>\"; } } texts+=\"</tr>\"; for (l=1;l<p;l++){ texts+=\"<tr>\"; for (j=0;j<(p+1);j++){ tabul=\"<td>\"; tabul+=\" \"; tabul+=\"</td>\"; if (j==0){ tabul=\"<td>\"; tabul+=l; tabul+=\"</td>\"; } if ((j-1)==l){ tabul=\"<td style='background-color: black;'>\"; tabul+=\" \"; tabul+=\"</td>\"; } if (j==1){ tabul=\" <td>\"; tabul+=\"<select id=\"+selind+\" name=player\"+i+l+\" onchange='changepl(this.options[this.selectedIndex].value,\"+selind+\");'>\"; tabul+=\"<option value='N/A'>N/A</option>\"; $opt tabul+=\"</select>\"; selind++; tabul+=\"</td>\"; } texts+=tabul; } texts+=\"</tr>\"; } texts+=\"</table>\"; texts+=\" </td>\"; texts+=\" </tr>\"; texts+=\" </table>\"; texts+=\" </td>\"; if (i==4){ texts+=\" </tr>\"; texts+=\" <tr>\"; } } texts+=\" </tr>\"; texts+=\" </table>\"; texts+=\" </td>\"; texts+=\" </tr>\"; texts+=\"</table>\"; document.getElementById('cells').innerHTML=texts; } kam tas vajadziigs? - nu teiksim biljardaa grupas sastaadiit.
-
ir shaada rinda: <select id=\"+selind+\" name=player\"+i+l+\" onchange='changepl(this.options[this.selectedIndex].value,\"+selind+\");'>\"; bet shii rinda nosuuta jaunizmainiito veertiibu no SELECT. Kaa lai nosuut to veertiibu kuru maina???
-
mans izmanto MySQL Administrator 1.2.10
-
1. tev saakumaa nodefineets ir atbilzhu variantu seciiba masiivaa $variants array( a: ABCD b: BACD c: CABD d: DABC e: utt ) 2. katru reizi, kad jaaparaadaas atbildeem , uztaisi $r=rand(atbilzhu variantu iespeejas); 3. izdrukaa attieciigo variantu variants[$r]; nav programmisiki pareizi bet ideja saprotama
-
vieglaak nav : <input type="file" name="jpgfile" accept="jpg">
-
Nevajag taisīt muļķīgas QUOTEs (bubu) -----------=action.php=------------ <?php $_SESSION['sessija'] = 1; ?> -----------=index.php=------------ <?php session_start() // starteejam sessiju require_once('action.php'); // izsaucam action.php failu echo $_SESSION['sessija']; // printeejam to, ko pieshkjiiraam action.php failaa ?> var arii biki savaadaak