Hi All Here is my code i m getting the domdocument::domdocument() expects parameter 2 to be long error at $doc=new DomDocument('1.0','UTF-8'); line plz tell me...
Sudhakar, checkboxes and radio buttons should be handled as an array in PHP (because they can hold multiple items). You must ensure the 'name' has square ...
1. i have a question about using header("Location: filename.html"); in php with my present code i have a few echo statements followed by header("Location:...
For the first question, the header statement must be sent first and before any echo statement, and you have to use un html meta tag refresh to send the client...
1. Instead of using header function, use the following one: echo '<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=payment.php?showmsg=1">'; exit; 2. Use the...
hi, for your first question, you can also use streams. you can ob_start() the the beginning of your first file, and do all the "echo"s and stuff, which will be...
I want to update my database on remote server in the way i can read data from database on localhost and transfare it to remote database.I have done that in...
... It's difficult to tell what you want to do, but first thing I notices is this line: $result2 = mysql_query($row[2], $link_server); 1. You are getting 2...
... Unless you have done something "special", you can usually only read and write to a database on the same server as the PHP page which is doing the reading...
I'm not sure which O/S Pete is referring to here, but there's no technical reason why you can't use multiple databases spread over as many servers you want. In...
m developing a website based on ecommerce using php and mysql, m using 2co[www.2checkout.com]service for mainting bills for my client online now m facing...
Hello, This is just a reminder to let you know that the following polls are going on the php-objects mailing list that you are a subscriber. Please do not...
php-objects@yahoogrou...
Mar 9, 2008 12:03 pm
6825
Hello, This is just a reminder messages to let you know as subscriber of the php-objects mailing list you may be interested about the new site where you may...
php-objects@yahoogrou...
Mar 9, 2008 12:03 pm
6826
i have a registration page which is a self submitting form <form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="POST" id="test2" name="registrationform">...
i am using php in order to validate a form where users register. please help me to solve the following validations. 1. name can have spaces. ex= john smith ...
i think you should use, *ob_start();* /*-------------- your coding ... *ob_end_flush();* this will sort out the problem "headers have already been sent." no...
I have numerous issues that I need some assistance. I'm creating a website that will involve credit card processing. I have SSL certificate installed and that...
Alternatively, you can provide a link to the thank you page in the redirecting page, if you think meta refresh is restricted. one.php: //form elements.. etc ...
Krishna Srikanth
krishna.srikanth@...
Mar 10, 2008 6:47 am
6831
You could use '/^[a-zA-z\s]+$/' to allow spaces, \s means white space. But what about names with hypen's or apostrophes? I'm sure you want to take into...
1. i have a self submitting form using POST <form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="POST" id="test2" name="registrationform"> i am not using...
Well, i figured out the mod_rewrite but can't figure out the appropriate way to redirect some url's to be https and others http. What i did i wrote a class to...
This is a small function to redirect in cases where you cannot use header. This is how I have used it. if (!headers_sent()) { header("Location: your url...
i am building a registration page where a user register for a username. i am able to insert this into mysql. the situation is every time data is inserted into...
Hello Sudhakar, I think you need to reformulate the logic as follows: (1) receive user input values. this is when a user submit the registration form. (2)...
Hello, How can I check the string value using preg_match()? The name inputted should have exactly one comma (,). If 0, 2, or more commas are encountered,...