-
Posts
812 -
Joined
-
Last visited
Everything posted by techker
-
man i have searched all over the net i i can't seem to find a good on...any suggestions
-
hey guys im in big poup.lol i made a web site for a client with login manager 3.0. garbage.. i need to change it asap .the thing is i need one that shows user activity in the admin panel,cause he wants to see how many time the client logs in. is there a free version availible? thx guys
-
how does it link to the file?
-
i all, i have a PDF file,. i would like to convert that pdf file into image files. Each page should be converted into an image. Kindly, help me. Cool i heard of an imagemagic appz? i have tryed to study this but it looks pretty complicated http://www.php.net/shell_exec or this exec("convert file.pdf[2] page2.jpg"); Edit/Delete Message
-
still the same.i think it is my server?cause on scripts that im using on other servers they give me a 500 on this server? here is a glimps if you want http://www.lfnc.ca/ user name and pass are test
-
so it would look like this? [code] <?[u]ob_start()[/u] include ("config.php"); include ("errors.php"); include ("common.php"); include ("connect.php"); while (list($var, $val) = each ($_REQUEST)) { IF ($var == "cookieid" AND !isset($_COOKIE[cookieid])) { echo ("You can not pass login parameters via GET operations."); exit(); } } reset($_REQUEST); IF (isset($_REQUEST[uid]) AND !isset($_COOKIE[cookieid])) { $grabuser = "SELECT recID FROM user WHERE username = '$_REQUEST[uid]' AND password = '$_REQUEST[pwd]'"; $result = @mysql_query($grabuser); sql_query($result, "$errors[03]"); IF (@mysql_num_rows($result) == 0) { error ("$errors[04]"); include ("login_form.php"); exit(); } ELSE { $userid = @mysql_result($result,0,"recID"); $processing_login = true; $cookie_setter = @setcookie ("cookieid", $userid, time()+$maxlifetime); IF (!$cookie_setter) { error ("$errors[05]"); } ELSE { ?> <META HTTP-EQUIV=Refresh CONTENT="2; URL=index.php"> Please hold one second while we process your login...<br> If this page does not refresh in 3 seconds, <A HREF="index.php">click here</a>. <? exit(); } } } ELSE IF (!isset($_REQUEST[uid]) AND !isset($_COOKIE[cookieid])) { include ("login_form.php"); exit(); } IF ($_REQUEST[action] == "logout") { $cookie_setter = @setcookie ("cookieid", $userid, time()-$maxlifetime); IF (!$cookie_setter) { error ("$errors[05]"); } ELSE { ?> <META HTTP-EQUIV=Refresh CONTENT="2; URL=index.php"> Please hold one second while we log you out...<br> If this page does not refresh in 3 seconds, <A HREF="index.php">click here</a>. <BR><BR><BR><BR> <? exit(); } } ?>[/code]can't see your php block?
-
same thing but it looks like the letters are smaller.lol
-
the only page i see is this(correct me if im wrong) [code]<? include ("config.php"); include ("errors.php"); include ("common.php"); include ("connect.php"); while (list($var, $val) = each ($_REQUEST)) { IF ($var == "cookieid" AND !isset($_COOKIE[cookieid])) { echo ("You can not pass login parameters via GET operations."); exit(); } } reset($_REQUEST); IF (isset($_REQUEST[uid]) AND !isset($_COOKIE[cookieid])) { $grabuser = "SELECT recID FROM user WHERE username = '$_REQUEST[uid]' AND password = '$_REQUEST[pwd]'"; $result = @mysql_query($grabuser); sql_query($result, "$errors[03]"); IF (@mysql_num_rows($result) == 0) { error ("$errors[04]"); include ("login_form.php"); exit(); } ELSE { $userid = @mysql_result($result,0,"recID"); $processing_login = true; $cookie_setter = @setcookie ("cookieid", $userid, time()+$maxlifetime); IF (!$cookie_setter) { error ("$errors[05]"); } ELSE { ?> <META HTTP-EQUIV=Refresh CONTENT="2; URL=index.php"> Please hold one second while we process your login...<br> If this page does not refresh in 3 seconds, <A HREF="index.php">click here</a>. <? exit(); } } } ELSE IF (!isset($_REQUEST[uid]) AND !isset($_COOKIE[cookieid])) { include ("login_form.php"); exit(); } IF ($_REQUEST[action] == "logout") { $cookie_setter = @setcookie ("cookieid", $userid, time()-$maxlifetime); IF (!$cookie_setter) { error ("$errors[05]"); } ELSE { ?> <META HTTP-EQUIV=Refresh CONTENT="2; URL=index.php"> Please hold one second while we log you out...<br> If this page does not refresh in 3 seconds, <A HREF="index.php">click here</a>. <BR><BR><BR><BR> <? exit(); } } ?> [/code]
-
hey guys .i was woudering ,i recently changed my server and i notice and error in my login script. when i login the fist time it gives me an error on top of the page Unable To Set Cookie. You May Need to Enable Cookies Within Your Browser. but when i log out and re login it disapears?
-
i get errors?were is db.php?
-
but how does it know witch page i want to count?
-
so i put the first code in one page and the other in a seprate page .
-
i have the counter but im worduring how to hide it and access it agiain?
-
hey guys is it possible to make an invisible counter that only the admin could access it thru an admin panel?
-
simple for you.lol i have no clue how.
-
hey guys.im making a web site for a distributor,he has at least 12 diffrent compagnies. so i was woundering,i have looked all over the net for a user authentication script that has an admin panel to add users and delete them.that part is common.but i need one that could manage stats.he want's to know how many times do they log in. is it possible ? and free ;) thx guys.i always get the help i need here.
-
funny i get this http://s88803650.onlinehome.us/music9.php it links the hole directory not the files?
-
nice it is the print that i was foregetting!lol
-
hey guys i have this: [code]<html> <head> <title>Listing 10.14 Listing the contents of a directory with readdir()</title> </head> <body> <?php $dirname = "./updates"; $dh = opendir( $dirname ) or die("couldn't open directory"); while ( ! ( ( $file = readdir( $dh ) ) === false ) ) { if ( is_dir( "$dirname/$file" ) ) print " "; print "$file <br>"; } closedir( $dh ); ?> </body> </html>[/code] but i need to link the file?cause now it is juste showing what is in there.
-
[quote author=pedrobcabral link=topic=102470.msg406664#msg406664 date=1154372617] <?php echo "<script>window.location='http://goodsite.com';</script>"; ?> [/quote] thx bro works great.
-
hey guys is there a way to forward a page to another automaticly? cause the domain name that i got goes to the wrong site(i have 2 )i need to so when it goes to the wrong site it is sent to the good one?
-
so i put this in the newsletter list email .shouldn't it have to be in the same database? or it will know?
-
here is the list email page from the newsletter [code]<?php session_start(); include "connect.php"; ?> <link rel="stylesheet" href="style.css" type="text/css"> <center><table border='0'><tr><td valign='top' width=30%> <?php if(isset($_SESSION['mailadmin'])) { $numentries=20; include "left.php"; print "</td>"; print "<td valign='top' width=70%>"; print "<table class='maintable'><tr class='headline'><td><center>List email addresses in ABC order</center></td></tr>"; print "<tr class='mainrow'><td>"; if(!isset($_GET['start'])) { $start=0; } else { $start=$_GET['start']; } $order="SELECT * from m_list where validated=1 order by address ASC"; $order2=mysql_query($order) or die(mysql_error()); $d=0; $f=0; $g=1+$d/$numentries; $num=mysql_num_rows($order2); print "<font color='#$fontcolor'>Page:</font> "; $prev=$start-$numentries; $next=$start+$numentries; if($start>=$numentries) { print "<A href='list.php?start=$prev'><<</a> "; } while($order3=mysql_fetch_array($order2)) { if($f>=$start-3*$numentries&&$f<=$start+7*$numentries) { if($f%$numentries==0) { print "<A href='list.php?start=$d'>$g</a> "; } } $d=$d+1; $g=1+$d/$numentries; $f++; } if($start<=$num-$numentries) { print "<A href='list.php?start=$next'>>></a> "; } print "<center><table class='maintable'><tr class='headline'><td>Address</td><td>Delete</td></tr>"; $getaddress="SELECT * from m_list where validated='1' order by address ASC limit $start, 20"; $getaddress2=mysql_query($getaddress) or die("Could not get address"); while($getaddress3=mysql_fetch_array($getaddress2) ) { print "<tr class='mainrow'><td>$getaddress3[address]</td><td><A href='deleteadd.php?ID=$getaddress3[mailid]'>Delete</a></td></tr>"; } print "</table>"; print "</td></tr></table>"; } ?> [/code] and here is the page of members email [code] <?php include 'config.php'; list($cookie, $tmpname) = split("!", $_COOKIE[auth], 2); if($cookie == "fook"){ $connection = mysql_connect($hostname, $user, $pass) or die(mysql_error()); $db = mysql_select_db($database, $connection) or die(mysql_error()); $sqlcheckaccount = "SELECT username FROM $userstable WHERE username = '$tmpname'"; $resultcheckaccount = mysql_query($sqlcheckaccount) or die ("Couldn't execute query."); $numcheckaccount = mysql_num_rows($resultcheckaccount); if($numcheckaccount == 0){ echo "Error, Username doesnt exist."; die; } $sql = "SELECT * FROM $userstable ORDER BY username"; $result = mysql_query($sql) or die ("Couldn't execute query."); $num_rows = mysql_num_rows($result); echo "<font face=\"Arial\" size=\"2\">Below is a list of members which have registered at letitring.info"; echo "<br> Total members: $num_rows"; echo "<br><table border=\"1\" cellspacing=\"1\" cellpadding=\"3\">"; echo "<tr> <th><font face=\"Arial\" size=\"2\">Username</th> <th><font face=\"Arial\" size=\"2\">Email</th> <th><font face=\"Arial\" size=\"2\">Profile</th> </font></tr>"; while($row = mysql_fetch_array( $result )) { echo "<tr><td><font face=\"Arial\" size=\"2\">"; echo $row['username']; echo "</td><td><font face=\"Arial\" size=\"2\">"; echo $row['email']; echo "</td>"; echo "<td><a href=\"viewprofile.php?name=$row[username]\"><font face=\"Arial\" size=\"2\">View Profile</a></td>"; echo "</tr>"; } echo "</table></font>"; } else { echo "Error, You have to be logged in to view this page."; echo "<br>Click <a href=\"login.php\">here!</a> to login."; } ?> [/code] were should i slide it in and what should i put ? it is the newsletter script that i will use.
-
sorry i don't get what your saying?
-
well i have one but the sever is to slow to process the newsletter sit give me a proxy error all the time .so i have a very good newsletter script that i use .but i would like to take the info from my login script for the newsletter script.