Html-, css- és php-help
Jelentkezz be a hozzászóláshoz.
'_aqb_aff_nothing_found' => 'Sorry, nothing found',
Egy olyan szerkesztõt keresnék, amivel sorról sorra a ' ' jelek között tudok lépkedni, kijelölve a köztük lévõ szöveget.
Ismer valaki ilyet?
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
ASUS B550-PLUS, AMD 5600X, 32 GB DDR4, EVGA RTX 3070, SM-OB1, HD 600 + Asus Xonar DX, TonePort UX1 + Alesis Elevate 5, Novation Circuit \o/
Amiket próbáltam:
- Felnagyítom a canvast és megjelenítem a szerkesztett felületet úgy hogy kitöltse.
-- .toDataURL() ekkora képnél összeomlasztja a böngészõt, így se kliens se szerver oldalra nem lehet menteni ezzel a módszerrel.
-- screenGrab addon ekkora képet nem hajlandó lementeni.
Használjak imagemagick-et? Állítólag szarul forgatja a képeket és elég körülményes is a használata. És hogy mennyire bírja a 8-10 megapixeles fényképek méretezését, forgatását az is kérdéses.
Vagy fel lehetne rácsozni a canvast és darabonként kimenteni a képeket .toDataURL()-el aztán majd a laborgépen valahogy összerakni...
Vagy esetleg tudtok valamilyen dll-t, apit amire könnyû lenne írni algoritmust hogy összerakosgassa a képeket? Olyan kellene ami igényesen forgat és méretez, ne legyen pixeles
thx elõre is :]
Van egy õsrégi Videoton kazettás rádiónk, annak a tetején vannak olyan gombok(hullámhossz-tartomány váltók), amiket ha benyomsz, akkor a másik többit kilövik. Gondolom innen származik a radiobutton elnevezés 😊
ASUS B550-PLUS, AMD 5600X, 32 GB DDR4, EVGA RTX 3070, SM-OB1, HD 600 + Asus Xonar DX, TonePort UX1 + Alesis Elevate 5, Novation Circuit \o/
ASUS B550-PLUS, AMD 5600X, 32 GB DDR4, EVGA RTX 3070, SM-OB1, HD 600 + Asus Xonar DX, TonePort UX1 + Alesis Elevate 5, Novation Circuit \o/
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
Elég akkor csak arra rá keresnem hogy radio buttont hogy kell submitolni?
[O_O] (.)(.)
[O_O] (.)(.)
De, ha utólag adsz valami hozzá JS-tel és úgy submitolod, akkor nem látszik ? (mármint konkrétan, arra vagy kíváncsi, hogy radio-t, hogy kell feldolgozni vagy submitolni?) Ha nem, akkor meg JS-tel megnézed melyik van check-elve, aztán akár a háttérben elküldöd AJAX-szal vagy nem. (ha igazából ez mind megy és magasabb szintû a probléma, akkor bocsi 😄)
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
ASUS B550-PLUS, AMD 5600X, 32 GB DDR4, EVGA RTX 3070, SM-OB1, HD 600 + Asus Xonar DX, TonePort UX1 + Alesis Elevate 5, Novation Circuit \o/
Az ellenõrzés:
<?php
function checkDomain($domain,$server,$findText){
// Open a socket connection to the whois server
$con = fsockopen($server, 43);
if (!$con) return false;
// Send the requested domain name
fputs($con, $domain."\r\n");
// Read and store the server response
$response = ' :';
while(!feof($con)) {
$response .= fgets($con,128);
}
//Close the connection
fclose($con);
// Check the response stream whether the domain is available
if (strpos($response, $findText)){
return true;
}
else {
return false;
}
}
function showDomainResult($domain,$server,$findText){
if (checkDomain($domain,$server,$findText)){
echo "<tr><td>$domain</td><td>AVAILABLE</td></tr>";
print '<input type="radio" name="radiobtn" value=$domain checked/>'.$domain;
}
else echo "<tr><td>$domain</td><td>TAKEN</td></tr>";
}
?>
<!DOCTYPEÂ html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<body>
<form action="<?php echo $_SERVER<'PHP_SELF'>'PHP_SELF'>; ?>" method="post" name="domain">
Domain name:
<table width="155" height="368">
<tr>
<td> </td>
<td><input name="domainname" type="text" /></td></tr>
<tr>
<td width="30"> </td>
<td><input type="checkbox" name="hu" checked/>.hu</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="eu" checked/>.eu</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="com" checked/>.com</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="net" checked/>.net</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="org" checked/>.org</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="info" checked/>.info</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="biz" checked/>.biz</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="name" checked/>.name</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="cc" checked/>.cc</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="tv" checked/>.tv</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="de" checked/>.de</td></tr>
<tr>
<td> </td>
<td><input type="checkbox" name="at" checked/>.at</td></tr>
<tr>
<td> </td>
<td><input type="submit" name="submitBtn" value="Check domain"/></td></tr>
</table>
<table width="155" border="1">
<tr>
<td height="50" width="100"><?php
// The form was submitted
if (isset($_POST<'submitBtn'>'submitBtn'>)){
$domainbase = (isset($_POST<'domainname'>'domainname'>)) ? $_POST<'domainname'>'domainname'> : '';
$d_hu = (isset($_POST<'hu'>'hu'>)) ? 'hu' : '';
$d_eu = (isset($_POST<'eu'>'eu'>)) ? 'eu' : '';
$d_com = (isset($_POST<'com'>'com'>)) ? 'com' : '';
$d_net = (isset($_POST<'net'>'net'>)) ? 'net' : '';
$d_org = (isset($_POST<'org'>'org'>)) ? 'org' : '';
$d_info = (isset($_POST<'info'>'info'>)) ? 'info' : '';
$d_biz = (isset($_POST<'biz'>'biz'>)) ? 'biz' : '';
$d_name = (isset($_POST<'name'>'name'>)) ? 'name' : '';
$d_cc = (isset($_POST<'cc'>'cc'>)) ? 'cc' : '';
$d_tv = (isset($_POST<'tv'>'tv'>)) ? 'tv' : '';
$d_de = (isset($_POST<'de'>'de'>)) ? 'de' : '';
$d_at = (isset($_POST<'at'>'at'>)) ? 'at' : '';
// Check domains only if the base name is big enough
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_hu != '')
showDomainResult($domainbase.".hu",'whois.nic.hu', 'No match');
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_eu != '')
showDomainResult($domainbase.".eu",'whois.eu','AVAILABLE'); // jó majd késõbb
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_com != '')
showDomainResult($domainbase.".com",'whois.crsnic.net','No match for');
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_net != '')
showDomainResult($domainbase.".net",'whois.crsnic.net','No match for');
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_org != '')
showDomainResult($domainbase.".org",'whois.publicinterestregistry.net','NOT FOUND');
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_info != '')
showDomainResult($domainbase.".info",'whois.afilias.net','NOT FOUND');
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_biz != '')
showDomainResult($domainbase.".biz",'whois.nic.biz','Not found');
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_name != '')
showDomainResult($domainbase.".name",'whois.nic.name','No match');
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_cc != '')
showDomainResult($domainbase.".cc",'whois.nic.cc','No match');
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_tv != '')
showDomainResult($domainbase.".tv",'whois.nic.tv','No match for');
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_de != '')
showDomainResult($domainbase.".de",'whois.denic.de','free');
echo '</table>';
}
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_at != '')
showDomainResult($domainbase.".at",'whois.nic.at', 'nothing found');
echo ' </table>';
if ($domainbase != '')
{ print '<input name="megrendbtn" type="submit" value="Megrendelés" />';
}
echo $_POST<'radiobtn'>'radiobtn'>;
header("megrendeles.php?radiobtn=".$domain);
exit;
}
}
?></td>
</tr>
</table>
</form>
</body>
Elõre is köszönöm a segítséget.
[O_O] (.)(.)
ebben a topikban, cat 02 csinált egy olyat, hogy bárki beirhatja a telefonja tipusat satobbi egy formon + az appbrain nevet. ez az appbraines annyit csinal, hogy ilyenkor kirek egy logot a fejlecbe, es ha rakattintunk akkor elojon egy kis ablak a telojan levo appokkal. namost chrome alatt ez egyaltalan nem megy :/
ASUS B550-PLUS, AMD 5600X, 32 GB DDR4, EVGA RTX 3070, SM-OB1, HD 600 + Asus Xonar DX, TonePort UX1 + Alesis Elevate 5, Novation Circuit \o/
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
Ehhez valaki tud valami scriptet amivel betudnám illeszteni????
Tapasztalt webprogramozót keresek egy viszonylag nagy melóhoz. Design tudás nem szükséges, a lényeg, hogy php menjen lehetõleg minél jobban. 😊
Részleteket nem szeretnék itt írni, ha valakit érdekel, van ideje, illetve szeretne egy kis pénzt (véleményem szerint nagyon is jó fizetést) az írjon rám privátban és megbeszéljük.
Várom a jelentkezõket! 😊
... got nothin to share with you...
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
Nem tudom pontosan hogy mûködik, de valami módon talán tehermentesítheti az eredeti szervert, különben nem mûködne az egész.
Aki esetleg többet tud a pontos mûködésérõl leírhatná, nagyon örülnék neki, ha nem csak valami szimpla cache rendszer lenne, hanem dinamikus tartalmak esetén is hatékony lenne. Nekem egy masszív AJAX-os projecthez jönne nagyon jól, de sajnos nem igazán tartom elképzelhetõnek, hogy egy ilyen nearly-realtime rendszert képes lenne szerverkímélõbbé tenni, mert mindig friss adatokkal kéne dolgoznia a frontend renderernek.
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
(¯`•.¸¸.•´¯`•.¸¸.•~>
CSS-ben pedig:
.jobbra_link
{
//css kód
}
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
<a href="http://www.discogs.com/artist/Jesse+Somfay">Discogs</a>
<a href="http://www.flickr.com/photos/jessesomfay">Flickr</a>
es szeretnek mind a kettonek sajat stylt adni css-el azt hogy tudom megoldani?? pl eggyiket szeretnem jobbra a masikat meg ballra igazitani.
Elore is koszi
(¯`•.¸¸.•´¯`•.¸¸.•~>
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
[O_O] (.)(.)
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
[O_O] (.)(.)
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
Az adatokat így kérem le:
if (strlen($domainbase)>2){
echo '<table width="100%">';
if ($d_org != '')
showDomainResult($domainbase.".org",'whois.verisign-grs.com','No match for');
echo '</table>';
}
A "whois.verisign-grs.com" szerverre csatlakozik rá, de van olyan weboldal aminél azt dobja ki hogy szabad, miközben foglalt.
A .eu-ra meg nincsen konkrét whois szerver amit tudnék használni.
Elõre is köszönöm a segítséget
[O_O] (.)(.)
“A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable” _____/|_____\o/___ Cápatámadás
Legegyszerûbb, ha minden UTF-8, manapság már sávszél túlterhelés minimális.
Ha dinamikus tartalom és adatbázisból veszed, akkor az adatbázis tábla is megfelelõ coallitionben legyen és a php-adatbázis kapcsolatot is érdemes beállítani UTF8-ra.
Npp-ben ne csak Encode in UTF-8-ra bökj rá, hanem a Convert to UTF-8 without BOM-ra!
(\__/) ( X.x) ( } . { )