Jump to content

ober

Staff Alumni
  • Posts

    5,327
  • Joined

  • Last visited

Everything posted by ober

  1. 1) this: $ud_id=$_POST['ud_id']; $f_name=$_POST['f_name']; $ud_l_name=$_POST['ud_l_name']; $ud_city=$_POST['ud_city']; $ud_state=$_POST['ud_state']; $ud_zipcode=$_POST['ud_zipcode']; $ud_phone=$_POST['ud_phone']; $ud_phone2=$_POST['ud_phone2']; $ud_session=$_POST['ud_session']; $ud_gdate=$_POST['ud_gdate']; $ud_status=$_POST['ud_status']; $ud_contact=$_POST['ud_contact']; $ud_refer=$_POST['ud_refer']; $ud_referphone=$_POST['ud_referphone']; can be turned into this: extract($_POST); That will do the same thing. 2) As far as the update, are you getting any errors? And might I suggest that you not use the word "session" as a column name as that is a PHP reserved word?
  2. Please be mindful of the posted items.
  3. What you've done with the front page helps a lot. You need to move the "learn more" buttons (and possibly make them look better) and I'd put a thin box around each one of those elements just to seperate them nicely. I'd say your hosting costs are pretty spot-on, but you're selling yourself pretty cheap as far as labor, IMO. (although going by your design level, it might be pretty accurate)
  4. I'm not going to give you a full example, but it's really quite simple. If you want an example of how to setup a HTML form, you can use my personal site as an example: [a href=\"http://www.whproductions.com/index.php?req=contact\" target=\"_blank\"]http://www.whproductions.com/index.php?req=contact[/a] Just view the source of the page. As far as the processing page, it's nothing more than following the mail() function example from the PHP manual. You'll find a link to the manual in my sig.
  5. 2) Find some shaper versions of checkboxes/x's? That's the only thing I can suggest.
  6. A few things: 1) It's very blue. When I think Swiss, and especially Swiss Army I think red. All the swiss army stuff is red. While the blue is ok, I think it probably wouldn't hurt to get a contrasting color in there. Variations of the same color can get a little tiresome. 2) the images on the front page are a little large and cheesy, IMO. Same with the x's and checkmarks in the hosting page. It just looks a little cheap. You could make the ones on the front page more transparent and put them in the background instead of using up so much space for them. I'd also reduce the size of them. You're wasting a lot of space there. 3) No contact page. For a hosting company, I'd expect to see a contact page instead of a few "mailto" links at the bottom of the front page. And while we're on the subject, the suggestion box link doesn't work. 4) Your index page is nothing but an extravagent nav section. You could probably tone it down a little and describe the business a little more and let the users find the nav above. 5) I would personally feel better with a little more padding around the content box. It's not bad, but it's not great either. A little tweak here and there would do wonders.
  7. I don't understand the reason for the (). Those are unnecessary. [code]$image = '<img src="' . tep_output_string($src) . '" border="0" alt="' . tep_output_string($alt) . '"';[/code] Give that a shot.
  8. You must remember that PHP is a server-side scripting language. Unless the applet does all its work on the server without showing anything to the user, there is no reason for the 2 languages to interact. From my limited knowledge of applets, they are meant as a client-side interaction only.
  9. Do you know if the free hosts support the mail function? They may have it disabled. Put a script on that free host with nothing but the phpinfo function in it (with PHP tags of course) and look through it.
  10. Those all look fine. Keep in mind that most spam is blocked based on the content or the subject, not the headers.
  11. First things first with all uploads: have you used chmod on the folders in question to change the permissions to 777?
  12. Thanks for making your first response on the forums as a bump to a thread that's nearly a month and a half old! Thread closed!
  13. Honestly? Honestly. Look at that and tell me you're proud of it. EDIT: Thread closed... there are at least 4 other threads on the first page of this board posting the same freakin site. Bump one of the old ones.
  14. I've admined on both vBulletin and SMF. I run another community (entropysink.com/forums) that started out with vBulletin and then moved to SMF. One of my other admins there is also on the build team for SMF, so if we wanted something like the "Solved" feature back, I'm pretty damn sure we could get it. vBulletin was nice, but very cumbersome. They had a lot of good features in the latest releases, but they were also always coming out with patches. SMF has been pretty solid and their upgrade feature is nice. I don't like some of the admin layouts in SMF, but that's probably because I'm still getting used to it. I'm not aware of a "Lo-fi" version in SMF, but it may just be how our board is configured. I also know that they're working on a new release that is supposed to have a pretty hefty amount of new features. Best of all, SMF is free... vBulletin can be expensive. If you're going to switch, my personal recommendation is to go with SMF. You can check out my version here: [a href=\"http://www.entropysink.com/forums\" target=\"_blank\"]http://www.entropysink.com/forums[/a] Mike is the SMF developer if you want to contact him.
  15. Why are you printing an entire array repeatedly that doesn't have ANYTHING to do with the foreach loop?
  16. That will work in most cases, but if you have a lot of concurrent inserts, it's going to be wrong part of the time. mysql_insert_id() always uses the same resource to get the correct ID value.
  17. I might be jumping into the middle of things here, but you can't do a return in a foreach loop.
  18. I'm going to guess that you'll have to create them. [img src=\"style_emoticons/[#EMO_DIR#]/huh.gif\" style=\"vertical-align:middle\" emoid=\":huh:\" border=\"0\" alt=\"huh.gif\" /]
  19. That's a pretty broad question. Have you tried anything? If you have, post your code and we can help you work out the problems.
  20. [a href=\"http://www.whproductions.com/info.php\" target=\"_blank\"]http://www.whproductions.com/info.php[/a] That's the info listing from my personal site. It's on Linux, but the principle should be the same. I suggest contacting your host and asking them to look into it.
  21. I'm not sure I understand the question. All you have to do is chmod the 2 folders listed to 777. If you don't have direct access to the server, you should be able to do this through just about any FTP client, or whatever control panel you may have to the server.
  22. 1) moving to the second page without a reply is an indication that no one either knows how to answer the question or understands the question. I suggest it's probably the first, hence making a seperate board for it isn't going to help. We don't get many questions like that here and when we do, I have no problem with them being in PHP Help. I also have no problem with you continuing to bump them if they get pushed off the first page. I don't think any of the other mods will either. 2) The "SOLVED" button was wiped out in the last forums upgrade and no one has taken the time to dig through the code to figure out how to put it back in. AFAIK, there are no plans to re-create the mod at this time.
  23. And actually gizmola, thorpe did have his warn level adjusted at one point. If you click on the 0 in the parenthesis, you can see the log.
  24. The error display settings are all found in php.ini, so if you're going to tweak something, that's where it would be at.
  25. Do you REALLY think it's a good idea to be sassy with an admin? [img src=\"style_emoticons/[#EMO_DIR#]/wink.gif\" style=\"vertical-align:middle\" emoid=\":wink:\" border=\"0\" alt=\"wink.gif\" /] I have no idea what you've done or what you've attempted. If you listed the things you've done to troubleshoot the problem, we wouldn't be having this part of the conversation. Besides, this is a third-party script problem, nothing to do with PHP. Thread MOVED.
×
×
  • 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.