Jump to content

reflex84

Members
  • Content Count

    98
  • Joined

  • Last visited

Community Reputation

2 Neutral

About reflex84

  • Rank
    Newbie
  1. Should anything be done to the a href of the link that opens the lightbox? <a id="various1" href="#res">Enquire Now</a> The href above is #res which opens a hidden div (which is the form): <div style="display: none;"> <div id="res"><div id="contact"> <div id="message"></div> <form method="post" action="ajax-contact-form-extended/ajax-contact-extend/contact.php" name="contactform" id="contactform"> <fieldset> <legend>Please fill in the following form to contact us</legend> <label for="name" accesskey="U"&g
  2. Hi, I am having issues with a form that I have got which pops up in a lightbox frame (fancybox).I've got a text link, that when it is clicked, a form pops up in lightbox frame ... I fill the form in, click submit and the "success" message appears as normal. I close the lightbox, but when I click on the text link to open the form again, I get the "success" message from the previous submission and not the form! I need it to upload the form... I've been struggling for hours trying to work this out but not getting anywhere! Click this link to see the form and to try it out yourself if you'd like.h
  3. Hi, I have questions with regards to dedicated servers and the package we currently have with Godaddy. Our dedicater server specs are as follows: OS: Microsoft Windows server 2003, Web edition, service pack 2Intel Pentium 4 CPU 3.00GHz1GB Ram150GB Hard driveI'm not sure what our bandwidth is, but I think its 500GB per month20GB FTP BackupMySQLHmailserverPHP 5 We are paying $115 /m for this dedicated server!Am I getting ripped off? I hear that Godaddy is only good for buying domain names and thats it!This dedicated server is like the computer people bought back in the late 90's!! I am really co
  4. Hi, I really need to add a captcha to this PHP process form?How do I go about doing this? <?php // Define some constantsdefine( "RECIPIENT_NAME", "John Smith" );define( "RECIPIENT_EMAIL", "john@example.com" );define( "EMAIL_SUBJECT", "Visitor Message" ); // Read the form values$success = false;$senderName = isset( $_POST['senderName'] ) ? preg_replace( "/[^\.\-\' a-zA-Z0-9]/", "", $_POST['senderName'] ) : "";$senderEmail = isset( $_POST['senderEmail'] ) ? preg_replace( "/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['senderEmail'] ) : "";$message = isset( $_POST['message'] ) ? preg_replace( "/(From:
  5. There is also this javascript code thats in the header of the HTML page I'm trying to get the form to work on: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script><script type="text/javascript">var messageDelay = 2000; // How long to display status messages (in milliseconds)// Init the form once the document is ready$( init );// Initialize the formfunction init() { // Hide the form initially. // Make submitForm() the form's submit handler. // Position the form so it sits in the centre of the browser window. $('#
  6. Ok, just for heads up, I'm useless at PHP!! I assume you are talking about this code: if (($image->validate_code($_POST['validate']) ? "true" : "false") == "false") {} I know you are trying to help, but I am clueless to what to do?What code do I need to add? Thanks guys ...
  7. Hi, Thanks so much for actually responding on a step by step basis!! Ok, removed what you said above and tested the form, but now the the error message comes up whether I put in the correct captcha code or wrong captcha code. Did I do anything wrong, heres what my php form looks like now: <?php// Define some constantsdefine( "RECIPIENT_NAME", "Joe Soap" );define( "RECIPIENT_EMAIL", "JoeSoap@myemail.com" );define( "EMAIL_SUBJECT", "Visitor Message" );// Read the form values$success = false;$senderName = isset( $_POST['senderName'] ) ? preg_replace( "/[^\.\-\' a-zA-Z0-9]/", "", $_POST['send
  8. Hi, I downloaded a lighbox php form from http://www.elated.co...orm-jquery-php/ which is exactly what I want BUT, I also want to add a captcha to the form! I don't have much knowledge about PHP and I've been trying to figure this out: When I test the form and fill in the Captcha, to my surprise, it goes through 100% with no faults but if I purposely type the incorrect code in the captcha and click send, the lightbox returns a message "sending your message, please wait" and that message doesn't go away. The message I want to see and what is supposed to come up is "There was a problem sending yo
  9. Hi, No, I'm not that advanced, so I wouldn't know how to do that, hence why I am asking on this forum.
  10. Hi, Thanks ... though I have no idea what code to put and where to put the code?
  11. Hi, I am busy testing out a lightbox form that I'm working on and I've got all to work except the "success" or "thank you" page.Basically I want the user to fill in the online form and when the they are click 'submit', the "thank you" message or page resolves in the same lightbox that the form was in. Go to www.testing123.co.za/test.htm and click on that link you see saying "AJAX SuperBox".The lightbox is opening up an HTML page within in the test.htm page (basically acting like an iFrame?).When I click submit, the page resolves to the success.htm page (which it should) but not in the lightbox
  12. Hi, When saying that I can't give out Database login details and that I should install wordpress instread - I get this reply:
  13. Its a client who hosting his website (not a wordpress site) with me and its another company who my client bought a wordpress plugin from who wants my MySQL details....
  14. Hi Guys, thanks for your input ... they say they need it to install wordpress, thats why they need that database information. Shouldn't I just install it and then give them the login password to their wordpress control panel?
  15. Hi, Quick question ...I've got someone asking me to create a database on my servers MySQL and they are asking for login information, ie: host, database name, database username and database password.Is this information safe to give out? Not recommended? Can they ever in future access my MySQL and delete / manipulate databases that I have there already? Let me know, thanks. R.
×
×
  • Create New...