Jump to content

Northern Flame

Members
  • Posts

    816
  • Joined

  • Last visited

    Never

Everything posted by Northern Flame

  1. woo hooo! i finally found a working one!
  2. I want to create a drop down menu for my website but I dont know how. I once found a script a long time ago that showed you how to do this using Javascript, CSS, and HTML. I saved that script because it worked but I think I might have accidentally deleted it awhile back. So now I have searched for this on google but non seem to work! Can anyone help he create this? Or send me a link of a working drop down menu. Any help would be appreciated!
  3. alright that makes sense, ill give that a try right now
  4. I am creating some PHP files and on one of them the user has an option to add a page. I know how to create a page using PHP, but when I try to do it, it gives me a message saying I dont have permission to do this. Am I suppose to include the FTP details in order to do this? And if so, how do I insert them?
  5. I tried that but now nothing is displayed
  6. I am working on a project and I want all the content to be displayed on the index of my Admin. So I wrote a script for this, but it displays all of the files that I ask for it to include, and none of the "submit" buttons work. Can anyone take a look and see what I did wrong? <?php $page = $_GET['page']; $generator = 'generator'; $admin = 'admin'; $links = 'links'; $results = 'results'; $success = 'success'; include('var/config.php'); include('login.php'); if($page == $generator){ include('generator.php'); } if($page == $admin){ include('admin.php'); } if($page == $links){ include('links.php'); } if($page == $results){ include('links_results.php'); } if($page == $success){ include('success.php'); } ?>
  7. oh, thanks. So I guess I will have to write an "if" statement for each...
  8. I have a quick question on using || which one of these is correct, 1st or second? 1. <?php if($page != $links || $gen || $adm){ ... } or 2. <?php if($page != $links || $page != $gen || $page != $adm){ ... }
  9. post this in the "PHP Help" section
  10. Put it in your CSS code: <style> body {background-color: #000; background-image:url(/yourimage.gif);}
  11. I want to hide the URL that the user is visiting, I think this is called "URL Masking", how is this done? An example of what I want is like this, I want http://domain.com/page.php to be viewed as http://domain.com/ or http://domain.com/index.php
  12. I cant seem to find a way to make a ringtone automatically download when clicked on. I have created a wap site and want to make a ringtone website but the ringtones arent downloading. I tried making a PHP script name "download.php" that when you write an html tag like <a href="download.php?name=ringtone.qcp&path=/qcp/ringtone.qcp">Ringtone 1</a> it will force the download on the click. And it worked if you are using a computer, but not when using a phone. Can anyone let me know how to do this using XML?
  13. I'm not sure if it's possible to do this or not, but I have two files, page1.php and page2.php How can I have it so that only the people that are comming from page1.php can view the contents of page2.php So heres how it will work, the user must be at page1.php and then go to page2.php, or else it will echo an error message. Can this be done?
  14. This isn't my first time working with MySQL, but for some reason I can't connect to it, am I doing this wrong? <?php $dbhost = "host"; $dbuser = "user"; $dbpass = "pass"; $dbname = "name"; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ("Error connecting to mysql"); ?>
×
×
  • 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.