View Single Post
02-08-2007, 05:18 PM
#28
Alex Eyre is offline Alex Eyre
Alex Eyre's Avatar
Status: Designer
Join date: Aug 2006
Location: Manchester
Expertise:
Software:
 
Posts: 1,132
iTrader: 5 / 100%
 

Alex Eyre is on a distinguished road

Send a message via MSN to Alex Eyre

  Old

Originally Posted by Salathe View Post
It could simply be a matter of adding a single line of code, or a little more complex depending on how you want to do this.

PHP Code:
// Simple version -- fetch remote file
// Requires allow_url_open config setting to be On
file_get_contents('http://www.remoteserver.com/hit.php?uid=1234567890'); 
Is my idea possible?
So can I:

> Have a user script such as:
PHP Code:
<?php
$uid
="456";
$_POST['$uid'];
?>
and

PHP Code:
<?php 
include(mysql_connect.php);

$uid=$_GET['uid'];
$query="FROM `blah` where uid="$uid" INSERT "+1"";

mysql_query($query);
?>
??
Alex