Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
bonzitre
New Member
New Member



Joined: Feb 19, 2005
Posts: 10

PostPosted: Sat Feb 19, 2005 11:40 pm Reply with quote

At the top of the page, the following appears:
tion_expire] <= $time) { $db->sql_query("DELETE FROM ".$prefix."_subscriptions WHERE userid='$cookie[0]' AND id='$row[id]'"); $from = "$sitename <$adminmail>"; $subject = "$sitename: "._SUBEXPIRED.""; $body = ""._HELLO." $cookie[1]:\n\n"._SUBSCRIPTIONAT." $sitename "._HASEXPIRED."\n$renew\n\n"._HOPESERVED."\n\n$sitename "._TEAM."\n$nukeurl"; $row = $db->sql_fetchrow($db->sql_query("SELECT user_email FROM ".$user_prefix."_users WHERE id='$cookie[0]' AND nickname='$cookie[1]' AND password='$cookie[2]'")); mail($row[user_email], $subject, $body, "From: $from\nX-Mailer: PHP/" . phpversion()); } return 1; } } else { return 0; } } switch($gfx) { case "gfx": $datekey = date("F j"); $rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey)); $code = substr($rcode, 2, 6); $image = ImageCreateFromJPEG("images/code_bg.jpg"); $text_color = ImageColorAllocate($image, 80, 80, 80); Header("Content-type: image/jpeg"); ImageString ($image, 5, 12, 2, $code, $text_color); ImageJPEG($image, '', 75); ImageDestroy($image); die(); break; } ?>s.php"); break; } ?>

my site is bonzitre.tk Please email me with a solution if you can, thanks.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Feb 20, 2005 12:14 am Reply with quote

This would indicate that the files did not get transferred correctly. I would recommend deleting the files and reftp'ing them again in binary mode.
 
View user's profile Send private message
bonzitre







PostPosted: Mon Feb 21, 2005 9:31 pm Reply with quote

wtf does that mean?
 
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Tue Feb 22, 2005 1:20 am Reply with quote

wtf? what kind of response is that for someone that is trying to help you?

File transferring refers to sending the files to the server via ftp, images must be uploaded using binary mode, php - html, tpl and txt files should be uploaded using ascii mode, all ftp clients (WS_FTP, cuteFTP, etc) have options for these two modes.

If still not clear about any of this take a look at the following mini tutorial that explains ftp in detail:
[ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©