News:

The "Support Requests" forum is now viewable by guests.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - sixthcrusifix

#1
Okay, I figured out my old problem. Chmod permissions. What I don't get, why an image upload script works on one part of my site and not another. I've literally chmoded every single part of my site to 777 and I'm getting this:

Warning: copy(/fpgs/fpgshttpd/sixthcrusifix/home/images/artwork/digital/1170121693cool.jpg) [function.copy]: failed to open stream: Permission denied in /fpgs/fpgshttpd/sixthcrusifix/editor/process.php on line 161
#2
QuoteWarning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'sixthcrusifix'@'localhost' (using password: NO) in /fpgs/fpgshttpd/sixthcrusifix/MAIN/Literature/comment.php on line 11

What's that about? How come we can't use that function???
#3
Support Requests / Free Accounts Going Away . . .
November 09, 2006, 05:44:55 PM
I'm not posting this because I have a free account and I'm worried, in fact I have the highest available plan(Extreme I think). But what I'm worried about is why the free accounts are going and what it might progress too. I'm just concerned that it'll start with the free accounts and then eventually we'll be having to pay monthly or yearly or freepgs.com might have to shut down or something.

I'm just wondering how we're doing, we're good right?
#4
Support Requests / DNS Question
November 04, 2006, 01:32:28 AM
I just changed my domain name and decided to get it from LVCS.NET instead of hostway (Because hostway's site is screwed up and I figure if those peolple can't take care of their own dang site what makes me think they can take care of mine?!) and I know nothing of how to us eth eDNS thingy because last tiem I just did teh name servers thing and I can't find teh name servers thing on teh LVCS site.

Basically I just wanna know if I did it right. I took a screenshot of what I typed in, all I did was put in the IP address it says to on the add domains page here:

http://img300.imageshack.us/img300/9798/untitledmi5.jpg


EDIT: I think I put in the right stuff because when I go to sixthcrusifix.com I get a freepgs.com page that says: "You are receiving this error because the domain you have attempted to view
has not been associated to a users FreePgs account."

So now I just have to wait for the admin to add it right?

I know I should know how to do this but it's been like a million years since I've updated my site or came to the forum and I'm a bit rusty.
#5
How come this script:

$string = "abc bca";
$letters = array('a','b','c');
$numbers = array('b','c','a');

$str = str_replace($letters,$numbers,$string);

echo($str);


Returns the string "aaa aaa" ? ? ?
#6
Yeah I found this file on my site, on my site and on my computer, but I have NO idea where it came from. It seems harmless but I can't tell if I'm using it or not. I'm trying to delete my unused files and make my site easier to manage but I can't tell if any files are reffering to this file or not, or hell maybe it's a useful file I wanna keep.
Any idea where it came from?

NOTE: The file is SO large that I have to post half of it here and the other half in a reply.

EDIT: The file was SO large (40,048 characters) That I just decided to link to its source:

