[PHP] Ruzie met mn loginscript...

Gestart doorJosnl2 reacties31 weergaven

3 berichten · pagina 1 van 1

Josnl

Lid · Topicstarter

Berichten
3.461
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Heey allemaal!

Ik ben bezig met een loginscript, alleen wil het me niet echt lukken...

Heb de registratiepagina helemaal zelf gemaakt, maar het inloggedeelte heb ik toch echt met een tutorial moeten doen. emo (www.zoozio.nl staat het nu opsmile
Dus, ziet iemand hier de fout in?

[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"config.php"[/COLOR][COLOR= #007700]);[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]"<form method="[/COLOR]post[COLOR= #DD0000]" action=".$_SERVER[[/COLOR]php_self[COLOR= #DD0000]]."> 
               <table border="[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #DD0000]"> 
               <tr> 
                   <td>Gebruikersnaam:</td> 
                   <td><input type="[/COLOR]text[COLOR= #DD0000]" name="[/COLOR]username[COLOR= #DD0000]" size="[/COLOR][COLOR= #0000BB]20[/COLOR]px[COLOR= #DD0000]" value=".$_POST[[/COLOR]username[COLOR= #DD0000]]." /></td> 
               </tr> 
              
               <tr> 
                   <td>Wachtwoord:</td> 
                   <td><input type="[/COLOR]password[COLOR= #DD0000]" name="[/COLOR]password[COLOR= #DD0000]" size="[/COLOR][COLOR= #0000BB]20[/COLOR]px[COLOR= #DD0000]" value=".$_POST[[/COLOR]password[COLOR= #DD0000]]." /></td> 
               </tr> </table> 

          <input type="[/COLOR]submit[COLOR= #DD0000]" name="[/COLOR]submit[COLOR= #DD0000]" value="[/COLOR]Inloggen[COLOR= #DD0000]" />
          </form>"[/COLOR][COLOR= #007700];[/COLOR]


[COLOR= #0000BB]$myusername[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]];[/COLOR] 
[COLOR= #0000BB]$mypassword[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]password[/COLOR][COLOR= #007700]];[/COLOR]

[COLOR= #0000BB]$myusername[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/stripslashes"]stripslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$myusername[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$mypassword[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/stripslashes"]stripslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$mypassword[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$myusername[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$myusername[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$mypassword[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$mypassword[/COLOR][COLOR= #007700]);[/COLOR]

[COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"SELECT * FROM ledensysteem WHERE username=$myusername and password=$mypassword"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$result[/COLOR][COLOR= #007700]=[/COLOR][URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]

[COLOR= #0000BB]$count[/COLOR][COLOR= #007700]=[/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]);[/COLOR]

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

[URL="http://www.php.net/session_register"]session_register[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"myusername"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/session_register"]session_register[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"mypassword"[/COLOR][COLOR= #007700]);[/COLOR] 
[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"location:login_success.php"[/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]"Uw gebruikersnaam -wachtwoord combinatie is onjuist, probeer het nog een keer!"[/COLOR][COLOR= #007700];
}[/COLOR]

?>


Alvast bedankt voor jullie hulp!
0
Berichten
20.364
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Zoiets, maar dan moet je hem wel nog beveiligen.

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]"config.php"[/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]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]]) ===[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700]||[/COLOR] [URL="http://www.php.net/trim"]trim[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]password[/COLOR][COLOR= #007700]]) ===[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700])
    {[/COLOR]
      [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Uw gebruikersnaam -wachtwoord combinatie is onjuist, probeer het nog een keer!"[/COLOR][COLOR= #007700];
    }[/COLOR]
    [URL="http://www.php.net/else"]else[/URL]
    [COLOR= #007700]{[/COLOR]

[URL="http://www.php.net/session_register"]session_register[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"myusername"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/session_register"]session_register[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"mypassword"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"location:login_success.php"[/COLOR][COLOR= #007700]);[/COLOR]
?>

<form method="post" action="">
               <table border="0">
               <tr>
                   <td>Gebruikersnaam:</td>
                   <td><input type="text" name="username" size="20px" /></td>
               </tr>
              
               <tr>
                   <td>Wachtwoord:</td>
                   <td><input type="password" name="password" size="20px" /></td>
               </tr> </table>

          <input type="submit" name="submit" value="Inloggen" />
          </form>
0
Josnl

Lid · Topicstarter

Berichten
3.461
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik krijg nu opeens een error bij mn laatste tweet script...

Laatste Tweet

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 49: parser error : Entity rsaquo not defined in /home/josnl/domains/zoozio.nl/public_html/twitter.inc.php on line 59

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: <li class="first"><a href="http://twitter.com">Home &rsaquo;</a></li> in /home/josnl/domains/zoozio.nl/public_html/twitter.inc.php on line 59

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/josnl/domains/zoozio.nl/public_html/twitter.inc.php on line 59

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 63: parser error : Entity copy not defined in /home/josnl/domains/zoozio.nl/public_html/twitter.inc.php on line 59

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: <li class="first">&copy; 2010 Twitter</li> in /home/josnl/domains/zoozio.nl/public_html/twitter.inc.php on line 59

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/josnl/domains/zoozio.nl/public_html/twitter.inc.php on line 59


Twitter.php

[COLOR= #0000BB]<?php
    
    $username[/COLOR]        [COLOR= #007700]=[/COLOR]    [COLOR= #DD0000]ZoozioWeb[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// gebruikersnaam[/COLOR]
    [COLOR= #0000BB]$tweetCount[/COLOR]        [COLOR= #007700]=[/COLOR]    [COLOR= #0000BB]3[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// aantal tweets[/COLOR]
    [COLOR= #0000BB]$twitterFeed[/COLOR]     [COLOR= #007700]=[/COLOR]     [COLOR= #DD0000]http://api.twitter.com/1/statuses/user_timeline/[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$username[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000].xml?count=[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$tweetCount[/COLOR][COLOR= #007700];
    
    function[/COLOR] timeAgo[COLOR= #007700]([/COLOR][COLOR= #0000BB]$timestamp[/COLOR][COLOR= #007700])
        {[/COLOR]
            [COLOR= #0000BB]$timestamp[/COLOR]    [COLOR= #007700]=[/COLOR]    [URL="http://www.php.net/strtotime"]strtotime[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$timestamp[/COLOR][COLOR= #007700]);[/COLOR]
            [COLOR= #0000BB]$now[/COLOR]        [COLOR= #007700]=[/COLOR]    [URL="http://www.php.net/time"]time[/URL][COLOR= #007700]();[/COLOR]
            [COLOR= #0000BB]$timediff[/COLOR]    [COLOR= #007700]=[/COLOR]    [URL="http://www.php.net/floor"]floor[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$now[/COLOR] [COLOR= #007700]-[/COLOR] [COLOR= #0000BB]$timestamp[/COLOR][COLOR= #007700]);[/COLOR]
            
            [URL="http://www.php.net/switch"]switch[/URL][COLOR= #007700]([/COLOR]true[COLOR= #007700])
                {
                    case ([/COLOR][COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]60[/COLOR][COLOR= #007700]):[/COLOR]
                    [URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$timediff[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000] secondes geleden[/COLOR][COLOR= #007700];
                    
                    case([/COLOR][COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]>=[/COLOR] [COLOR= #0000BB]60[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]3600[/COLOR][COLOR= #007700]):[/COLOR]
                    [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/floor"]floor[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$timediff[/COLOR]/[COLOR= #0000BB]60[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000] minuten geleden[/COLOR][COLOR= #007700];
                    
                    case([/COLOR][COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]>=[/COLOR] [COLOR= #0000BB]3600[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]7200[/COLOR][COLOR= #007700]):[/COLOR]
                    [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/floor"]floor[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$timediff[/COLOR]/[COLOR= #0000BB]3600[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000] uur geleden[/COLOR][COLOR= #007700];
                    
                    case([/COLOR][COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]>=[/COLOR] [COLOR= #0000BB]7200[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]86400[/COLOR][COLOR= #007700]):[/COLOR]
                    [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/floor"]floor[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$timediff[/COLOR]/[COLOR= #0000BB]3600[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000] uur geleden[/COLOR][COLOR= #007700];
                    
                    case([/COLOR][COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]>=[/COLOR] [COLOR= #0000BB]86400[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]172800[/COLOR][COLOR= #007700]):[/COLOR]
                    [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/floor"]floor[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$timediff[/COLOR]/[COLOR= #0000BB]86400[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000] één dag geleden[/COLOR][COLOR= #007700];
                    
                    case([/COLOR][COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]>=[/COLOR] [COLOR= #0000BB]172800[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]602800[/COLOR][COLOR= #007700]):[/COLOR]
                    [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/floor"]floor[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$timediff[/COLOR]/[COLOR= #0000BB]86400[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000] dagen geleden[/COLOR][COLOR= #007700];
                    
                    case([/COLOR][COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]>=[/COLOR] [COLOR= #0000BB]602800[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]1209600[/COLOR][COLOR= #007700]):[/COLOR]
                    [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/floor"]floor[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$timediff[/COLOR]/[COLOR= #0000BB]602800[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000] één week geleden[/COLOR][COLOR= #007700];
                    
                    case([/COLOR][COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]>=[/COLOR] [COLOR= #0000BB]1209600[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$timediff[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]3026000[/COLOR][COLOR= #007700]):[/COLOR]
                    [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/floor"]floor[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$timediff[/COLOR]/[COLOR= #0000BB]602800[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000] weken geleden[/COLOR][COLOR= #007700];
                    
                    default:[/COLOR]
                    [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/date"]date[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]d-m-Y H:i[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$timestamp[/COLOR][COLOR= #007700]);
                }
        }

        
    
    function[/COLOR] makeLinksClickable[COLOR= #007700]([/COLOR][COLOR= #0000BB]$text[/COLOR][COLOR= #007700])
        {[/COLOR]
            [COLOR= #0000BB]$text[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/preg_replace"]preg_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"#(^|[n ])([w]+?://[w]+[^ "nrt< ]*)#"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"1<a href="2" target="_blank">2</a>"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$text[/COLOR][COLOR= #007700]);[/COLOR]
            [COLOR= #0000BB]$text[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/preg_replace"]preg_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"#(^|[n ])((www|ftp).[^ "tnr< ]*)#"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"1<a href="http://2" target="_blank">2</a>"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$text[/COLOR][COLOR= #007700]);[/COLOR]
            [COLOR= #0000BB]$text[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/preg_replace"]preg_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"/@(w+)/"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"<a href="http://www.twitter.com/1" target="_blank">@1</a>"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$text[/COLOR][COLOR= #007700]);[/COLOR]
            [COLOR= #0000BB]$text[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/preg_replace"]preg_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"/#(w+)/"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"<a href="http://search.twitter.com/search?q=1" target="_blank">#1</a>"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$text[/COLOR][COLOR= #007700]);[/COLOR]
            [URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$text[/COLOR][COLOR= #007700];
        }[/COLOR]
    
    [COLOR= #0000BB]$twitterCurl[/COLOR] [COLOR= #007700]=[/COLOR]     curl_init[COLOR= #007700]();[/COLOR]
                    curl_setopt[COLOR= #007700]([/COLOR][COLOR= #0000BB]$twitterCurl[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_URL[COLOR= #007700],[/COLOR] [COLOR= #0000BB]$twitterFeed[/COLOR][COLOR= #007700]);[/COLOR]
                    curl_setopt[COLOR= #007700]([/COLOR][COLOR= #0000BB]$twitterCurl[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_RETURNTRANSFER[COLOR= #007700],[/COLOR] TRUE[COLOR= #007700]);[/COLOR]
    [COLOR= #0000BB]$twitter[/COLOR]     [COLOR= #007700]=[/COLOR]    curl_exec[COLOR= #007700]([/COLOR][COLOR= #0000BB]$twitterCurl[/COLOR][COLOR= #007700]);[/COLOR]
    [COLOR= #0000BB]$tweets[/COLOR]     [COLOR= #007700]=    new[/COLOR] SimpleXMLElement[COLOR= #007700]([/COLOR][COLOR= #0000BB]$twitter[/COLOR][COLOR= #007700]);[/COLOR]
    
    [URL="http://www.php.net/foreach"]foreach[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tweets[/COLOR][COLOR= #007700]->[/COLOR]status [COLOR= #007700]as[/COLOR] [COLOR= #0000BB]$tweet[/COLOR][COLOR= #007700]) 
        {[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]    [COLOR= #DD0000]<div class="tweet-container">[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]        [COLOR= #DD0000]<div class="tweet-username">[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]            [COLOR= #DD0000]<a href="http://www.twitter.com/[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$tweet[/COLOR][COLOR= #007700]->[/COLOR]user[COLOR= #007700]->[/COLOR]screen_name[COLOR= #007700].[/COLOR][COLOR= #DD0000]">[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$tweet[/COLOR][COLOR= #007700]->[/COLOR]user[COLOR= #007700]->[/COLOR]name[COLOR= #007700].[/COLOR][COLOR= #DD0000]</a>[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]        [COLOR= #DD0000]</div>[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]        [COLOR= #DD0000]<div class="tweet-message">[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]            makeLinksClickable[COLOR= #007700]([/COLOR][COLOR= #0000BB]$tweet[/COLOR][COLOR= #007700]->[/COLOR]text[COLOR= #007700]);[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]        [COLOR= #DD0000]</div>[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]        [COLOR= #DD0000]<div class="tweet-post-datetime">[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]            timeAgo[COLOR= #007700]([/COLOR][COLOR= #0000BB]$tweet[/COLOR][COLOR= #007700]->[/COLOR]created_at[COLOR= #007700]);[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]            [COLOR= #DD0000]<br />[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]        [COLOR= #DD0000]</div>[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL]    [COLOR= #DD0000]</div>[/COLOR][COLOR= #007700];
            
        }[/COLOR]
    
    curl_close[COLOR= #007700]([/COLOR][COLOR= #0000BB]$twitterCurl[/COLOR][COLOR= #007700]);[/COLOR]
?>
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