39,388 Topics
![]() | |
I'm not sure where to ask this, if this is the wrong place let me know. I have password protect a dir on my website(the admin dir) but when I put the user and password in it takes me into that dir. Is there anyway i can make it open … | |
I am trying to adjust my upload code to handle multiple uploads at the same time, I have searched and found all kinds of code that says to wrap my current upload scrypt inside of it and just change my file system to an array but every time I do … | |
Assuming that PHP_EOL directive and the new line "\n" do the same thing, neither are working. I've recently updated to PHP5 after a long hiatus from PHP altogether. I have tried putting the newline character in single and double quotes, but to no avail... Anyone have any suggestions? Thanks in … | |
I am fetching data from mysql database and using it.but one column 'added_on's value is not fetching other row values of corresponding to 'added_on' value is previewing correctly.i am using it simply echo $vrow['added_on']; . | |
is it possible that creating a shopping cart we can use codeigniter as frond end and oscommerce as backend i have doubt that when you this is there any problems with the htaccess please help!!!!!!!!!!!!!! | |
I just happened to come across "Laravel", a framework unknown to me. Has anybody used this one? If so, am looking for a comparison. Where does it fit in the range from small (TinyMVC) to large (Zend, Symfony). | |
| |
Hi could someone help me out with this code please? I have commented what it should do(or ewhat I want it to do!) if(isset($_POST['remove'])){ $chk = (array) $_POST['remove']; $p = implode(',',array_keys($chk)); $q = mysql_query("DELETE FROM image_gallery WHERE id IN ($p)"); $t = mysql_query("SELECT filename from image_gallery WHERE id IN ($p)"); … | |
Hello there I managed somehow to create and call categories and subcategories in DB my problem now how to design them as I want I want it something like this  I used this code to retrieve the categories function display_children($parent) { $result = mysql_query('SELECT * FROM category '. … | |
![]() | I want to make a little code that displays a different string everyday. for example I have 100 strings. I want that when a user opens my site they'll see one of the strings that day. the next day they'll see another string..and so forth. so far I thought about … |
i want to use bitcoin funcatinality i my website i search for it on google but not get any proper step of using bitcoin with php can any one have the url or somthing like that from i can understand hoe to use bitcoin in my website | |
This code is suppose to take the images array and use its value for the name of the table. When I echo the images varaible I get kids, which is what $images[3] is set to equal, but when I put it in the query the $result2 is echoed as resource … | |
i have a form and inside i have one field and one button. when user hit submit button a php script runs. in php script i am checking error. ex name is too short etc.. now i want to add a red border only if there is a error. if … | |
We have uploaded our cms to a dedicated server. we have two options for our users (user your own domain, use subdomain). when a user register him/her self and select subdomain and want to access his/her website so he cant access it with his/her subdomain name integrated with our domain … | |
I have got MySQL Workbench 5.244 installed. I have a server instance created (MySQL55). Everything works perfect inside the workbench. The problem is when I try to connect to the server on my PHP (version 4.2.1) file. (Pleasew find header.php and default.php below) I get the message below: Warning: Unknown … | |
![]() | I have made a form and want to get values in form.php when Submit button is clicked.These values are write on a file form.txt.How can I do this?? <html> <form action="form.php" method="post"> Name:<input type="text" name="Name" ><br/> Address:<input type="text" name="Address"><br/> Email:<input type="text" name="Email"><br/> Why do you want to learn Javascript? <input … |
Does anyone have any code that they would share to: - use form to accept name, email address, languauge (English or Spanish) - send back an email with file attachment in the selected lauguage. files are stored in permanent file in online (url location). - populate permanent speadsheet online (url … | |
I was struggling long for proper image resize function for maintaining image ratio. Finally i end end up with merging and changing all codes and it works ! function resizeImage($sourceFile,$destFile,$width,$height) sourceFile => Full path along with filename destinationFile => Full path along with filename I hope this will help coders.. ![]() | |
i' saved the key names as column names in database.so i want to insert i all the values in database.with out mentioning the column names in the database. <html> <body> <form action="#" method="post"> Firstname: <input type="text" name="name"> Lastname: <input type="text" name="lname"> Age: <input type="text" name="age"> <input type="submit"> </form> </body> </html> … ![]() | |
Hi All I want to show the location of client on my site to show some message like "You are sitting at NewYork". Please let me know how this is posiible. I have seen on some fake stuff on dating site like. "i m online from CA" etc. I know … | |
Invalid address: Invalid address: SMTP -> ERROR: Failed to connect to server: Connection timed out (110) SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host. | |
Dear All, I'm facing a problem when using DISTINCT in mysql. Please refer my database design below. id lang album singer title family writer song hits In my db i want distinct title and the id from the db. I'm trying the following code. But it only fetching the results … | |
How can i get result between two date from database where date is in unix timestamp.How can i use WHERE clause to get result.I required in a project. ![]() | |
I need my php application to be able to work with biometric device, such as fingerprint scanner. I need ideas/resources, pls. ![]() | |
write a program to print odd numbers series using do while statement ![]() | |
I am trying to display values fetched from a MySQL database as an excel spreadsheet. Now, I have been successful to create a csv file using the code below; <?php error_reporting(0); include("includes/connect.php"); // This is the connection string to the database //Select the required records from the database $result = … | |
I'm a new dev php.i don't to know how integrate the API of this site http://www.bestvoipreselling.com/features I would like a detailed explanation in the first instance please. https://www.voipinfocenter.com/API/Request.ashxcommand=_&username=_&password=______&customer=__&customerpassword=___&geocallcli=__&tariffrate=_ Variable Value Option Description command createcustomer Mandatory username X..140 Mandatory the username of the reseller password X..100 Mandatory the password of the … | |
Hi, I have made a script that is supposed to check if an image exists on remote server, check if exists on local server, and decide weither or not to copy the image or not (It is poster images for a movie database of my own). However this is under … | |
i am trying to print the value of $ss. but it say 'qty' is undifine on line($ss = $_post['qty'];). index.php <?php echo" <form method='post' action='index.php'> <input type='text' name='qty' /> <button type='submit' id='opener01' name='b1'>submit</button> </form>"; echo" <div id='dialog01' title='ccc'> "; $ss = $_post['qty']; echo"$s; echo" </div>"; ?> jquery.js $( "#dialog01" ).dialog({ … ![]() | |
My site is [seoitc.com](http://www.seoitc.com), we are using joomla for this site, but have 1 problem when i try auto redirect to anypage that show error: Warning: Cannot modify header information - headers already sent by (). I tried change redirect to use js but cant use same status(302,303...) same as … ![]() |
The End.