Jump to content
MakeWebGames

Oracle

Members
  • Posts

    37
  • Joined

  • Last visited

1 Follower

Personal Information

  • Location
    In the Oracle's Cave of course
  • Interests
    Pc, piano, guitar, painting, swimming..
  • Occupation
    Tech Support at Voss Haus
  • Website
    www.demonsandangels.royalwebhosting.net

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Oracle's Achievements

Contributor

Contributor (5/14)

  • Dedicated Rare
  • Conversation Starter Rare
  • First Post Rare
  • Collaborator Rare
  • Week One Done

Recent Badges

0

Reputation

  1. 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
  2. What will help? what should I put at the end? I want it to be img
  3. Inserted that string and came back with an error do you know what the exact thing to post into SQL ?
  4. Thank you going to try that 😃 I tried INSERT INTO `items`(`itempic`) INSERT INTO `items`(`itmpic`) and it's still not accepting it
  5. May someone please post the SQL for this script? and the beginning of the script? please and thank you 😃
  6. tried that . got more errors. but thank you so much... i got unexpected T String in line 127
  7. 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.
  8. 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 😃
  9. no, but i fixed it thanks 😃
  10. 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.
  11. nah... it was just in the wrong index.php file lol there are two of them lol
  12. 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 />&gt; <a href="' . gen_url('preferences', true) . '&action=picchange">Go Back</a>'; die($h->endpage());
  13. 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.
  14. 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 /> &gt; <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 />&gt; <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 />&gt; <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 /> &gt; <a href="' . gen_url('index', true) . '">Go Home</a> '; } } Its not working giving me an error of " Invalid Picture"
×
×
  • Create New...