- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Sourcebits is a software development company with offices in Bangalore, India and Atlanta, USA. Established in April 2006, the company has a strength of over two hundred award-winning developers and designers. Sourcebits is at the bleeding edge of emerging…
- Interests
- iPhone Development, iPhone Apps Development, iPhone App Development, iPad Development, Android Apps…
92 Posted Topics
Re: In php the main part is you will have to receive byte array to save as file and also you need to return the same byte array data through file_get_contents. $GLOBALS['HTTP_RAW_POST_DATA'] will return the Byte_Array data posted from client. If you will read these tutorials, you will get help on … | |
Re: <?php print_r($_POST); ?> will show up the data posted from the form. Please check that data for all the field mentioned in the insert or update commands are displayed. print $sql string and run it in phpmyadmin. You may be able to know where the bug is. | |
Re: <form action = "newedit.php?flag=2"> you may remove method="" in order $_GET to work. If you do not want, you may make $_GET as $_POST and [CODE]<form method = "post" action = "newedit.php"> <input name="flag" type="hidden" value="2"> // you may place submit button and other fields </form>[/CODE] | |
Re: It appears that, some of the classes / files are not included properly. or the method is not there at all in the ckeditor. Please search the method get() in the ckeditor or in your files. If found , please include the file with correct path. | |
Re: Sendmail or Posfix is not configured to deliver mail to external IP addresses. you may take help from your web hosting provider. | |
Re: [URL="http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/46963cab-9c09-43f8-ad79-0b00c3db1a8d"]http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/46963cab-9c09-43f8-ad79-0b00c3db1a8d[/URL] php_sqlsrv is for windows only, you may see this wine project, this may help to run windows files in linux. But it is good, to go for this module, if you have a windows web server. | |
Re: In CURL you can post a form of a remote site. No need of clicking on any button. If you will read more on Curl you will be able to know more on how to do it on your own. | |
Re: The truth is if I want to see PHP as big, PHP will look me as big.And if I want to look java as big java will look me as big. For example I am a PHP programmer, but I look java and .net as big, so they always look … | |
Re: If you have send mail installed php mail() function should work. Please check send mail path in php.ini file, if it matches actual send mail path. | |
Re: You have to use header as mentioned here [CODE]<?php header('Content-Type: application/msword'); // this line you can change based on your file type header("Content-Disposition: attachment; filename=\"helo.doc\""); readfile($new_file); ?>[/CODE] | |
Re: If you will run this, the download dialog shows up. This will help. [CODE]<?php $name = 'helo.jpg'; header("Content-type: image/jpeg"); header("Content-length: $size"); header("Content-Disposition: attachment; filename=$name"); header("Content-Description: PHP Generated Data"); ?>[/CODE] | |
Re: If you will post the dependent config files along with the database structure sql we will be able to find out exactly the issues. And try to arrive at a solution. | |
Re: This is confirmation part, hope you will be able to write delete part using necessary HTML and PHP as well. [CODE]<html> <head> <script type="text/javascript"> <!-- function confirmation(){ var answer = confirm('Are you sure you want to delete?'); if(answer){ form1.submit(); } else{ alert("Cancelled the delete!") } } //--> </script> </head> <body> … | |
Re: CSS is very difficult to be rendered without any design/look. And PHP will accept any buttons with name attribute and value in it. For example <input type="radio" name="radio1"> <input type="radio" name="radio1[]"> Please see [url]http://myuminfo.umanitoba.ca/help.asp?eve=2&fid=122[/url] on radio buttons group. | |
Re: If field type is say "username varchar(255) utf8_unicode_ci" in mysql you will be able to save unicode chars. Please focus on "Collation" of the field | |
Re: If you will write two lines of code you should not see any error. Then if you replace big part of the code slowly, you will find where the error exactly is. PHP is interpreter language, it is not a compiler language, so if you go slowly by each line … | |
Re: I have tested it to work as below. Just put your key. It works in webs server, it may not work in local machine. [CODE]<html> <body> <form action="recap.php" method="post"> <?php // Get a key from https://www.google.com/recaptcha/admin/create $publickey = ""; $privatekey = ""; include('recaptchalib.php'); # the response from reCAPTCHA $resp = … | |
Re: If you will take help of a jquery drop down menu plugin, it will help more. If the structure of li and ul tags after PHP code in it will remain as it was in original , the menu should work well. Please focus on the structure of the li … | |
Re: From where $s in this line $snew = substr($s,0,-4) is being derived. The grid works, because $s is empty you will not get any value in num check box array. This should works fine with correct $s value. I have re arranged the code as below. Please see to the … | |
Re: Yes: for remote file you may use $image = file_get_contents($fileurl); in place of readfile(); If this fails in your server you may use curl like this [CODE]<?php $file = $url of the image file; header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename='.basename($file)); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); … | |
Re: Please see this link [URL="http://www.jenst.se/2008/03/29/wp-page-numbers/"]http://www.jenst.se/2008/03/29/wp-page-numbers/[/URL] If the posts are less than what is set in admin, the navigation will be hidden. | |
Re: You may change the postion of the text in the image. Please see as below. [CODE]<?php header("Content-type: image/png"); $im = imagecreatetruecolor(400, 30); $white = imagecolorallocate($im, 255, 255, 255); $grey = imagecolorallocate($im, 128, 128, 128); $black = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 399, 29, $white); $text = 'OK It … | |
Re: Knowledge on reading directory, creating folders in php will help. You may search "how to read directory in php" on search engines and also you will get tutorials on how to create folder in php. If this does not help , you may hire a coder for this. | |
Re: If you post the html code here, we will be more clear on the issue. | |
Re: Please see where $_SESSION[$data] is set. If it is set correctly. And instead of $_SESSION['$data'], "int" you may write and $_SESSION[$data], "int" and see. | |
Re: Please see this works <select name="age"> <option value="a">a</option> <option value="b">b</option> <option value="c">c</option> <option value="d">d</option> </select> | |
Re: You may check with RewriteRule ^([a-zA-Z0-9_-]+)\s?$ viewuser.php?user=$1 or RewriteRule ^([a-zA-Z0-9_-]+)?$ viewuser.php?user=$1 | |
Re: Please see where $_SESSION[$data] is set. If it is set correctly. And instead of $_SESSION['$data'], "int" you may write and $_SESSION[$data], "int" and see. | |
Re: Please read on this - AllowoverideAll to appear in virtual host file This statement is one of the .htaccess issues because your .htaccess file is very much clear. | |
Re: Please see this link for the paging class. It is very easy to use this paging class. [URL="http://www.phpbuilder.com/board/showthread.php?t=10283679"]http://www.phpbuilder.com/board/showthread.php?t=10283679 [/URL] | |
Re: on pagination you will find number of tutorials on net. Please try to find a tutorials which meets your requirement. If you do not find any tutorials after making deep search in search engine like google. Please let us know. | |
Re: The code below is tested and it works fine. [CODE]<?php ini_set('include_path', 'library/'); include('library/Zend/Mail.php'); ?> <?php $mail = new Zend_Mail(); $mail->setBodyText('This is an example message body'); $mail->setFrom('chris@example.com', 'Chris Hope'); $mail->addTo('prakash@sourcebits.com', 'Prakash'); $mail->setSubject('This is an example subject'); $mail->send(); ?>[/CODE] | |
| |
Re: For css and jss you may give full path [url]http://example.com/css/style.css[/url] like this | |
Re: Int- 4 byte and big int- 8 byte integer savings in database storage space is being claimed for Int type of field if number of your database records do not go beyond 2.1 Billion rows. | |
Re: Please see this link: [URL="http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/"]http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/[/URL] | |
Re: Hopefully this works: <?php $file = file_get_contents('http://www.softarea51.com/rss/windows/Web_Development/XML_CSS_Utilities.xml'); $data = new simplexmlelement($file); foreach($data->channel->item as $details){ print $details->title; } ?> | |
Re: you may post the table structure, to be more clear on. You may test without using PDO mysql and see what is the error. | |
Re: To show up the existing data in the edit form, you will select the data based on the unique id of the data you are editing. If you study some database management script examples from net, you will be able to do it on your own. If you have no … | |
Re: You may want to know about PHP through examples on net, or you may take help of another php programer. The task here is to check out the forum database and see which field saves these links and which method displaya these links on the forum. There filtering out the … | |
Re: Through php.ini changes, you may try to avoid out of memory error. you need to look into if godaddy allow us to make changes of these parameters using PHP.ini. When number of records in database is millions, then it is good to take a private virtual server / dedicated server. | |
| |
Re: You may get meta details from database, or may get meta details from array of config information in a php file. It is better to display meta tags on the index.php itself based on which page it is. And to comment out this meta tag parts if exists in html … | |
Re: If you will use array of check boxes like <input type="checkbox" name="chek1[1]" value="AAA"> <input type="checkbox" name="chek1[2]" value="BBBB"> it may help. If you are using already, then if you will relook into the code , you will be able to find the issue by yourself. | |
Re: If you know PHP and mysql it will help. If you are new, you may read some example scripts on database management from hotscripts.com and simlar sites exists on web. You may also find a php coder to do this job. In this state, i could write the add part … | |
Re: If you want single check box out of the multiple check boxes to be checked, you may make all check boxes name as same name. You will get the status. If you want multiple check boxes to be selected you may name the check boxes as name=chk[1] name=chk[2] like this … | |
Re: hope this will help [code] <?php //page name : addresort.php //to work on id, location_id, club_id,name,club_name mysql_connect('localhost','root',''); mysql_select_db('mydb'); if(isset($_POST['save']) && $_POST['save']!=''){ foreach($chk1 as $chk){ $sql="select * from clubtable where club_id=$chk"; $rs = mysql_query($sql); $row=mysql_fetch_array($rs); $insert="insert into register_table(id,location_id,club_id,name,club_name) values($row['id'],$row['location_id'],$row['club_id'],$row['name'],$row['club_name'])"; mysql_query($insert); } } ?> <form action="addresort.php"> <table> <tr> <td>id</td><td>Location id</td><td>Club id</td><td>Name</td><td>Club name</td><td>select … | |
Re: If you will produce the code here, may be someone will help ![]() | |
Re: Then you have to focus on when it fails (0) and when it gives correct result. |
The End.