39,320 Topics
| |
hello daniweb users, I been currently developing a mass email html coupon system for my work and am stuck at the last part of the development, the redemption of the coupon. So it works like this: On our site, users put in the month of their birthday and email and … | |
[CODE]RewriteEngine On RewriteRule ^admin/([^/]*)/([^/]*)$ /admin/2.php?mode=$1&id=$2 [L] RewriteRule ^([^/\.]+)/?$ /display.php?page=$1 [L] RewriteRule ^([^/]*)/([^/]*)$ /display.php?group=$1&page=$2 [L][/CODE] I need some help with my .htaccess file. The bottom 2 rewrite rules work perfectly however the first one is causing issues. Basically the last 2 rules work like this: domain.com/page domain.com/group/page I need the first … | |
Help! I am working on a wiki which is embedded in one major frame. It looks like all of the wiki was set up right but then they bought the URL and dropped a frame on top in order to reference the new domain name in the URL. However, the … | |
I am able to insert MP3 files on web page but I want to display a list of 10 songs and user may select anyone. The selected song must be played in the player on the web page(I dont want separate player for every song. is this possible?) am posting … | |
I have a question : When i combine php and javascript as in the code below, my current php page does not navigate to timesheet.php until i write document.write() in my javascript code? Why is it so? It slows down reloading the form and a white screen also flashes before … | |
good evening i have a question plz . i wanna to display a link in my web site when the user click on it a pdf file is opened in the browser. but i dont want the user to print or copy or use "save as" properties is there are … | |
I have been using class.phpmailer.php script for sending mail from localhost without smtp server. Everytime i try to send mail from my localhost then following error is generated: [COLOR="Red"]Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use … | |
I have the following code to fetch images from an SQL data where a "gallery" id is set and a "artworks" id is set. BTW the "artworks" is really the images which I want to display. I am able to display the first image OK, however the "next" and "before" … | |
hello... i want to do "images and text" which is in database...that content fetch in user's side....but sliding problem occuring...for example i have 5 images and 5 descriptions is der..so i want to show image[1],description[1] after some milliseconds image[2],description[2] .....etc like this...but all images are displaying once..that is my problem.. … | |
Hello guys! Anyone that has an idea on how to store audio files in any format in MySQL database and downloading them when clicked during the retrieval or display of the said audio file, please help me. I've been looking it in the internet but mostly just storing images and … | |
Can anyone tell me where l can get an open source Enterprise Architect software or similar UML modeling tool. | |
Hello! I have been trying to make a news script where you can edit/delete news. I've looked for tutorials and tried to make mine too. But I still have some problems, and I don't know what is wrong. So, I'm posting the code here, maybe someone can help me. [code=php] … | |
Hello Good Afternoon guys I am looking for querystrings can anyone please give details on that i looked on google but did not get effective results so please helpme Thank u in advance | |
I am also having problems in mail(). My php.ini values are (sendmail_from:"no value", SMTP:"localhost", smtp_port:"25"), my code is very simple and is as below - [code=php]<html> <body> <?php if (isset($_REQUEST['email'])) { //send email $email = $_REQUEST['email'] ; $subject = $_REQUEST['subject'] ; $message = $_REQUEST['message'] ; if (mail( "kathie_hkg@yahoo.com", "Subject: $subject", … | |
Hi I got the current time as follows $time=date("h:i:s") i got the result as 02:38:05 i want to add 10 mins with this time how can i add that,help me out Regards, Vidhya | |
Is there a way of disabling the browser back/forward buttons using PHP? Or is there a way of destroying the memory or history that the back/forward buttons use to traverse previously visited pages? | |
I have a PHP script that is a combination of a purchased script and my own programming. It is a mess right now and not easy to work with at all. Basically, the purchased script is one that will merger PDF files into one and let the user download the … | |
[QUOTE]hi friends i am making a website depend on review on tourism places, but in it some weather data is needed according monthly for e.g. see this link [URL="http://www.holidays-uncovered.co.uk/united-kingdom/england/london.html"]Weather Link[/URL] in this u see there is a chart of avg. weather conditon of london city. i want show these data … | |
how can I pass GET url which contains character "?" to php file. for example I have url: [url]http://www.mysite.com/file1.php?string=file2.php?a1=1&a2=2&a3=3[/url] I want to pass all string "file2.php?a1=1&a2=2&a3=3" into file1.php now on file1.php, if I use $v=$_REQUEST['string']; echo "$v"; I only get file2.php?a1=1 it lost rest "a2=2&a3=3" how can I fix this … | |
hi folks, my reservation table is as below. [B]tbl_holiday_booking[/B] booking_id property_id checkin_date checkout date i am taking checkin and checkout date as dd/mm/yyyy please hellp me to check availability for the property in the above table. Thanks | |
Hello, I need to have users fill out a form before they are granted to download any given file to generate sales leads. I do have a script which was custom made but am having some issues with it. I am wondering if anyone knows of a service (or script) … | |
Hello people, i need a code so when someone join my site, the site resize after the size of the screen on the coputer joining. cause i have seen my site on a small screen and big screen but they look different... så if the site could resize so it … | |
hi.. im dynamicelly creating text box in a html file using javascript.. [CODE]<script> function create_input_boxes() { if(document.getElementById("name0")) { return true; } var boxes=""; var num_boxes=document.getElementById("num_boxes").value; if(num_boxes) { for(var i=0;i<num_boxes;i++) { boxes+="<input id='name"+i+"' name='name"+i+"' value=''><br />"; } document.getElementById("textbox_container").innerHTML=boxes; } return false; } </script> </head> <body> <form id="theForm" action="dynamic.php" method="post" onsubmit="return create_input_boxes();"> … | |
Does anyone know of any new shopping cart solutions for small to medium sized businesses? I am a web developer and over the last couple of years I have set up a couple ecommerce websites for clients. I have used osCommerce, Zen Cart, and X-cart for previous projects however I … | |
Ok Im am so very lost on what to do now, I have written the php code and would like to display the contents of what is being echoed through the url. Example is by entering mywebsite.com/index.php?dog=dogs it returns "a dog" mywebsite.com/index.php?dog=littledog returns "a little dog" What I would like … | |
Good afternoon all, I'm at the beginning stages of learning PHP. I'm trying to understand passing in functions. I have a video lesson so I can see what is being explained but for some reason i am still not getting it. [CODE]<?php function hello($word) { echo "Hello {$word}!<br/>"; } hello("Daniweb"); … | |
Hi everyone I've been googling my time away trying to find a resource that explains how many php uploads http can handle at once and any extra info on the process and limitations etc. Does anyone have a link they could share. Google isn't being very helpful (or the problem … | |
hi hows it going? ive tried loads of times to fix this problem but its not happening here is the registration page code [CODE]<div id="apDiv6"> <form name="register" method="post" action="regform.php"><p> <input type="text" name="username" id="username"> </p> <p> <input type="password" name="pass" id="pass"> </p> <p> <input type="password" name="pass2" id="pass2"> </p> <p> <select name="usertype" id="usertype"> … | |
Hi, Ok.. i have some pages on my site that has a link like [code=text]<A HREF="<?php $websiteaddress ?>/webbuilder/downloads/download.php?filename=age_verification_popup.zip">Download</A>[/code] if you look carefully you will see using get in my below script i get the filename in this example [b]age_verification_popup.zip[/b] This is then sent to this script. [CODE]<?php @include ("/home/sites/genieuk.co.cc/public_html/includes/global.php"); // … | |
Hi to all, page1 -- login page page2 -- secured page 1 [COLOR="Green"] No Problem[/COLOR], If user logged out successfully using logout button. session ends and doesn't allow user to go to secured pages. But... [COLOR="Red"]Problem[/COLOR], if user press backspace or back button in browser staying in page2, directed to … |
The End.