Kleine Vragen Topic #2

Gestart doorKingunit3.067 reacties11.764 weergaven

3.068 berichten · pagina 67 van 205

Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Afbeelding

Password is "one2xs"

Database;
Afbeelding niet beschikbaarDe oorspronkelijke afbeelding of link ontbreekt.
Inderdaad anders password dus, volgens hun,

toevoeging op 8 juni 2013, 18:09:17:
Maar ik heb mijzelf al vaak verwijderd en opnieuw geregistreerd en in de database geplaatst, ik weet zeker dat ik mijn wachtwoord altijd juist invul.
0
Berichten
7.498
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sanderc, wil je misschien een nieuw topic aanmaken in webwereld?
Want er komt nu een heel gesprek met allemaal vragen in dit topic.
Dus misschien is het handiger voor een nieuw topic.
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Als ik zo zie lijkt het dat de maximale lengte van je veld te kort schiet.
0
Stef

Lid

Berichten
10.150
Reputatie
2
Punten
0,00
Lid sinds
Laatst gezien
Weet iemand waar bij EERos de HTML en CSS zit?
0
Berichten
14.025
Reputatie
1
Punten
0,01
Lid sinds
Laatst gezien
Ben nu al verder gekomen:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/ini_set"]ini_set[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]display_errors[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]On[/COLOR][COLOR= #007700]);[/COLOR] 
[URL="http://www.php.net/error_reporting"]error_reporting[/URL][COLOR= #007700]([/COLOR]E_ALL[COLOR= #007700]);[/COLOR]

[COLOR= #0000BB]$ftp_server[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/ftp_connect"]ftp_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]xxx[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$ftp_user[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/ftp_login"]ftp_login[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$ftp_server[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]x[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]x[/COLOR][COLOR= #007700]);[/COLOR]


[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$ftp_server[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$ftp_user[/COLOR][COLOR= #007700]) {[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]path[/COLOR][COLOR= #007700]])) {[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/trim"]trim[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]path[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])){[/COLOR]
[COLOR= #0000BB]$path[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]public_html/[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$path[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]path[/COLOR][COLOR= #007700]];
}

}[/COLOR]
[COLOR= #0000BB]$parent[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$path[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/strrpos"]strrpos[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$path[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"/"[/COLOR][COLOR= #007700]));[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/trim"]trim[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$parent[/COLOR][COLOR= #007700]) ==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700]) {[/COLOR]
[COLOR= #0000BB]$parent[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]public_html/[/COLOR][COLOR= #007700];
}[/COLOR]
[COLOR= #0000BB]$lijst[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/ftp_nlist"]ftp_nlist[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$ftp_server[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$path[/COLOR][COLOR= #007700]);[/COLOR]

?>
<a href="/admin/ftp.php?path=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$parent[/COLOR][COLOR= #007700];[/COLOR] ?>">...</a><br />
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/for"]for[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$pages[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #0000BB]$pages[/COLOR] [COLOR= #007700]<[/COLOR] [URL="http://www.php.net/count"]count[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$lijst[/COLOR][COLOR= #007700]);[/COLOR] [COLOR= #0000BB]$pages[/COLOR][COLOR= #007700]++) {[/COLOR]
[COLOR= #0000BB]$files[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000] [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$lijst[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$pages[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$files[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000] [/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$files[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$size[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/ftp_size"]ftp_size[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$ftp_server[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$path[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$files[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]]);[/COLOR]



[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href="/admin/ftp.php?path=[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$path[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]/[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$files[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]">[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$files[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]([/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$size[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000])</a> <br />[/COLOR][COLOR= #007700];

    }

    


}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Kan niet met de FTP service verbinden.[/COLOR][COLOR= #007700];
}[/COLOR]
?>


Nu alleen kijken wanneer het een file is. Hoe kan ik dit doen zonder ftp_size?

toevoeging op 8 juni 2013, 18:55:49:
Aah gevonde: http://nl.php.net/manual/en/function.ftp-chdir.php
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Stefvdwel schreef:
Weet iemand waar bij EERos de HTML en CSS zit?
Kan je niet in de HTML-source kijken? Of zoeken in het hele project met je editor?
0
Stef

Lid

Berichten
10.150
Reputatie
2
Punten
0,00
Lid sinds
Laatst gezien
Aarclay schreef:
Eerdere citaten tonen
Stefvdwel schreef:
Weet iemand waar bij EERos de HTML en CSS zit?
Kan je niet in de HTML-source kijken? Of zoeken in het hele project met je editor?
In de source staat iets heel anders dan in de editor emoHet enigste waar het nog gevonden kan worden is in ckeditor, maar die is zó ingewikkeld.

toevoeging op 8 juni 2013, 19:06:18:
Dit staat in de source:

<style type="text/css">
    img {
        border: 0px;
    }
    body {
        background: #00CCFF;
        color: #787475;
        font-family: Arial;
        font-size: 14px;
    }
    a, a:visited, a:active {
        color: #787475;
        text-decoration: underline;
    }
    a:hover {
        color: #787475;
        text-decoration: none;
    }
    #centered {
        width: 900px;
        margin: 0 auto;
        position: relative;
    }
    #logo {
        font-size: 40px;
        color: #fff;
    }
    #left {
        background: #FFF;
        border: 1px #5C5A5A solid;
        width: 185px;
        float: left;
        overflow: hidden;
        padding-left: 5px;
    }
    #right {
        background: #FFF;
        border: 1px #5C5A5A solid;
        width: 681px;
        margin-left: 10px;
        float: left;
        overflow: hidden;
        padding-left: 5px;
        padding-bottom: 5px;
    }
    /** INFO WORD GEBRUIKT VOOR TITEL AANDUIDINGEN!!!
    JE MOET HEM DUS LATEN STAAN! 
    */
    #info {
        font-size: 24px;
        color: #787475;
    }
    input {
        border: 1px #ccc solid;
        background: #fff;
    }
    textarea {
        border: 1px #ccc solid;
        background: #fff;
    }
    </style>


Maar in de editor staat dat helemaal niet.
0
Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
In de config.php

@Sander wat voor een veld type is wachtwoord? Text?
0
Stef

Lid

Berichten
10.150
Reputatie
2
Punten
0,00
Lid sinds
Laatst gezien
Milan schreef:
In de config.php

@Sander wat voor een veld type is wachtwoord? Text?
Thanks!
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Milan schreef:
In de config.php
@Sander wat voor een veld type is wachtwoord? Text?

Ik gok een te korte VARCHAR.
0
Stef

Lid

Berichten
10.150
Reputatie
2
Punten
0,00
Lid sinds
Laatst gezien
Ik werk niet vaak in MySQL;
Hoe kan ik een row toevoegen met als standaart waarde 0?
0
Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Aarclay schreef:
Eerdere citaten tonen
Stefvdwel schreef:
Weet iemand waar bij EERos de HTML en CSS zit?
Kan je niet in de HTML-source kijken? Of zoeken in het hele project met je editor?
Waarom zou ik die dat moeten geven?
Milan schreef:
In de config.php

@Sander wat voor een veld type is wachtwoord? Text?
password
0
Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik bedoel in database
0
Berichten
7.498
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb een vraagje.
Ik ben bezig met Cookie control scripjte (civicuk*com/cookie-law)
Ik heb nu alles ingesteld zoals het op die website staat.
Maar ik krijg dat schermpje links onderin niet te zien.
Dit zijn de links en de code:

http://www.luuk99.tk/test/cookieControl-5.1.min.js
http://www.luuk99.tk/test/

<script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
<script src="/cookieControl-5.1.min.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
  cookieControl({
      introText:Deze website maakt gebruik van cookies om informatie op jouw computer op te slaan.,
      fullText:<b>Cookie<b><br><br>Een cookie of magic cookie is een hoeveelheid data die een server naar de browser stuurt met de bedoeling dat deze opgeslagen wordt en bij een volgend bezoek weer naar de server teruggestuurd wordt.<br> Zo kan de server de browser opnieuw herkennen en bijhouden wat de gebruiker, c.q. de webbrowser, in het verleden heeft gedaan.<br> Een dergelijk historie is bijvoorbeeld voor marketingdoeleinden interessant.<br> Vanwege de privacyaspecten is het gebruik van cookies, dat zich veelal aan het oog van de internetgebruiker onttrekt, in deze situaties omstreden.<p>By using our site you accept the terms of our <a href="http://www.luuk99.tk/">Privacy Policy</a>.</p>,
      position:left, // left or right
      shape:triangle, // triangle or diamond
      theme:light, // light or dark
      startOpen:true,
      autoHide:20000,
      subdomains:false,
      protectedCookies: [], //list the cookies you do not want deleted [analytics, twitter]
      consentModel:explicit,
      onAccept:function(){ccAddAnalytics()},
      onReady:function(){},
      onCookiesAllowed:function(){ccAddAnalytics()},
      onCookiesNotAllowed:function(){},
      countries:Nederlands // Or supply a list [United Kingdom, Greece]
      });

      function ccAddAnalytics() {
        jQuery.getScript("http://www.google-analytics.com/ga.js", function() {
          var GATracker = _gat._createTracker();
          GATracker._trackPageview();
        });
      }
   //]]>
</script> 

Cookie test


Ziet iemand wat ik fout doe?
0
Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Milan schreef:
Ik bedoel in database
varchar
Afbeelding
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren