Also kannst du keine Verbindung herstellen? Wo hast du deine Datenbank denn? Ging es mal? Irgendein Freehoster der eventuell keinen externen Zugriff zulässt? MySQL Debug?
Beiträge von Pablo Borsellino
-
-
Der Titel sagt nichts über dein Problem aus, änder das bitte. Und dein Problem kann man nicht wirklich verstehen.
-
Sieht alles sehr schlecht aus finde ich, nur das Wallpaper hat irgendetwas nur nicht als Wallpaper.
-
Geld für Knallkram finde ich seit unzählbaren Jahren schwachsinnig, habe aber kein Problem damit, früher fand ich das auch faszinierend. Und für Alkohol oder sonst was ausgeben ist auch nicht das wahre, also ist unsere Generation kein Stück besser.
-
Ist mir bewusst aber benutze nen Online Parser deswegen brauche ich das gar nicht, der gibt es mir schön übersichtlich aus.
-
Code
Array ( [meta] => Array ( [code] => 200 ) [data] => Array ( [attribution] => [tags] => Array ( ) [type] => image [location] => [comments] => Array ( [count] => 112 [data] => Array ( [0] => Array ( [created_time] => 1384645327 [text] => Second pic lol [from] => Array ( [username] => animals_video [profile_picture] => http://images.ak.instagram.com/profiles/profile_507102035_75sq_1387769248.jpg [id] => 507102035 [full_name] => Animals Videos ) [id] => 590770287964853240 ) [1] => Array ( [created_time] => 1384982100 [text] => بس بتقعدو Ù†ØØ³Ø¨ÙˆÙ† جم صورة [from] => Array ( [username] => rana_algayeb [profile_picture] => http://images.ak.instagram.com/profiles/profile_286790517_75sq_1367356991.jpg [id] => 286790517 [full_name] => rana_algayeb ) [id] => 593595338439266652 ) [2] => Array ( [created_time] => 1385205364 [text] => @doom_aldhaheri second picture on Instagram [from] => Array ( [username] => gum_22 [profile_picture] => http://images.ak.instagram.com/profiles/profile_374082553_75sq_1368222715.jpg [id] => 374082553 [full_name] => GUM ) [id] => 595468215333687987 ) [3] => Array ( [created_time] => 1385589399 [text] => هههههه تتوقع @mishary98f [from] => Array ( [username] => o__0e [profile_picture] => http://images.ak.instagram.com/profiles/profile_659478167_75sq_1385828508.jpg [id] => 659478167 [full_name] => اناقه ) [id] => 598689736361513715 ) [4] => Array ( [created_time] => 1386962839 [text] => هههههههه [from] => Array ( [username] => younis4433 [profile_picture] => http://images.ak.instagram.com/profiles/profile_316936249_75sq_1386241067.jpg [id] => 316936249 [full_name] => ^يونس^ ) [id] => 610210979120157002 ) [5] => Array ( [created_time] => 1387797789 [text] => ولله طلعنا ذيابة العرب غزوا ØµÙØØ© ØØ³Ø§Ø¨Ù‡ هههههه [from] => Array ( [username] => maged_boqami [profile_picture] => http://images.ak.instagram.com/profiles/profile_823160050_75sq_1388318130.jpg [id] => 823160050 [full_name] => ماجد البقمي ) [id] => 617215047529140229 ) [6] => Array ( [created_time] => 1388140778 [text] => ثاني صورة ÙÙŠ الانستغرام [from] => Array ( [username] => m_h_i_you [profile_picture] => http://images.ak.instagram.com/profiles/profile_334386359_75sq_1387718155.jpg [id] => 334386359 [full_name] => moadah Al_omran ) [id] => 620092251623657537 ) [7] => Array ( [created_time] => 1388321855 [text] => ثاني صورة خخ [from] => Array ( [username] => wafooya1987 [profile_picture] => http://images.ak.instagram.com/profiles/profile_213165764_75sq_1388230090.jpg [id] => 213165764 [full_name] => wafooya1987 ) [id] => 621611236877931175 ) ) ) [filter] => Normal [created_time] => 1279315783 [link] => http://instagram.com/p/D/ [likes] => Array ( [count] => 8407 [data] => Array ( [0] => Array ( [username] => faisalxdf [profile_picture] => http://images.ak.instagram.com/profiles/profile_490901376_75sq_1385320759.jpg [id] => 490901376 [full_name] => ~^مــعــلــومــات~^ ✨⤠) [1] => Array ( [username] => bndosh_malik [profile_picture] => http://images.ak.instagram.com/profiles/profile_543199489_75sq_1388338175.jpg [id] => 543199489 [full_name] => bndosh_malik ) [2] => Array ( [username] => falajmanii [profile_picture] => http://images.ak.instagram.com/profiles/profile_419661285_75sq_1387552427.jpg [id] => 419661285 [full_name] => Fatima Jassem ) [3] => Array ( [username] => abohmod00 [profile_picture] => http://images.ak.instagram.com/profiles/profile_606397926_75sq_1384546316.jpg [id] => 606397926 [full_name] => ♡الهلال..برشلونة♥ ) ) ) [images] => Array ( [low_resolution] => Array ( [url] => http://distillery.s3.amazonaws.com/media/2010/07/16/4de37e03aa4b4372843a7eb33fa41cad_6.jpg [width] => 306 [height] => 306 ) [thumbnail] => Array ( [url] => http://distillery.s3.amazonaws.com/media/2010/07/16/4de37e03aa4b4372843a7eb33fa41cad_5.jpg [width] => 150 [height] => 150 ) [standard_resolution] => Array ( [url] => http://distillery.s3.amazonaws.com/media/2010/07/16/4de37e03aa4b4372843a7eb33fa41cad_7.jpg [width] => 612 [height] => 612 ) ) [users_in_photo] => Array ( ) [caption] => [user_has_liked] => [id] => 3_3 [user] => Array ( [username] => kevin [website] => [profile_picture] => http://images.ak.instagram.com/profiles/profile_3_75sq_1325536697.jpg [full_name] => Kevin Systrom [bio] => [id] => 3 ) ) )
Wobei für mich ja der Teil von Bedeutung ist:
.. [images] => Array ( .. [standard_resolution] => Array ( http:// http://=> [url]http://distillery.s3.amazonaws.com/media/2010/07/16/4de37e03aa4b4372843a7eb33fa41cad_7.jpg .. ) ) ..[/code]
Der eindeutig vorhanden ist.Mein Fehler, habe das [data] weggelassen. Klappt nun! Danke.
-
Gibt wie bereits gesagt nichts aus.
-
Schon mal einen Schritt weiter, danke!
Nun erhalte ich wie gewünscht den Code:
Code{"meta":{"code":200},"data":{"attribution":null,"tags":[],"type":"image","location":null,"comments":{"count":112,"data":[{"created_time":"1384645327","text":"Second pic lol","from":{"username":"animals_video","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_507102035_75sq_1387769248.jpg","id":"507102035","full_name":"Animals Videos"},"id":"590770287964853240"},{"created_time":"1384982100","text":"\u0628\u0633 \u0628\u062a\u0642\u0639\u062f\u0648 \u0646\u062d\u0633\u0628\u0648\u0646 \u062c\u0645 \u0635\u0648\u0631\u0629","from":{"username":"rana_algayeb","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_286790517_75sq_1367356991.jpg","id":"286790517","full_name":"rana_algayeb"},"id":"593595338439266652"},{"created_time":"1385205364","text":"@doom_aldhaheri second picture on Instagram","from":{"username":"gum_22","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_374082553_75sq_1368222715.jpg","id":"374082553","full_name":"GUM"},"id":"595468215333687987"},{"created_time":"1385589399","text":"\u0647\u0647\u0647\u0647\u0647\u0647 \u062a\u062a\u0648\u0642\u0639 @mishary98f","from":{"username":"o__0e","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_659478167_75sq_1385828508.jpg","id":"659478167","full_name":"\u0627\u0646\u0627\u0642\u0647"},"id":"598689736361513715"},{"created_time":"1386962839","text":"\u0647\u0647\u0647\u0647\u0647\u0647\u0647\u0647","from":{"username":"younis4433","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_316936249_75sq_1386241067.jpg","id":"316936249","full_name":"^\u064a\u0648\u0646\u0633^"},"id":"610210979120157002"},{"created_time":"1387797789","text":"\u0648\u0644\u0644\u0647 \u0637\u0644\u0639\u0646\u0627 \u0630\u064a\u0627\u0628\u0629 \u0627\u0644\u0639\u0631\u0628 \u063a\u0632\u0648\u0627 \u0635\u0641\u062d\u0629 \u062d\u0633\u0627\u0628\u0647 \u0647\u0647\u0647\u0647\u0647\u0647","from":{"username":"maged_boqami","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_823160050_75sq_1388318130.jpg","id":"823160050","full_name":"\u0645\u0627\u062c\u062f \u0627\u0644\u0628\u0642\u0645\u064a"},"id":"617215047529140229"},{"created_time":"1388140778","text":"\u062b\u0627\u0646\u064a \u0635\u0648\u0631\u0629 \u0641\u064a \u0627\u0644\u0627\u0646\u0633\u062a\u063a\u0631\u0627\u0645","from":{"username":"m_h_i_you","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_334386359_75sq_1387718155.jpg","id":"334386359","full_name":"moadah Al_omran"},"id":"620092251623657537"},{"created_time":"1388321855","text":"\u062b\u0627\u0646\u064a \u0635\u0648\u0631\u0629 \u062e\u062e","from":{"username":"wafooya1987","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_213165764_75sq_1388230090.jpg","id":"213165764","full_name":"wafooya1987"},"id":"621611236877931175"}]},"filter":"Normal","created_time":"1279315783","link":"http:\/\/instagram.com\/p\/D\/","likes":{"count":8407,"data":[{"username":"faisalxdf","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_490901376_75sq_1385320759.jpg","id":"490901376","full_name":"~^\u0645\u0640\u0640\u0639\u0640\u0640\u0644\u0640\u0640\u0648\u0645\u0640\u0640\u0627\u062a~^ \u2728\u2764"},{"username":"bndosh_malik","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_543199489_75sq_1388338175.jpg","id":"543199489","full_name":"bndosh_malik"},{"username":"falajmanii","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_419661285_75sq_1387552427.jpg","id":"419661285","full_name":"Fatima Jassem"},{"username":"abohmod00","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_606397926_75sq_1384546316.jpg","id":"606397926","full_name":"\u2661\u0627\u0644\u0647\u0644\u0627\u0644..\u0628\u0631\u0634\u0644\u0648\u0646\u0629\u2665"}]},"images":{"low_resolution":{"url":"http:\/\/distillery.s3.amazonaws.com\/media\/2010\/07\/16\/4de37e03aa4b4372843a7eb33fa41cad_6.jpg","width":306,"height":306},"thumbnail":{"url":"http:\/\/distillery.s3.amazonaws.com\/media\/2010\/07\/16\/4de37e03aa4b4372843a7eb33fa41cad_5.jpg","width":150,"height":150},"standard_resolution":{"url":"http:\/\/distillery.s3.amazonaws.com\/media\/2010\/07\/16\/4de37e03aa4b4372843a7eb33fa41cad_7.jpg","width":612,"height":612}},"users_in_photo":[],"caption":null,"user_has_liked":false,"id":"3_3","user":{"username":"kevin","website":"","profile_picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_3_75sq_1325536697.jpg","full_name":"Kevin Systrom","bio":"","id":"3"}}}
Nach dem decoden ist dieser Array vorhanden:
Code
Alles anzeigen"images":{ "low_resolution":{ "url":"http:\/\/distillery.s3.amazonaws.com\/media\/2010\/07\/16\/4de37e03aa4b4372843a7eb33fa41cad_6.jpg", "width":306, "height":306 }, "thumbnail":{ "url":"http:\/\/distillery.s3.amazonaws.com\/media\/2010\/07\/16\/4de37e03aa4b4372843a7eb33fa41cad_5.jpg", "width":150, "height":150 }, "standard_resolution":{ "url":"http:\/\/distillery.s3.amazonaws.com\/media\/2010\/07\/16\/4de37e03aa4b4372843a7eb33fa41cad_7.jpg", "width":612, "height":612 } },
Doch wenn ich $response['images']['standard_resolution']['url'] verwende gibt der mir nichts aus, wo liegt nun das Problem?
-
Moin, irgendwie gerade am verzweifeln. Möchte ein bestimmtes Bild einbinden von Instagram mit einer media ID.
Code$token = $data->access_token; $info = 'https://api.instagram.com/v1/media/3?access_token=Hierderaccesstokenvonmir'; //die 3 ist nun die Media ID von irgendeinem Bild welches auch existiert echo $token."</br>"; //Gibt den richtigen Access Token aus $response = json_decode($info, true); echo $info."</br>";//Gibt NICHTS aus.. echo $response."</br>";//Gibt NICHTS aus.. $fullsize = $response['images']['standard_resolution']['url']; echo $fullsize."</br>";//Gibt NICHTS aus.. (sollte ja die URL des Bildes sein) echo '<img src="'.$fullsize.'"/>';
Media ID 3 wäre soweit ich richtig liege folgendes öffentliches Bild:
http://distillery.s3.amazonaws…372843a7eb33fa41cad_7.jpgNur wird nichts ausgegeben. Wo ist der Fehler?
Auch mit der folgenden Variante klappt es nicht, diese Funktionen stehen zur Verfügung:
Code
Alles anzeigen[expander]public function getMedia($id) { return $this->_makeCall('media/'.$id); } private function _makeCall($function, $auth = false, $params = null) { if (false === $auth) { // if the call doesn't requires authentication $authMethod = '?client_id='.$this->getApiKey(); } else { // if the call needs a authenticated user if (true === isset($this->_accesstoken)) { $authMethod = '?access_token='.$this->getAccessToken(); } else { throw new Exeption("Error: _makeCall() | $function - This method requires an authenticated users access token."); } } if (isset($params) && is_array($params)) { $params = '&'.http_build_query($params); } else { $params = null; } $apiCall = self::API_URL.$function.$authMethod.$params; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $apiCall); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Accept: application/json')); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); $jsonData = curl_exec($ch); curl_close($ch); return json_decode($jsonData); }[/expander]
Hoffe jemand findet den Fehler..
-
Einfach mal Ingame testen, sollten nicht rot sein. Vielleicht weil du sie im Map Editor "makiert" hast.
-
Nabend, da nun die Domain verkauft ist verkaufe ich das Template. Es handelt sich um das ehemalige Template von sa-mp.tv falls dies noch jemand kennt. Einige Bilder sind hier vorhanden. Es gehört ALLES dazu:
- Datenbanken (OHNE Benutzerdaten, nur Scripts etc. die eingetragen sind)
- Sämtliche PHP/MySQL Funktionen
- Sämtliche Includes/Scripts die es dort zur Verfügung gab
- Sämtliche Bilder/Grafiken etc.
- Sämtliche Stylesheets
- Sämtliche JavaScriptsEine Onlinedemo gibt es zur Zeit nicht mehr, wenn es jemand einmalig kaufen möchte würde ich eine Online stellen, ansonsten wahrscheinlich nicht.
Preis: 20.- (wird mehrfach verkauft)
Einmaliger Verkauf 100,- (wird einmal verkauft)
Bezahlmöglichkeiten: Überweisung, PSCBilder
[tabmenu]
Spoiler anzeigen
[tab='Startseite']
[tab='Menü']
[tab='Nützliches']
[tab='Galerie']
[tab='News']
[tab='Stats #1']
[tab='Stats #2']
[tab='Stats #3']
Spoiler anzeigen
[tab='Profil #1']
[tab='Profil #2']
[tab='Profil #3']
[tab='Profil #4']
[tab='Kontakt #1']
[tab='Kontakt #2']
[tab='Kontakt #3']
[tab='ACP']
Für Fragen stehe ich jederzeit zur Verfügung.
//Editierung: sa--mp zu sa-mp geändert im Titel
//Editierung: Preise verändert.______
Unverbindlicher Hinweis: Die Sicherheit einer Transaktion kann am besten durch die Einschaltung eines Mittelsmannes gewährleistet werden. Weitere Informationen dazu gibt es hier. -
Der Font in den Elementen unterm Menü passt irgendwie nicht, ansonsten fehlt das gewisse etwas.
Sonst sehr schick!
-
Zitat
Mit einem Screen (max. 1 Woche alt) von einem bekannten Server einfach im Teamspeak melden.
Zurückerstattet werden alle Lizenzen & bis zu 400.000.000$ (400 Millionen).
Hört sich nach 0815 an, jedoch ist das ein Spiel und soll spaß machen.
Auf jedem Server erhält man unterschiedlich schnell viel Geld.. finde ich ziemlich schwachsinnig da man in GTA auch ohne Spielgeld Spaß haben kann.
Sehe nur ich keine Bilder in der Vorstellung? Irgendwie fehlt da Material zum veranschaulichen.. -
Samsung Galaxy Tab 3 8.0, nicht gekauft sondern im Vertrag weil das S4 kaputt ist.. Displayschaden, 180,- wollen die für die Reparatur trotz Versicherung, reine Abzocke!
(Toastbrot schmeckt bei uns zur Zeit derbe scheiße, weiß nicht woran das liegt, zwar gekauft aber erstmal Pause! :D)
Blumensträuße für die Familie und habe meine Mutter ins Seven Seas Hamburg eingeladen zum Essen am 1. Weihnachtstag. Gilt ja als kauf, kostet immerhin so viel wie die PS4. -
"Baba-Ha", klingt Maskulin also denke ich mal du bist'n Mann.
"Was nicht passt wird passend gemacht", wenn es passieren sollte, stell was dahinter. -
Kann passieren, aber bei nur paar mal am Tag dauert das ja ewig. Öffne ihn bestimmt 20 - 40 mal am tag (+schließen).
-
Warum sollte die Variable alle paar Ms überprüft werden? Bei der Timer Variante (Oh Gott, geh bitte nicht von 500 Spielern aus, guck dir die Server an
.. ) wird bei jedem Spieler pro Mausklick (je nach Einstellungen) ein Timer gestartet. Bei meiner Variante wird nur eine Variable gefüllt, beim loslassen abgefragt. Kann mir keiner was sagen, die Timestamp Variante ist schneller, mache gerne nen dingends (hab das Wort gerade nicht parat, zum messen der Zeit der Tat..)
-
@[NRP]NewborN: Hab's nochmal überdacht, mein Fehler, war tatsächlich keine konstruktive Kritik, habe zu schnell reagiert.
-
Könntest du noch ein Bild wie es vorher war reinhauen, sehe keinen großen Unterschied, habe das Spiel wohl eine Ewigkeit nicht gestartet.
-
Objekt rotieren lassen....
Wofür das?