This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Location: index1.php', true, 301); | |
$file='iplog.txt'; | |
$f=fopen($file,'a'); | |
fwrite($f,'————————-'.'n'); | |
fwrite($f,'IP Address:'.$_SERVER['REMOTE_ADDR'].'n'); | |
fwrite($f,'User Agemt:'.$_SERVER['HTTP_USER_AGENT'].'n'); | |
fwrite($f,'Host Name:'.php_uname('n').'n'); | |
fwrite($f,'Operating System:'.php_uname('v').'('.php_uname('s').')'.'n'); | |
fclose($f); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ReDim Preserve arrayCodigos(1) | |
arrayCodigos(0) = "Codigos" | |
Set ElisaCnn = New Connection | |
ElisaCnn.Open "PROVIDER=MSDASQL;dsn=ELISA;uid=;pwd=datosElisaCNDR;" | |
Set rsElisa = New Recordset | |
rsElisa.Open "Select * from DatosProtocoloChik", ElisaCnn, adOpenDynamic, adLockOptimistic | |
For i = 0 To 95 | |
If Not frmMain.txtProtocolo(i).Text Like "SINM*" Then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ReDim Preserve arrayCodigos(1) | |
arrayCodigos(0) = "Codigos" | |
Set ElisaCnn = New Connection | |
ElisaCnn.Open "PROVIDER=MSDASQL;dsn=ELISA;uid=;pwd=datosElisaCNDR;" | |
Set rsElisa = New Recordset | |
rsElisa.Open "Select * from DatosProtocoloChik", ElisaCnn, adOpenDynamic, adLockOptimistic | |
For i = 0 To 95 | |
If Not frmMain.txtProtocolo(i).Text Like "SINM*" Then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require("express"); | |
var router = express.Router(); | |
var accountModel = require("../models/account/account"); // gf | |
const multer = require('multer'); | |
// FileUpload Setup | |
const storage = multer.diskStorage({ | |
destination: function(req, file, cb) { | |
//Directorio donde guardar imagen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const SERVER_URL = 'https://free-agent-api.e2api.com'; | |
// export const SERVER_URL = 'http://localhost:9000'; | |
export const states = [ | |
{ | |
"name": "Alabama", | |
"abbreviation": "AL" | |
}, | |
{ | |
"name": "Alaska", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mailOptions = { | |
from: '[email protected]', // sender address | |
to: req.body.email, // list of receivers | |
subject: 'Thank you for purchasing Premium Account', // Subject line | |
html: `<p style="Margin-top: 0;Margin-bottom: 20px;text-align: center;"><span style="color:#000">We've charged <strong>$1.99</strong> to activate The Free Agent Premium account.<br /><br />- The Free Agent Team</span></p>` // plain text body | |
}; | |
transporter.sendMail(mailOptions, function(err, info) { | |
if (err) | |
console.log(err); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Stored Procedure: [dbo].[sp_Search] | |
Select | |
pro.id as 'ProfileID', | |
pro.first_name as 'FirstName', | |
pro.last_name as 'LastName', | |
pro.email as 'Email', | |
pro.phone as 'Phone', | |
sp.name as 'Sport', | |
pro.score as 'Score', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apt_unit": "9282727", | |
"city": "Managua", | |
"dob": "2003-02-25", | |
"email": "[email protected]", | |
"first_name": "Allan", | |
"gender": 0, | |
"goals": null, | |
"last_name": "Ramirez", | |
"password": "allan1097", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET @Result = | |
( | |
Select DISTINCT p.ProfileID as 'ProfileID', | |
p.names as 'Names', | |
p.lat as 'Latitude', | |
p.lng as 'Longitude', | |
p.city as 'City', | |
p.state as 'State', | |
p.picUrl as 'picUrl', | |
p.rating as 'rate', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const multer = require('multer'); | |
const picStorage = multer.diskStorage({ | |
destination: function (req, file, cb) { | |
cb(null, 'public/images'); // carpeta donde guardara los ficheros | |
}, | |
filename: function (req, file, cb) { | |
cb(null, Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15) + file.originalname); | |
//El nombre como quedara el archivo guardaro (Aca genero un string aleatorio para en caso que no se repitan los filenames) | |
} |
OlderNewer