41,416 Topics
Hi, I use a upload form to upload images first in a server directory and then I would like to save file in a database. My questions : 1. I would like to change the name that image is saved like that : Image_1.jpeg or Image_1.gif whatever type. 2. I …
Hi! I need a great favor... if someone could help i really appreciate... heres the deal: i made one year ago a webpage with a database on isQL*plus ([B]pl/sql[/B]) language.. on my webpage i have this (i will show images to you understand better what i mean): [URL="http://img36.imageshack.us/img36/5783/gerirjogadores.jpg"]http://img36.imageshack.us/img36/5783/gerirjogadores.jpg[/URL] code: [CODE]procedure …
hai friends, i want to code for send a short msg(sms) to my clients mobile phones through my website. anybody help me
i m using windows, xampp, with appache sever. plz tell me from the first how to send mail in php on localhost ... this is really pizzing me ... plz its very urgent plz help me thank you...
Hi, I uploaded all php files to the ftp all files are working but some links are showing error, 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. Please can anyone help me to solve this issue thanks …
I want to run an infinite loop,as soon as my web server start up.I can write php loop but how i start it from the start of the server without user request for starting.
I see these sites with PHP files that have for example here it is ?do=. I wanted to make an array of documents names: $navigation[0] = "index.php"; $navigation[1] = "page1.php"; $navigation[2] = "page2.php"; So on and so forth. I'm probably not making any sense, but as I said in the …
Hi, I have looked throught his code for about 2 hours now and i cannot seem to find the error. Pelsaae could you tell me where i am going wrong. Parse error: syntax error, unexpected $end in CreateAccount.php on line 112 [CODE] <?php class CreateAccountPage { public function __construct() { …
Hi, Can any one please guide me about exporting db with designer settings from phpmyadmin. I need that all the tables and relations ships which I created in phpmyadmin designer should be added when I export the db. Can it be possible? Thanks Regards,
Dear members, Hope you all are in the state of prosperity and well being. I have my contact us at the site. It has following fields: Name: Email Address: Subject: Message ....and a submit button. It works properly. Since i have created this to assist the site members to ask …
Hi there, If users want to be able to see more than one image for a searched book which would be the best way for the database table to be designed? Book table : Isbn, year, title, image_1, image_2, image_3, image_4 or Book table Image seperate Each book will in …
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.. …
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( "[email protected]", "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) …
Daniweb Community, I am Junior in Information Sciences and Technology. I am pursuing the Design and Development Option and the Database Theme Track within my major. This means that my classes have a focus on software development and systems design. I am very interested in the technical side of Information …
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();"> …
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 …
hi guys,,, Can Anyone help me in my problem. I want to exclude the second and instead i will use the Am/Pm. I did exclude the seconds but I can't include the AM/Pm function. I used this code [QUOTE] <?php echo ('A'); ?> [/QUOTE] but this is static.. how could …
Is there anyone could explain me about how to write login php code by using build-in function of authentication. I have learn it from a book, but it have been done.[code][/code]
Hi Please tell me how we can search PDF File , which is stored in folder like C:\Folder and then show in show.php page as dynamic link. also Upload new PDF File to Folder Please tell me how?
the photos on my friendster don't show,they are blocked. what should i do to unblock them. also, when i browse my friends photo albums they don't appear.....pls help me unblock those photos,,,,tnx
Hie everybody, Iam trying to insert multiple rows into a table at the same time. The form fields of the rows are defined as checkboxes in html. For example it requires a person to enter his qualifications by ticking appropriate checkboxes. Now a person may tick more than one checkbox, …
Hi! I am developing a php site and required to export the .php files to HTML, PDF, EXCEL, TEXT, CSV, ODS and SXC files. The problem i'm having here is that i don't know anything about exporting files. How should i start? Could anyone provide some steps to help me …
Is there any way to do this? I have multiple drop down lists and depending on which drop down is selected I want it to unset some sessions. Do I need to use AJAX for this?
hi to all, i need help from you all... i need to search in database and to display the match records, say if search results are 28 in number then i need to show 5records/page (like this records 1-5 in page1, 6-10 in page2.......26-28 in page6) with some options like …
I am trying to build a small website using PHP and MySQL serve as the database. Can anyone tell me how to connect to MySQL database using PHP and is it similar to using Access because I have succeeded in doing that. Thanks
i m using a open source cms (PHP) when ever i try to logout. i get loggged out but the screen shows as if still logged in. when i refresh it gets directed to home page. when i press back i get the history all the people logged in. how …
The End.