User Profile
Collapse
-
sufian replied to How to save text field data in a text file with multiple values separated by comma?in JavascriptHey finally resolved. Thx a lot both of you. -
sufian replied to How to save text field data in a text file with multiple values separated by comma?in JavascriptHi guys
Thx for replying. Sunday was officially off, therefore I couldn't reply.
Let me tell you the whole story:
Actually we are a software company, and nowadays the workload is huge, and during this huge workload there comes a client who want their website to be developed in 15 days! After negotiation client understood that this is not posible, therefore by mutual undertanding we (client and us) have decided to just build an...Leave a comment:
-
sufian started a topic How to save text field data in a text file with multiple values separated by comma?in JavascriptHow to save text field data in a text file with multiple values separated by comma?
Below is the field where user enters his/her email address and the AJAX post request is sent to the server and the user sees the message:
[PHP]echo("<div id=\"message\" class=\"success \">Thank you! You have been successfully registered.</div>");[/PHP]
within 1.5 seconds.
[PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">... -
PHP was not working from:
M:\Sufian\Proje cts\Self Testing for PHP
But it is working from:
M:\t2fv2\Sufian \Projects\Self Testing for PHP
Where t2fv2 is the name of one of the application installed at that mapped drive.
I get the page full of info of my PHP installation config from there. Now I have also tried the code provided by you and its working!!!!!!!! !!!!!!!!!!!!!
Thanks a lot.Leave a comment:
-
Hi,
Thanks for your quick reply.
Actually I am working in a Network environment (LAN of the company) where PHP is installed only on a server not on my PC. A drive of that server was mapped on my PC when I have given this PC on the first day of my job a few days ago. When given this task I have created a new folder in that mapped drive and start coding PHP. In this mapped drive all of the company's web applications folders are already...Leave a comment:
-
Hi all,
Thanks for your kind reply. I am still facing the same problems!
I have given a name and id to the form in invite.php and moreover follows the second advice regarding Javascript, but the issue is not resolved. Furthermore the code provided by Purple could not resolved the issue. I have also tried the following code in submit.php
[code=php]
<?php
print_r ($_POST);
?>[/code]
...Leave a comment:
-
Facing problems with $_POST. Data can not be processed by PHP...
I am new to the world of PHP. Below is my simple PHP file "invite.php " with a form having an image send button (I have to use the image send button because it is the requirement, may be this is causing problem!):
[code=html]
<html>
<head><title>Fo rm</title>
</head>
<body>
<script language="javas cript" src="validation .js"></script>... -
sufian replied to Can javascript function send its argument data to PHP script within the same functionin JavascriptYes the AJAX message:
echo("<div id=\"message\" class=\"success \">Thank you for signing up. An e-mail will be sent to your account shortly and we will keep you posted.</div>");
is actually shown just below the text box but it took almost 8 to 9 seconds (as mentioned before) to display that message because the mail function in subscribe.php file takes a lot of time. When I comment...Leave a comment:
-
sufian started a topic Can javascript function send its argument data to PHP script within the same functionin JavascriptCan javascript function send its argument data to PHP script within the same function
<input type="image" id="imageField " class="btn" src="<?php bloginfo('templ ate_url'); ?>/media/global/btn-go.gif" onclick = "sendRequestPos t(document.getE lementById('ema il1').value);" />
The function sendRequestPost () is in a file named header.php:
function sendRequestPost (data) {
// Open PHP script for requests
MM_validateForm ('email1','','R isEmail');...
No activity results to display
Show More
Leave a comment: