HI Guys i got a PHP problem can u help me out
Moderator: General Moderators
-
anthony100
- Forum Commoner
- Posts: 25
- Joined: Sat Sep 09, 2006 11:00 am
HI Guys i got a PHP problem can u help me out
http://www.maximumwar.com/index.php
as u can see on the right hand side it kinda blue/grey.
here is the code well a link to it as i havent got a clue how to copy and paste it.
http://s37.photobucket.com/albums/e67/u ... h=imgAnch1
cheers Anthony
grrr didnt work just click on the UKCOIN sign on the left top and its the first image
cheers Anthony
as u can see on the right hand side it kinda blue/grey.
here is the code well a link to it as i havent got a clue how to copy and paste it.
http://s37.photobucket.com/albums/e67/u ... h=imgAnch1
cheers Anthony
grrr didnt work just click on the UKCOIN sign on the left top and its the first image
cheers Anthony
Last edited by anthony100 on Tue Sep 12, 2006 5:34 pm, edited 1 time in total.
-
anthony100
- Forum Commoner
- Posts: 25
- Joined: Sat Sep 09, 2006 11:00 am
-
anthony100
- Forum Commoner
- Posts: 25
- Joined: Sat Sep 09, 2006 11:00 am
-
anthony100
- Forum Commoner
- Posts: 25
- Joined: Sat Sep 09, 2006 11:00 am
feyd | Please use
That is the code
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]Code: Select all
<?php
require('dblogon.php');
require('std_l.php');
// This user is deleting their account
if(isset($_GET['mdelete'])) {
echo "<center><b>Account deleting...</b><br>Your account is now in the process of<br>\nbeing deleted. Please ";
echo "log back in soon if you<br>\nwant to cancel this action!</center>\n";
}
?>
<p><b>Welcome to <?=stripslashes($title);?></b></center><br>
Signup now to begin playing!</p>
<hr>
<center><a href="signup.php"><img src="img/signup.jpg" width="420px" height="125px" border="0" alt="Signup"></a></center><br>
<hr>
<?php require('std_r.php'); ?>That is the code
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]- gkwhitworth
- Forum Commoner
- Posts: 85
- Joined: Tue Sep 05, 2006 8:28 pm
- Location: Wasilla, Alaska
Ok buddy....I think you need to work a little on your layout before you even mess with the php.
for instance in your stylesheet your body background color is #333333, when in reality you should just use the background image you are using everywhere:
background-image:URL('img/bg.jpg');
Also, you should make it so that your table fills 100 percent of the screen, so you don't end up with that gray color....what is happening, your table setting is for 100 percent but needs to be centered....so you probably should re-layout your design.
for instance in your stylesheet your body background color is #333333, when in reality you should just use the background image you are using everywhere:
background-image:URL('img/bg.jpg');
Also, you should make it so that your table fills 100 percent of the screen, so you don't end up with that gray color....what is happening, your table setting is for 100 percent but needs to be centered....so you probably should re-layout your design.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
I don't think there is a PHP question in this thread. In fact, it sounds like a style question (given the only thing asked so far is if we see the gray background on the right hand side). That being said, if there is no PHP question asked in this thread within an hour, I am going to move it to Usability.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
-
anthony100
- Forum Commoner
- Posts: 25
- Joined: Sat Sep 09, 2006 11:00 am
sorry bout that my question was how do i move the background to cover the whole of the map.
as im very new to PHP i total havent got a clue.
but after a few cups of tea and staining my eyes i found out that i total completly gave you to wrong PHP code.
then i found the file i was looking for in it was a simple case of changing the width of the back to 100%.
but thanks guys anyways.
as im very new to PHP i total havent got a clue.
but after a few cups of tea and staining my eyes i found out that i total completly gave you to wrong PHP code.
then i found the file i was looking for in it was a simple case of changing the width of the back to 100%.
but thanks guys anyways.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
anthony100, I would also suggest that once you have some code together you post some of it in the coding critique and/or security forum, or just look around in the security forum and study the threads there.
I can only see a snippet of code and I don't know in which context it's used exactly, but as it is there is no data validation or escaping at all. Usually that points to security risks. So you might want to check that out.
I can only see a snippet of code and I don't know in which context it's used exactly, but as it is there is no data validation or escaping at all. Usually that points to security risks. So you might want to check that out.