- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
36 Posted Topics
I am trying to write or find scripts that will: 1- create a script that will allow someone to Unsubscribe to a mailing list based on email address. 2- export data to a predefined excel file which will be used to print mail labels. I have looked and looked and … | |
Re: Keith, It looks nice, hard to see functioanlity when no one else is there. Nice that "Admin" tells who leaves the channel. Maybe make it also echo *name* has joined the channel... I would make the following change(s): 1: When a user types his/her text make it so that either … | |
Ok, I am stuck. I have the following code to log in. I don't think it is 100% secure, but I am having an issue writing a script that will email a link for a user to reset their password. Any help would be appreciated... [code] <?php session_start(); if(isset($_GET['reg'])) { … | |
Re: Are you doing this for experience or for something else? As if you use google, there are some already out there. Download, look at the code, and play with it from there... [url]http://webscripts.softpedia.com/script/Snippets/PHP-XML-VIN-Decoder-28375.html[/url] | |
How do I make the timestamp string be displayed as something that is actually readable / understandable? Yes, I have looked on google, here and a couple other places, but I am not seeing anything too specific or I am just not understand. Thank you for your understanding, helping me … ![]() | |
Re: [QUOTE=Javs;961463]Hi everyone. I am selling a product and i would like to use a selection of affiliate networks.. As far as i know these affiliate companys track the sale there companys affiliates make by inputting code into your html. is this correct? If so if i were to use 50 … | |
Re: Seriously, No one is going to compete with myspace.com? If you honestly think that you need to take a look at some others that are doing it.. plentyoffish.com, myyearbook.com. tagged.com. It could be done, would more likely be on a smaller scale unless for some reason it was spammed to … | |
Using this code: [code] $query = "select * from `music` WHERE `music`.`catid` = '" . $catid . "'"; I cannot seem to add "ORDER BY artist so that it would be in alphabetical order. [/code] Second issue: What do I need to do to have Display X amount of records, … | |
Re: First and formost, Any credit card processing requires: 1: some kind of bank account 2: Payment gateway 3: SSL You can use Paypal.com in some countries for a fee to process cc payments. | |
Re: can you explain in more details, or at least some kind of concept at what you are trying to achieve? | |
Re: Here is another way to create your table... [code=php] CREATE TABLE `users` ( `ID` int(11) NOT NULL auto_increment, `Username` varchar(255) NOT NULL default '', `Password` varchar(255) NOT NULL default '', `date_registered` int(11) NOT NULL default '0', `Temp_pass` varchar(55) default NULL, `Temp_pass_active` tinyint(1) NOT NULL default '0', `Email` varchar(255) NOT NULL … | |
Re: you are doing fine. Don't store the actual image in your database. To display you can do something like this: [code=php] <?php // just so we know it is broken error_reporting(E_ALL); // some basic sanity checks if(isset($_GET['image_id']) && is_numeric($_GET['image_id'])) { //connect to the db $link = mysql_connect("localhost", "username", "password") or … | |
Re: First of all your code works just fine. The day and time will change when the server it's on day/time changes. Secondly, I recommend inserting php after the <? [code] <?php print(Date("l F d, Y")); ?> [/code] As far as dreamweaver is concerned, I don't know I don't use it. … | |
Re: I used the following code: [code=php] <?php session_start(); if (empty($_SESSION['username'])) { header("location:index.php"); exit; } ?> [/code] | |
I am confused as to display information from my contact table depending on who logged in. also, should I change my admin table name to users? Admin Table [code] `id` int(11) NOT NULL auto_increment primary key `username` varchar(40) default NULL, `password` varchar(40) default NULL, `level` char(1) default NULL, `email` varchar(255) … | |
Re: Did you mean you want to change the quote at a certain time daily? | |
Re: Go here: [url]http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm[/url] | |
I have several issues going on I have played with the code, and I have tried to follow other code snippets / tutorials as examples, but I am unable to achieve the following: 1: when the browser is closed the session is terminated or set a timeout period of inactivity? … | |
After logging in, main.php is loaded and instead of displaying the correct included page, it displays Main Page. So what is wrong w/ my code? Thanks in advance for any and all help... [code] this is placed inside the "main.php" <?php require('core/db.php'); require('core/check.php'); ?> This is placed inside the check.php … | |
Re: [QUOTE=mrcniceguy;606956]i were working offline all the time with wampserver installed in my comp. but after i loaded it in school server i experienced a problem, in my web after login in your own profile appears also their is a link were you see other members profile. My problem is that … | |
Here is what I am trying to accomplish: When a user logs in, their username will be displayed... Trouble is I am unsure how to co-relate the username w/ the id... thanks for any and all help.... [code] <?php require_once('core/db.php'); require_once('core/secure.php'); $query = mysql_query("SELECT username FROM admin WHERE id = … | |
[code] Here is what I am trying to accomplish: an image management system, that will: a: Store the name and url inside the database b: be displayed where needed. I have a form that already uploads, but I am unsure how to get the disered information to the database, and … | |
Re: he has ids 1 2 3 4 he deletes 2 so now he has 1 3 4 he wants to loop through the ids so that they would become 1 2 3, which I am not sure if this a good or bad idea as would it mess everything up. | |
Re: Maybe you need to clear your cache, history as it works fine for me also. Looks nice as well.... | |
Re: Here is what I do secure.php [code] <?php session_start(); if (empty($_SESSION['username'])) { header("location:index.php"); exit; } ?> [/code] logout.php [code] <?php session_start(); if($_SESSION["status"]="logged") { session_unset(); session_destroy(); header( "Location:../index.php" ); exit(); } else { if ($_SESSION["status"]="not logged") { //the session variable isn't registered, the user shouldn't even be on this page header( … | |
Here are the tables in my database. [code] music ( id int(11) NOT NULL auto_increment, catid int(11) default NULL, song_title varchar(255) default NULL, artist varchar(75) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1; [/code] Category [code] category ( catid int(11) NOT NULL auto_increment, name varchar(30) default NULL, PRIMARY … | |
Any help would be greatly appreciated. Goals: 1: Send a username / password based on a username and not someone remembering their email address. 2: If it's possible to send an encrypted key, which would be a link to pass_update.php which would make the user change their password. This is … | |
Re: I think that you would need access to his site to place code on the page you want secured. | |
Re: I hope that url posting is ok here. If not then I am sorry, However, you should take a look at [url]www.dynamicdrive.com[/url] they have alot of everything. Good Luck | |
I don't have the code as I keep following examples that don't exactly work. So, here is what I am trying to accomplish: 1: Something similar to what this site uses to reset lost passwords 2: Redirect a user based on url in the table Any help or direction would … | |
Re: Unfortunately there is already a system like this already developed. It's called Webkinz. Good Luck. | |
I need a little help.... The form displays the data, but when I update any field it updates every field. Can someone please help me fix the issue? Thanks. [code] <?php require_once('core/db.php'); if(!$_GET['action']){ //if no action in url. eg : update.php?action=bleh //get the information for the form $query = "select … | |
Thanks for all the help and advice, I got everything working fine with sessions and what not. Now I am back asking for help writing some scripts if anyone is willing... I am unsure how to write the code, with the exception of the random md5 password which I found … | |
Re: I use the following code in a db.php which i then require or include in my other files... [code] <?php $username=''User_Name; $password='Password'; $hostname='host_name'; $databasename='db_name'; $create='off'; $prefix=''; // database conection $connection = mysql_connect($hostname, $username, $password); if (!$connection) { echo( "<P>Unable to connect to the " . "database server at this time.</P>" … | |
What I am trying to accomplish is: When a user logs in the username / password is checked against the database. Once that is done, I need it to load a page. I am getting an error using the following code. [code] <?php require_once('core/db.php'); // Check if login form was … | |
Sorry, If i posted this incorrectly, or in the wrong place... I am just looking for help with Php Sessions... I have pasted the files and the warning I am getting... Any help would be helpful. Thank you for any help... Warning: Cannot modify header information - headers already sent … |