-
Posts
244 -
Joined
-
Last visited
Posts posted by chintansshah
-
-
use below code and run on your server
$ini = ini_get_all();
print_r($ini);
many times, your localhost and live server ini settings are different, just run above code on both server and compare it,
using, ini_set() you can change your server ini settings
-
Guys,
I have 7 years of php web development experience. I had worked on CMS, frameworks and core php.
For portfolio and project estimation, add me on skype : freelanceinphp and gtalk : freelanceinphp
Send me your project details on freelanceinphp@gmail.com, I will send you time estimation and costing.
I am low rate freelancer from India.
-
I want to integrate phpbb3 with clipshare(youtube clone)
If user login into clipshare CMS, phpbb3 login wont require, it login that user automatically.
Anybody have any idea of script or any tool for integration?
-
Hey this is Chintan shah from India,
I have 5 years of web site development experience in php, Mysql.
I design and create beautiful and professional website for low costs.
I do everything from a to z for your website building experience and make sure it goes smoothly.
I design the website
I setup the domain
I setup the hosting
I write a scripts in php and design database in Mysql
I can maintain the website
I can help with SEO
If you would like to get a quote for our services please email us.
Our pricing is starting from $55 to build a new website
Thanks for checking this post out!!
Chintan shah
Gtalk: freelanceinphp
Email: freelanceinphp@gmail.com
Skype: freelanceinphp
-
About country validation, you need to check country field name and your validation. can you paste validation code here?
use multiple phrase and change size =5 in select tag like <select multiple size="5" name="country">
You can select multiple values using control key
-
dude, do some googling, you will find ample of reference links to validate forms in php
-
do you wish to apply javascript validation or php validation? Javascript is client side validation and php is server side validations.
-
you are right phpSensei, it's very true to change code for $_POST variables and values.
change $_POST['mail'] to $_POST['email']
-
I think, you should change hostdetails, check your site configuration file and change mysql_connect with new server details.
-
are checking mail on your local pc or on web server?
-
I didn't found move_uploaded_file function to move from tmp folder to destination folder. check http://php.net/manual/en/function.move-uploaded-file.php
-
Can you paste whole code instead of piece of code. I really need to see
$row = mysql_fetch_array($result);
$result query of the above code.
-
I have this and it still does not update database, it uploads though........
<?php if($_POST['submit']){ // Where the file is going to be placed $target_path = "images/".$_SESSION['username']."/"; foreach ($_FILES["uploadedfile"]["name"] as $key => $value) { $uploadfile = $target_path . basename($_FILES[uploadedfile][name][$key]); //echo $uploadfile; if (move_uploaded_file($_FILES['uploadedfile']['tmp_name'][$key], $uploadfile)) { $sql = mysql_query("UPDATE pics SET link='$target_path', name='$uploadedfile' WHERE id='$userid1'")or die(mysql_error()); echo $value . ' uploaded<br>'; } } } ?>
Can you print your query on screen, if you get correct value then you should identify some other problem.
I think, your query should be
$sql = mysql_query("UPDATE pics SET link='".$target_path."', name='".$uploadedfile."' WHERE id='".$userid1."'")or die(mysql_error());
-
how do I get the $nt[id] in $_POST[]?
"<option value=$nt[id]>$nt[country]</option>";
Write below line instead of your current line
"<option value=".$nt['id'].">".$nt['country']."</option>";
String concatenation required! please confirm your table field name also.
-
Can you paste your HTML code here. In your country drop down, use country_id is option value. like <option value="<?php echo $row['country_id']; ?>"><?php echo $row['country_name']; ?></option>
-
php parse ' quote as a string. So use concatenation in Insert query.
-
you should start learning of session handling in php, can learn in w3schools and php.net website.
-
Can you check that users/images folder has 777 permission to upload a file!
-
You can do this using mail($to, $subject2, $message2, "From: ".$form2);
-
Hello, I found the problem, actually in header file I write redirection code and it's added in login.php also
Thanks guys for support.
Problem resolved now.
-
Best PHP integration WYSIWYG editor is CKeditor, find link below http://ckeditor.com/
-
Please explain problem in detail.
-
1. Can you print insert query and check if it's working in phpmyadmin
2. Which datatype you are using for 'name' field
3. use mysql_error to get exact error in query, ref: http://php.net/manual/en/function.mysql-error.php
-
I am working on lovcalhost. After login I want to redirect it to my homepage.php but browser gives me below error.
The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies.
After login.php, action is validation.php and if user enter correct value then it redirects to homepage.php
Uploading Picture Problem
in PHP Coding Help
Posted
I suggest to use empty() instead of isset()