No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
54 Posted Topics
Re: Erm ..... may I just comment on something here! Before you consider making a script it would really be worth you looking at basic user input authenitcation and sanitisation. You have posted your database connection details on the internet which is not advised as people could hack you database and … | |
Hello, I have been trying to set up this script for a charity website (animal sanctuary) in which members can upload a photo of their pets to the members log in area. I have so far managed to get the basic script working but would like to give each image … | |
Hello everyone, I am trying to istall this script which has no install instructions. However, in the Config document it hs the following line whichit says to edit [code] $items_path = "/var/www/vhosts/cyberpetcity.com/httpdocs/images"; //EDIT $Z = ""; [/code] I thought it may have been the full URL that I was supose … | |
Hiya, Ive been using sessions for my website login but dont actually seem to be able to get my head round the data and content of it! For example ... if im using a session that holds the username of the member which is used to indetify and check access … | |
Hi Everyone, I am creating a website in which I would like to allow members to post html and css code to decorate their profiles backgrounds and pages. Ive been searching for ages and am confused as to the best way to sanitise input before inserting it into the database … | |
Re: hmm ... are you sanitising the user input at all? I am currently looking at using text areas and trying to get my head around the best way to format, sanitise and strip all the input. | |
Hello, I am creating a website that requires a page to have over 100 small images (between 80x80px up to 100x100pxs in a gallery type interface. I will also need to have a hover over box with description for each box. I am also considering using a mysql database to … | |
Hello, I was wondering if I could clarify some recent information I have found on the internet regarding PHP security. Im a self taught PHP/MySQL amateur and therefore have a very skethcy knowledgebase of the coding. lol Im currently developing a website and would obviously like to ensure its as … | |
Hello everyone, I paid for this script which is a community that offers its members the chance to get a club and joijn other members clubs! However, when people try to join a club they getb this error: Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in /home/cyberpet/public_html/club_join.pro.php on line … | |
Hello, I have been trying to find a way to load my page in the following way and wondered if there is a solution using PHP/AJAX,etc? I have a webpage that has an iframe. This iframe contains alot (100 plus) small images and takes forever to load on a 56k … | |
Re: Heya .... just wanted to ask if you are actually sanitising your user input for the login form? Otherwise talk of sessions and cookies is pointless as hackers will just be able to hack your site anyway. May as well not bother with a login script if you are not … | |
Re: Heya, At a guess you could redirect them from say .... login.php to logging.php which echos the message you want! Then on this page insert a simple piece of redirect javascript such as: [code] <script type="text/JavaScript"> <!-- redirectTime = "1500"; redirectURL = "http://www.yourwebsite.com"; function timedRedirect() { setTimeout("location.href = redirectURL;",redirectTime); } … | |
Re: Heya .... It depends on how complicated you want/need this to be! How many potential subscribers do you expect? If you have some cash then you could search for one of the many pre made scripts out there and possibly configure it to your liking. If you want to start … | |
Hello all, Just wanted to see if I am leaving open some security hole in a script I have! When the user logs in it creates a session based on the id field of the users table! For example .... my id is 10 so a session is created with … | |
Re: If its a script then im guessing the contents wouldnt need to be updated often? Maybe us a pre made script such as [url]http://www.zubrag.com/scripts/download.php[/url] If the content needs to be updated on the fly then that would be alot more harder :) | |
Re: At a quick glance Ive noticed you have for the first original two: [code] <b>[var.lang_first_name]:</b> and <b>[var.lang_last_name]:</b> [/code] whereas for the new fields you have only printed them [code] <b>Address 1:</b> [/code] Think we would need to see the processing code in order to see why it isnt showing the … | |
Hello all, My website has a feature in which I can turn on/off a feature which allows members to add their own CSS code for their profile design! If possible I want to allow this as it would mean a much better platform for my members but I wanted to … | |
Hello, I am really really stuck on a feature I am trying to do. I have a main page which contains an Iframe to a different script. I am trying to pass the username of the member to an iframe so that the script contained in the iframe can identify … | |
Heya, I have recently got a script that basically uses AJAX to automatically resize an Iframe as opposed to having it show scrollbars. `Its a god send script as it means I can make my website 20 times better, however it doesnt seem to work properly with IE. Firefox seems … | |
Hiya, I was wondering if there is a need to change the database table names and script variables of an open source script to enhance security. A script I have has lots of pages and variables that are used throughout the site. I have changed database table names as I … | |
Re: Something simple but have you given your database user permissions to delete? Im also an old newbie and still trying to get my head round it all. lol | |
Hello, I have been looking at tutorials and pages on the net regarding cookies and sessions. Originally I thought my script was using both but then noticed it doesnt. I wanted to know if there is anything wrong with this code as my new server doesnt seem to like my … | |
Hiya, I am still developing my website and just wanted to ask whether I am on the right track to ensuring my website coding, database connection, etc is safe. My public directory obviously has the main pages in which the members will visit. For example .... log_in.php is located in … | |
Dear members, I am after some help with a script I am trying to write/use! I am currently re-designing a website for an animal charity for which they would like to add a section in the members area where people can upload their own photos of their animals/pets. I have … | |
Hello, I have a website which uses a session and then also creates a number of cookies. My knowledge of both sessions and cookies isnt great so I was wondering if anyone may know the reason for my problem .... Sometimes when I log into the site it allows access … | |
hello, I am just about to re-organise my database which is done using MySQL. My current database is quite large and i have concerns that if I gain alot of members then the database may not be able to cope and the performance of the website may be affected. My … | |
Hello everyone, I am setting up a section of coding in which I need to add and subtract certain values to a mysql field. However ...the code only seems to add negative numbers (-13.0) as a postive number to the database and its really confusing me now! :( What I … | |
Hello, I have been setting up a photo upload feature for a website which allows members to upload photos. I am also after some advice on how large a file should be? I thought about allowing members to upload a photo up to 100,000 in size and allowing a maximum … | |
Hello everyone, I have been trying to get this piece of coding to work! It contains multiple if statements and has just sent my mind spinning. I have an error code and cant seem to get past it! What im trying to achieve is to basically check if the username … | |
Hello, I am really really stuck on a small project im working on and have been at it now for the past 12 hours. lol I am trying to set up a restrcited page for my admins and have the following: [code] $find_access = fetch ("SELECT * FROM job_roles WHERE … | |
Hello, It seems my IF ($email_settings == "0") isnt working properly. I am trying to get it so that IF a setting in a table field is set to 0 then it continues and executes the info between the {} which is to send an email. However, if the IF … | |
Hello, I have set up a photo gallery and would like to resize the width for each photo displayed! However, I cant seem to get the coding right! Here is the snippet of code: [CODE] //Outputs the image and other data Echo "<img src=/photos/".$info['photo'] 'width=200' . "> <br>"; Echo "<b>Description:</b> … | |
Hello, I have forms on my website for user profiles where they can update their information. I would like to limit this so users cannot insert HTML or other coding into some of the text boxes as this would cause significant problems. Is there a way I can either make … | |
Hello, Im a little bit confused with this piece of coding I have! Im basically trying to add a script I have converted to a web page! The original code was using echo statements which was fine on a separate page but now I want it to be apart of … | |
Hello, I am trying to show a list of information using a FETCH and WHERE statements. This is my code: [code] $buds = mysql_query("SELECT * FROM buds2 WHERE bud_me = '$userid' AND confirmed= '1'"); $x = 1; while ($array = mysql_fetch_array($buds)) { $buddy = fetch("SELECT display_name,username FROM members2 WHERE id … | |
Hello, I was wondering if anyone can help me sort this problem! I basically have a member profile feature on my site that has an update page! Members can update information such as their date of birth, location etc! I currently have a text box in which members have to … | |
Hello everyone, Ive been having trouble trying to incorporate the code for an image Map into a PHP global.inc.php document of my community. The image map code is: [code]<img name="headerbanner0" src="headerbanner.gif" width="950" height="125" border="0" usemap="#headerbanner" alt="" /> <map name="headerbanner"> <area shape="rect" coords="224,93,385,125" alt="newsroom"> <area shape="rect" coords="585,90,793,2081874365" href="http://cyberpetcity.com/view_page.php?page=1363&game=1" alt="cybertown"> <area shape="rect" … | |
Hello, I have a virtual pet website that has a soup kitchen which should only open at certain times during the day! However, I want to be able to add more timings to the kitchen opening hours but for some reason the script doesnt execute the IF statement and therefore … | |
Hello, I am trying to make the code below work so that when a member visits his/her own profile they can see the $bank_balance along with all the other details. However, when the member goes and visits someone elses profile I dont want them to be able to see the … | |
Hello, I was wondering if anyone could help me as I am trying to add all the rows of a particular field in a MySQL table using PHP. I have a table named members2 which has a field named points! What I want to be able to do is display … | |
Hello, The piece of code below is basically where a member clicks on the link and then this should update that members exp_points field by the amount shown in the $points variable. So far I have managed to get it to work so that when a member clicks the link, … | |
Hello everyone, I have been trying to get this piece of code to work and havent been able to see why it isnt working! The code is a training school page for my virtual pet site in which members should be able to go and choose which pet they want … | |
Hello everyone, I seem to be having a problem inserting some information into a MySQL table. Below is a copy of the MySQL table code I used and also the PHP code. I was wondering if anyone can help me find out why it wont insert the information. What I … | |
Hello everyone, Im once having problems trying to retrieve information from one of my tables. I have a table with the following information: [code] CREATE TABLE `island2` ( `id` int(10) unsigned NOT NULL auto_increment, `user` int(11) NOT NULL default '0', `island` int(11) NOT NULL default '0', `town` int(11) NOT NULL … | |
Hello everyone, I really really need some help with this as Ive been trying to sort since December and cannot seem to get past it. I only know very basic PHP and still currently learning. Basically I have a website with multiple pages and a membership system which has a … | |
Hello everyone, How easy would it be and where would I start to create a system that members of my virtual pet community could check a box when they register (and update on their profile page) to accept or decline being added to an email list, then for a script … | |
Hello everyone, For the navigation of my website I have decided to use a Drop Down Menu which I have inserted into the side menu template so it shows on every page. This is all fine except when you click on it the first time then its successfully loads the … | |
Hello everyone, I have been learning how to code a simple message board (or 'forum') and have really been proud of what Ive achieved so far. However, I want to include these message boards in my online community but currently members will have to add their name as a field … | |
Hello everyone, I am developing a virtual pet site that is based on PHP, CSS and MySQL. I am currently learning PHP and MySQL myself but require some genius minds to help me develop my community and ideas ready for a big launch in March/April. [B]Things I require help with … | |
Re: Heya, Check out [url]www.edate2day.com[/url] thats my script I got from e-marvel. Its a good script but dont waste your money unless you have a very good marketing plan. My site kinda sits there waiting for people to come along. I gave up on trying to get people to join up. … |
The End.