Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Scottmandoo

in the below code, everything works. However if the user is logged in (where is says html goes here) it wont display anything at all. [CODE=php]<?php // Connects to your Database mysql_connect('host', "user", "password") or die(mysql_error()); mysql_select_db("database") or die(mysql_error()); //checks cookies to make sure they are logged in if(isset($_COOKIE['ID_'])) { …

Member Avatar for happytogether
0
101
Member Avatar for Scottmandoo

ok first off please look at the following images [url]http://monstermonsterstudios.com/clients/dropdesignstudio/Picture%207.png[/url] [url]http://monstermonsterstudios.com/clients/dropdesignstudio/Picture%208.png[/url] What i want to do is if the window width is smaller than the width of the image i want it to keep going passed the left margin if that makes sense? [CODE]<div style="position:absolute; overflow:hidden; top: 58px; width:100%;" align="center"><img …

Member Avatar for pritaeas
0
85
Member Avatar for andydeans

Hi, I have been using some tools to generate my php code as i have little knowledge of php. the tools are ok but the support is rubbish. everything is generated in US date and time format and i need it to be in UK. anyway to cut a long …

Member Avatar for almostbob
0
79
Member Avatar for Scottmandoo

Ok so heres the site: [URL="http://allegro1dancestudio.com/"]http://allegro1dancestudio.com/[/URL] Ive made an event calendar for that site which uses a flat-file database. The calendar part works fine, however, the code is able to make the file but will not write to it and therefore I dont know if i can even get event …

0
61
Member Avatar for Scottmandoo

im trying to set up a calendar using the code from the following site, however i have only got up to the code displayed below, which the site says it should show a calendar however im getting this error. I do however want to set up the whole calendar to …

Member Avatar for Scottmandoo
0
131
Member Avatar for Scottmandoo

Im not sure if this is a php problem or javascript, but since the actual photo gallery is run by javascript I'll post it here, sorry if its not though. Everything works fine but when I click on another image to change the main image the caption wont change with …

Member Avatar for Scottmandoo
-1
91
Member Avatar for Scottmandoo

in the following piece of code the else part of my if/else statements doent seem to work it just adds nothing, thanks. btw genre is a dropbox (and yes i have added the values) and genre2 is a text box, same with the filehost and filehost2. [CODE=php]$name = $_POST['song']; $artist …

Member Avatar for Scottmandoo
0
104
Member Avatar for Scottmandoo

Well heres the code im using, can anyone either fix this code to make it work or suggest a better way of doing this, thanks. [CODE=javascript]function ValidateForm() { if (document.submitform.email.value=="") { alert("There is no email entered!"); return false; } if (document.submitform.email.value=="Enter your email...") { alert("Please enter an email!"); return false; …

Member Avatar for essential
0
116
Member Avatar for Scottmandoo

Can anyone tell me why this code isnt working? [CODE=php]<?php $username = $password = $database = $email23 = $_POST['email']; $con = mysql_connect('localhost',$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $sql = "SELECT * FROM `user_user` WHERE `email` = '$email23'"; $query = mysql_query($sql) or die('Error: ' . mysql_error()); $r = mysql_fetch_row($query); …

Member Avatar for Scottmandoo
0
174
Member Avatar for Scottmandoo

Ok so I used Adobe Photoshop to generate my Photo Gallery Code, the default index.html page it creates works fine when i upload it to my site but as soon as I add my sites layout around the code it does not seem to work, can anyone please help me. …

0
73
Member Avatar for Scottmandoo

ok lets make this a little simpler than my last topic. I found this [URL="http://wiki.dreamhost.com/index.php/PHP.ini"]site[/URL] which everyone who follows it seems to be getting results from, though it says "You are expected to be knowledgeable in the UNIX shell." which i have got no idea what that even is. I …

Member Avatar for rgviza
0
99
Member Avatar for Scottmandoo

My webhost currently allows for 2mb uploads via php (default settings). Now I can not access the main php.ini file and .htaccess is not allowed on free accounts. So what I wanted to know is am I able to set up a custom php.ini to change the upload settings. I …

Member Avatar for Scottmandoo
0
64
Member Avatar for Scottmandoo

Ok below is my display script, though I have no idea how to make an edit script so could someone either make one for me or if thats too much to ask atleast help me make one. [CODE=php]<? $username=""; $password=""; $database=""; $con = mysql_connect('localhost',$username,$password) or die('Error: ' . mysql_error()); mysql_select_db($database) …

Member Avatar for Scottmandoo
0
123
Member Avatar for Scottmandoo

In my last topic i quess i was asking to much so no one would help me, so this time ill take it one step at a time, heres my first problem. [CODE]<? include("dbinfo.inc.php"); mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM tutorials WHERE tut_program='Photoshop' AND tut_category='Text …

Member Avatar for prethum
0
2K
Member Avatar for Scottmandoo

Ok im trying to upload an image and a .zip file to 2 different loactions at once aswell as put their links on my mysql database, heres my script, at the moment it displays nothing, does nothing and seriously needs fixing. [CODE=php]<?php $username="my_username"; $password="my_password"; $database="my_database"; $font_name = ucfirst($_POST['font_name']); $letter = …

Member Avatar for Scottmandoo
0
78
Member Avatar for Scottmandoo

Couls someone help me fix this code, I think I need to put in a function and a return but i'm not quite sure. All the code does is return the value # for everything even letters [CODE=php]$letter = ucfirst($_POST['tut_name']); $letter2 = $letter{0}; if($letter2 = 1) { $letter3 = '#'; …

Member Avatar for Scottmandoo
0
119
Member Avatar for Scottmandoo

Is there anything wrong with this script? [CODE]<?php $username=""; $password=""; $database=""; $rom_name = $_POST['rom_name']; $rom = $_FILES['rom']['name']; function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } if (empty($rom)) { $result = '<font color=FFFFFF>Please choose a ROM …

Member Avatar for Scottmandoo
0
242
Member Avatar for Scottmandoo

Alright this is my code, the error im getting is in red [CODE]<?php include("dbinfo.inc.php"); $tut_name = $_POST['tut_name']; $tut_link = $_POST['tut_link']; $tut_program = $_POST['tut_program']; $tut_category = $_POST['tut_category']; $tut_video = $_POST['tut_video']; $tut_download = $_POST['tut_download']; $tut_image = $_FILES['tut_image']['name']; function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) …

Member Avatar for Scottmandoo
0
83
Member Avatar for Scottmandoo

I know this one gets asked a lot but after reading about 5 topics about this I still can't figure out what i have to do. Can anyone help me change this script so it will upload images, then tell if there is a specific way to display them or …

Member Avatar for silviuks
0
72
Member Avatar for Scottmandoo

Im quite new to php and mysql but ive figured out how to upload and display content from my database, but im still facing quite a lot of problems. - First how do you display an image uploaded in the database? - Second how do you make the content only …

Member Avatar for Scottmandoo
0
161