Jump to content

reflex84

Members
  • Content Count

    98
  • Joined

  • Last visited

Everything posted by reflex84

  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.
  16. Ok just to extend to this question...I am liasing with a domain registrant company who says this:"We don’t offer dns record (A record, MX record, et.) pointing to IP addresses, as we don’t offer Hosting services anymore. The dns traffic would be generated on our server and no one would be billed for it, so it cannot be done. However, we can point the Primary and Secondary Nameservers to your Hosting company. The annual domain name renewals can then remain with us."You see if I Host the domain name ... Would I get Dns traffic if I point the domain name to another IP address?
  17. Thanks for explaining and making things very clear
  18. Hi,If a client asks to point a domain name (which is on our server) to an IP address (to another server)... what would this mean? Would this simply be a type of re-direct or would this mean that I would Host the website on our server?Thanks in advance ...
  19. Hi,I have a client who I've designed a website for. I Host their website and domain name on our own server. We have set-up an MX Record for this domain name too. Now I am no expert at all with mail servers but how does the MX records work?! ...When someone goes to that website I've developed and fills in the online form ... does the email go to my server, then to the MX record server, then to the recipients email client???Why I am asking this is because this particular client of mine cannot receive their websites form submission on their email client. I have checked on my server to see if the
  20. Hi,I've had a few clients who I have designed a websites for, who are asking if they can make their website mobile compatible or Mobile Friendly.Now basically all these websites have been designed in Tables & Cells or in Divs / CSS with fixed width's (IE: no liquid layout). Now I know that you need to design your website using a liquid layout for it to be Mobile friendly etc... but is there a way, where I can create another site (the mobile version) where mobile phones can detect the mobile site that I have created? Is the procedure complicated? Is there any website I can go to that explai
  21. Oh!! Haha ... sorry was obviously rushing to post this question and didn't look properly!Anyway ... I'll try that out and I'll let you know the result.Thanks!
  22. Hi,Okay, I'm not very good with Javascript, so I seriously need help here. I'm sick of these javascripts conflicting making other javascripts not work.I've got 3 javascripts on my website:1) Digital Clock2) Date Picker3) and a Toggle Hide Show content effect javascript.Without the toggle script, the digital clock and date picker work just fine!When I add the Toggle script ... both the digital clock and date picker doesn't work!I've read about No.conflict but I have no idea what they are talking about... maybe its something less complicated?Here is my Javascript codes: <link rel="stylesheet
  23. Thanks for the quick reply ...I looked at the error console and it out of this code: <link rel="stylesheet" href="datepicker/development-bundle/themes/base/jquery.ui.all.css"> <script src="datepicker/development-bundle/jquery-1.5.1.js"></script> <script src="datepicker/development-bundle/ui/jquery.ui.core.js"></script> <script src="datepicker/development-bundle/ui/jquery.ui.widget.js"></script> <script src="datepicker/development-bundle/ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="datepicker/development-bundle/dem
  24. Hi,I have developed a website but there are 2 javascript codes that are conflicting each other. Only 1 works depending on which javascript code is below the other.1 script is a datepicker and the other script is a digital clock.The Javascript code for the datepicker is: <link rel="stylesheet" href="datepicker/development-bundle/themes/base/jquery.ui.all.css"> <script src="datepicker/development-bundle/jquery-1.5.1.js"></script> <script src="datepicker/development-bundle/ui/jquery.ui.core.js"></script> <script src="datepicker/development-bundle/ui/jquery.ui.wi
  25. Thanks man ... well I'm learning slowly but surely!
×
×
  • Create New...