Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~26.5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for AdriftUniform

Hi, I am trying to display two or more images from a database and I cannot get them to display simultaneously. I have a database table called 'tbl_images' which has two fields 'id' and 'image' here is the code for the database creation: [code=mysql] CREATE TABLE tbl_images ( id tinyint(3) …

Member Avatar for garyrichard
0
15K
Member Avatar for AdriftUniform

Hi, I am trying to get a php variable into a header, I have managed it in another file but it not having it this time and I do not know why. Here is my php code [code=php] <?php header("Location: photo.php?albumid=".urlencode($albumid)); include_once 'title.php'; $result = mysql_query("SELECT id FROM user WHERE …

Member Avatar for LastMitch
0
661
Member Avatar for Rewired

For some reason I can ONLY upload .JPEG but not .GIF, .BMP, .PNG Can someone help fix this please? Is their something I did wrong? [CODE]<?php ini_set("memory_limit", "200000000"); ?> <?php if ((isset($_POST["submitted_form"])) && ($_POST["submitted_form"] == "image_upload_form")) { if (($_FILES["image_upload_box"]["type"] == "image/jpeg" || $_FILES["image_upload_box"]["type"] == "image/pjpeg" || $_FILES["image_upload_box"]["type"] == "image/gif" || …

Member Avatar for akira_lee
0
187
Member Avatar for AdriftUniform

Hi all, I am sorry if I have posted this in the incorrect place but I couldn't see an Apache section. I am working on some ReWrites and ReDirects in my htaccess file, my reason for doing this is because I am developing a new design and layout for an …

Member Avatar for AdriftUniform
0
190
Member Avatar for AdriftUniform

Hi there, I have a system where a user can upload an image, once an image has been uploaded php crops the image and then resizes to to a thumbnail. This works perfectly well with JPEGs, but does not work with PNGs and GIFs. I have used code to make …

Member Avatar for AdriftUniform
0
403
Member Avatar for AdriftUniform

Hi, I am having an issue getting my select boxes working in IE. My current situation is that I have 2 select boxes, 1 for Styles and another for Substyles. Not all Styles have a Substyle, but each Style has a different Substyle, so when should happen is when you …

Member Avatar for AdriftUniform
0
151
Member Avatar for AdriftUniform

Hi, I am using a prototype PayPal payment system which does not ever need to properly work, but I am having trouble writing to the database as well as redirecting to the PayPal payment page at the same time. Here is the form: [code=php] echo '<form name="purchase" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">'; …

Member Avatar for AdriftUniform
0
226
Member Avatar for AdriftUniform

Hi, I am looking for some information about using Underscores ( _ ) in usernames. I currently have a friends system where a user can become friends with another user and this is placed into a database. I then have a query to display all of the users friends, which …

Member Avatar for AdriftUniform
0
167
Member Avatar for AdriftUniform

Hi, I have created a system where users can follow another user, I am currently querying the table to display who is following who. I have two queries as shown below: [code=php] // followers query $query = "SELECT * FROM friends WHERE friFriend='$view'"; $result = queryMysql($query); $num = mysql_num_rows($result); // …

0
108
Member Avatar for AdriftUniform

Hi, I have a successfully working system at the moment where a user can choose a file and upload it to my MYSQL database as a BLOB, but before the image gets saved as a BLOB I want to resize it. I have been giving this a try by using …

Member Avatar for AdriftUniform
0
2K
Member Avatar for jamesyrawr

I am fairly new to php but i do have some knowledge of it im justnot sure how to code what i want. if anyone can give me some idea of what code i need i'd really appriciate it :) anyway photo names will be uploaded to database with a …

Member Avatar for AdriftUniform
0
940
Member Avatar for AdriftUniform

Hi, I am trying to create a group of html links that are dependant on two arrays. The data of the arrays is populated from a mysql database, here is my code: [code=php] <?php include_once 'title.php'; include_once 'checkuser.php'; if (isset($_GET['view'])) $view = sanitizeString($_GET['view']); else $view = $user; $sql = "SELECT …

Member Avatar for AdriftUniform
0
242
Member Avatar for AdriftUniform

Hi, I am having an issue saving images to a MYSQL database as a BLOB, I have been for a few days now, I have used several different tutorials and even though the code works with no errors returned, nothing actually get put in my database. Here is my form …

Member Avatar for AdriftUniform
0
196
Member Avatar for AdriftUniform

Hi there. I am creating a social networking website and I am having an issue when posting messages on a users profile. The message posts correctly and displays correctly too but when I refresh the page a duplicate of the last message is submitted. I do not want to prevent …

Member Avatar for itisnot_me
0
6K