JamesThePanda
-
Posts
133 -
Joined
-
Last visited
Posts posted by JamesThePanda
-
-
Hi
I will convert any PSD in to a fully functional XHTML and CSS page.
This will cost only $120 and take only a few days sometimes I can do it much faster.
Please contact me at either James@touch-hosting.com or Oppsthing@ntlworld.com
Thanks
James
-
I need a database script, that will work online.
I people collecting data, and I want a online resource were they can input the data.
Each member of staff will have there own login page, were they can see the data they have inputed. And input futher data.
Also I should be able to access all the data and see a list of current users/ staff members
Thanks
James
-
Hmmm
I put that in a file and then uploaded it. but the file then started to download.
Does that mean that php isnt active on the server?
Thanks
James
-
Hi
does anyone have a copy of the script that shows the php set up on the server.
I know its ment to be something like phpinfo()
or some thign like that.
I want to find out some setting on this server
Thanks
James
-
Hi
I have a few designs Im looking to make into a joomla template / skin.
I have the design already in HTML/ CSS
Please contact me on
Either Oppsthing@ntlworld.com or James@touch-hosting.com
Yahoo oppsthing
Email me for my MSN
Thanks
James
-
Ok I have this table that contain all the elements in my page.
What I want is the table to appear center, at the moment It is aligned left. i looks ok on my screen but the person Im building it for say that I appears to be aligned left they have a different monitor size.
What can I do ?
Thanks
James
-
BUMP
So does anyone have any code Lying round, or a good link?
Thanks
James
-
yer I ment Javascript.
what am I ment to be looking at on the moo tools?
Thanks
James
-
Hey guys
There is some thing I want to do on a site I am building at the moment.
The person i am building it for has testimonials. I want a scrolling effect.
I want it so the first few lines of the testimonial are displayed. than after ten second. The text moves up and is replaced by anouther testimonial.
Does anyone know any good resources for soem thign Like this?
I know i will probably need Java instead of PHP, can anyone recommend anything?
Thanks
James
-
Hey guys
There is some thing I want to do on a site I am building at the moment.
The person i am building it for has testimonials. I was a scrolling effect.
I want it so the first few lines of the testimonial are displayed. than after ten second. The text moves up and is replaced by anouther testimonial.
Does anyone know any ood resources for soem thign Like this?
Thanks
James
-
Hey guys Im making a simple php script and I was just wondering how I would get the Square root of a variable?
is there some special code? thanks
James
-
Hey guys Im making a simple php script and I was just wondering how I would get the Square root of a variable?
is there some special code? thanks
James
-
yer the thing is I dont want it based on my server clock, I would like based on anouther servers clock,
Do you know if there are that could be linked to so no matter what server the site is on it would always stay in georgia time.
I was thinking that there might be a site out there that specialise in providing accurate time for sites.
Thanks
James
BTW DarkWater I added you on MSN
-
yes I think it would have to be in real time.
-
I have a site and I want a clock on there. The clock has to show the time in Georgia.
I have seen some flash clocks I want to use. but I not sure how to get them to read the time in georgia most use the users clock.
I was thinking of using the time on the server and then readusting but I would like something more realiable. (In case the server settings are changed)
I was thinking is there a link for time around the world. Like maybe some thign in xml I could call thru action script.
Does anyone know of anythign like this?
Thanks
James
-
Hey
I tried it and this is what I got at the top of the page
"Warning: Cannot modify header information - headers already sent by (output started at /home/touchho/public_html/members/inc_config.php:3) in /home/touchho/public_html/members/authorize.php on line 59"
Any ideas
James
-
Hey
One question, the form's method is POST shouldn't I use $_POST?
why is the get method used when submiting to other.php
-
WOOOOOHOOOOO
OK I ll try that out and let you know
Thanks
James
-
Hey thanks for your help
So with that submit the username and password to that page as well?
Thanks
James
-
Hey mattal thanks you soo much for you reply
what does the header tag do?
also
should I put
header("other.php");
or
header("Location: other.php");
thanks
James
-
-
whats xamppp?
-
Hi
I want to run PHP script on my computer so I dedided I was going to install apache.
but a friend of mine said that if the installtion goes wrong then it can screw my whole system is this true?
Thanks
James
-
Ok here is the form script
<style>BODY{font-family: Verdana; font-size: 9px; color: #666666; margin: 0px; }*{ font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }</style><?php
//--------------------------------------------------------- iPHPAuthorize v1.0 by IDS - www.idevspot.com
$SQL = "SELECT * from SETTINGS"; $result = mysql_query( $SQL ); $row = mysql_fetch_array( $result );
$sender = $row['EMAIL'];
$action = $_GET['action'];
$t_ = 'MEMBERS';
$u_ = 'USERNAME';
$p_ = 'PASSWORD';
//---------------------------------------------------------
mysql_query ("CREATE TABLE IF NOT EXISTS `MEMBERS` (`ID` INT NOT NULL AUTO_INCREMENT ,
`USERNAME` varchar(255) NOT NULL,
`PASSWORD` varchar(255) NOT NULL,
`STATUS` varchar(255) NOT NULL,
`SUBSCRIPTION` varchar(255) NOT NULL,
PRIMARY KEY ( `id` ) )") or die (mysql_error());
//---------------------------------------------------------
if ($action == logout) { session_start(); session_unset(); session_destroy(); }
//---------------------------------------------------------
if ($action == lostpassword)
{
$a = $_POST['1'];
if (empty($a)) {$message = 'Error : Field cannot be blank'; } else {
$SQL = "SELECT * from $t_ WHERE $u_ = '$a'";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) )
{
$Xuser = $row["$u_"];
$subscription = $row["SUBSCRIPTION"];
$Xpass = $row["$p_"];
$to="$a";
$headers.= "MIME-Version: 1.0\r\n";
$headers.= "Content-type: text/html; ";
$headers.= "charset=iso-8859-1\r\n";
$headers.= "From: $sender";
$subject = "Lost password recovery for subscription ID : $subscription";
$body = "Your log in details : [ Username : $Xuser ] [ Password : $Xpass ]";
mail($to,$subject,$body,$headers);
$message = 'Password sent, please check your email';
}
}
if (empty($Xuser)) {$message = 'Error : Username not found';}
}
//---------------------------------------------------------
$Zuser = $_SESSION['username'];
$Zpass = $_SESSION['password'];
if (empty($Zuser)) $Zuser = '0-0-0-n-u-l-l-0-0-0';
$ZuserZpass = "$Zuser$Zpass";
$SQL = "SELECT * from $t_ WHERE $u_ = '$Zuser' AND SUBSCRIPTION = '$subscription' AND STATUS != 'Ended'";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) )
{
$Auser = $row["$u_"];
$Apass = $row["$p_"];
}
$AuserApass = "$Auser$Apass";
if ($ZuserZpass == $AuserApass) {} else {
$a = $_POST['1'];
$b = $_POST['2'];
$ab = "$a$b";
$SQL = "SELECT * from $t_ WHERE $u_ = '$a' AND SUBSCRIPTION = '$subscription' AND STATUS != 'Ended'";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) ) {
$user = $row["$u_"];
$pass = $row["$p_"];
}
$userpass = "$user$pass";
if ($ab == $userpass) {
$_SESSION['username'] = "$user";
$_SESSION['password'] = "$pass";
$Zuser = $_SESSION['username'];
$Zpass = $_SESSION['password'];
}else {
$subscription = $_GET['subscription'];
?>
<table width="30%" border="0" cellspacing="5" cellpadding="0" align="center">
<tr>
<td nowrap><b> Log In</b></td>
<td background="<?php echo $row[$PATH]; ?>i_01.jpg" width="100%" height="29"> </td>
</tr>
</table>
<table width="30%" border="0" cellspacing="5" cellpadding="0" align="center">
<tr valign="top">
<td width="50%">
<form name="form1" method="post" action="<?php echo $PHP_SELF; ?>?subscription=<?php echo $subscription; ?>">
<div align="center"><b>Paypal email address :</b><br>
<input type="text" name="1" size="25" value="<?php echo $_GET[qun]; ?>">
<br>
<br>
<b>Subscription password : </b><br>
<input type="password" name="2" size="25" value="<?php echo $_GET[qpw]; ?>">
<br>
<br>
<input type="submit" name="Submit" value="Sign In">
</div>
</form>
</td>
</tr>
</table>
<table width="30%" border="0" cellspacing="5" cellpadding="0" align="center">
<tr>
<td nowrap><b> Lost Password?</b></td>
<td background="<?php echo $row[$PATH]; ?>i_01.jpg" width="100%" height="29"> </td>
</tr>
</table>
<table width="30%" border="0" cellspacing="5" cellpadding="0" align="center">
<tr valign="top">
<td width="50%">
<form name="form1" method="post" action="<?php echo $PHP_SELF; ?>?action=lostpassword">
<div align="center"><b>Paypal email address :</b><br>
<input type="text" name="1" size="25">
<br>
<br>
<input type="submit" name="Submit" value="Send">
</div>
</form>
</td>
</tr>
</table>
<div align="center">
<?php echo $message; ?>
</div>
<table width="30%" border="0" cellspacing="5" cellpadding="0" align="center">
<tr>
<td background="<?php echo $row[$PATH]; ?>i_01.jpg" width="100%" height="29"> </td>
</tr>
</table>
</body>
</html>
<?php die();}} ?>
and here is the script I am trying to link it with, i was thinking I could put this script into the other one.
<?php
/*****************************************************************************************************
* user_create API example
* Connects to our gateway and creates user if not already in our database
* Place this on your login.php page right after verification of username & password in your database
*****************************************************************************************************/
$member_user = 'testuser'; //user you want to create, 4-16 chars a-zA-Z0-9, get from $_POST[]
$member_pass = 'testpassword'; //password for this user, 6-16 chars a-zA-Z0-9, get from $_POST[]
/****************************************************************************************************/
include('global.php');
$setCookies = false;
$params = '&action=user_info_request';
$params .= '&account_id='.$account_id;
$params .= '&gateway_pass='.$gateway_pass;
$params .= '&user='.$member_user;
$result = sendPost($gateway_ip,$params,true);//use ssl
// Check if user already is in our database
if(stristr($result['message'],'error:Username Not Found')){
// Not found so create this user
$params = '&action=user_create';
$params .= '&account_id='.$account_id;
$params .= '&gateway_pass='.$gateway_pass;
$params .= '&user='.$member_user;
$params .= '&pass='.$member_pass;
$result = sendPost($gateway_ip,$params,true);//use ssl
if(stristr($result['message'],'ok:User Created')){//user created
$setCoookies = true;
}
// Check user and pass
}else if($result['user'] == $member_user){
if($result['pass'] == $member_pass){
$setCookies = true;//already in our database
}else{//password needs updating
$params = '&action=user_update';
$params .= '&account_id='.$account_id;
$params .= '&gateway_pass='.$gateway_pass;
$params .= '&user='.$member_user;
$params .= '&pass='.$member_pass;
$result = sendPost($gateway_ip,$params,true); //use ssl
if(stristr($result['message'],'ok:User Updated')){
$setCookies = true;
}
}
}
if($setCookies){
setcookie('account_id',$account_id,0,'/');
setcookie('gateway_ip',$gateway_ip,0,'/');
setcookie('member_user',$member_user,0,'/');
setcookie('member_pass',$member_pass,0,'/');
}else{
//unknown error, handle somehow
}
//print_r($result);
?>
What your ideas?
Thanks
James
Need a PHP game making
in Archived Job Offerings
Posted
Hi
I need a PHP bingo game making. Im interested to know if anyone is interested in this project please get in touch.
my email is james@touch-hosting.com
Thanks
James