Jump to content

spikypunker

Members
  • Posts

    158
  • Joined

  • Last visited

    Never

Everything posted by spikypunker

  1. Ok it's working now, turns out my internet is just being a £$%^&*( But yeah, thats how i always redirect, is there a better way?
  2. ARRRGGGH it's too late to be doing this!! It's now passing the variables but it's not redirecting to thanks.php at the end! I've done this same thing a hundred times!!! WHY IS IT DOING TTHHIIISSSSSS <?php $return = $_POST'email']; $name = $_POST['name']; $message = $_POST['message']; $subject = 'Contact From CornerStone website'; $content = $return . ' ' . $name . ' ' . $message; $to = '[email protected]'; mail($to, $subject, $content, $headers); echo "<meta http-equiv=\"refresh\" content=\"0;URL=thanks.php\">"; ?>
  3. I've got a simple form and it's not sending the variables!!!!! <form action="mail.php" method="POST"> Name:<Br /> <input name="name" type="text" width="250"/> <br /><br /> Email:<Br /> <input name="email" type="text" width="250"/> <br /><Br /> Enquiry:<Br /> <textarea name="message" cols="50" rows="8"></textarea> <Br /><br /> <input name="" type="submit" value="Enter"/> </form> <?php $return = $HTTP_POST_VARS['email']; $name = $HTTP_POST_VARS['name']; $message = $HTTP_POST_VARS['message']; $subject = 'Contact From CornerStone website'; $content = $return . ' ' . $name . ' ' . $message; $to = '#'; mail($to, $subject, $content, $headers); echo "$to, $subject, $content, $headers"; ?> And it's making me VERY ANGRY!!!!
  4. Works perfectly thanks guy!
  5. Right ok, is this a simple thing to setup?
  6. Hmm ok, if i have my own webspace can i run phpmyadmin from that? and then acces another one remotely?
  7. Is there software you can run off your system not just an inline server? And yeah it was a question, one that i think i know the answer to but was hoping not....
  8. And ALSO, if it's not a MySql db does that means i'll have to learn all new php for communicating with the database!!! :oO
  9. Hey guys!! OK, i'm used to only working with databases from the CPANEL, accessing phpMyAdmin after setting up a mysql database in the cpanel. I've been asked to setup a website and the client has set up a database for me, but i havent got acces to cpanel, is there software i can access the database with that i can download, maybe an opensource one All i've been given is a username and password :/ Love any help! Chris
  10. Na id taken all tags out just to see why it wasnt working. The client chose their own package before they contacted me for design and build. They're with 123-reg, and yes it's only mon-fri phone support. I phoned them up and basically PHP isnt included in their basic package, so i had to advise my client they need to upgrade for an extra £2.50 a month! Cheeky
  11. Yay! Cheers man, i'll try it QUICK SHARP and let ya know, Peaaace
  12. Ok, i've got a lot of advice and help from this board, so this latest obstacle i tried to do myself completely but have failed many many times!! All i want to do is take a string from my mysql, then display only the first say, 64 characters (including spaces) on the page. I've tried many ways and it's bever worked. I thought i could simply, take the $string then do a kinda, string chunk_split ( string $body [, int $chunklen [, string $end ]] ) I've tried many differnet variations and played around with what i could find online, but dont think my understanding is good enough. Can anyone help me out? You dont have to solve it for me, maybe some help on how to solve it myself? Kind Regards, Chris
  13. Yeah but i have to set up some MySql stuff and they wouldnt have a clue! lol, na but it's all good, am trying to make my way in the freelance world so therefore will be as helpfull as possible and do as much as i can...then charge for it haha. Lol, but yeah, i do have my own unlimited space and when i'm getting work through the new design website i will be telling my clients I prefer to host for them, but this one was a guy setting up a company and already had the domain and space. But anyway thanks for the help, looks like its just the hosters disabling PHP! Probably a feature that wasnt included in the base package, anyway at least it's not my fault! Cheers dudes!
  14. Riiiiight ok, so the server has PHP disabled and Firefox and the others display as text, but IE tries to display it as HTML right. So i'm gonna have to contact hosters on monday? I've only just started this project and havent talked to them yet, the client arranged all that side of things this time.
  15. lol....pointers?
  16. Well there's no real chance of that, just tried it in Chrome and i'm getting code, so IE is the odd one out! Man it's annoying....
  17. Well it's hosted with 123reg so must support it, but it could be disabled? Thier phoneline is closed today so will have to speak to them on monday. But it still kinda doesnt make sense seeing that it works in IE? YA KNOW WHAT, i'm starting to like the new IE over Firefox dammit.... Anyone else have any ideas? Thanks for your help so far dudes, peace
  18. Well thats the thing, there's not any php on the page yet! I've done this before, save the page as a .php page because i know that i'll be inserting php elements later in the build and never had a problem before! It works fine in IE, but not firefox! grr http://www.thebookhive.co.uk
  19. Currently testing a site thats almost built, am going to be including php on a sidebar on all pages so thought it'd be easier to just make all pages .php, however when i upload and try and view, in Firefox it just displays the source code on screen! It does it on other computers, but works fine in IE! ARRGGGHH Anyone have a clue? Kind Regards, Chris
  20. Hey ppl, still no joy on this issue, it's now holding back releasing my redesign and i'm getting stressed! Can anyone help? I've made sure that the divs from the menu are the highest and even set the Flash div to be the lowest. Set the wmode to be transparent when publishing the SWF file and also added the wmode="transparent" into the Flash div tag. Has anyone ran into this problem before at all and beaten it?? Peace!
  21. hi im having the same problem, any luck? http://www.maddogmagazine.co.uk/indexNEW.php
  22. sorry i didnt explain that enough, I'm taking the variables from the database, ie $content = result $title = result etc Then i want to go $content = $content MAX CHARACTERS 50 or some such
  23. Hi guys, i thought this would be really simple but i cant find how to do it. I'm displaying a News panel, with the title and thumbnail of each story shown, i want to display a part of the main content too, but only about 50 characters. Is this possible?
  24. Hey guys, is there are way of making a div be "always on top"? Im redesigning my site, here it is http://www.maddogmagazine.co.uk/backNEW.php As you can see, the drop down is being covered by the Flash panel? The flash panel is automatically put into a DIV i believe and the drop down works by displaying a DIV on rollover! Is this simple?
  25. How do i achieve this? I've been planning out a new bit for a page on my site, and i know that currently, if any of my requests come back blank ie "SELECT from table WHERE venue='o2 arena' " And there IS NO 'o2 arena' in the database, instead of displaying nought, it displays some error messages. In the new bit for my site, at first most of the time it will coming back empty! So how do i do an, IF EMPTY { } else {} ?? :os
×
×
  • 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.