Jump to content

Search the Community

Showing results for tags 'message'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Donation Link

Found 8 results

  1. Hi guys. I have a Bootstrap modal that opens on click. Inside is a form with 4 fields. Now i want after the form is submited to show below the submit button a thank yo message, but instead of that the form closes and the page is beeing refreshed. I've manage to do some javascript to stop the form of beeing refreshed but now i want to know how can i make the thank you div to get showed below the submit button. <script> $(function () { var frm = $('#participa-modal'); frm.submit(function (ev) { $.ajax({ type: frm.attr('method'), url: frm.attr('action'), data: frm.serialize(), success: function (data) { $(".alert-success").html(data); location.reload(); } }); ev.preventDefault(); }); }); </script>
  2. Hi guys so for my website I want to add a feature where a user can upload a zipped folder and send that folder to another user through my Private message system, so I am wondering how this would work, would I need to upload the folder to my database, upload it to a separate folder and use some php code to display a download link to download it?
  3. I am creating kinda like a small social site. I want to be able to send messages back and forth like facebook does. The I M is the email and vise versa. Anyone know how to do it? Where do I start?
  4. Hi everyone, this is my first time using php. i have made a basic contact form and hosted it, (http://www.prowinduk.com/contact/index.html) how do i make it so after the form has been sent, it resets the form and shows a message saying "message sent" please can some one help, i am using dreamweaver cs5. sorry if this has been mentioned in the past as i searched all over but could not find a answer. any help/advise would be usehull, thanks below is the text code stuff: <?php $EmailFrom = "online@prowinduk.com"; $EmailTo = "turbine@prowinduk.com"; $Subject = "online form"; $Name = Trim(stripslashes($_POST['name'])); $Email = Trim(stripslashes($_POST['email'])); $Tel = Trim(stripslashes($_POST['tel'])); $Message = Trim(stripslashes($_POST['message'])); $Pcode = Trim(stripslashes($_POST['pcode'])); // validation $validationOK=true; if (!$validationOK) { echo "please check your details"; header("Location: http://prowinduk.com/contact/send_email.php"); exit; } // prepare email body text $Body = ""; $Body .= "Full Name: "; $Body .= $Name; $Body .= "\n"; $Body .= "Telephone #: "; $Body .= $Tel; $Body .= "\n"; $Body .= "E-mail: "; $Body .= $Email; $Body .= "\n"; $Body .= "Address: "; $Body .= $Message; $Body .= "\n"; $Body .= "Postcode: "; $Body .= $Pcode; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>"); // redirect to success page if ($success){ print "<meta http-equiv=\"refresh\" content=\"1;URL=index.php\">"; } else{ print "<meta http-equiv=\"refresh\" content=\"1;URL=index.php\">"; } ?>
  5. Hi folks! Im trying to implement an Ajax chat client to my website, and im having issues with the implementation of the files., This is a third party code, the link is here... http://ajaxim.com/ Now, i have my database set up etc... but when i implement this code into my pages, the chat box doesnt show, and if i ftp the ajaxim.php file in standalone as it were, i get this error, even though the files are there. Fatal error: require_once() [function.require]: Failed opening required '../ajaxim/libraries/dbMySQL.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/guyrich/public_html/ajaxim/ajaxim.php on line 30 The snippet of code im using to implement the chat system in my <head> is <script type="text/javascript" src="ajaxim/js/im.load.js"></script> This is bugging me big time, and by the sounds of it, others are having this issue also. Im not excellent with coding, im a learner. Your help is most appreciated
  6. Hey everyone, This is probably an odd request/question. I was recently searching for a website that offers a free SMS bomber so I could spam my girlfriends phone for a few hours. I found one(didn't work) and on their page they have an interesting feature. The webpage is http://www.clamtxt.com/ In the top left there is a message that says "Page Load: Complete" or "Page Load: Loading" depending on if the page is fully loaded or not. Can this be done by PHP? I know they are not doing this via javascript(as far as I can honestly tell) since when I inspect the element(chrome) it shows up as plain HTML <div class="black btn" style="color:gray" align="center">Page load status: <b id="statusc"><font color=green>Complete</font></b></div> Thanks for any replies. Also I'm a bit tired so I may have missed some javascript that changes the innerHTML of the element. I will look at the code again but any replies are thanked. EDIT ::: Upon further inspection(inspecting the element and clicking links) it appears that when it changes from "Complete" to "Loading" the html changes as well. Javascript cannot change source code so this has to be a server side code.
  7. Hi all, I urgently need some help with a PHP project. Basically I have a system that contains infomation on a football tournament and the purpose of the system is to allow access into different venues. We have made the databases containing the data with the main tables being squad, competitor, venue and card. But what we need is one sepearate page where we would enter in a card id (already defined in card) and the venue (already choosen) and what would return is a simple message pop up saying access granted if the card state was valid (this is already decided in the card table) and the card had access to the venue choosen (again decided, in the card table). It would also need to return a message such as access denied if either the card was not in a valid state or if the card did not have those associated venues linked to it. Sorry this is very rushed and urgent! The card state can be valid, cancelled or expired so obviously access granted message for valid and access denied for cancelled or expired. Any help would be greatly appriciated!
  8. So on my spare time, I am architecting a PHP service oriented application, which uses web services. I want to architect a solution for delivering global, service, and user specific messages in the application. These type of messages would appear to the client after they have logged in. They would obviously be maintained at a database level but I need to build some pretty little php classes that can grab the data and display it in my application to the client if messages exist. Is there a name for something like this? I am struggling on how to best design this solution so it is flexible and it would be nice to gain perspective on this topic. I just don't know what to look for and often times my results are related to designing a message system where clients of an application can communicate to each other, which is what I am NOT looking for.
  • 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.