Jump to content

Daim

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by Daim

  1. I don't know if it's possible to send data with GET and POST simultaneously. You'd better make use of hidden fields, where you enter the additional data you wish to send. <input type="hidden" name="extra_random_data" value="random_value" /> EDIT: Or just put the GET data in your form ACTION like in this example I made. <?php if(@$_POST['send']) { echo $_GET['random']; echo $_POST['randompost']; } ?> <form action="test.php?random=LIES"method="POST"> Random: <input type="text" name="randompost"/> <input type="submit" name="send" /> </form>
  2. You can always make use of an ordinary cookie, which you can set an expiry time for: // Expires in 20 minutes setcookie("TestCookie", $value, time()+1200);
  3. He just set a new password. Well I had a quick peek into the matter, and it seems like you need to rewrite a part of your config.inc.php file. This file can be found in the following folder : wamp/apps/phpmyadmin/config.inc.php Mine looks like: $cfg['Servers'][$i]['verbose'] = 'localhost'; $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['port'] = ''; $cfg['Servers'][$i]['socket'] = ''; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = ''; $cfg['Servers'][$i]['AllowNoPassword'] = true; And obviously you'll need to adept the following line matching your new password. $cfg['Servers'][$i]['password'] = 'newPassword';
  4. You can just store the HTML code in a TEXT field in your mysql database. When you echo the HTML code make sure you echo it in a textarea. In my opinion it would be alot easier, to make a system that allows users to upload a zip file and a screenshot of the template.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.