http://crystalchasm.net/MAIN/TEST.txt
#7
My aunt was trying to forward her mail from AOL to her Catchall Email here (She doesn't want AOL or anyone else knowing the exact email adress it goes to) And after recieving a few mails, AOL Locked her account and said that she was a spammer trying to solicit mail!

So somehow she resolved that issue but AOL Is wanting the "IP Address" for her website. I don't know what the heck they're talking about, her domain name or her hosting or her catchall email.... any clues? 

I wasn't sure if this was a contact form thing or not. Regardless, just proof that like Microsoft, MySpace and GoDaddy, AOL IS EVIL!
#8
Support Requests / fopen Permission Denied?!?!?!??!
June 02, 2006, 03:03:16 AM
I'm trying to install Wbblite and it worked last year but now all the sudden I get this:

Quote
Warning: fopen(lib/options.inc.php) [function.fopen]: failed to open stream: Permission denied in /fpgs/fpgshttpd/sixthcrusifix/memorium/forum/acp/lib/class_options.php on line 12


Warning: fwrite(): supplied argument is not a valid stream resource in /fpgs/fpgshttpd/sixthcrusifix/memorium/forum/acp/lib/class_options.php on line 13


I have no idea how to edit the appropriate files by hand and I NEED to install this sucker...

Also I owuld like to note that ALL permissions for ALL folders in this ENTIRE portion of my site are set to 777.
#9
Support Requests / DEMONIC SQL problems!
May 18, 2006, 01:13:36 PM
Okay can anyone help me, When ever I do this:

$SQL = "select * from USER_characters where username = \"$username\" and character = \"$chara\"";

I get this horrible "not a valid MySQL Resource" Error.



But if I leave off : and character = \"$chara\"

and just use this: $SQL = "select * from USER_characters where username = \"$username\" ";

Everything works just fine. Now this works now because I only have a single row of Data for testing, but I NEED to select my data by BOTH of those. Why the hell is it giving me the error just for trying to add a requisite? I KNOW that the value of the second one perfectly matches the value in the DB, the Character name is correct, I've checked it many times.
#10
I just do not know where my error is occuring or why teh script doesn't work but I thought maybe somone who's had sleep in teh past 16 hours might be able to spot it out.

There's a form, you input words. You can seperate them with commas and then count the number of unique words (Or spaces I could have done spaces) or you can see how many premutations (letter combos) each one has. Letter combos worked fine but unique word counting failed miserably.


<?php

if(isset($_POST['action'])){

if(
$_POST['action'] == "preM"){

 if(isset(
$_POST['msg'])){


 
$string $_POST['msg'];
 
$characters strlen($string);
 
$char$characters-1;

 while(
$char>0)
 {
 
$characters $characters*($char);
 
//echo("$char\n");
 //echo("........".$characters."\n");
 
$char = ($char-1) ;

 }
 echo(
"There are $characters Different Combinations of the letters in  '$msg' ");
 echo(
"<br>Premutations: $characters ");
 
$characters1 $characters/6;
 echo(
"<br>3 letter combos: $characters1 ");
 }
}elseif(
$_POST['action'] =="Grade"){
       
      if(!empty(
$_POST['msg'])){
        
$message $_POST['msg'];
        
$array explode(",",$message);
         
$container = array("test");
         
$ii 0;
         
$loops count($array);
         while(
$ii<$loops){
         
$word $array[$ii]; 
         if(!
preg_match("/$word/i","$container")){
         
$container[$ii] = $word;
         
$ii++;
          }
         }
        }                
       } 

}
if(isset(
$container)){
$iii 0;
$size count($container);
while(
$iii>$size){
$echo $container[$iii];
echo(
"$echo\n");
$iii++;
}
}
//echo($size);
?>

<form action="<?echo($_SERVER['PHP_SELF']);?>" method='post'>
<table align='center' border='2' bordercolor='black'>
<tr><td>
<textarea cols='50' rows='9' name='msg'>
WORDS
</textarea>
</td></tr>
<tr><td>
<input type='radio' name='action' value='Grade'>Show Unique Strings<br>
<input type='radio' name = 'action' value='preM'>Show Premutation Info
</td></tr>
<tr><td>
<input type='submit' value='GO!'>
</td></tr>
</table>
</form>
#11
Support Requests / MySQL Organizing Output, LIMITING???
January 28, 2006, 12:32:32 AM
I have a Gallery script which uses MySQL,

How can I make it so that if there are more than 30 results it will Stop at # 30 and create an index, the user can push "next" or whatever and see the rest of the list in they way they orderd it starting from the last pic they saw to  the end of the seiries?

I've tried LIMIT 30

But there's something else that I need and I Can't figure out how to do it efficiantly without making a bunch of cooky loops and arrays.
#12
Support Requests / mhash Function Doesn't Exist???
January 27, 2006, 05:45:39 PM
I used this like webzone said:


<?php
$string 
'test';
$pass mhash(MHASH_SHA256,$string);
echo(
$pass);
?>



And I recieved this error:
Quote
Fatal error: Call to undefined function: mhash() in /fpgs/fpgshttpd/sixthcrusifix/shoutbox2.php on line 3

#13
For some reason even if you input NOTHING into the form fields as long as you push submit the script runs as if all the fields were set to something.


<?php


if(!isset($_POST['name'],$_POST['games'],$_POST['reason'])){
//nothing, everything's just starting. 
echo("TEST");
}else if(isset(
$_POST['name'],$_POST['games'],$_POST['reason'])){ 

$name_ $_POST['name']; $games_  $_POST['games']; $reason_ =  $_POST['reason'];

echo(
"$name_ $games_ $reason_");

$msg "Account Name: $name_ \n";
$msg .= "Games Made: $games_ \n";
$msg .= "Reason: $reason_ \n";
$to "join_pro@gdmail.com";
$sub "Account Request";

mail($to,$sub,$msg) ;
echo(
"<script> alert(\"SUCCESS! Account request mailed!\")</script>");


} else{echo(
"You Left Out A Field!");}


?>

#14
Support Requests / DETAILED SCHEDULED RESTARTS
January 19, 2006, 01:45:24 AM
is ther eany way that these daily reboots for the server can be scheduled/?

And if so can I have a DETAILED list of WHEN these times will be? Because it seems like you people ONLY reboot when I'm in a DIRE situation and need to access my site. >:C
#15
Support Requests / Creating a standard Image size?????
January 18, 2006, 03:49:27 PM
I have a script that allows people to upload images to my site and I was wondering these things:

1. How can I make sure that the image is no bigger than 700x625 px in size (Filesize I don't care about)

2. How can I make sure they can only upload png, gif, jpeg, and jpg? (I knew this but I forgot :P)

3. Can I make a standard image size, as in EVERY image is stuck on a 700x625 px gray canvas so that pictures that are smaller than 700x625 px will end up being that size (centered hopefully) I'm doing this so that the tables will look proper and the small images won't make stuff look screwy.

4. LASTLY, and most importantly, if I can make every image go onto a 700x625 canvas (As in they'll be that size without scewing teh user's original) Is there an easy way I could add a black bar at the bottom with writting (variables that have teh username etc. )



OKAY, I managed to solve questions 3 and 4 on my own using this:


################################################
$conn = mysql_connect("localhost","sixthcrusifix","********");
$db = mysql_select_db("sixthcrusifix_DATA");
#$sql="select * from usergallery where username='$user_name' and password='$password'";
$user_name=$_COOKIE['user'];
$password=$_COOKIE['Password'];
$date=date("n-j-Y");#$date .= " "; $date .=date("g:i a");
if(isset($_POST['publish'])){$agree="YES";}else{$agree="NO";}
if(!isset($_POST['keywords'])){$keywords="none";}else{$keywords=$_POST['keywords'];}
$sql = "insert into usergallery (username,password,imagename,date,publish,keywords) values (\"$user_name\",\"$password\",\"$file_name\",\"$date\",\"$agree\",\"$keywords\")";
mysql_query($sql,$conn) ;

################################################
$flag = imagecreatefromjpeg("/fpgs/fpgshttpd/sixthcrusifix/MAIN/Gallery/images/gray.JPG");
$mask = imagecreatefromjpeg("/fpgs/fpgshttpd/sixthcrusifix/MAIN/Gallery/images/$file_name");
$mask_size = getimagesize("/fpgs/fpgshttpd/sixthcrusifix/MAIN/Gallery/images/$file_name");
$flag_size = getimagesize("/fpgs/fpgshttpd/sixthcrusifix/MAIN/Gallery/images/gray.JPG");

$center_x = .5*($flag_size[0]-$mask_size[0]);
$center_y = .5*($flag_size[1]-$mask_size[1]);

imagecopy($flag, $mask, $center_x,$center_y,0,0,$mask_size[0],$mask_size[1]);

imagejpeg($flag,"$MD$file_name");
##/////////////////////////////////////////////////////////
$string = "This is sooo cool it works!!!";                                             
$font  = 4;
$width  = ImageFontWidth($font)* strlen($string) ;
$height = ImageFontHeight($font) ;

$im = ImageCreateFromjpeg("$MD$file_name");
$x=imagesx($im)-$width ;
$y=imagesy($im)-$height;
#$background_color = imagecolorallocate ($im, 0, 0, 0); //white background

$text_color = imagecolorallocate ($im, 255, 255,255);//black text

imagestring ($im, $font, $x, $y,  $string, $text_color);
imagejpeg($im,"$MD$file_name");


HOWEVER My text doesn't have a background color :( ????



And teh first 2 questions still stand.
#16
Support Requests / COOKIES WON'T GO AWAY!
January 13, 2006, 07:48:21 AM
This simply does NOT delete my cookies for some reason! the cookies my other code made:

echo ("Goodbye $user you are now logged out!");
setcookie("user", FALSE);
setcookie($type, FALSE);
setcookie("wbb_userid", FALSE);
setcookie("wbb_userpassword", FALSE);
setcookie('Password',FALSE);

now I have these cookies paths set to "/" instead of "MAIM/ADMIN" like they really are because I couldn't access them everywhere. Izzat teh problem?
#17
When I use this at the top of my page:


if( (!isset($_COOKIE['user'],$_COOKIE['$typevalue']) || ($_COOKIE['$typevalue'] != md5("$secret") ) )  )
{

header("Location:http://crystalchasm.net/MAIN/ADMIN/login.php");
}

include("defaultcss.php");


To confirm a succecfull Admin Login, I get a redirection error that says it can't load the requested page!?
#18
Support Requests / Creating A Global Variable
January 11, 2006, 10:24:41 PM
Is there anyway I can create a variable or a value I can access with something like $_Blah['blahblah']

Because I want to include a rather lengthy peice of code to every page and since it needs to go on every page I thought it would be easier to have it in a special variable.

Original had set it in a PHP page and then included the page to use the variable but Idon't wanna have to include a page on every page because I'm not sure if that's good to do.

I really want to make a custom $_ Variable so I can change it's value (like a function).
#19
somone gave me this before but I lost it. I need to have a .htaccess file that will make a file with the extension .tpl read as a PHP file because setting PHP to execute on all extentions isn't working for .tpl but the .htaccess will.

#20
Support Requests / My Catchall is rejecting mail!
January 07, 2006, 10:18:46 AM
I have a friend who is co-admin of my site. Therefore I allow her a folder on my yahoo.com mail and I have a filter so that mail adressed to her username@mysite will go straight to her folder.

She was trying to use teh adress for neopets.com but neopets.com said that teh mail couldn't be sent for the following reasons:

A message you sent to chrisabell@crystalchasm.net was not delivered. The message from the other server is '554 The message was rejected because it contains prohibited virus or spam content'

This is maybe because teh neopets thing mails you with code, in fact a lot of mail sites put neopets.com mail straight in your spam box.

I'd like to know ifnow if there's a way to keep my catchall from rejecting these emails. I know it's my catchall because when she used a regular yahoo.com account she still got the mails in her spam folder.

I dunno when this may happen again but I use forms to let my users email me, I ned my catchall to accept ALL mail nomatter what type of thing is in it. I'm a big boy I'll kow if it's a virus.