Skripta koju koristim: CLRP
Detaljan opis problema: E-mail
Dio skripte: C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\mailer.inc(9) : fatal error 111: user error: Please define MAILER_URL before including the mailer include.
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
#define MAILER_URL "www.hotmail.com" sta da napisem izmedu " " ? Samo da mi radi zelim da mi posalju igracu na e mail Moze ti li mi dat link ja sam pokusava ali en ide!
Možeš li dati link odakle si skinuo taj include?
ja sam s ovoga skida http://forum.sa-mp.com/showthread.php?t=197755 edit CLRPjelit to mislis?
Pod #define MAILER_URL moraš stavit URL do svoje web stranice na kojoj imaš mailer.php datoteku.
mailer.php di da to ubacim? Ali moram imat web hosting da mi to radi jeli moze neki freee forum za pocetak ili hotmail adresa?
Citat: Tong1950Po poslato Januar 02, 2012, 23:29:28 POSLE PODNE
mailer.php di da to ubacim? Ali moram imat web hosting da mi to radi jeli moze neki freee forum za pocetak ili hotmail adresa?
mailer.php bi trebao ubacit na web host, a ako to nemaš onda bi mogao skinut xampp i u njega ubacit mailer.php datoteku. Te pod #define MAILER_URL stavit: "localhost/mailer.php".
Mislim da ne može radit preko hotmail adrese ili nekog free foruma. Jedino možeš probat preko npr. nekog free web hostera kao što je npr. 000webhost.com
xampp di to mogu skinit di da ga stavim?
Evo ti download link: http://www.apachefriends.org/en/xampp.html
Instaliraj ga i uđi u instalacijski folder xampp-a te nađi folder po imenu 'htdocs' i u njega dodaj mailer.php datoteku te napravi ono što sam ti rekao u prethodnom postu. S time da macro (#define) staviš prije includa.
Jeli ovvo http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.7.7/xampp-win32-1.7.7-VC9-installer.exe/download da skinem?
Citat: Tong1950Po poslato Januar 02, 2012, 23:49:00 POSLE PODNE
Jeli ovvo http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.7.7/xampp-win32-1.7.7-VC9-installer.exe/download da skinem?
Da, to je to.
ali opet je isto :S
Moraš dodat macro prije includa.
sta ti je sad marco?
Macro:
#define IME_MACROA neka_vrijednost_macroa
Mos mi rec sta da stavidm i di da nadem te podatke?
#define MAILER_URL "cromafia.net/Mail.php"
Stavi ovo na pocekat skripte!
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1206) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1223) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1239) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1273) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1310) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1387) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1674) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1763) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1791) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1819) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1840) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1936) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(1957) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2081) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2100) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2115) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2142) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2157) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2180) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2203) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2289) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2335) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2354) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2361) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2459) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2468) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\JunkBuster.inc(2791) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\GetVehicleColor.inc(13) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\GetVehicleColor.inc(27) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\GetVehicleColor.inc(41) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\GetVehicleColor.inc(60) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\GetVehicleColor.inc(71) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\pawno\include\GetVehicleColor.inc(88) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(3953) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(3991) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(4024) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(4084) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(4169) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(4857) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5089) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5124) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5137) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5147) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5173) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5195) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5290) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5352) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5367) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5420) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(5707) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(6208) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(6919) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(6929) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(6939) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(6949) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(6964) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(9180) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(9245) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(9279) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(9764) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(10524) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(10549) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(10803) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(11056) : error 025: function heading differs from prototype
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(11056) : error 021: symbol already defined: "SendMail"
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(11059) : error 021: symbol already defined: "format"
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(11060) : error 021: symbol already defined: "SendMail"
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(11061) : warning 218: old style prototypes used with optional semicolumns
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(11062) : error 021: symbol already defined: "Kick"
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(11290) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(11501) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(12245) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(12290) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(12767) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(13552) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(15052) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(15130) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(15188) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(15222) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(15365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16165) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16171) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16189) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16200) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16211) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16222) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16233) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16244) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16258) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16272) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16283) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16295) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16307) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16317) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16327) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16447) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(16503) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(26260) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(56092) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(56220) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(56880) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(56899) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(59528) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(59544) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(59560) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(59579) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(59715) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(59768) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(60574) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(61780) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(61915) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(62054) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(62098) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(62198) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(62363) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(62380) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(62396) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(62507) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(63449) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(63496) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Mario\Desktop\TEST\gamemodes\CLRP.pwn(63509) : warning 203: symbol is never used: "string"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
staviaj sam pa mi se sad pojavu errori
Molim te stavi ovo ispod includea gdje su definicije:#define MAILER_URL "my-server.com/mailer.php" // I ovo definiraj pod svoj forum i php
Te moraš na svoj forum staviti taj PHP:<?php ini_set( 'html_errors', false ); if ( empty( $_POST[ 't' ] ) || empty( $_POST[ 'f' ] ) || empty( $_POST[ 'n' ] ) || empty( $_POST[ 's' ] ) || empty( $_POST[ 'm' ] ) ) die( 'Error: Missing parameters.' ); mail( $_POST[ 't' ], utf8_encode( $_POST[ 's' ] ), $_POST[ 'm' ], implode( "\r\n", array ( 'From: "' . addslashes( $_POST[ 'f' ] ) . "\" <{$_POST[ 'n' ]}>", "Reply-To: {$_POST['f']}", "X-Mailer: PHP/" . phpversion( ), ) ) );?>
Ja neman forum :S Mozeli se bez foruma?