-
Posts
37 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Oracle
-
that sounds great ! do I need a php page to help bring up the iem in staff.php? what I mean is what is the code that I need to use for itmpic / image on DemonsAndAngels (makeweb.games) / Staff etc
-
What will help? what should I put at the end? I want it to be img
-
Inserted that string and came back with an error do you know what the exact thing to post into SQL ?
-
Thank you going to try that 😃 I tried INSERT INTO `items`(`itempic`) INSERT INTO `items`(`itmpic`) and it's still not accepting it
-
May someone please post the SQL for this script? and the beginning of the script? please and thank you 😃
-
tried that . got more errors. but thank you so much... i got unexpected T String in line 127
-
Thank you so much ) now I have Parse error: syntax error, unexpected T_STRING, expecting ']' in /srv/disk22/4182841/www/demonsandangels.royalwebhosting.net/Mods/marriage.php on line 127 ugggg, I'm trying so hard to decipher this but I just haven't gotten to that part in the php book yet.
-
Hi, I am having trouble with <center><table width=90% cellspacing=1 class=table border=1 bordercolor=#636363></center><tr><td> Proposer: [url='viewuser.php?u=".abs(intval($r[']".htmlentities($r['username'])."[/url] </td> I'm getting this error Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /srv/disk22/4182841/www/demonsandangels.royalwebhosting.net/Mods/marriage.php on line 120 is there anyone that can help me with this? Thanks in advance 😃
-
no, but i fixed it thanks 😃
-
alter table 'users'`mine_level` int(11) NOT NULL DEFAULT '1'; alter table 'users' `mine_exp` int(11) NOT NULL DEFAULT '1'; alter table 'users' `mine_needed` int(11) NOT NULL DEFAULT '1000', is not working even if adding one at a time.
-
mccode-v2 Streets & Hourly Reward | MCcode Redux Free Mods
Oracle replied to chavdave's topic in Free Modifications
nah... it was just in the wrong index.php file lol there are two of them lol -
it has and else if , begins with http or https it's invalid . which doesn't make sense to me not sure why its stating that, because that is what I need to use. else { if (strlen($_POST['newpic']) < 8 || !(substr($_POST['newpic'], 0, 7) == 'http://' || substr($_POST['newpic'], 0, 8 == 'https://'))) { echo 'Invalid Image.<br />> <a href="' . gen_url('preferences', true) . '&action=picchange">Go Back</a>'; die($h->endpage());
-
mccode-v2 Streets & Hourly Reward | MCcode Redux Free Mods
Oracle replied to chavdave's topic in Free Modifications
the arrays do not work in index.php 'chat' => 'Mods/shoutbox.php', 'streets' => 'Mods/streets.php', I tried both of those and get errors about a double arrow. this is for Redux Mods . trying to put it in the index.php file so it recognizes and goes to the right file. -
Thank you for your help 😃 I do thanks but can anyone fix this? function do_pic_change() { global $db, $ir, $c, $userid, $h; if (!isset($_POST['verf']) || !verify_csrf_code('prefs_picchange', stripslashes($_POST['verf']))) { csrf_error('picchange'); } $_POST['newpic'] = (isset($_POST['newpic']) && is_string($_POST['newpic'])) ? $_POST['newpic'] : ''; if (empty($_POST['newpic'])) { echo ' You did not enter a new pic.<br /> > <a href="' . gen_url('preferences', true) . '&action=picchange">Back</a> '; } else { if (strlen($_POST['newpic']) < 8 || !(substr($_POST['newpic'], 0, 7) == 'http://' || substr($_POST['newpic'], 0, 8 == 'https://'))) { echo 'Invalid Image.<br />> <a href="' . gen_url('preferences', true) . '&action=picchange">Go Back</a>'; die($h->endpage()); } $image = (@getimagesize($_POST['newpic'])); if (!is_array($image)) { echo 'Invalid Image.<br />> <a href="' . gen_url('preferences', true) . '&action=picchange">Go Back</a>'; die($h->endpage()); } $db->query( 'UPDATE `users` SET `display_pic` = "' . $_POST['newpic'] . '" WHERE `userid` = ' . $userid); echo htmlentities($_POST['newpic'], ENT_QUOTES, 'ISO-8859-1') . '<br /> Pic changed! <br /> > <a href="' . gen_url('index', true) . '">Go Home</a> '; } } Its not working giving me an error of " Invalid Picture"
-
I'm still having trouble with this..... function do_pic_change() { global $db, $ir, $c, $userid, $h; if (!isset($_POST['verf']) || !verify_csrf_code('prefs_picchange', stripslashes($_POST['verf']))) { csrf_error('picchange'); } $_POST['newpic'] = (isset($_POST['newpic']) && is_string($_POST['newpic'])) ? $_POST['newpic'] : ''; if (empty($_POST['newpic'])) { echo ' You did not enter a new pic.<br /> > <a href="' . gen_url('preferences', true) . '&action=picchange">Back</a> '; } else { if (strlen($_POST['newpic']) < 8 || !(substr($_POST['newpic'], 0, 7) == 'http://' || substr($_POST['newpic'], 0, 8 == 'https://'))) { echo 'Invalid Image.<br />> <a href="' . gen_url('preferences', true) . '&action=picchange">Go Back</a>'; die($h->endpage()); } $image = (@getimagesize($_POST['newpic'])); if (!is_array($image)) { echo 'Invalid Image.<br />> <a href="' . gen_url('preferences', true) . '&action=picchange">Go Back</a>'; die($h->endpage()); } $db->query( 'UPDATE `users` SET `display_pic` = "' . $_POST['newpic'] . '" WHERE `userid` = ' . $userid); echo htmlentities($_POST['newpic'], ENT_QUOTES, 'ISO-8859-1') . '<br /> Pic changed! <br /> > <a href="' . gen_url('index', true) . '">Go Home</a> '; } } It won't let me add a pic
-
The Staff.Farm.php is not working correctly I get a Internal Server Error when trying to create an animal category or an animal itself. is there a working copy of staff.farm.php anywhere? Thanks so much for your help 😃
-
NEED correct SQL please 😃
-
Not able to find the SQL for item .... as when you go to use certain items it takes you to Internal Server Error A critical error has occurred, and this page cannot be displayed. Please try again later. Query failed So I think I need better SQL for "item" thanks for all your help 😃
-
Thank you so much for this ! I really enjoy it !
-
awesome thanks.... no i don't have access to that. but still looking for the var dump lol
-
thank you much ! I checked all three folders im not finding it var_dump() . now im getting this array(2) { ["started"]=> bool(true) ["csrf_login"]=> array(2) { ["token"]=> string(32) "c1b75d63ad7754011902166bdcf48d92" ["issued"]=> int(1664471762) } }
-
This is all I see when I try to go to my website I get.... array(1) { ["started"]=> bool(true) } I have no idea what file that is in I been looking through each file. I can't find the code that is screwing up login the front page is just array(1) { ["started"]=> bool(true) } on a white page with nothing else when I go to my website.
-
thank you
-
If anyone would please post the config.php for mccodes version 2 that would be greatly appreciated as on mccodes.com it won't let me DL v2 again , it's blocked off by " logout" so if anyone can post config.php here that would be greatly appreciated 😃